Move x86_64 timer_*.c out of nptl/
[glibc.git] / ChangeLog
blob9b483732864746645788a9a6be46066517e661fb
1 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16         Update #include.
17         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18         Likewise.
19         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20         Likewise.
21         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22         Likewise.
23         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24         Likewise.
25         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26         Likewise.
27         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28         Likewise.
29         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30         Likewise.
31         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32         Likewise.
33         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34         Likewise.
36         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37         that was previously under [RESET_PID].
38         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
40         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
42         * sysdeps/i386/nptl/Implies: New file.
43         * sysdeps/x86_64/nptl/Implies: New file.
44         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
47         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51         (__libc_vfork): New strong alias.
52         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
53         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
55         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
56         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
57         (__libc_vfork): New strong alias.
58         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
59         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
61         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
62         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
63         (__libc_vfork): New strong alias.
64         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
65         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
66         * nptl/pt-vfork.c: New file.
67         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
68         (libpthread: GLIBC_2.20): New version set (empty).
70 2014-05-14  Will Newton  <will.newton@linaro.org>
72         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
73         rather than #if.
75 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
77         [BZ #16564]
78         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
79         arguments with exponent 65 or above.
80         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
81         arguments 0x1p113L or above.
82         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
83         to arguments 0x1p107L or above.
84         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
85         positive arguments with exponent 65 or above.
86         * math/auto-libm-test-in: Add more tests of log1p.
87         * math/auto-libm-test-out: Regenerated.
89         [BZ #16928]
90         * math/s_cacos.c (__cacos): Ensure zero real part of result from
91         non-finite arguments is +0.
92         * math/s_cacosf.c (__cacosf): Likewise.
93         * math/s_cacosl.c (__cacosl): Likewise.
94         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
95         * sysdeps/i386/fpu/libm-test-ulps: Update.
96         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
98         [BZ #16927]
99         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
100         value.
101         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
102         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
103         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
104         for explicit high bit of mantissa when testing for argument equal
105         to 1.
106         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
107         * sysdeps/i386/fpu/libm-test-ulps: Update.
108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
110         [BZ #16516]
111         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
112         (__erf): Scale by 16 instead of 8 in potentially underflowing
113         case.  Ensure exception if result actually underflows.
114         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
115         (__erff): Scale by 16 instead of 8 in potentially underflowing
116         case.  Ensure exception if result actually underflows.
117         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
118         (efx8): Remove variable.
119         (__erfl): Scale by 16 instead of 8 in potentially underflowing
120         case.  Ensure exception if result actually underflows.
121         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
122         (efx8): Remove variable.
123         (__erfl): Scale by 16 instead of 8 in potentially underflowing
124         case.  Ensure exception if result actually underflows.
125         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
126         (efx8): Remove variable.
127         (__erfl): Scale by 16 instead of 8 in potentially underflowing
128         case.  Ensure exception if result actually underflows.
129         * math/auto-libm-test-in: Add more tests of erf.
130         * math/auto-libm-test-out: Regenerated.
132 2014-05-14  Andreas Schwab  <schwab@suse.de>
134         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
135         Remove code conditionalized on USE___THREAD.
137         * config.h.in (HAVE_PT_CHOWN): Define as 0.
138         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
139         not definedness.
141 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
143         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
144         Define unconditionally.
145         (__ASSUME_O_CLOEXEC): Likewise.
146         (__ASSUME_SOCK_CLOEXEC): Likewise.
147         (__ASSUME_IN_NONBLOCK): Likewise.
148         (__ASSUME_PIPE2): Likewise.
149         (__ASSUME_EVENTFD2): Likewise.
150         (__ASSUME_SIGNALFD4): Likewise.
151         (__ASSUME_DUP3): Likewise.
152         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
153         (__ASSUME_DUP3): Do not define.
154         (__ASSUME_EVENTFD2): Likewise.
155         (__ASSUME_IN_NONBLOCK): Likewise.
156         (__ASSUME_O_CLOEXEC): Likewise.
157         (__ASSUME_PIPE2): Likewise.
158         (__ASSUME_SIGNALFD4): Likewise.
159         (__ASSUME_SOCK_CLOEXEC): Likewise.
160         (__ASSUME_UTIMES): Undefine.
161         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
162         (__ASSUME_UTIMES): Do not define.
163         (__ASSUME_O_CLOEXEC): Likewise.
164         (__ASSUME_SOCK_CLOEXEC): Likewise.
165         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
166         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
167         0x020621].
168         (__ASSUME_PIPE2): Likewise.
169         (__ASSUME_EVENTFD2): Likewise.
170         (__ASSUME_SIGNALFD4): Likewise.
171         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
172         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
173         Do not define.
174         (__ASSUME_EVENTFD2): Likewise.
175         (__ASSUME_SIGNALFD4): Likewise.
176         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
177         (__ASSUME_32BITUIDS): Likewise.
178         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
179         (__ASSUME_IPC64): Likewise.
180         (__ASSUME_ST_INO_64_BIT): Likewise.
181         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
182         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
183         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
184         (__ASSUME_UTIMES): Do not define.
185         (__ASSUME_PSELECT): Likewise.
186         (__ASSUME_PPOLL): Likewise.
187         (__ASSUME_O_CLOEXEC): Likewise.
188         (__ASSUME_SOCK_CLOEXEC): Likewise.
189         (__ASSUME_IN_NONBLOCK): Likewise.
190         (__ASSUME_PIPE2): Likewise.
191         (__ASSUME_EVENTFD2): Likewise.
192         (__ASSUME_SIGNALFD4): Likewise.
193         (__ASSUME_DUP3): Likewise.
194         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
195         (__ASSUME_UTIMES): Likewise.
196         (__ASSUME_O_CLOEXEC): Likewise.
197         (__ASSUME_SOCK_CLOEXEC): Likewise.
198         (__ASSUME_IN_NONBLOCK): Likewise.
199         (__ASSUME_PIPE2): Likewise.
200         (__ASSUME_EVENTFD2): Likewise.
201         (__ASSUME_SIGNALFD4): Likewise.
202         (__ASSUME_DUP3): Likewise.
203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
204         (__ASSUME_UTIMES): Likewise.
205         (__ASSUME_O_CLOEXEC): Likewise.
206         (__ASSUME_SOCK_CLOEXEC): Likewise.
207         (__ASSUME_IN_NONBLOCK): Likewise.
208         (__ASSUME_PIPE2): Likewise.
209         (__ASSUME_EVENTFD2): Likewise.
210         (__ASSUME_SIGNALFD4): Likewise.
211         (__ASSUME_DUP3): Likewise.
212         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
213         Likewise.
214         (__ASSUME_UTIMES): Likewise.
215         (__ASSUME_EVENTFD2): Likewise.
216         (__ASSUME_SIGNALFD4): Likewise.
217         * sysdeps/unix/sysv/linux/tile/kernel-features.h
218         (__ASSUME_O_CLOEXEC): Likewise.
219         (__ASSUME_SOCK_CLOEXEC): Likewise.
220         (__ASSUME_IN_NONBLOCK): Likewise.
221         (__ASSUME_PIPE2): Likewise.
222         (__ASSUME_EVENTFD2): Likewise.
223         (__ASSUME_SIGNALFD4): Likewise.
224         (__ASSUME_DUP3): Likewise.
225         (__ASSUME_UTIMES): Undefine.
227         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
228         feclearexcept.  Remove symbol versioning code.
229         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
230         symbol versioning code.
231         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
232         symbol versioning code.
233         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
234         feupdateenv.  Remove symbol versioning code.
235         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
236         fegetexceptflag.  Remove symbol versioning code.
237         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
238         fesetexceptflag.  Remove symbol versioning code.
239         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
240         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
241         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
242         (__posix_fadvise64_l32): Remove prototype.
243         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
244         code.
246 2014-05-13  Roland McGrath  <roland@hack.frob.com>
248         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
249         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
250         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
251         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
253 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
255         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
256         current working directory
258 2014-05-13  Roland McGrath  <roland@hack.frob.com>
260         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
261         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
262         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
263         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
264         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
265         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
266         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
267         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
268         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
269         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
270         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
271         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
272         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
273         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
274         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
275         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
276         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
277         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
278         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
279         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
280         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
281         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
282         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
283         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
284         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
285         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
286         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
287         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
288         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
289         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
290         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
291         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
292         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
293         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
294         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
295         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
296         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
297         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
298         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
299         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
300         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
301         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
303         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
304         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
306         * sysdeps/unix/sysv/linux/arm/Makefile
307         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
308         Add rt-aeabi_unwind_cpp_pr1.
309         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
310         Add nptl-aeabi_unwind_cpp_pr1.
311         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
312         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
313         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
314         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
315         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
316         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
318         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
319         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
320         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
321         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
323         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
324         Deconditionalize the code that was previously under [RESET_PID].
325         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
327         * sysdeps/generic/exit-thread.h: New file.
328         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
329         * include/unistd.h (__exit_thread): Remove declaration.
330         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
331         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
332         * csu/libc-start.c: Include <exit-thread.h>.
333         (LIBC_START_MAIN): Pass no argument to __exit_thread.
334         * nptl/pthread_create.c: Include <exit-thread.h>.
335         (start_thread): Call __exit_thread in place of __exit_thread_inline.
336         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
337         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
338         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
339         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
340         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
341         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
342         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
343         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
344         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
345         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
346         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
347         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
348         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
349         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
350         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
351         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
353 2014-05-13  Andreas Schwab  <schwab@suse.de>
355         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
357 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
359         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
360         (__ASSUME_UTIMES): Do not condition on kernel version.
361         (__ASSUME_PSELECT): Define unconditionally.
362         (__ASSUME_PPOLL): Likewise.
363         (__ASSUME_ATFCTS): Likewise.
364         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
365         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
366         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
367         (__ASSUME_UTIMENSAT): Define unconditionally.
368         (__ASSUME_PRIVATE_FUTEX): Likewise.
369         (__ASSUME_FALLOCATE): Likewise.
370         (__ASSUME_O_CLOEXEC): Likewise.
371         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
372         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
373         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
374         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
375         (__ASSUME_IN_NONBLOCK): Likewise.
376         (__ASSUME_PIPE2): Likewise.
377         (__ASSUME_EVENTFD2): Likewise.
378         (__ASSUME_SIGNALFD4): Likewise.
379         (__ASSUME_DUP3): Likewise.
380         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
381         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
382         (__ASSUME_AT_RANDOM): Likewise.
383         (__ASSUME_PREADV): Likewise.
384         (__ASSUME_PWRITEV): Likewise.
385         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
386         (__ASSUME_F_GETOWN_EX): Define unconditionally.
387         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
388         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
389         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
391         (__ASSUME_O_CLOEXEC): Define unconditionally.
392         (__ASSUME_PSELECT): Do not undefine conditionally.
393         (__ASSUME_PPOLL): Likewise.
394         (__ASSUME_ATFCTS): Likewise.
395         (__ASSUME_SET_ROBUST_LIST): Likewise.
396         (__ASSUME_UTIMENSAT): Likewise.
397         (__ASSUME_FDATASYNC): Define unconditionally.
398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
399         (__ASSUME_SIGFRAME_V2): Likewise.
400         )__ASSUME_EVENTFD2): Likewise.
401         (__ASSUME_SIGNALFD4): Likewise.
402         (__ASSUME_PSELECT): Do not undefine conditionally.
403         (__ASSUME_PPOLL): Likewise.
404         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
405         (__ASSUME_PSELECT): Define unconditionally.
406         (__ASSUME_PPOLL): Likewise.
407         (__ASSUME_O_CLOEXEC): Likewise.
408         (__ASSUME_SOCK_CLOEXEC): Likewise.
409         (__ASSUME_IN_NONBLOCK): Likewise.
410         (__ASSUME_PIPE2): Likewise.
411         (__ASSUME_EVENTFD2): Likewise.
412         (__ASSUME_SIGNALFD4): Likewise.
413         (__ASSUME_DUP3): Likewise.
414         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
415         (__ASSUME_O_CLOEXEC): Likewise.
416         (__ASSUME_SOCK_CLOEXEC): Likewise.
417         (__ASSUME_IN_NONBLOCK): Likewise.
418         (__ASSUME_PIPE2): Likewise.
419         (__ASSUME_EVENTFD2): Likewise.
420         (__ASSUME_SIGNALFD4): Likewise.
421         (__ASSUME_DUP3): Likewise.
422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
423         (__ASSUME_EVENTFD2): Likewise.
424         (__ASSUME_SIGNALFD4): Likewise.
425         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
427 2014-05-12  Andreas Schwab  <schwab@suse.de>
429         [BZ #16932]
430         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
431         (_nss_nis_gethostbyname4_r): Return error if item length is larger
432         than maximum RPC packet size.
433         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
434         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
435         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
436         (_nss_nis_getservbyport_r): Likewise.
438 2014-05-12  Will Newton  <will.newton@linaro.org>
440         * malloc/Makefile (tests): Add tst-mallopt.
441         * malloc/tst-mallopt.c: New file.
443 2014-05-09  Roland McGrath  <roland@hack.frob.com>
445         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
446         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
448 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
450         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
451         (tst-tlsmod6.so): Likewise.
453 2014-05-09  Roland McGrath  <roland@hack.frob.com>
455         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
457 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
459         [BZ #16064]
460         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
461         and <dl-procinfo.h>.
462         (__fegetenv): Save SSE state in envp->__eip if supported.
463         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
464         envp->__eip if supported.
465         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
466         and <dl-procinfo.h>.
467         (__fesetenv): Always set __eip, __cs_selector, __opcode,
468         __data_offset and __data_selector in environment to 0.  Set SSE
469         state if supported.
470         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
471         test-fenv-sse.
472         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
473         -mfpmath=sse.
474         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
476 2014-05-09  Will Newton  <will.newton@linaro.org>
478         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
479         and libc_relro_required for ARM.
480         * sysdeps/arm/preconfigure: Regenerate.
482 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
483             Stefan Liebler  <stli@linux.vnet.ibm.com>
485         * config.make.in (enable-lock-elision): New Makefile variable.
486         * configure.ac: Likewise.
487         * configure: Regenerate.
488         * sysdeps/s390/configure.ac:
489         Add check for gcc transactions support.
490         * sysdeps/s390/configure: Regenerate.
491         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
492         Build elision files if enabled.
493         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
494         Add lock elision support for s390.
495         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
496         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
497         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
498         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
499         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
500         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
502         Likewise.
503         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
504         Likewise.
505         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
506         Likewise.
507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
508         Likewise.
509         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
510         (__lll_timedlock_elision, __lll_lock_elision)
511         (__lll_unlock_elision, __lll_trylock_elision)
512         (lll_timedlock_elision, lll_lock_elision)
513         (lll_unlock_elision, lll_trylock_elision): Add.
514         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
515         (pthread_mutex_t): Add lock elision support for s390.
517 2014-05-09  Will Newton  <will.newton@linaro.org>
519         * sysdeps/arm/armv7/strcmp.S: New file.
520         * NEWS: Mention addition of ARMv7 optimized strcmp.
522 2014-05-08  Roland McGrath  <roland@hack.frob.com>
524         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
525         look for %.ac rather than %.in.
527         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
528         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
529         * sysdeps/mach/hurd/configure: Regenerated.
530         * sysdeps/unix/sysv/linux/configure: Regenerated.
532         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
534 2014-05-07  Steve Ellcey  <sellcey@mips.com>
536         [BZ# 16922]
537         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
538         (LONG_SUB): Ditto.
539         (PTR_SUB): Ditto.
541 2014-05-07  Andreas Schwab  <schwab@suse.de>
543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
544         when skipping over non-matching result from nscd.
546 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
548         [BZ #16876]
549         * nptl/sockperf.c (client): Check socket return value.
551         [BZ #16877]
552         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
553         nscd security class.
555 2014-05-06  Roland McGrath  <roland@hack.frob.com>
557         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
558         * sysdeps/arm/unwind.h: ... here.
560 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
562         [BZ# 16916]
563         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
564         Define.
566 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
568         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
569         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
570         multiarch strncpy for PPC64.
571         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
572         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
574         multiarch optimizations.
575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
576         (__libc_ifunc_impl_list): Likewise.
577         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
578         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
579         multiarch stpncpy for PPC64.
580         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
581         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
583 2014-05-06  Andreas Schwab  <schwab@suse.de>
585         [BZ #16912]
586         * gmon/mcount.c (_MCOUNT_DECL): Use
587         atomic_compare_and_exchange_bool_acq instead of
588         catomic_compare_and_exchange_bool_acq.
590 2014-05-05  Roland McGrath  <roland@hack.frob.com>
592         * elf/Makefile (others, install-bin): Remove pldd.
593         (pldd-modules): Variable removed.
594         ($(objpfx)pldd): Target removed.
595         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
596         (others, install-bin): Append pldd here.
597         ($(objpfx)pldd): New target.
599         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
600         to 0, so the first #if test emitted later doesn't see it undefined.
601         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
602         * sysdeps/gnu/errlist.c: Regenerated.
604 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
606         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
607         [libc_hidden_builtin_def]: Define to empty value.
608         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
609         [libc_hidden_builtin_def]: Likewise.
610         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
611         [libc_hidden_builtin_def]: Likewise.
612         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
613         [libc_hidden_builtin_def]: Likewise.
614         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
615         __redirect_memcpy and define ifunc as default hidden symbol.
616         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
617         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
619 2014-05-04  Adam Conrad  <adconrad@0c3.net>
621         * locale/iso-4217.def: Reintroduce XDR currency.
623 2014-05-04  Allan McRae  <allan@archlinux.org>
625         * po/eo.po: Update Esperanto translation from translation project.
627 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
629         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
630         and FEATURE_INDEX_MAX to 1.
631         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
633 2014-05-01  Steve Ellcey  <sellcey@mips.com>
635         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
636         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
637         * iconvdata/big5.c (ONE_DIRECTION): Define.
638         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
639         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
640         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
641         * iconvdata/cp932.c (ONE_DIRECTION): Define.
642         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
643         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
644         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
645         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
646         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
647         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
648         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
649         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
650         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
651         * iconvdata/gbk.c (ONE_DIRECTION): Define.
652         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
653         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
654         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
655         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
656         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
657         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
658         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
659         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
660         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
661         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
662         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
663         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
664         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
665         * iconvdata/iso646.c (ONE_DIRECTION): Define.
666         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
667         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
668         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
669         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
670         * iconvdata/johab.c (ONE_DIRECTION): Define.
671         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
672         * iconvdata/sjis.c (ONE_DIRECTION): Define.
673         * iconvdata/t.61.c (ONE_DIRECTION): Define.
674         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
675         * iconvdata/tscii.c (ONE_DIRECTION): Define.
676         * iconvdata/uhc.c (ONE_DIRECTION): Define.
677         * iconvdata/unicode.c (ONE_DIRECTION): Define.
678         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
679         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
680         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
682 2014-05-01  Roland McGrath  <roland@hack.frob.com>
684         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
685         (_IO_JUMPS_OFFSET): Define to 0.
687         * nptl/sysdeps/pthread/bits/libc-lock.h
688         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
689         (__libc_lock_define_initialized_recursive): Always define using
690         initializer.  Modern compilers treat uninitialized (implicit zero) and
691         explicit zero initializers the same (i.e. put the datum in bss).
693 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
695         * nscd/nscd-client.h: Include <string.h>.
697 2014-05-01  David S. Miller  <davem@davemloft.net>
699         [BZ #16885]
700         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
701         multiple zero bytes exist at the end of a string.
702         Reported by Aurelien Jarno <aurelien@aurel32.net>
704         * string/test-strcmp.c (check): Add explicit test for situations where
705         there are multiple zero bytes after the first.
707 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
709         [BZ #16890]
710         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
711         when compiling wprintf.
712         * stdio-common/tstdiomisc.c (t3): New function.
713         (main): Call it.
715 2014-05-01  Steve Ellcey  <sellcey@mips.com>
717         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
718         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
719         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
720         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
722 2014-05-01  Steve Ellcey  <sellcey@mips.com>
724         * stdlib/longlong.h: Updated from GCC.
726 2014-05-01  Will Newton  <will.newton@linaro.org>
727             Bernard Ogden  <bernie.ogden@linaro.org>
729         * NEWS: Update fixed bug list.
731         [BZ #15119]
732         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
734 2014-04-30  David S. Miller  <davem@davemloft.net>
736         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
737         (libc_feholdexcept_setround_sparc_ctx): New function.
738         (libc_fesetenv_sparc_ctx): Likewise.
739         (libc_feupdateenv_sparc_ctx): Likewise.
740         (libc_feholdsetround_sparc_ctx): Likewise.
741         (libc_feholdexcept_setround_ctx): Define.
742         (libc_feholdexcept_setroundf_ctx): Likewise.
743         (libc_feholdexcept_setroundl_ctx): Likewise.
744         (libc_fesetenv_ctx): Likewise.
745         (libc_fesetenvf_ctx): Likewise.
746         (libc_fesetenvl_ctx): Likewise.
747         (libc_feupdateenv_ctx): Likewise.
748         (libc_feupdateenvf_ctx): Likewise.
749         (libc_feupdateenvl_ctx): Likewise.
750         (libc_feresetround_ctx): Likewise.
751         (libc_feresetroundf_ctx): Likewise.
752         (libc_feresetroundl_ctx): Likewise.
753         (libc_feholdsetround_ctx): Likewise.
754         (libc_feholdsetroundf_ctx): Likewise.
755         (libc_feholdsetroundl_ctx): Likewise.
757         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
758         with __USE_GNU instead of XOPEN cpp guards.
760         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
761         0.
763         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
764         with XOPEN cpp guards.
766 2014-04-30  Julian Brown  <julian@codesourcery.com>
768         [BZ #16888]
769         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
770         handling.
772 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
774         [BZ #9894]
775         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
776         Change to 2.6.32.
777         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
778         * sysdeps/unix/sysv/linux/configure: Regenerated.
779         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
780         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
781         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
782         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
783         * README: Update reference to required Linux kernel version.
784         * manual/install.texi (Linux): Update reference to required Linux
785         kernel headers version.
786         * INSTALL: Regenerated.
788         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
789         header inclusion.
790         [POSIX] (limits.h): Likewise.
791         [POSIX] (math.h): Likewise.
792         [POSIX] (sys/wait.h): Likewise.
793         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
794         function.
795         [POSIX] (stddef.h): Do not allow header inclusion.
797 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
799         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
801 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
803         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
804         Return immediately after lll_futex_wake.
806 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
808         [BZ #16791]
809         * nscd/nscd-client.h (datahead_init_common): Initialize entire
810         structure.
811         (datahead_init_pos): Call datahead_init_common early.
812         (datahead_init_neg): Likewise.
814         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
815         datahead_init_neg): New functions.
816         * nscd/aicache.c (addhstaiX): Use them.
817         * nscd/grpcache.c (cache_addgr): Likewise.
818         * nscd/hstcache.c (cache_addhst): Likewise.
819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
820         * nscd/netgroupcache.c (do_notfound): Likewise.
821         (addgetnetgrentX): Likewise.
822         (addinnetgrX): Likewise.
823         * nscd/pwdcache.c (cache_addpw): Likewise.
824         * nscd/servicescache.c (cache_addserv): Likewise.
826 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
827             Atsushi Onoe  <atsushi@onoe.org>
829         [BZ #14308]
830         [BZ #12994]
831         [BZ #13651]
832         * resolv/res_query.c (__libc_res_nsearch): Return if at least
833         one response is valid.
834         * resolv/res_send.c (send_dg): Check for validity of other
835         response if the current response is a referral.
837 2014-04-29  Steve Ellcey  <sellcey@mips.com>
839         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
841 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
843         [BZ #16823]
844         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
845         Always divide by positive zero when computing -Inf result.
846         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
847         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
849 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
851         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
852         FPSCR if value do not change.
853         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
854         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
855         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
856         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
857         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
858         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
859         function.
861 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
863         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
864         * sysdeps/unix/sysv/linux/hppa: Move directory from
865         ports/systeps/unix/sysv/linux/hppa.
866         * README: Update listing for hppa-*-linux-gnu.
868 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
870         [BZ #16754]
871         * manual/stdio.texi (Hook functions): Fix types of stream hook
872         functions.
873         [BZ #16854]
874         * socket/sys/socket.h: Fix typo in comment.
876 2014-04-28  Wilco  <wdijkstr@arm.com>
878         * sysdeps/arm/fenv_private.h: New file.
879         * sysdeps/arm/math_private.h: New file.
880         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
882 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
884         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
885         with __int128_t.
886         (La_x86_64_retval): Likewise.
888 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
890         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
891         fpsr if value didn't change.
892         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
893         to fpcr if value didn't change.
894         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
895         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
896         fpsr or fpcr if value didn't change.
897         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
898         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
899         fpcr if value didn't change.
900         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
901         to fpsr if value didn't change.
903 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
905         * nptl/tst-sem3.c: Use test-skeleton.c
906         (main): Rename to do_test.  Use return instead of
907         exit.
908         * nptl/tst-sem4.c: Use test-skeleton.c
909         (main): Rename to do_test.
911 2014-04-22  David S. Miller  <davem@davemloft.net>
913         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
914         (struct sigaction): New struct member __glibc_reserved0, change
915         type of sa_flags to int.
917 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
919         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
920         (COUNT_LEADING_ZEROS_0): Define for AArch64.
922 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
924         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
925         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
927 2014-04-22  Will Newton  <will.newton@linaro.org>
928             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
930         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
931         (__longjmp): Add longjmp and longjmp_target SystemTap
932         probes.
933         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
934         (__sigsetjmp): Add setjmp SystemTap probe.
936 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
938         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
939         match manual order.
941 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
943         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
945         * sysdeps/powerpc/fpu/fenv_private.h
946         (libc_feholdexcept_setroundl_ctx): Define to
947         libc_feholdexcept_setround_ppc_ctx.
948         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
949         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
950         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
951         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
953 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
955         * sysdeps/aarch64/math-tests.h: New file.
957 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
959         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
960         New.
961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
962         Check and set bit_AVX2_Usable.
963         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
964         macro.
965         (bit_AVX2): Likewise.
966         (index_AVX2_Usable): Likewise.
967         (CPUID_AVX2): Likewise.
968         (HAS_AVX2): Likewise.
970 2014-04-17  Will Newton  <will.newton@linaro.org>
972         * manual/setjmp.texi (System V contexts): Add note that
973         calling setcontext on a context created by a call to a
974         signal handler is undefined.  Update text to note that
975         setcontext from a signal handler is possible but not
976         recommended.
978         [BZ #16629]
979         * stdlib/tst-setcontext.c: Include signal.h.
980         (main): Check that the signal stack before and
981         after swapcontext is the same.
983         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
984         Re-implement to restore registers in user code and avoid
985         rt_sigreturn system call.
987 2014-04-17  Wilco  <wdijkstr@arm.com>
989         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
990         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
991         * math/test-fenv.c: Skip exception trap tests on targets which only
992         support non-stop mode.
994 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
995             Wilco Dijkstra  <wilco.dijkstra@arm.com>
997         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
998         (libc_feholdsetround_aarch64_ctx)
999         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1000         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1001         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1002         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1003         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1004         (libc_feresetround_noexl_ctx): Define.
1006 2014-04-16  Richard Henderson  <rth@redhat.com>
1008         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1010         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1011         unwind tables.
1013         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1014         const from the non-libc, non-ldso copy.
1016         * sysdeps/alpha/libm-test-ulps: Regenerate.
1018 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1019             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1021         * sysdeps/aarch64/fpu/math_private.h: New file.
1023 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1025         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1027 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1029         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1030         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1031         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1032         Intel MPX bound registers before _dl_profile_fixup.
1033         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1034         registers after _dl_profile_fixup.  Save and restore bound
1035         registers bnd0/bnd1 when calling _dl_call_pltexit.
1036         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1037         (LR_BND_OFFSET): Likewise.
1038         (LRV_BND0_OFFSET): Likewise.
1039         (LRV_BND1_OFFSET): Likewise.
1041 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1043         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1044         to...
1045         * sysdeps/mach/hurd/i386/tls.h: ... here.
1046         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1047         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1048         fields.
1050 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1052         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1054 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1056         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1058 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1060         [BZ #14770]
1061         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1062         * sysdeps/s390/configure: Regenerate.
1064         [BZ #16824]
1065         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1066         Set round-to-nearest internally to reduce error accumulation.
1068 2014-04-16  Alan Modra  <amodra@gmail.com>
1070         [BZ #16740]
1071         [BZ #16619]
1072         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1073         * math/libm-test.inc (frexp_test_data): Add tests.
1074         * NEWS: Update fixed bug list.
1076 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1078         * benchtests/Makefile: Depend on libraries in build directory.
1079         (bench-math): Separate out math tests.
1080         (bench-pthread): Separate out pthread tests.
1081         (bench): Include math and pthread tests.
1083 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1085         [BZ #16831]
1086         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1087         _dl_debug_initialize.
1089         * configure.ac: Remove SELinux header check.
1090         * configure: Regenerate.
1091         * nscd/selinux.c (perms): Array of const char* to permission names.
1092         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1093         default policy. Call string_to_security_class and string_to_av_perm to
1094         translate strings. Enforce default policy and call avs_has_perm with
1095         results of translated strings.
1097 2014-04-13  David S. Miller  <davem@davemloft.net>
1099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1101 2014-04-12  Allan McRae  <allan@archlinux.org>
1103         [BZ #16838]
1104         * manual/string.texi (Collation Functions): Fix qsort argument
1105         order in example.
1106         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1108 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1110         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1111         Make the test a no-op if there are no exceptions defined.
1113 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1115         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1116         enable-hardcoded-path-in-tests
1118 2014-04-11  Will Newton  <will.newton@linaro.org>
1120         * benchtests/Makefile (extra-objs): Add json-lib.o.
1121         (bench-func): Tidy up JSON output.
1122         * benchtests/bench-skeleton.c: Include json-lib.h.
1123         (main): Use JSON library functions to do output of
1124         benchmark results.
1125         * benchtests/bench-timing-type.c (main): Output the
1126         timing type simply, leaving formatting to the user.
1127         * benchtests/json-lib.c: New file.
1128         * benchtests/json-lib.h: Likewise.
1130 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1132         [BZ #15215]
1133         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1134         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1135         memory barriers.  Add comments.
1136         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1137         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1138         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1139         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1140         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1141         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1143 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1145         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1146         * sysdeps/s390/s390-64/configure.ac: ... this ...
1147         * sysdeps/s390/configure.ac: ... to here.
1148         * sysdeps/s390/s390-32/configure: Delete file.
1149         * sysdeps/s390/s390-64/configure: Delete file.
1150         * sysdeps/s390/configure: Regenerate.
1152 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1154         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1156 2014-04-11  Will Newton  <will.newton@linaro.org>
1158         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1159         to zero if it is not defined elsewhere.  (mtrim): Test
1160         the value of MALLOC_DEBUG with #if rather than #ifdef.
1162 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1164         * benchtests/pthread_once-inputs: New file.
1165         * benchtests/pthread_once-source.c: New file.
1166         * benchtests/README: Update documentation.
1168 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1169             H.J. Lu  <hongjiu.lu@intel.com>
1171         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1172         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1173         * sysdeps/x86_64/configure: Regenerated.
1174         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1175         macro.
1176         (REGISTER_SAVE_RAX): Likewise.
1177         (REGISTER_SAVE_RCX): Likewise.
1178         (REGISTER_SAVE_RDX): Likewise.
1179         (REGISTER_SAVE_RSI): Likewise.
1180         (REGISTER_SAVE_RDI): Likewise.
1181         (REGISTER_SAVE_R8): Likewise.
1182         (REGISTER_SAVE_R9): Likewise.
1183         (REGISTER_SAVE_BND0): Likewise.
1184         (REGISTER_SAVE_BND1): Likewise.
1185         (REGISTER_SAVE_BND2): Likewise.
1186         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1187         bound registers when calling _dl_fixup.
1189 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1191         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1192         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1193         of its definition.
1194         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1195         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1196         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1197         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1198         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1199         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1200         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1202 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1204         [BZ #15514]
1205         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1206         pathconf(_PC_NAME_MAX).
1208 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1210         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1211         Remove macro usage.
1212         (__PTHREAD_SPINS): Move definition to ...
1213         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1214         (__PTHREAD_SPINS): ... here.
1215         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1216         (__PTHREAD_SPIN): Likewise.
1217         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1218         (__PTHREAD_SPIN): Likewise.
1219         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1220         (__PTHREAD_SPIN): Likewise.
1221         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1222         (__PTHREAD_SPIN): Likewise.
1223         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1224         (__PTHREAD_SPIN): Likewise.
1225         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1226         (__PTHREAD_SPIN): Likewise.
1227         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1228         (__PTHREAD_SPIN): Likewise.
1229         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1230         (__PTHREAD_SPIN): Likewise.
1231         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1232         (__PTHREAD_SPIN): Likewise.
1233         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1234         (__PTHREAD_SPIN): Likewise.
1235         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1236         (__PTHREAD_SPIN): Likewise.
1237         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1238         (__PTHREAD_SPIN): Likewise.
1240         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1241         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1242         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1243         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1244         imply folder.
1245         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1246         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1247         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1248         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1249         correct imply path.
1250         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1251         strlen symbol for non multi-arch builds.
1252         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1253         missing hidden_def and weak_alias.
1255 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
1257         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1259 2014-04-07  Will Newton  <will.newton@linaro.org>
1261         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1262         and contents.  [!_LIBC] Remove #ifndef and contents.
1263         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
1264         * string/memccpy.c (__memccpy): Use ANSI prototype.
1265         * string/memfrob.c (memfrob): Likewise.
1266         * string/strcoll.c (STRCOLL): Likewise.
1267         * string/strlen.c (strlen): Likewise.
1268         * string/strtok.c (STRTOK): Likewise.
1269         * string/strcat.c: Remove unused #include of memcopy.h.
1270         (strcat): Use ANSI prototype.
1271         * string/strchr.c: Remove unused #include of memcopy.h.
1272         (strchr): Use ANSI prototype.
1273         * string/strcmp.c: Remove unused #include of memcopy.h.
1274         (strcmp): Use ANSI prototype.
1275         * string/strcpy.c: Remove unused #include of memcopy.h.
1276         (strcpy): Use ANSI prototype.
1278 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1280         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1281         * config.make.in (config-extra-cppflags): Set it from
1282         libc_extra_cppflags.
1283         * configure.ac (libc_extra_cflags): Make it accumulate over
1284         configure fragments.
1285         (libc_extra_cppflags): New flag.
1286         * configure. Regenerate.
1287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1288         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1289         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1292         [BZ #16815]
1293         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1294         result for FE_DOWNWARD rounding mode.
1295         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1296         Likewise.
1297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1299 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
1301         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1302         in function argument name.
1304 2014-04-03  David Svoboda  <svoboda@cert.org>
1306         [BZ #5666]
1307         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1308         explicitly.
1310 2014-04-03  Roland McGrath  <roland@hack.frob.com>
1312         * elf/dl-unmap-segments.h: New file.
1313         * sysdeps/generic/ldsodefs.h
1314         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1315         * elf/dl-close.c: Include <dl-unmap-segments.h>.
1316         * elf/dl-fptr.c: Likewise.
1317         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1318         * sysdeps/aarch64/tlsdesc.c: Likewise.
1319         * sysdeps/arm/tlsdesc.c: Likewise.
1320         * sysdeps/i386/tlsdesc.c: Likewise.
1321         * sysdeps/tile/dl-runtime.c: Likewise.
1322         * sysdeps/x86_64/tlsdesc.c: Likewise.
1323         * elf/dl-load.h: New file.
1324         * elf/dl-load.c: Include it.
1325         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1326         Macros moved to dl-load.h.
1327         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1328         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1329         Use _dl_unmap_segments in place of __munmap.
1330         Break out segment-mapping loop into ...
1331         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1333 2014-04-03  Will Newton  <will.newton@linaro.org>
1335         * elf/dl-lookup.c (do_lookup_x): Remove comment
1336         referring to nested function and move variable
1337         declarations down to before first use.
1339 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
1341         [BZ #16799]
1342         [BZ #16800]
1343         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1344         with 0 numerator.
1345         * math/s_catanf.c (__catanf): Likewise.
1346         * math/s_catanh.c (__catanh): Likewise.
1347         * math/s_catanhf.c (__catanhf): Likewise.
1348         * math/s_catanhl.c (__catanhl): Likewise.
1349         * math/s_catanl.c (__catanl): Likewise.
1350         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1351         by positive zero when computing -Inf result.
1352         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1353         (catanh_test): Likewise.
1354         * sysdeps/i386/fpu/libm-test-ulps: Update.
1355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1357         [BZ #16789]
1358         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1359         instead of using underflowing value in computing result.
1360         * math/s_clog10.c (__clog10): Likewise.
1361         * math/s_clog10f.c (__clog10f): Likewise.
1362         * math/s_clog10l.c (__clog10l): Likewise.
1363         * math/s_clogf.c (__clogf): Likewise.
1364         * math/s_clogl.c (__clogl): Likewise.
1365         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1366         (clog10_test): Likewise.
1367         * sysdeps/i386/fpu/libm-test-ulps: Update.
1368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1370 2014-04-02  Alan Modra  <amodra@gmail.com>
1372         [BZ #16739]
1373         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1374         output when value is near a power of two.  Use int64_t for lx and
1375         remove casts.  Use decimal rather than hex exponent constants.
1376         Don't use long double multiplication when double will suffice.
1377         * math/libm-test.inc (nextafter_test_data): Add tests.
1378         * NEWS: Add 16739 and 16786 to bug list.
1380         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1382         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1384 2014-04-01  Will Newton  <will.newton@linaro.org>
1386         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1387         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
1389 2014-04-01  Florian Weimer  <fweimer@redhat.com>
1391         [BZ #13347]
1392         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1393         * nptl/tst-setuid2.c: New file.
1394         * nptl/Makefile (xtests): Add tst-setuid2.
1396 2014-04-01  Alan Modra  <amodra@gmail.com>
1398         [BZ #16786]
1399         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1401 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1403         [BZ #6803]
1404         [BZ #6804]
1405         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1406         set errno as appropriate.
1407         * math/w_scalbf.c (__scalbf): Likewise.
1408         * math/w_scalbl.c (__scalbl): Likewise.
1409         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1410         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1411         * math/libm-test.inc (scalb_test_data): Add errno expectations.
1412         Add more NaN tests.
1414         [BZ #16349]
1415         * math/w_atan2.c: Include <errno.h>.
1416         (__atan2): Set errno for result underflowing to zero.
1417         * math/w_atan2f.c: Include <errno.h>.
1418         (__atan2f): Set errno for result underflowing to zero.
1419         * math/w_atan2l.c: Include <errno.h>.
1420         (__atan2l): Set errno for result underflowing to zero.
1421         * math/auto-libm-test-in: Don't allow missing errno for some atan2
1422         tests.
1423         * math/auto-libm-test-out: Regenerated.
1425 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1427         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1428         Encode instruction correctly in little endian.
1429         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1430         Likewise.
1431         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1432         Likewise.
1433         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1434         Likewise.
1435         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1436         Likewise.
1438 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1440         [BZ #9894]
1441         * sysdeps/unix/sysv/linux/kernel-features.h
1442         [__sparc__ && !__arch64__ && !__sparc_v9__]
1443         (__ASSUME_SET_ROBUST_LIST): Do not define.
1444         [__sparc__ && !__arch64__ && !__sparc_v9__]
1445         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1446         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1447         Likewise.
1448         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1449         (__ASSUME_FUTEX_LOCK_PI): Undefine.
1450         (__ASSUME_REQUEUE_PI): Likewise.
1451         (__ASSUME_SET_ROBUST_LIST): Likewise.
1452         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1453         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1454         Undefine.
1455         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1456         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1457         Likewise.
1458         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1459         Likewise.
1460         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1461         Likewise.
1462         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1463         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1464         Undefine.
1465         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1466         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1467         Likewise.
1469         [BZ #16648]
1470         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1472         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1474 2014-03-31  Will Newton  <will.newton@linaro.org>
1476         * benchtests/Makefile (bench): Add ffs and ffsll to list
1477         of tests.
1478         * benchtests/ffs-inputs: New file.
1479         * benchtests/ffsll-inputs: Likewise.
1481 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
1483         [BZ #16770]
1484         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1485         too large before casting to int.
1486         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1487         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1488         * math/libm-test.inc (scalb_test_data): Add more tests.
1490 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1492         * benchtests/Makefile (DETAILED_OPT): New make option.
1493         (bench-func): Run benchmark program with -d if DETAILED_OPT is
1494         set.
1495         * benchtests/bench-skeleton.c: Include stdbool.h.
1496         (main): Store and print timings per input.
1497         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1498         member to each argument value.
1499         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1500         (_print_arg_data): Initialize per-input timing to 0.
1502         * benchtests/Makefile (timing-type): New binary.
1503         (bench-clean): Also remove bench-timing-type.
1504         (bench): New target for timing-type.
1505         (bench-func): Print output in JSON format.
1506         * benchtests/bench-skeleton.c (main): Print output in JSON
1507         format.
1508         * benchtests/bench-timing-type.c: New file.
1509         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1510         (TIMING_PRINT_STATS): Remove.
1511         * benchtests/scripts/bench.py (_print_arg_data): Store variant
1512         name separately.
1514         * benchtests/bench-modf.c: Remove.
1515         * benchtests/modf-inputs: New inputs file.
1517 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
1519         [BZ #16362]
1520         * math/s_clog10.c (M_PI_LOG10E): New macro.
1521         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1522         imaginary parts are 0.
1523         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1524         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1525         imaginary parts are 0.
1526         * math/s_clog10l.c (M_PI_LOG10El): New macro.
1527         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1528         imaginary parts are 0.
1529         * math/libm-test.inc (clog10_test_data): Update expected results
1530         for when real and imaginary parts are 0.
1532 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
1534         * elf/dl-load.c: Finish conversion of __builtin_expect into
1535         __glibc_{un}likely.
1537 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
1539         [BZ #16348]
1540         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1541         1+x for argument with exponent below -67.
1542         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1543         Likewise.
1544         * math/auto-libm-test-in: Add more tests of exp.
1545         * math/auto-libm-test-out: Regenerated.
1547 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1549         [BZ #16759]
1550         * inet/getnetgrent_r.c (get_nonempty_val): New function.
1551         (nscd_getnetgrent): Use it.
1553         [BZ #16760]
1554         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1555         of stpcpy.
1557 2014-03-27  Andi Kleen  <ak@linux.intel.com>
1559         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1560         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1561         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1562         (lll_robust_unlock): Remove out of line section. Use cfi
1563         intrinsics.
1564         (LLL_STUB_UNWIND_INFO*): Remove.
1565         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1566         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1567         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1568         (lll_robust_unlock): Remove out of line section. Use cfi
1569         intrinsics.
1570         (LLL_STUB_UNWIND_INFO*): Remove.
1572 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1574         [BZ #16758]
1575         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1576         blank values.
1578 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
1580         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1582 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
1584         [BZ #16198]
1585         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1586         fnstenv.
1587         * math/test-fenv-preserve.c: New file.
1588         * math/Makefile (tests): Add test-fenv-preserve.
1590 2014-03-26  Will Newton <will.newton@linaro.org>
1592         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1594 2014-03-25  Roland McGrath  <roland@hack.frob.com>
1596         * scripts/versionlist.awk: Partition the version sets and emit all
1597         GLIBC_* (sorted) before all others (sorted).
1599 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1601         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1602         GLIBC_2.2.5 version.
1604 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1606         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1607         calls.
1609         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1610         previous change.
1612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1614 2014-03-25  Andreas Schwab  <schwab@suse.de>
1616         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1617         label to be used after in6ailist is initialized.
1619 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1621         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1622         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1624 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1626         [BZ #16357]
1627         [BZ #16599]
1628         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1629         min_plus_half.
1630         (fp_formats): Update initializers.
1631         (init_fp_formats): Initialize new field.
1632         (output_for_one_input_case): Allow underflow for results up to
1633         min_plus_half.
1634         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1635         * math/auto-libm-test-in: Don't mark some underflows from asin and
1636         atanh as spurious.
1637         * math/auto-libm-test-out: Regenerated.
1638         * sysdeps/i386/fpu/libm-test-ulps: Update.
1639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1641 2014-03-25  Andreas Schwab  <schwab@suse.de>
1643         * libio/Makefile (tst-ftell-partial-wide-ENV)
1644         (tst-ftell-active-handler-ENV): Define.
1646 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
1648         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1650 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1652         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1654 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1656         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1657         * sysdeps/x86_64/fpu/multiarch/e_exp.c
1658         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1660 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1662         [BZ #16634]
1663         * elf/dl-load.c (open_verify): Add mode parameter.
1664         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1665         (open_path): Change from boolean 'secure' to complete flag 'mode'
1666         (_dl_map_object): Adjust.
1667         * elf/Makefile (tests): Add tst-dlopen-aout.
1668         * elf/tst-dlopen-aout.c: New test.
1670 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
1672         [BZ #16714]
1673         * sysdeps/unix/sysv/linux/s390/bits/stat.h
1674         (struct stat): Rename member pad0 to __glibc_reserved0.
1676         [BZ #16712]
1677         * sysdeps/s390/s390-32/bits/wordsize.h
1678         (__WORDSIZE32_SIZE_ULONG): New define.
1679         * sysdeps/s390/s390-64/bits/wordsize.h
1680         (__WORDSIZE32_SIZE_ULONG): Likewise.
1681         * sysdeps/generic/stdint.h (SIZE_MAX):
1682         Define as UL if __WORDSIZE32_SIZE_ULONG.
1684         [BZ #16713]
1685         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1686         (__glibc_reserved0): New variable.
1687         (sa_flags): Change type to int.
1689         * posix/Makefile (before-compile): Use += before-compile instead
1690         of a :=.
1692         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1693         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1695 2014-03-20  Andreas Schwab  <schwab@suse.de>
1697         [BZ #16743]
1698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1699         non-matching result from nscd.
1701 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1703         * scripts/bench.py: Moved to ...
1704         * benchtests/scripts/bench.py: ... here.
1705         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1707 2014-03-24  Andreas Schwab  <schwab@suse.de>
1709         [BZ #16002]
1710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1711         alloca_account and account alloca use for struct in6ailist.
1713 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1715         [BZ #16284]
1716         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1717         rounding mode to recompute results that overflow to infinity or
1718         underflow to zero.
1719         * math/auto-libm-test-in: Don't mark tests as expected to fail for
1720         bug 16284.
1721         * math/auto-libm-test-out: Regenerated.
1722         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1723         (ccosh_test): Likewise.
1724         (csin_test_data): Use plus_oflow.
1725         (csin_test): Use ALL_RM_TEST.
1726         (csinh_test_data): Use plus_oflow.
1727         (csinh_test): Use ALL_RM_TEST.
1728         * sysdeps/i386/fpu/libm-test-ulps: Update.
1729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1731 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
1733         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1734         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1735         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1737         [BZ #16731]
1738         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1739         when x - 1 is zero.
1740         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1741         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1742         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1743         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1744         argument is 1.
1745         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1746         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1747         zero.
1748         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1749         * sysdeps/i386/fpu/libm-test-ulps: Update.
1750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1754         * scripts/bench.pl: Remove file.
1755         * scripts/bench.py: New benchmark script.
1756         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1757         * benchtests/README: Mention python dependency.
1758         * scripts/pylintrc: New file.
1759         * scripts/pylint: New file.
1761         * bits/mathdef.h: Use #ifdef instead of #if.
1762         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1763         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1764         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1765         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1766         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1767         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1769 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1770             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1772         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1774         and strpbrk-ppc64 objects.
1775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1776         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1777         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1778         multiarch strpbrk for POWER7.
1779         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1780         multiarch strpbrk for PPC64.
1781         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1782         ifunc selector.
1783         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1784         strpbrk for POWER7.
1786 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1788         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1789         (atan_test): Likewise.
1790         (atanh_test_data): Use NO_TEST_INLINE for two tests.
1791         (atanh_test): Use ALL_RM_TEST.
1792         (atan2_test_data): Likewise.
1793         (cabs_test): Likewise.
1794         (cacosh_test): Likewise.
1795         (carg_test): Likewise.
1796         (casin_test): Likewise.
1797         (casinh_test): Likewise.
1798         (cbrt_test): Likewise.
1799         (csqrt_test): Likewise.
1800         (erf_test): Likewise.
1801         (erfc_test): Likewise.
1802         (pow10_test): Likewise.
1803         (exp2_test): Likewise.
1804         (hypot_test): Likewise.
1805         (j0_test): Likewise.
1806         (j1_test): Likewise.
1807         (lgamma_test): Likewise.
1808         (gamma_test): Likewise.
1809         (sincos_test): Likewise.
1810         (tanh_test): Likewise.
1811         (y0_test): Likewise.
1812         (y1_test): Likewise.
1813         * sysdeps/i386/fpu/libm-test-ulps: Update.
1814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1816 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1818         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1820         and strcspn-ppc64 objects.
1821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1822         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1823         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1824         multiarch strcspn for POWER7.
1825         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1826         multiarch strcspn for PPC64.
1827         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1828         ifunc selector.
1829         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1830         strcspn for POWER7.
1832 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1834         * math/gen-libm-test.pl (generate_testfile): Expect only function
1835         name as argument to AUTO_TESTS_* and pass results for all rounding
1836         modes to parse_args.
1837         (parse_auto_input): Separate inputs of automatic tests from
1838         outputs before storing in %auto_tests.
1839         * math/libm-test.inc (acos_test_data): Update call to
1840         AUTO_TESTS_f_f.
1841         (acos_test): Use ALL_RM_TEST.
1842         (acos_tonearest_test_data): Remove.
1843         (acos_test_tonearest): Likewise.
1844         (acos_towardzero_test_data): Likewise.
1845         (acos_test_towardzero): Likewise.
1846         (acos_downward_test_data): Likewise.
1847         (acos_test_downward): Likewise.
1848         (acos_upward_test_data): Likewise.
1849         (acos_test_upward): Likewise.
1850         (acosh_test_data): Update call to AUTO_TESTS_f_f.
1851         (asin_test_data): Likewise.
1852         (asin_test): Use ALL_RM_TEST.
1853         (asin_tonearest_test_data): Remove.
1854         (asin_test_tonearest): Likewise.
1855         (asin_towardzero_test_data): Likewise.
1856         (asin_test_towardzero): Likewise.
1857         (asin_downward_test_data): Likewise.
1858         (asin_test_downward): Likewise.
1859         (asin_upward_test_data): Likewise.
1860         (asin_test_upward): Likewise.
1861         (asinh_test_data): Update call to AUTO_TESTS_f_f.
1862         (atan_test_data): Likewise.
1863         (atanh_test_data): Likewise.
1864         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1865         (cabs_test_data): Update call to AUTO_TESTS_c_f.
1866         (carg_test_data): Likewise.
1867         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1868         (ccos_test_data): Update call to AUTO_TESTS_c_c.
1869         (ccosh_test_data): Likewise.
1870         (cexp_test_data): Likewise.
1871         (clog_test_data): Likewise.
1872         (clog10_test_data): Likewise.
1873         (cos_test_data): Update call to AUTO_TESTS_f_f.
1874         (cos_test): Use ALL_RM_TEST.
1875         (cos_tonearest_test_data): Remove.
1876         (cos_test_tonearest): Likewise.
1877         (cos_towardzero_test_data): Likewise.
1878         (cos_test_towardzero): Likewise.
1879         (cos_downward_test_data): Likewise.
1880         (cos_test_downward): Likewise.
1881         (cos_upward_test_data): Likewise.
1882         (cos_test_upward): Likewise.
1883         (cosh_test_data): Update call to AUTO_TESTS_f_f.
1884         (cosh_test): Use ALL_RM_TEST.
1885         (cosh_tonearest_test_data): Remove.
1886         (cosh_test_tonearest): Likewise.
1887         (cosh_towardzero_test_data): Likewise.
1888         (cosh_test_towardzero): Likewise.
1889         (cosh_downward_test_data): Likewise.
1890         (cosh_test_downward): Likewise.
1891         (cosh_upward_test_data): Likewise.
1892         (cosh_test_upward): Likewise.
1893         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1894         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1895         (ctan_test_data): Likewise.
1896         (ctan_test): Use ALL_RM_TEST.
1897         (ctan_tonearest_test_data): Remove.
1898         (ctan_test_tonearest): Likewise.
1899         (ctan_towardzero_test_data): Likewise.
1900         (ctan_test_towardzero): Likewise.
1901         (ctan_downward_test_data): Likewise.
1902         (ctan_test_downward): Likewise.
1903         (ctan_upward_test_data): Likewise.
1904         (ctan_test_upward): Likewise.
1905         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1906         (ctanh_test): Use ALL_RM_TEST.
1907         (ctanh_tonearest_test_data): Remove.
1908         (ctanh_test_tonearest): Likewise.
1909         (ctanh_towardzero_test_data): Likewise.
1910         (ctanh_test_towardzero): Likewise.
1911         (ctanh_downward_test_data): Likewise.
1912         (ctanh_test_downward): Likewise.
1913         (ctanh_upward_test_data): Likewise.
1914         (ctanh_test_upward): Likewise.
1915         (erf_test_data): Update call to AUTO_TESTS_f_f.
1916         (erfc_test_data): Likewise.
1917         (exp_test_data): Likewise.
1918         (exp_test): Use ALL_RM_TEST.
1919         (exp_tonearest_test_data): Remove.
1920         (exp_test_tonearest): Likewise.
1921         (exp_towardzero_test_data): Likewise.
1922         (exp_test_towardzero): Likewise.
1923         (exp_downward_test_data): Likewise.
1924         (exp_test_downward): Likewise.
1925         (exp_upward_test_data): Likewise.
1926         (exp_test_upward): Likewise.
1927         (exp10_test_data): Update call to AUTO_TESTS_f_f.
1928         (exp10_test): Use ALL_RM_TEST.
1929         (exp10_tonearest_test_data): Remove.
1930         (exp10_test_tonearest): Likewise.
1931         (exp10_towardzero_test_data): Likewise.
1932         (exp10_test_towardzero): Likewise.
1933         (exp10_downward_test_data): Likewise.
1934         (exp10_test_downward): Likewise.
1935         (exp10_upward_test_data): Likewise.
1936         (exp10_test_upward): Likewise.
1937         (exp2_test_data): Update call to AUTO_TESTS_f_f.
1938         (expm1_test_data): Likewise.
1939         (expm1_test): Use ALL_RM_TEST.
1940         (expm1_tonearest_test_data): Remove.
1941         (expm1_test_tonearest): Likewise.
1942         (expm1_towardzero_test_data): Likewise.
1943         (expm1_test_towardzero): Likewise.
1944         (expm1_downward_test_data): Likewise.
1945         (expm1_test_downward): Likewise.
1946         (expm1_upward_test_data): Likewise.
1947         (expm1_test_upward): Likewise.
1948         (fma_test_data): Update call to AUTO_TESTS_fff_f.
1949         (fma_test): Use ALL_RM_TEST.
1950         (fma_towardzero_test_data): Remove.
1951         (fma_test_towardzero): Likewise.
1952         (fma_downward_test_data): Likewise.
1953         (fma_test_downward): Likewise.
1954         (fma_upward_test_data): Likewise.
1955         (fma_test_upward): Likewise.
1956         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1957         (j0_test_data): Update call to AUTO_TESTS_f_f.
1958         (j1_test_data): Likewise.
1959         (jn_test_data): Update call to AUTO_TESTS_if_f.
1960         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1961         (log_test_data): Update call to AUTO_TESTS_f_f.
1962         (log10_test_data): Likewise.
1963         (log1p_test_data): Likewise.
1964         (log2_test_data): Likewise.
1965         (pow_test_data): Update call to AUTO_TESTS_ff_f.
1966         (pow_tonearest_test_data): Likewise.
1967         (sin_test_data): Update call to AUTO_TESTS_f_f.
1968         (sin_test): Use ALL_RM_TEST.
1969         (sin_tonearest_test_data): Remove.
1970         (sin_test_tonearest): Likewise.
1971         (sin_towardzero_test_data): Likewise.
1972         (sin_test_towardzero): Likewise.
1973         (sin_downward_test_data): Likewise.
1974         (sin_test_downward): Likewise.
1975         (sin_upward_test_data): Likewise.
1976         (sin_test_upward): Likewise.
1977         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1978         (sinh_test_data): Update call to AUTO_TESTS_f_f.
1979         (sinh_test): Use ALL_RM_TEST.
1980         (sinh_tonearest_test_data): Remove.
1981         (sinh_test_tonearest): Likewise.
1982         (sinh_towardzero_test_data): Likewise.
1983         (sinh_test_towardzero): Likewise.
1984         (sinh_downward_test_data): Likewise.
1985         (sinh_test_downward): Likewise.
1986         (sinh_upward_test_data): Likewise.
1987         (sinh_test_upward): Likewise.
1988         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1989         (sqrt_test): Use ALL_RM_TEST.
1990         (sqrt_tonearest_test_data): Remove.
1991         (sqrt_test_tonearest): Likewise.
1992         (sqrt_towardzero_test_data): Likewise.
1993         (sqrt_test_towardzero): Likewise.
1994         (sqrt_downward_test_data): Likewise.
1995         (sqrt_test_downward): Likewise.
1996         (sqrt_upward_test_data): Likewise.
1997         (sqrt_test_upward): Likewise.
1998         (tan_test_data): Update call to AUTO_TESTS_f_f.
1999         (tan_test): Use ALL_RM_TEST.
2000         (tan_tonearest_test_data): Remove.
2001         (tan_test_tonearest): Likewise.
2002         (tan_towardzero_test_data): Likewise.
2003         (tan_test_towardzero): Likewise.
2004         (tan_downward_test_data): Likewise.
2005         (tan_test_downward): Likewise.
2006         (tan_upward_test_data): Likewise.
2007         (tan_test_upward): Likewise.
2008         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2009         (tgamma_test_data): Likewise.
2010         (y0_test_data): Likewise.
2011         (y1_test_data): Likewise.
2012         (yn_test_data): Update call to AUTO_TESTS_if_f.
2013         (main): Do not call removed functions.
2015 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2017         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2018         (ldexp_test_data): Remove.
2019         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2020         scalbn_test_data.
2021         (scalb_test): Use ALL_RM_TEST.
2023 2014-03-19  Andreas Schwab  <schwab@suse.de>
2025         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2027 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2029         [BZ #16649]
2030         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2031         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2032         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2033         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2034         (__ASSUME_PREADV): Undefine.
2035         (__ASSUME_PWRITEV): Likewise.
2037 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2039         * bits/mman-linux.h: Add comment about non-Linux use.
2040         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2041         bits/mman-linux.h resting place.
2043         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2044         * bits/mman-linux.h: ... here.
2046 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2048         * conform/conformtest.pl: Add standard definition when calling C
2049         preprocessor on data files.
2050         (checknamespace): Remove unused variable.
2052 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2054         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2055         minus_oflow, plus_uflow and minus_uflow in expected results.
2056         * math/libm-test.inc (scalbn_test_data): Add more tests of
2057         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2058         minus_uflow.
2059         (scalbn_test): Use ALL_RM_TEST.
2060         (scalbln_test_data): Add more tests of negative arguments.  Use
2061         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2062         (scalbln_test): Use ALL_RM_TEST.
2064 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2066         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2068 2014-03-18  Will Newton  <will.newton@linaro.org>
2070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2071         inaccurate comment.
2073 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2075         * Makerules [!subdir] (check-abi): Exit with error status if a
2076         test failed.
2078 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2080         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2081         for rint.  Include results for all rounding modes.
2082         (nearbyint_test): Use ALL_RM_TEST.
2083         (rint_test_data): Include all tests used for nearbyint.
2085 2014-03-17  Will Newton  <will.newton@linaro.org>
2087         * nptl/sysdeps/pthread/pthread.h: Revert previous
2088         change.
2090         * sysdeps/generic/ldsodefs.h: Revert previous
2091         change.
2093         * libio/genops.c: Revert previous change.
2094         * libio/libioP.h: Likewise.
2095         * stdio-common/vfprintf.c: Likewise.
2097         * sysdeps/generic/math_private.h: Revert previous
2098         change.
2100         * sysdeps/generic/math_private.h: Check whether
2101         HAVE_RM_CTX is defined with #ifdef rather
2102         than #if.
2104         * argp/argp-fmtstream.h: Check whether
2105         __STRICT_ANSI__ is defined with #ifdef rather
2106         than #if.
2107         * argp/argp.h: Likewise.
2109         * libio/genops.c: Check whether
2110         _IO_JUMPS_OFFSET is defined with #ifdef rather
2111         than #if.
2112         * libio/libioP.h: Likewise.
2113         * stdio-common/vfprintf.c: Likewise.
2115         * sysdeps/generic/ldsodefs.h: Check whether
2116         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2117         than #if.
2119         * nptl/sysdeps/pthread/pthread.h: Check
2120         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2121         its value.
2123 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2125         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2126         setting O_APPEND.
2127         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2128         test case.
2130         [BZ #16680]
2131         * libio/fileops.c (_IO_file_open): Seek to end of file but
2132         don't cache the offset.
2133         (get_file_offset): Remove function.
2134         (do_ftell): Use cached offset when available.
2135         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2136         don't cache the offset.
2137         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2138         case.
2139         (do_one_test): Call it.
2140         (do_ftell_test): Fix up expected old offset for a+ mode.
2141         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2142         available.
2144         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2145         up test status with function return status.
2146         (do_write_test): Likewise.
2147         (do_append_test): Likewise.
2149         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2150         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2151         Remove.
2153 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2155         * math/gen-libm-test.pl (parse_args): Handle results specified for
2156         each rounding mode separately.
2157         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2158         tests and results from lrint_tonearest_test_data,
2159         lrint_towardzero_test_data, lrint_downward_test_data and
2160         lrint_upward_test_data.
2161         (lrint_test): Use ALL_RM_TEST.
2162         (lrint_tonearest_test_data): Remove.
2163         (lrint_test_tonearest): Likewise.
2164         (lrint_towardzero_test_data): Likewise.
2165         (lrint_test_towardzero): Likewise.
2166         (lrint_downward_test_data): Likewise.
2167         (lrint_test_downward): Likewise.
2168         (lrint_upward_test_data): Likewise.
2169         (lrint_test_upward): Likewise.
2170         (llrint_test_data): Merge in per-rounding-mode tests and results
2171         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2172         llrint_downward_test_data and llrint_upward_test_data.
2173         (llrint_test): Use ALL_RM_TEST.
2174         (llrint_tonearest_test_data): Remove.
2175         (llrint_test_tonearest): Likewise.
2176         (llrint_towardzero_test_data): Likewise.
2177         (llrint_test_towardzero): Likewise.
2178         (llrint_downward_test_data): Likewise.
2179         (llrint_test_downward): Likewise.
2180         (llrint_upward_test_data): Likewise.
2181         (llrint_test_upward): Likewise.
2182         (rint_test_data): Merge in per-rounding-mode tests and results
2183         from rint_tonearest_test_data, rint_towardzero_test_data,
2184         rint_downward_test_data and rint_upward_test_data.  Add
2185         per-rounding-mode results for tests not in those arrays.
2186         (rint_test): Use ALL_RM_TEST.
2187         (rint_tonearest_test_data): Remove.
2188         (rint_test_tonearest): Likewise.
2189         (rint_towardzero_test_data): Likewise.
2190         (rint_test_towardzero): Likewise.
2191         (rint_downward_test_data): Likewise.
2192         (rint_test_downward): Likewise.
2193         (rint_upward_test_data): Likewise.
2194         (rint_test_upward): Likewise.
2195         (main): Don't call removed functions.
2197 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2199         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2200         "Compiled on ..." crapola.  It is anti-useful.
2202 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2204         * scripts/evaluate-test.sh: Handle fourth argument to determine
2205         whether test run should stop on failure.
2206         * Makeconfig (stop-on-test-failure): New variable.
2207         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2208         $(stop-on-test-failure).
2209         * Makefile (tests): Give a summary of results from testing and
2210         exit with failure status if they include an ERROR or FAIL.
2211         (xtests): Likewise.
2212         * manual/install.texi (Configuring and compiling): Mention
2213         stop-on-test-failure=y.
2214         * INSTALL: Regenerated.
2216 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2218         * scripts/versionlist.awk: New file.
2219         * Makerules [$(build-shared) = yes]
2220         (postclean-generated): Add Versions.def, not Versions.def.v and
2221         Versions.def.v.i.
2222         ($(common-objpfx)Versions.def.v.i): Target removed.
2223         ($(common-objpfx)Versions.def): New target.
2224         ($(common-objpfx)Versions.all): Depend on that rather that
2225         $(common-objpfx)Versions.def.v.
2226         * Versions.def: File removed.
2228         * Makeconfig (+gccwarn): Add -Wundef.
2229         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2230         a dl-sysdep.h breaking its contract.
2231         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2232         * include/stackinfo.h: New file.
2233         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2234         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2235         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2236         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2237         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2238         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2239         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2240         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2241         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2242         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2243         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2244         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2245         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2246         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2247         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2249 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2251         [BZ #16707]
2252         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2253         implementation.
2254         * math/libm-test.inc (round_test_data): Add more tests.
2256         [BZ #16706]
2257         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2258         implementation.
2259         * math/libm-test.inc (nearbyint_test_data): Add more tests.
2261         [BZ #16701]
2262         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2263         implementation.
2264         * math/libm-test.inc (ceil_test_data): Add more tests.
2266         * math/libm-test.inc (trunc_test_data): Add more tests related to
2267         BZ#16414.
2269 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2271         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2272         with #if rather than #ifdef.
2273         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2275 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
2277         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2278         first.  Disable AVX-512 GCC support if assembler doesn't support
2279         it.
2280         * sysdeps/x86_64/configure: Regenerated.
2282 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
2284         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2285         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2286         (__old_pthread_attr_setstack): Likewise.
2287         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2288         [!_STACK_GROWS_DOWN]: Likewise.
2290 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
2292         * config.make.in (have-bash2): Delete.
2293         * configure.ac (libc_cv_have_bash2): Delete.
2294         * configure: Regenerate.
2295         * elf/Makefile (common-ldd-rewrite): Rename to ...
2296         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
2297         (sh-ldd-rewrite): Delete.
2298         (bash-ldd-rewrite): Delete.
2299         (have-bash2): Delete checks.
2300         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2301         ldd-rewrite.
2303         * config.make.in (have-ksh): Delete.
2304         (KSH): Delete.
2305         * configure.ac (libc_cv_have_ksh): Delete.
2306         * configure: Regenerate.
2308         * elf/Makefile: Delete $(have-ksh) check.
2309         ($(objpfx)sotruss): Change KSH to BASH.
2310         * elf/sotruss.ksh: Rename to ...
2311         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
2312         function style to match POSIX.  Drop ksh vim mode setting.
2314         * manual/time.texi (Specifying the Time Zone with TZ): Change
2315         Tuesday to Thursday.
2317         * debug/tst-longjmp_chk2.c: Update header comment.
2318         (stackoverflow_handler): Add comment.  Call assert on pass value.
2320 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
2322         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2323         (HAVE_AVX512_ASM_SUPPORT): Likewise.
2324         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2325         (La_x86_64_vector): Add zmm.
2326         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2327         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2328         ($(objpfx)tst-audit10): New target.
2329         ($(objpfx)tst-audit10.out): Likewise.
2330         (tst-audit10-ENV): New.
2331         (AVX512-CFLAGS): Likewise.
2332         (CFLAGS-tst-audit10.c): Likewise.
2333         (CFLAGS-tst-auditmod10a.c): Likewise.
2334         (CFLAGS-tst-auditmod10b.c): Likewise.
2335         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2336         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2337         * sysdeps/x86_64/configure: Regenerated.
2338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2339         AVX-512 zmm register support.
2340         (_dl_x86_64_save_sse): Likewise.
2341         (_dl_x86_64_restore_sse): Likewise.
2342         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2343         size vector registers.
2344         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2345         (ZMM_SIZE): Likewise.
2346         * sysdeps/x86_64/tst-audit10.c: New file.
2347         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2348         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2350 2014-03-13  Roland McGrath  <roland@hack.frob.com>
2352         * configure.ac (HAVE_EHDR_START): New check.
2353         * configure: Regenerated.
2354         * config.h.in (HAVE_EHDR_START): New #undef.
2355         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2356         assuming the lowest-addressed segment maps the start of the file.
2358 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
2360         * INSTALL: Regenerated.
2362 2014-03-13  Will Newton  <will.newton@linaro.org>
2364         * manual/setjmp.texi (System V contexts): Improve
2365         clarity and grammar of documentation.
2367 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2369         [BZ #16381]
2370         * elf/Makefile (tests): Add tst-pie2.
2371         (tests-pie): Add tst-pie2.
2372         * elf/tst-pie2.c: New file.
2373         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2374         for ET_EXEC.
2375         * elf/rtld.c (map_doit): Load executable as lt_executable.
2376         (dl_main): Likewise.
2378 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
2380         [BZ #16642]
2381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2382         (__ASSUME_PSELECT): Undefine.
2384 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2386         [BZ #16689]
2387         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2388         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2389         static build.
2390         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2391         selector for static builds.
2393 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2395         [BZ #16695]
2396         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2397         key in the buffer.
2399 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2401         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2402         IFUNC selector for static builds.
2404 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
2406         * sysdeps/mips/math_private.h [__mips_hard_float]
2407         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2408         libc_feresetround_mips_ctx.
2409         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2410         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2411         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2413         [BZ #16677]
2414         * math/s_nextafter.c (__nextafter): Do not return value from
2415         overflowing computation.
2416         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2417         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2418         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2419         Likewise.
2420         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2421         Likewise.
2422         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2423         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2425 2014-03-11  Roland McGrath  <roland@hack.frob.com>
2427         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2428         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2429         Move sfi_sp use from the load-multiple (that no longer sets sp) to
2430         the new mov targetting sp.
2432 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2434         [BZ #16683]
2435         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2436         Define it for static builds as well.
2437         (NO_BZERO_IMPL): Likewise.
2439 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2441         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2442         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2443         multiarch strspn for PPC64.
2444         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2445         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2447         (__libc_ifunc_impl_list): Likewise.
2448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2449         multiarch optimizations
2450         * string/strspn.c (strspn): Using macro to redefine symbol name.
2452 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2453             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2455         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2456         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2457         multiarch strncat for PPC64.
2458         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2459         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2461         (__libc_ifunc_impl_list): Likewise.
2462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2463         multiarch optimizations
2465 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2467         [BZ #16639]
2468         * nscd/nscd.service: Make service type forking.
2470 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2472         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2473         sign in non default rounding modes.
2474         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2476 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
2478         * math/libm-test.inc (ALL_RM_TEST): New macro.
2479         (ceil_test): Use ALL_RM_TEST.
2480         (cimag_test): Likewise.
2481         (conj_test): Likewise.
2482         (copysign_test): Likewise.
2483         (cproj_test): Likewise.
2484         (creal_test): Likewise.
2485         (fabs_test): Likewise.
2486         (floor_test): Likewise.
2487         (fmax_test): Likewise.
2488         (fmin_test): Likewise.
2489         (fmod_test): Likewise.
2490         (fpclassify_test): Likewise.
2491         (frexp_test): Likewise.
2492         (ilogb_test): Likewise.
2493         (isfinite_test): Likewise.
2494         (finite_test): Likewise.
2495         (isgreater_test): Likewise.
2496         (isgreaterequal_test): Likewise.
2497         (isinf_test): Likewise.
2498         (isless_test): Likewise.
2499         (islessequal_test): Likewise.
2500         (islessgreater_test): Likewise.
2501         (isnan_test): Likewise.
2502         (isnormal_test): Likewise.
2503         (issignaling_test): Likewise.
2504         (isunordered_test): Likewise.
2505         (logb_test): Likewise.
2506         (logb_downward_test_data): Remove.
2507         (logb_test_downward): Likewise.
2508         (lround_test): Use ALL_RM_TEST.
2509         (llround_test): Likewise.
2510         (modf_test): Likewise.
2511         (nexttoward_test): Likewise.
2512         (remainder_test): Likewise.
2513         (drem_test): Likewise.
2514         (remainder_tonearest_test_data): Likewise.
2515         (remainder_test_tonearest): Likewise.
2516         (drem_test_tonearest): Likewise.
2517         (remainder_towardzero_test_data): Likewise.
2518         (remainder_test_towardzero): Likewise.
2519         (drem_test_towardzero): Likewise.
2520         (remainder_downward_test_data): Likewise.
2521         (remainder_test_downward): Likewise.
2522         (drem_test_downward): Likewise.
2523         (remainder_upward_test_data): Likewise.
2524         (remainder_test_upward): Likewise.
2525         (drem_test_upward): Likewise.
2526         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
2527         (round_test): Use ALL_RM_TEST.
2528         (signbit_test): Likewise.
2529         (trunc_test): Likewise.
2530         (significand_test): Likewise.
2531         (main): Don't call removed functions.
2533 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2535         [BZ #16674]
2536         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2537         || __USE_XOPEN2K8].
2538         (ILL_ILLOPN): Likewise.
2539         (ILL_ILLADR): Likewise.
2540         (ILL_ILLTRP): Likewise.
2541         (ILL_PRVOPC): Likewise.
2542         (ILL_PRVREG): Likewise.
2543         (ILL_COPROC): Likewise.
2544         (ILL_BADSTK): Likewise.
2545         (FPE_INTDIV): Likewise.
2546         (FPE_INTOVF): Likewise.
2547         (FPE_FLTDIV): Likewise.
2548         (FPE_FLTOVF): Likewise.
2549         (FPE_FLTUND): Likewise.
2550         (FPE_FLTRES): Likewise.
2551         (FPE_FLTINV): Likewise.
2552         (FPE_FLTSUB): Likewise.
2553         (SEGV_MAPERR): Likewise.
2554         (SEGV_ACCERR): Likewise.
2555         (BUS_ADRALN): Likewise.
2556         (BUS_ADRERR): Likewise.
2557         (BUS_OBJERR): Likewise.
2558         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2559         (TRAP_TRACE): Likewise.
2560         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2561         __USE_XOPEN2K8].
2562         (CLD_KILLED): Likewise.
2563         (CLD_DUMPED): Likewise.
2564         (CLD_TRAPPED): Likewise.
2565         (CLD_STOPPED): Likewise.
2566         (CLD_CONTINUED): Likewise.
2567         (POLL_IN): Likewise.
2568         (POLL_OUT): Likewise.
2569         (POLL_MSG): Likewise.
2570         (POLL_ERR): Likewise.
2571         (POLL_PRI): Likewise.
2572         (POLL_HUP): Likewise.
2573         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2574         Likewise.
2575         (ILL_ILLOPN): Likewise.
2576         (ILL_ILLADR): Likewise.
2577         (ILL_ILLTRP): Likewise.
2578         (ILL_PRVOPC): Likewise.
2579         (ILL_PRVREG): Likewise.
2580         (ILL_COPROC): Likewise.
2581         (ILL_BADSTK): Likewise.
2582         (FPE_INTDIV): Likewise.
2583         (FPE_INTOVF): Likewise.
2584         (FPE_FLTDIV): Likewise.
2585         (FPE_FLTOVF): Likewise.
2586         (FPE_FLTUND): Likewise.
2587         (FPE_FLTRES): Likewise.
2588         (FPE_FLTINV): Likewise.
2589         (FPE_FLTSUB): Likewise.
2590         (SEGV_MAPERR): Likewise.
2591         (SEGV_ACCERR): Likewise.
2592         (BUS_ADRALN): Likewise.
2593         (BUS_ADRERR): Likewise.
2594         (BUS_OBJERR): Likewise.
2595         (BUS_MCEERR_AR): Likewise.
2596         (BUS_MCEERR_AO): Likewise.
2597         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2598         (TRAP_TRACE): Likewise.
2599         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2600         __USE_XOPEN2K8].
2601         (CLD_KILLED): Likewise.
2602         (CLD_DUMPED): Likewise.
2603         (CLD_TRAPPED): Likewise.
2604         (CLD_STOPPED): Likewise.
2605         (CLD_CONTINUED): Likewise.
2606         (POLL_IN): Likewise.
2607         (POLL_OUT): Likewise.
2608         (POLL_MSG): Likewise.
2609         (POLL_ERR): Likewise.
2610         (POLL_PRI): Likewise.
2611         (POLL_HUP): Likewise.
2612         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2613         (ILL_ILLOPN): Likewise.
2614         (ILL_ILLADR): Likewise.
2615         (ILL_ILLTRP): Likewise.
2616         (ILL_PRVOPC): Likewise.
2617         (ILL_PRVREG): Likewise.
2618         (ILL_COPROC): Likewise.
2619         (ILL_BADSTK): Likewise.
2620         (FPE_INTDIV): Likewise.
2621         (FPE_INTOVF): Likewise.
2622         (FPE_FLTDIV): Likewise.
2623         (FPE_FLTOVF): Likewise.
2624         (FPE_FLTUND): Likewise.
2625         (FPE_FLTRES): Likewise.
2626         (FPE_FLTINV): Likewise.
2627         (FPE_FLTSUB): Likewise.
2628         (SEGV_MAPERR): Likewise.
2629         (SEGV_ACCERR): Likewise.
2630         (BUS_ADRALN): Likewise.
2631         (BUS_ADRERR): Likewise.
2632         (BUS_OBJERR): Likewise.
2633         (BUS_MCEERR_AR): Likewise.
2634         (BUS_MCEERR_AO): Likewise.
2635         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2636         (TRAP_TRACE): Likewise.
2637         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2638         __USE_XOPEN2K8].
2639         (CLD_KILLED): Likewise.
2640         (CLD_DUMPED): Likewise.
2641         (CLD_TRAPPED): Likewise.
2642         (CLD_STOPPED): Likewise.
2643         (CLD_CONTINUED): Likewise.
2644         (POLL_IN): Likewise.
2645         (POLL_OUT): Likewise.
2646         (POLL_MSG): Likewise.
2647         (POLL_ERR): Likewise.
2648         (POLL_PRI): Likewise.
2649         (POLL_HUP): Likewise.
2650         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2651         Likewise.
2652         (ILL_ILLOPN): Likewise.
2653         (ILL_ILLADR): Likewise.
2654         (ILL_ILLTRP): Likewise.
2655         (ILL_PRVOPC): Likewise.
2656         (ILL_PRVREG): Likewise.
2657         (ILL_COPROC): Likewise.
2658         (ILL_BADSTK): Likewise.
2659         (ILL_BADIADDR): Likewise.
2660         (ILL_BREAK): Likewise.
2661         (FPE_INTDIV): Likewise.
2662         (FPE_INTOVF): Likewise.
2663         (FPE_FLTDIV): Likewise.
2664         (FPE_FLTOVF): Likewise.
2665         (FPE_FLTUND): Likewise.
2666         (FPE_FLTRES): Likewise.
2667         (FPE_FLTINV): Likewise.
2668         (FPE_FLTSUB): Likewise.
2669         (FPE_DECOVF): Likewise.
2670         (FPE_DECDIV): Likewise.
2671         (FPE_DECERR): Likewise.
2672         (FPE_INVASC): Likewise.
2673         (FPE_INVDEC): Likewise.
2674         (SEGV_MAPERR): Likewise.
2675         (SEGV_ACCERR): Likewise.
2676         (SEGV_PSTKOVF): Likewise.
2677         (BUS_ADRALN): Likewise.
2678         (BUS_ADRERR): Likewise.
2679         (BUS_OBJERR): Likewise.
2680         (BUS_MCEERR_AR): Likewise.
2681         (BUS_MCEERR_AO): Likewise.
2682         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2683         (TRAP_TRACE): Likewise.
2684         (TRAP_BRANCH): Likewise.
2685         (TRAP_HWBKPT): Likewise.
2686         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2687         __USE_XOPEN2K8].
2688         (CLD_KILLED): Likewise.
2689         (CLD_DUMPED): Likewise.
2690         (CLD_TRAPPED): Likewise.
2691         (CLD_STOPPED): Likewise.
2692         (CLD_CONTINUED): Likewise.
2693         (POLL_IN): Likewise.
2694         (POLL_OUT): Likewise.
2695         (POLL_MSG): Likewise.
2696         (POLL_ERR): Likewise.
2697         (POLL_PRI): Likewise.
2698         (POLL_HUP): Likewise.
2699         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2700         (ILL_ILLOPN): Likewise.
2701         (ILL_ILLADR): Likewise.
2702         (ILL_ILLTRP): Likewise.
2703         (ILL_PRVOPC): Likewise.
2704         (ILL_PRVREG): Likewise.
2705         (ILL_COPROC): Likewise.
2706         (ILL_BADSTK): Likewise.
2707         (FPE_INTDIV): Likewise.
2708         (FPE_INTOVF): Likewise.
2709         (FPE_FLTDIV): Likewise.
2710         (FPE_FLTOVF): Likewise.
2711         (FPE_FLTUND): Likewise.
2712         (FPE_FLTRES): Likewise.
2713         (FPE_FLTINV): Likewise.
2714         (FPE_FLTSUB): Likewise.
2715         (SEGV_MAPERR): Likewise.
2716         (SEGV_ACCERR): Likewise.
2717         (BUS_ADRALN): Likewise.
2718         (BUS_ADRERR): Likewise.
2719         (BUS_OBJERR): Likewise.
2720         (BUS_MCEERR_AR): Likewise.
2721         (BUS_MCEERR_AO): Likewise.
2722         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2723         (TRAP_TRACE): Likewise.
2724         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2725         __USE_XOPEN2K8].
2726         (CLD_KILLED): Likewise.
2727         (CLD_DUMPED): Likewise.
2728         (CLD_TRAPPED): Likewise.
2729         (CLD_STOPPED): Likewise.
2730         (CLD_CONTINUED): Likewise.
2731         (POLL_IN): Likewise.
2732         (POLL_OUT): Likewise.
2733         (POLL_MSG): Likewise.
2734         (POLL_ERR): Likewise.
2735         (POLL_PRI): Likewise.
2736         (POLL_HUP): Likewise.
2737         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2738         (ILL_ILLOPN): Likewise.
2739         (ILL_ILLADR): Likewise.
2740         (ILL_ILLTRP): Likewise.
2741         (ILL_PRVOPC): Likewise.
2742         (ILL_PRVREG): Likewise.
2743         (ILL_COPROC): Likewise.
2744         (ILL_BADSTK): Likewise.
2745         (FPE_INTDIV): Likewise.
2746         (FPE_INTOVF): Likewise.
2747         (FPE_FLTDIV): Likewise.
2748         (FPE_FLTOVF): Likewise.
2749         (FPE_FLTUND): Likewise.
2750         (FPE_FLTRES): Likewise.
2751         (FPE_FLTINV): Likewise.
2752         (FPE_FLTSUB): Likewise.
2753         (SEGV_MAPERR): Likewise.
2754         (SEGV_ACCERR): Likewise.
2755         (BUS_ADRALN): Likewise.
2756         (BUS_ADRERR): Likewise.
2757         (BUS_OBJERR): Likewise.
2758         (BUS_MCEERR_AR): Likewise.
2759         (BUS_MCEERR_AO): Likewise.
2760         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2761         (TRAP_TRACE): Likewise.
2762         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2763         __USE_XOPEN2K8].
2764         (CLD_KILLED): Likewise.
2765         (CLD_DUMPED): Likewise.
2766         (CLD_TRAPPED): Likewise.
2767         (CLD_STOPPED): Likewise.
2768         (CLD_CONTINUED): Likewise.
2769         (POLL_IN): Likewise.
2770         (POLL_OUT): Likewise.
2771         (POLL_MSG): Likewise.
2772         (POLL_ERR): Likewise.
2773         (POLL_PRI): Likewise.
2774         (POLL_HUP): Likewise.
2775         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2776         (ILL_ILLOPN): Likewise.
2777         (ILL_ILLADR): Likewise.
2778         (ILL_ILLTRP): Likewise.
2779         (ILL_PRVOPC): Likewise.
2780         (ILL_PRVREG): Likewise.
2781         (ILL_COPROC): Likewise.
2782         (ILL_BADSTK): Likewise.
2783         (FPE_INTDIV): Likewise.
2784         (FPE_INTOVF): Likewise.
2785         (FPE_FLTDIV): Likewise.
2786         (FPE_FLTOVF): Likewise.
2787         (FPE_FLTUND): Likewise.
2788         (FPE_FLTRES): Likewise.
2789         (FPE_FLTINV): Likewise.
2790         (FPE_FLTSUB): Likewise.
2791         (SEGV_MAPERR): Likewise.
2792         (SEGV_ACCERR): Likewise.
2793         (BUS_ADRALN): Likewise.
2794         (BUS_ADRERR): Likewise.
2795         (BUS_OBJERR): Likewise.
2796         (BUS_MCEERR_AR): Likewise.
2797         (BUS_MCEERR_AO): Likewise.
2798         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2799         (TRAP_TRACE): Likewise.
2800         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2801         __USE_XOPEN2K8].
2802         (CLD_KILLED): Likewise.
2803         (CLD_DUMPED): Likewise.
2804         (CLD_TRAPPED): Likewise.
2805         (CLD_STOPPED): Likewise.
2806         (CLD_CONTINUED): Likewise.
2807         (POLL_IN): Likewise.
2808         (POLL_OUT): Likewise.
2809         (POLL_MSG): Likewise.
2810         (POLL_ERR): Likewise.
2811         (POLL_PRI): Likewise.
2812         (POLL_HUP): Likewise.
2813         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2814         (ILL_ILLOPN): Likewise.
2815         (ILL_ILLADR): Likewise.
2816         (ILL_ILLTRP): Likewise.
2817         (ILL_PRVOPC): Likewise.
2818         (ILL_PRVREG): Likewise.
2819         (ILL_COPROC): Likewise.
2820         (ILL_BADSTK): Likewise.
2821         (ILL_DBLFLT): Likewise.
2822         (ILL_HARDWALL): Likewise.
2823         (FPE_INTDIV): Likewise.
2824         (FPE_INTOVF): Likewise.
2825         (FPE_FLTDIV): Likewise.
2826         (FPE_FLTOVF): Likewise.
2827         (FPE_FLTUND): Likewise.
2828         (FPE_FLTRES): Likewise.
2829         (FPE_FLTINV): Likewise.
2830         (FPE_FLTSUB): Likewise.
2831         (SEGV_MAPERR): Likewise.
2832         (SEGV_ACCERR): Likewise.
2833         (BUS_ADRALN): Likewise.
2834         (BUS_ADRERR): Likewise.
2835         (BUS_OBJERR): Likewise.
2836         (BUS_MCEERR_AR): Likewise.
2837         (BUS_MCEERR_AO): Likewise.
2838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2839         (TRAP_TRACE): Likewise.
2840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2841         __USE_XOPEN2K8].
2842         (CLD_KILLED): Likewise.
2843         (CLD_DUMPED): Likewise.
2844         (CLD_TRAPPED): Likewise.
2845         (CLD_STOPPED): Likewise.
2846         (CLD_CONTINUED): Likewise.
2847         (POLL_IN): Likewise.
2848         (POLL_OUT): Likewise.
2849         (POLL_MSG): Likewise.
2850         (POLL_ERR): Likewise.
2851         (POLL_PRI): Likewise.
2852         (POLL_HUP): Likewise.
2853         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2854         (ILL_ILLOPN): Likewise.
2855         (ILL_ILLADR): Likewise.
2856         (ILL_ILLTRP): Likewise.
2857         (ILL_PRVOPC): Likewise.
2858         (ILL_PRVREG): Likewise.
2859         (ILL_COPROC): Likewise.
2860         (ILL_BADSTK): Likewise.
2861         (FPE_INTDIV): Likewise.
2862         (FPE_INTOVF): Likewise.
2863         (FPE_FLTDIV): Likewise.
2864         (FPE_FLTOVF): Likewise.
2865         (FPE_FLTUND): Likewise.
2866         (FPE_FLTRES): Likewise.
2867         (FPE_FLTINV): Likewise.
2868         (FPE_FLTSUB): Likewise.
2869         (SEGV_MAPERR): Likewise.
2870         (SEGV_ACCERR): Likewise.
2871         (BUS_ADRALN): Likewise.
2872         (BUS_ADRERR): Likewise.
2873         (BUS_OBJERR): Likewise.
2874         (BUS_MCEERR_AR): Likewise.
2875         (BUS_MCEERR_AO): Likewise.
2876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2877         (TRAP_TRACE): Likewise.
2878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2879         __USE_XOPEN2K8].
2880         (CLD_KILLED): Likewise.
2881         (CLD_DUMPED): Likewise.
2882         (CLD_TRAPPED): Likewise.
2883         (CLD_STOPPED): Likewise.
2884         (CLD_CONTINUED): Likewise.
2885         (POLL_IN): Likewise.
2886         (POLL_OUT): Likewise.
2887         (POLL_MSG): Likewise.
2888         (POLL_ERR): Likewise.
2889         (POLL_PRI): Likewise.
2890         (POLL_HUP): Likewise.
2891         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2892         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2894         [BZ #16670]
2895         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2896         before #include of <time.h>.
2897         [!__USE_XOPEN2K] (__need_timespec): Likewise.
2898         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2899         (test-xfail-UNIX98/sched.h/conform): Likewise.
2901 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2903         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2904         error absence of trapping exception support.
2905         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2907 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2909         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2910         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2911         * timezone/Makefile (testdata): Move definition above include of
2912         Rules.
2913         (test-zones): New variable.
2914         (tests-special): Add zone files.
2915         (build-testdata): Use $(evaluate-test).
2917         * elf/Makefile (tests-special): Rename tests to end with .out.
2918         ($(objpfx)noload-mem): Likewise.
2919         ($(objpfx)tst-leaks1-mem): Likewise.
2920         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2921         * iconv/Makefile (xtests-special): Change test-iconvconfig to
2922         $(objpfx)test-iconvconfig.out.
2923         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
2924         set -e inside subshell and redirect output to file.
2925         * iconvdata/Makefile (generated): Rename tests to end with .out.
2926         Correct type.
2927         (tests-special): Rename tests to end with .out.
2928         ($(objpfx)mtrace-tst-loading): Likewise.
2929         * intl/Makefile (generated): Likewise.
2930         (tests-special): Likewise.
2931         ($(objpfx)mtrace-tst-gettext): Likewise.
2932         * misc/Makefile (generated): Likewise.
2933         (tests-special): Likewise.
2934         ($(objpfx)tst-error1-mem): Likewise.
2935         * nptl/Makefile (tests-special): Likewise.
2936         ($(objpfx)tst-stack3-mem): Likewise.
2937         (generated): Likewise.
2938         * posix/Makefile (generated): Likewise.
2939         (tests-special): Likewise.
2940         (xtests-special): Likewise.
2941         ($(objpfx)tst-fnmatch-mem): Likewise.
2942         ($(objpfx)bug-regex2-mem): Likewise.
2943         ($(objpfx)bug-regex14-mem): Likewise.
2944         ($(objpfx)bug-regex21-mem): Likewise.
2945         ($(objpfx)bug-regex31-mem): Likewise.
2946         ($(objpfx)tst-vfork3-mem): Likewise.
2947         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2948         ($(objpfx)tst-pcre-mem): Likewise.
2949         ($(objpfx)tst-boost-mem): Likewise.
2950         ($(objpfx)bug-ga2-mem): Likewise.
2951         ($(objpfx)bug-glob2-mem): Likewise.
2952         * resolv/Makefile (generate): Likewise.
2953         (tests-special): Likewise.
2954         (xtests-special): Likewise.
2955         (generated): Likewise.
2956         ($(objpfx)mtrace-tst-leaks): Likewise.
2957         ($(objpfx)mtrace-tst-leaks2): Likewise.
2959         * scripts/merge-test-results.sh: New file.
2960         * Makefile (tests-special-notdir): New variable.
2961         (tests): Run merge-test-results.sh.
2962         (xtests): Likewise.
2963         * Rules (tests-special-notdir): New variable.
2964         (xtests-special-notdir): Likewise.
2965         (tests): Run merge-test-results.sh
2966         (xtests): Likewise.
2968         * Makeconfig (test-xfail-name): New variable.
2969         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2970         compute variable name for expected failures.
2971         * conform/Makefile (conformtest-headers-data): New variable.
2972         (conformtest-standards): Likewise.
2973         (conformtest-headers-ISO): Likewise.
2974         (conformtest-headers-ISO99): Likewise.
2975         (conformtest-headers-ISO11): Likewise.
2976         (conformtest-headers-POSIX): Likewise.
2977         (conformtest-headers-XPG3): Likewise.
2978         (conformtest-headers-XPG4): Likewise.
2979         (conformtest-headers-UNIX98): Likewise.
2980         (conformtest-headers-XOPEN2K): Likewise.
2981         (conformtest-headers-POSIX2008): Likewise.
2982         (conformtest-headers-XOPEN2K8): Likewise.
2983         (conformtest-header-list-base): Likewise.
2984         (conformtest-header-list-tests): Likewise.
2985         (conformtest-header-base): Likewise.
2986         (conformtest-header-tests): Likewise.
2987         (tests-special): Add $(conformtest-header-list-tests).  If
2988         [$(fast-check) && !$(cross-compiling)], add
2989         $(conformtest-header-tests) instead of
2990         $(objpfx)run-conformtest.out.
2991         (generated): Add $(conformtest-header-list-base).  If
2992         [$(fast-check) && !$(cross-compiling)], add
2993         $(conformtest-header-base).  Remove previous setting.
2994         ($(conformtest-header-list-tests)): New target.
2995         (test-xfail-run-conformtest): Remove variable.
2996         ($(objpfx)run-conformtest.out): Remove target.
2997         (test-xfail-ISO11/complex.h/conform): New variable.
2998         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2999         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3000         (test-xfail-XPG3/varargs.h/conform): Likewise.
3001         (test-xfail-XPG4/varargs.h/conform): Likewise.
3002         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3003         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3004         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3005         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3006         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3007         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3008         (test-xfail-XPG3/ftw.h/conform): Likewise.
3009         (test-xfail-XPG3/grp.h/conform): Likewise.
3010         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3011         (test-xfail-XPG3/limits.h/conform): Likewise.
3012         (test-xfail-XPG3/pwd.h/conform): Likewise.
3013         (test-xfail-XPG3/search.h/conform): Likewise.
3014         (test-xfail-XPG3/signal.h/conform): Likewise.
3015         (test-xfail-XPG3/stdio.h/conform): Likewise.
3016         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3017         (test-xfail-XPG3/string.h/conform): Likewise.
3018         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3019         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3020         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3021         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3022         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3023         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3024         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3025         (test-xfail-XPG3/termios.h/conform): Likewise.
3026         (test-xfail-XPG3/time.h/conform): Likewise.
3027         (test-xfail-XPG3/unistd.h/conform): Likewise.
3028         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3029         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3030         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3031         (test-xfail-XPG4/netdb.h/conform): Likewise.
3032         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3033         (test-xfail-XPG4/signal.h/conform): Likewise.
3034         (test-xfail-XPG4/stdio.h/conform): Likewise.
3035         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3036         (test-xfail-XPG4/stropts.h/conform): Likewise.
3037         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3038         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3039         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3040         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3041         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3042         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3043         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3044         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3045         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3046         (test-xfail-XPG4/termios.h/conform): Likewise.
3047         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3048         (test-xfail-XPG4/unistd.h/conform): Likewise.
3049         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3050         (test-xfail-POSIX/sched.h/conform): Likewise.
3051         (test-xfail-POSIX/signal.h/conform): Likewise.
3052         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3053         (test-xfail-POSIX/tar.h/conform): Likewise.
3054         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3055         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3056         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3057         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3058         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3059         (test-xfail-UNIX98/sched.h/conform): Likewise.
3060         (test-xfail-UNIX98/signal.h/conform): Likewise.
3061         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3062         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3063         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3064         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3065         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3066         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3067         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3068         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3069         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3070         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3071         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3072         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3073         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3074         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3075         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3076         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3077         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3078         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3079         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3080         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3081         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3082         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3083         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3084         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3085         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3086         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3087         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3088         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3089         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3090         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3091         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3092         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3093         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3094         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3095         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3096         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3097         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3098         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3099         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3100         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3101         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3102         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3103         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3104         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3105         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3106         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3107         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3108         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3109         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3110         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3111         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3112         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3113         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3114         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3115         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3116         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3117         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3118         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3119         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3120         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3121         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3122         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3123         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3124         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3125         (conformtest-cc-flags): Likewise.
3126         ($(conformtest-header-tests): New target.
3127         * conform/check-header-lists.sh: New file.
3128         * conform/run-conformtest.sh: Remove.
3130         * conform/conformtest.pl: Allow ' and \ in values given for
3131         constants.
3132         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3133         inclusion.
3134         [POSIX] (sys/types.h): Likewise.
3135         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3136         inclusion.
3137         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3138         inclusion.
3139         * conform/data/signal.h-data (SIGIO): Remove expectation.
3140         [XPG3] (SIGBUS): Do not expect.
3141         [POSIX || XPG3] (SIGPOLL): Likewise.
3142         [POSIX || XPG3] (SIGPROF): Likewise.
3143         [POSIX || XPG3] (SIGSYS): Likewise.
3144         [XPG3] (SIGTRAP): Likewise.
3145         [POSIX || XPG3] (SIGURG): Likewise.
3146         [POSIX || XPG3] (SIGVTALRM): Likewise.
3147         [POSIX || XPG3] (SIGXCPU): Likewise.
3148         [POSIX || XPG3] (SIGXFSZ): Likewise.
3149         [POSIX] (SA_SIGINFO): Expect.
3150         [XPG3] (siginfo_t): Do not expect type or contents.
3151         [POSIX] (si_pid): Do not expect element.
3152         [POSIX] (si_uid): Likewise.
3153         [POSIX] (si_addr): Likewise.
3154         [POSIX] (si_status): Likewise.
3155         [POSIX] (si_band): Likewise.
3156         [XPG4] (si_value): Likewise.
3157         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3158         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3159         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3160         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3161         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3162         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3163         [POSIX || XPG3] (ILL_COPROC): Likewise.
3164         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3165         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3166         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3167         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3168         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3169         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3170         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3171         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3172         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3173         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3174         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3175         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3176         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3177         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3178         [POSIX || XPG3] (CLD_EXITED): Likewise.
3179         [POSIX || XPG3] (CLD_KILLED): Likewise.
3180         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3181         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3182         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3183         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3184         [POSIX || XPG3] (POLL_IN): Likewise.
3185         [POSIX || XPG3] (POLL_OUT): Likewise.
3186         [POSIX || XPG3] (POLL_MSG): Likewise.
3187         [POSIX || XPG3] (POLL_ERR): Likewise.
3188         [POSIX || XPG3] (POLL_PRI): Likewise.
3189         [POSIX || XPG3] (POLL_HUP): Likewise.
3190         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3191         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3192         (SIG*): Do not allow.
3193         [XPG3] (si_*): Likewise.
3194         [XPG3] (SI_*): Likewise.
3195         [XPG3 || XPG4] (sigev_*): Likewise.
3196         [XPG3 || XPG4] (SIGEV_*): Likewise.
3197         [XPG3 || XPG4] (sival_*): Likewise.
3198         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3199         [POSIX || XPG3] (BUS_*): Likewise.
3200         [POSIX || XPG3] (CLD_*): Likewise.
3201         [POSIX || XPG3] (FPE_*): Likewise.
3202         [POSIX || XPG3] (ILL_*): Likewise.
3203         [POSIX || XPG3] (POLL_*): Likewise.
3204         [POSIX || XPG3] (SEGV_*): Likewise.
3205         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3206         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3207         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3208         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3209         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3210         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3211         Specify type and value.
3212         (TVERSLEN): Likewise.
3213         (REGTYPE): Likewise.
3214         (AREGTYPE): Likewise.
3215         (LNKTYPE): Likewise.
3216         (SYMTYPE): Likewise.
3217         (CHRTYPE): Likewise.
3218         (BLKTYPE): Likewise.
3219         (DIRTYPE): Likewise.
3220         (FIFOTYPE): Likewise.
3221         (CONTTYPE): Likewise.
3222         (TSUID): Likewise.
3223         (TSGID): Likewise.
3224         (TSVTX): Likewise.
3225         (TUREAD): Likewise.
3226         (TUWRITE): Likewise.
3227         (TUEXEC): Likewise.
3228         (TGREAD): Likewise.
3229         (TGWRITE): Likewise.
3230         (TGEXEC): Likewise.
3231         (TOREAD): Likewise.
3232         (TOWRITE): Likewise.
3233         (TOEXEC): Likewise.
3234         [POSIX] (TSVTX): Expect constant.
3236 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3238         * Makefile (tests): Change dependencies to ....
3239         (tests-special): ... additions to this variable.
3240         (tests): Depend on $(tests-special).
3241         * Makerules (check-abi-list): New variable.
3242         (check-abi): Depend on $(check-abi-list).
3243         [$(subdir) = elf] (tests-special): Add
3244         $(objpfx)check-abi-libc.out.
3245         [$(build-shared) = yes && subdir] (tests-special): Add
3246         $(check-abi-list).
3247         [$(build-shared) = yes && subdir] (tests): Do not depend on
3248         check-abi.
3249         * Rules (tests): Depend on $(tests-special).
3250         (xtests): Depend on $(xtests-special).
3251         * catgets/Makefile (tests): Change dependencies to ....
3252         (tests-special): ... additions to this variable.
3253         * conform/Makefile (tests): Change dependencies to ....
3254         (tests-special): ... additions to this variable.
3255         * elf/Makefile (tests): Change dependencies to ....
3256         (tests-special): ... additions to this variable.
3257         * grp/Makefile (tests): Change dependencies to ....
3258         (tests-special): ... additions to this variable.
3259         * iconv/Makefile (xtests): Change dependencies to ....
3260         (xtests-special): ... additions to this variable.
3261         * iconvdata/Makefile (tests): Change dependencies to ....
3262         (tests-special): ... additions to this variable.
3263         * intl/Makefile (tests): Change dependencies to ....
3264         (tests-special): ... additions to this variable.  Also add
3265         $(objpfx)tst-gettext.out.
3266         * io/Makefile (tests): Change dependencies to ....
3267         (tests-special): ... additions to this variable.
3268         * libio/Makefile (tests): Change dependencies to ....
3269         (tests-special): ... additions to this variable.
3270         * malloc/Makefile (tests): Change dependencies to ....
3271         (tests-special): ... additions to this variable.
3272         * misc/Makefile (tests): Change dependencies to ....
3273         (tests-special): ... additions to this variable.
3274         * nptl/Makefile (tests): Change dependencies to ....
3275         (tests-special): ... additions to this variable.
3276         * nptl_db/Makefile (tests): Change dependencies to ....
3277         (tests-special): ... additions to this variable.
3278         * posix/Makefile (tests): Change dependencies to ....
3279         (tests-special): ... additions to this variable.
3280         (xtests): Change dependencies to ....
3281         (xtests-special): ... additions to this variable.
3282         * resolv/Makefile (tests): Change dependencies to ....
3283         (tests-special): ... additions to this variable.
3284         (xtests): Change dependencies to ....
3285         (xtests-special): ... additions to this variable.
3286         * stdio-common/Makefile (tests): Change dependencies to ....
3287         (tests-special): ... additions to this variable.
3288         (do-tst-unbputc): Remove target.
3289         (do-tst-printf): Likewise.
3290         * stdlib/Makefile (tests): Change dependencies to ....
3291         (tests-special): ... additions to this variable.
3292         * string/Makefile (tests): Change dependencies to ....
3293         (tests-special): ... additions to this variable.
3294         * sysdeps/x86/Makefile (tests): Change dependencies to ....
3295         (tests-special): ... additions to this variable.
3297         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3298         whole file.
3299         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3300         whole file.
3301         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3302         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3304         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3305         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3306         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3307         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3308         * conform/data/libgen.h-data [XPG3]: Likewise.
3309         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3310         * conform/data/ndbm.h-data [XPG3]: Likewise.
3311         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3312         * conform/data/netdb.h-data [XPG3]: Likewise.
3313         * conform/data/netinet/in.h-data [XPG3]: Likewise.
3314         * conform/data/poll.h-data [XPG3]: Likewise.
3315         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3316         * conform/data/strings.h-data [XPG3]: Likewise.
3317         * conform/data/stropts.h-data [XPG3]: Likewise.
3318         * conform/data/sys/mman.h-data [XPG3]: Likewise.
3319         * conform/data/sys/resource.h-data [XPG3]: Likewise.
3320         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3321         Likewise.
3322         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3323         * conform/data/sys/time.h-data [XPG3]: Likewise.
3324         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3325         * conform/data/sys/uio.h-data [XPG3]: Likewise.
3326         * conform/data/sys/un.h-data [XPG3]: Likewise.
3327         * conform/data/syslog.h-data [XPG3]: Likewise.
3328         * conform/data/ucontext.h-data [XPG3]: Likewise.
3329         * conform/data/utmpx.h-data [XPG3]: Likewise.
3330         * conform/data/varargs.h-data [UNIX98]: Enable file.
3332         * manual/Makefile (INSTALL_INFO): Remove variable setting.
3334         * math/libm-test.inc (struct test_f_f_data): Move expected results
3335         into structure for each rounding mode.
3336         (struct test_ff_f_data): Likewise.
3337         (struct test_ff_f_data_nexttoward): Likewise.
3338         (struct test_fi_f_data): Likewise.
3339         (struct test_fl_f_data): Likewise.
3340         (struct test_if_f_data): Likewise.
3341         (struct test_fff_f_data): Likewise.
3342         (struct test_c_f_data): Likewise.
3343         (struct test_f_f1_data): Likewise.
3344         (struct test_fF_f1_data): Likewise.
3345         (struct test_ffI_f1_data): Likewise.
3346         (struct test_c_c_data): Likewise.
3347         (struct test_cc_c_data): Likewise.
3348         (struct test_f_i_data): Likewise.
3349         (struct test_ff_i_data): Likewise.
3350         (struct test_f_l_data): Likewise.
3351         (struct test_f_L_data): Likewise.
3352         (struct test_fFF_11_data): Likewise.
3353         (RM_): New macro.
3354         (RM_FE_DOWNWARD): Likewise.
3355         (RM_FE_TONEAREST): Likewise.
3356         (RM_FE_TOWARDZERO): Likewise.
3357         (RM_FE_UPWARD): Likewise.
3358         (RUN_TEST_LOOP_f_f): Update references to expected results.
3359         (RUN_TEST_LOOP_2_f): Likewise.
3360         (RUN_TEST_LOOP_fff_f): Likewise.
3361         (RUN_TEST_LOOP_c_f): Likewise.
3362         (RUN_TEST_LOOP_f_f1): Likewise.
3363         (RUN_TEST_LOOP_fF_f1): Likewise.
3364         (RUN_TEST_LOOP_fI_f1): Likewise.
3365         (RUN_TEST_LOOP_ffI_f1): Likewise.
3366         (RUN_TEST_LOOP_c_c): Likewise.
3367         (RUN_TEST_LOOP_cc_c): Likewise.
3368         (RUN_TEST_LOOP_f_i): Likewise.
3369         (RUN_TEST_LOOP_f_i_tg): Likewise.
3370         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3371         (RUN_TEST_LOOP_f_b): Likewise.
3372         (RUN_TEST_LOOP_f_b_tg): Likewise.
3373         (RUN_TEST_LOOP_f_l): Likewise.
3374         (RUN_TEST_LOOP_f_L): Likewise.
3375         (RUN_TEST_LOOP_fFF_11): Likewise.
3376         * math/gen-libm-test.pl (parse_args): Output four copies of
3377         expected results for each test.
3379         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3380         (__ASSUME_UTIMES): Remove.
3381         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3382         (__ASSUME_UTIMES): Likewise.
3384         * math/gen-auto-libm-tests.c: Update comment on output format.
3385         (output_for_one_input_case): Generate before-rounding and
3386         after-rounding information as conditions on output flags not
3387         floating-point format.
3388         * math/auto-libm-test-out: Regenerated.
3389         * math/gen-libm-test.pl (cond_value): New function.
3390         (or_cond_value): Use cond_value.
3391         (generate_testfile): Handle conditional exceptions.
3393 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
3395         * math/libm-test.inc (max_valid_error): New variable.
3396         (init_max_error): Take new argument specifying whether function
3397         results are exactly determined.  Set max_valid_error and bound
3398         other variables for errors based on this argument.
3399         (set_max_error): Do not record results above max_valid_error.
3400         (check_float_internal): Only accept errors of up to 0.5ulps if
3401         also at most max_valid_error.
3402         (START): Take new argument EXACT and pass it to init_max_error.
3403         (acos_test): Update call to START.
3404         (acos_test_tonearest): Likewise.
3405         (acos_test_towardzero): Likewise.
3406         (acos_test_downward): Likewise.
3407         (acos_test_upward): Likewise.
3408         (acosh_test): Likewise.
3409         (asin_test): Likewise.
3410         (asin_test_tonearest): Likewise.
3411         (asin_test_towardzero): Likewise.
3412         (asin_test_downward): Likewise.
3413         (asin_test_upward): Likewise.
3414         (asinh_test): Likewise.
3415         (atan_test): Likewise.
3416         (atanh_test): Likewise.
3417         (atan2_test): Likewise.
3418         (cabs_test): Likewise.
3419         (cacos_test): Likewise.
3420         (cacosh_test): Likewise.
3421         (carg_test): Likewise.
3422         (casin_test): Likewise.
3423         (casinh_test): Likewise.
3424         (catan_test): Likewise.
3425         (catanh_test): Likewise.
3426         (cbrt_test): Likewise.
3427         (ccos_test): Likewise.
3428         (ccosh_test): Likewise.
3429         (ceil_test): Likewise.
3430         (cexp_test): Likewise.
3431         (cimag_test): Likewise.
3432         (clog_test): Likewise.
3433         (clog10_test): Likewise.
3434         (conj_test): Likewise.
3435         (copysign_test): Likewise.
3436         (cos_test): Likewise.
3437         (cos_test_tonearest): Likewise.
3438         (cos_test_towardzero): Likewise.
3439         (cos_test_downward): Likewise.
3440         (cos_test_upward): Likewise.
3441         (cosh_test): Likewise.
3442         (cosh_test_tonearest): Likewise.
3443         (cosh_test_towardzero): Likewise.
3444         (cosh_test_downward): Likewise.
3445         (cosh_test_upward): Likewise.
3446         (cpow_test): Likewise.
3447         (cproj_test): Likewise.
3448         (creal_test): Likewise.
3449         (csin_test): Likewise.
3450         (csinh_test): Likewise.
3451         (csqrt_test): Likewise.
3452         (ctan_test): Likewise.
3453         (ctan_test_tonearest): Likewise.
3454         (ctan_test_towardzero): Likewise.
3455         (ctan_test_downward): Likewise.
3456         (ctan_test_upward): Likewise.
3457         (ctanh_test): Likewise.
3458         (ctanh_test_tonearest): Likewise.
3459         (ctanh_test_towardzero): Likewise.
3460         (ctanh_test_downward): Likewise.
3461         (ctanh_test_upward): Likewise.
3462         (erf_test): Likewise.
3463         (erfc_test): Likewise.
3464         (exp_test): Likewise.
3465         (exp_test_tonearest): Likewise.
3466         (exp_test_towardzero): Likewise.
3467         (exp_test_downward): Likewise.
3468         (exp_test_upward): Likewise.
3469         (exp10_test): Likewise.
3470         (exp10_test_tonearest): Likewise.
3471         (exp10_test_towardzero): Likewise.
3472         (exp10_test_downward): Likewise.
3473         (exp10_test_upward): Likewise.
3474         (pow10_test): Likewise.
3475         (exp2_test): Likewise.
3476         (expm1_test): Likewise.
3477         (expm1_test_tonearest): Likewise.
3478         (expm1_test_towardzero): Likewise.
3479         (expm1_test_downward): Likewise.
3480         (expm1_test_upward): Likewise.
3481         (fabs_test): Likewise.
3482         (fdim_test): Likewise.
3483         (floor_test): Likewise.
3484         (fma_test): Likewise.
3485         (fma_test_towardzero): Likewise.
3486         (fma_test_downward): Likewise.
3487         (fma_test_upward): Likewise.
3488         (fmax_test): Likewise.
3489         (fmin_test): Likewise.
3490         (fmod_test): Likewise.
3491         (fpclassify_test): Likewise.
3492         (frexp_test): Likewise.
3493         (hypot_test): Likewise.
3494         (ilogb_test): Likewise.
3495         (isfinite_test): Likewise.
3496         (finite_test): Likewise.
3497         (isgreater_test): Likewise.
3498         (isgreaterequal_test): Likewise.
3499         (isinf_test): Likewise.
3500         (isless_test): Likewise.
3501         (islessequal_test): Likewise.
3502         (islessgreater_test): Likewise.
3503         (isnan_test): Likewise.
3504         (isnormal_test): Likewise.
3505         (issignaling_test): Likewise.
3506         (isunordered_test): Likewise.
3507         (j0_test): Likewise.
3508         (j1_test): Likewise.
3509         (jn_test): Likewise.
3510         (ldexp_test): Likewise.
3511         (lgamma_test): Likewise.
3512         (gamma_test): Likewise.
3513         (lrint_test): Likewise.
3514         (lrint_test_tonearest): Likewise.
3515         (lrint_test_towardzero): Likewise.
3516         (lrint_test_downward): Likewise.
3517         (lrint_test_upward): Likewise.
3518         (llrint_test): Likewise.
3519         (llrint_test_tonearest): Likewise.
3520         (llrint_test_towardzero): Likewise.
3521         (llrint_test_downward): Likewise.
3522         (llrint_test_upward): Likewise.
3523         (log_test): Likewise.
3524         (log10_test): Likewise.
3525         (log1p_test): Likewise.
3526         (log2_test): Likewise.
3527         (logb_test): Likewise.
3528         (logb_test_downward): Likewise.
3529         (lround_test): Likewise.
3530         (llround_test): Likewise.
3531         (modf_test): Likewise.
3532         (nearbyint_test): Likewise.
3533         (nextafter_test): Likewise.
3534         (nexttoward_test): Likewise.
3535         (pow_test): Likewise.
3536         (pow_test_tonearest): Likewise.
3537         (pow_test_towardzero): Likewise.
3538         (pow_test_downward): Likewise.
3539         (pow_test_upward): Likewise.
3540         (remainder_test): Likewise.
3541         (drem_test): Likewise.
3542         (remainder_test_tonearest): Likewise.
3543         (drem_test_tonearest): Likewise.
3544         (remainder_test_towardzero): Likewise.
3545         (drem_test_towardzero): Likewise.
3546         (remainder_test_downward): Likewise.
3547         (drem_test_downward): Likewise.
3548         (remainder_test_upward): Likewise.
3549         (drem_test_upward): Likewise.
3550         (remquo_test): Likewise.
3551         (rint_test): Likewise.
3552         (rint_test_tonearest): Likewise.
3553         (rint_test_towardzero): Likewise.
3554         (rint_test_downward): Likewise.
3555         (rint_test_upward): Likewise.
3556         (round_test): Likewise.
3557         (scalb_test): Likewise.
3558         (scalbn_test): Likewise.
3559         (scalbln_test): Likewise.
3560         (signbit_test): Likewise.
3561         (sin_test): Likewise.
3562         (sin_test_tonearest): Likewise.
3563         (sin_test_towardzero): Likewise.
3564         (sin_test_downward): Likewise.
3565         (sin_test_upward): Likewise.
3566         (sincos_test): Likewise.
3567         (sinh_test): Likewise.
3568         (sinh_test_tonearest): Likewise.
3569         (sinh_test_towardzero): Likewise.
3570         (sinh_test_downward): Likewise.
3571         (sinh_test_upward): Likewise.
3572         (sqrt_test): Likewise.
3573         (sqrt_test_tonearest): Likewise.
3574         (sqrt_test_towardzero): Likewise.
3575         (sqrt_test_downward): Likewise.
3576         (sqrt_test_upward): Likewise.
3577         (tan_test): Likewise.
3578         (tan_test_tonearest): Likewise.
3579         (tan_test_towardzero): Likewise.
3580         (tan_test_downward): Likewise.
3581         (tan_test_upward): Likewise.
3582         (tanh_test): Likewise.
3583         (tgamma_test): Likewise.
3584         (trunc_test): Likewise.
3585         (y0_test): Likewise.
3586         (y1_test): Likewise.
3587         (yn_test): Likewise.
3588         (significand_test): Likewise.
3590         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3591         individual tests in comment.
3592         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3593         (prev_max_error): New variable.
3594         (prev_real_max_error): Likewise.
3595         (prev_imag_max_error): Likewise.
3596         (compare_ulp_data): Don't refer to test names in comment.
3597         (find_test_ulps): Remove function.
3598         (find_function_ulps): Likewise.
3599         (find_complex_function_ulps): Likewise.
3600         (init_max_error): Take function name as argument.  Look up ulps
3601         for that function.
3602         (print_ulps): Remove function.
3603         (print_max_error): Use prev_max_error instead of calling
3604         find_function_ulps.
3605         (print_complex_max_error): Use prev_real_max_error and
3606         prev_imag_max_error instead of calling find_complex_function_ulps.
3607         (check_float_internal): Take max_ulp parameter instead of calling
3608         find_test_ulps.  Don't call print_ulps.
3609         (check_float): Update call to check_float_internal.
3610         (check_complex): Update calls to check_float_internal.
3611         (START): Pass argument to init_max_error.
3612         * math/gen-libm-test.pl (%results): Don't include "kind"
3613         information.
3614         (parse_ulps): Don't handle ulps of individual tests.
3615         (print_ulps_file): Likewise.
3616         (output_ulps): Likewise.
3617         * math/README.libm-test: Update.
3618         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3619         individual tests.
3620         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3621         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3622         * sysdeps/arm/libm-test-ulps: Likewise.
3623         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3624         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3625         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3626         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3627         * sysdeps/microblaze/libm-test-ulps: Likewise.
3628         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3629         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3630         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3631         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3632         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3633         * sysdeps/sh/libm-test-ulps: Likewise.
3634         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3635         * sysdeps/tile/libm-test-ulps: Likewise.
3636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3638 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
3640         * math/libm-test.inc (print_complex_max_error): Check separately
3641         whether real and imaginary errors are within allowed range and
3642         pass 0 to print_complex_function_ulps instead of value within
3643         allowed range.
3645 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3647         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3648         formatting.
3649         (get_handles_fopen): Likewise.
3650         (do_write_test): Likewise.
3652         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3654         * libio/fileops.c (do_ftell): Use cached offset when
3655         available.
3656         * libio/iofwide.c (do_ftell_wide): Likewise.
3657         * libio/iofdopen.c (_IO_new_fdopen): Don't use
3658         _IO_file_attach.
3659         * libio/wfileops.c (_IO_fwide): Don't cache offset.
3661         [BZ #16532]
3662         * libio/libioP.h (get_file_offset): New function.
3663         * libio/fileops.c (get_file_offset): Likewise.
3664         (do_ftell): Likewise.
3665         (_IO_new_file_seekoff): Split out ftell logic.
3666         * libio/wfileops.c (do_ftell_wide): Likewise.
3667         (_IO_wfile_seekoff): Split out ftell logic.
3668         * libio/tst-ftell-active-handler.c: New test case.
3669         * libio/Makefile (tests): Add it.
3671 2014-03-03  Roland McGrath  <roland@hack.frob.com>
3673         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3674         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3676 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3678         [BZ #16639]
3679         * nscd/connections.c (nscd_init): Call do_exit.
3680         (start_threads): Call do_exit and notify_parent.
3681         (begin_drop_privileges): Call do_exit.
3682         (finish_drop_privileges): Likewise.
3683         * nscd/selinux.c (preserve_capabilities): Likewise.
3684         (install_real_capabilities): Likewise.
3685         (nscd_selinux_enabled): Likewise.
3686         (avc_create_thread): Likewise.
3687         (avc_alloc_lock): Likewise.
3688         (nscd_avc_init): Likewise.
3689         * nscd/nscd.c (parent_fd): New static variable.
3690         (main): Create a pipe between parent and child processes.
3691         Skip closing parent_fd.
3692         (monitor_child): New function.
3693         (do_exit): Likewise.
3694         (notify_parent): Likewise.
3695         * nscd/nscd.h (notify_parent): Likewise.
3696         (do_exit): Likewise.
3698 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
3700         * malloc/malloc.c (__libc_calloc): Revert last change.
3702 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3706 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3708         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3710         implementation.
3711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3712         (__libc_ifunc_impl_list): Likewise.
3713         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3714         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3715         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3716         * string/strrchr.c: Define STRRCHR.
3718 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
3720         * benchtest/bench-strtok.c (simple_strtok): Delete.
3721         (strtok_string): Use as benchmark.
3722         * string/strtok (STRTOK): New macro.
3724 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
3726         * manual/threads.texi: Add header and standard comments to all
3727         functions.
3729         * elf/dl-lookup.c (check_match): New function.
3730         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3731         (do_lookup_x): Remove nested function check_match. Use non-nested
3732         function check_match.
3734 2014-02-28  Roland McGrath  <roland@hack.frob.com>
3736         * csu/Makefile (generated, before-compile): Use += rather than =.
3737         * catgets/Makefile (generated, generated-dirs): Likewise.
3738         * debug/Makefile (generated): Likewise.
3739         * dlfcn/Makefile (generated): Likewise.
3740         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3741         * iconvdata/Makefile (before-compile, generated): Likewise.
3742         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3743         * libio/Makefile (generated): Likewise.
3744         * malloc/Makefile (generated): Likewise.
3745         * manual/Makefile (generated, generated-dirs): Likewise.
3746         * misc/Makefile (generated): Likewise.
3747         * posix/Makefile (generated): Likewise.
3748         * resolv/Makefile (generated): Likewise.
3749         * sunrpc/Makefile (generated, generated-dirs): Likewise.
3750         * timezone/Makefile (generated, generated-dirs): Likewise.
3752         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3754 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3757         power8 implementation.
3758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3759         file: POWER8 llround ifunc implementation.
3760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3761         (__lllround): Add POWER8 implementation.
3762         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3763         POWER8 llround implementation.
3765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3766         power8 implementation.
3767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3768         file: POWER8 llrint ifunc implementation.
3769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3770         Add POWER8 implementation.
3771         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3772         POWER8 llrint implementation.
3774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3775         power8 implementation.
3776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3777         file: POWER8 finite ifunc implementation.
3778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3779         Add POWER8 implementation.
3780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3781         Likewise.
3782         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3783         POWER8 finite implementation.
3784         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3787         power8 implementation.
3788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3789         file: POWER8 isinf ifunc implementation.
3790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3791         POWER8 implementation.
3792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3793         Likewise.
3794         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3795         isinf implementation.
3796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3798         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3799         (INIT_ARCH): Add hwcap2 initialization.
3800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3801         power8 implementation.
3802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3803         file: POWER8 isnan ifunc implementation.
3804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3805         POWER8 implementation.
3806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3807         Likewise.
3808         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3809         isnan implementation.
3810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3812 2014-02-27  Joey Ye  <joey.ye@arm.com>
3814         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3815         (_FP_NANFRAC_Q): Set to zero.
3817 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3819         [BZ #16623]
3820         * math/auto-libm-test-in: New test inputs.
3821         * math/auto-libm-test-out: Regenerate.
3822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3823         and DA.
3824         (__cos): Likewise.
3825         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3827 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
3829         * scripts/evaluate-test.sh: Take new argument indicating whether
3830         failure is expected.
3831         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3832         indicating whether failure is expected.
3833         * conform/Makefile (test-xfail-run-conformtest): New variable.
3834         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3835         level.
3836         * posix/Makefile (test-xfail-annexc): New variable.
3837         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3839 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
3841         * argp/Makefile: Include Makeconfig immediately after defining
3842         subdir.
3843         * assert/Makefile: Likewise.
3844         * benchtests/Makefile: Likewise.
3845         * catgets/Makefile: Likewise.
3846         * conform/Makefile: Likewise.
3847         * crypt/Makefile: Likewise.
3848         * csu/Makefile: Likewise.
3849         (all): Remove target.
3850         * ctype/Makefile: Include Makeconfig immediately after defining
3851         subdir.
3852         * debug/Makefile: Likewise.
3853         * dirent/Makefile: Likewise.
3854         * dlfcn/Makefile: Likewise.
3855         * gmon/Makefile: Likewise.
3856         * gnulib/Makefile: Likewise.
3857         * grp/Makefile: Likewise.
3858         * gshadow/Makefile: Likewise.
3859         * hesiod/Makefile: Likewise.
3860         * hurd/Makefile: Likewise.
3861         (all): Remove target.
3862         * iconvdata/Makefile: Include Makeconfig immediately after
3863         defining subdir.
3864         * inet/Makefile: Likewise.
3865         * intl/Makefile: Likewise.
3866         * io/Makefile: Likewise.
3867         * libio/Makefile: Likewise.
3868         (all): Remove target.
3869         * locale/Makefile: Include Makeconfig immediately after defining
3870         subdir.
3871         * login/Makefile: Likewise.
3872         * mach/Makefile: Likewise.
3873         (all): Remove target.
3874         * malloc/Makefile: Include Makeconfig immediately after defining
3875         subdir.
3876         (all): Remove target.
3877         * manual/Makefile: Include Makeconfig immediately after defining
3878         subdir.
3879         * math/Makefile: Likewise.
3880         * misc/Makefile: Likewise.
3881         * nis/Makefile: Likewise.
3882         * nss/Makefile: Likewise.
3883         * po/Makefile: Likewise.
3884         (all): Remove target.
3885         * posix/Makefile: Include Makeconfig immediately after defining
3886         subdir.
3887         * pwd/Makefile: Likewise.
3888         * resolv/Makefile: Likewise.
3889         * resource/Makefile: Likewise.
3890         * rt/Makefile: Likewise.
3891         * setjmp/Makefile: Likewise.
3892         * shadow/Makefile: Likewise.
3893         * signal/Makefile: Likewise.
3894         * socket/Makefile: Likewise.
3895         * soft-fp/Makefile: Likewise.
3896         * stdio-common/Makefile: Likewise.
3897         * stdlib/Makefile: Likewise.
3898         * streams/Makefile: Likewise.
3899         * string/Makefile: Likewise.
3900         * sunrpc/Makefile: Likewise.
3901         (all): Remove target.
3902         * sysvipc/Makefile: Include Makeconfig immediately after defining
3903         subdir.
3904         * termios/Makefile: Likewise.
3905         * time/Makefile: Likewise.
3906         * timezone/Makefile: Likewise.
3907         (all): Remove target.
3908         * wcsmbs/Makefile: Include Makeconfig immediately after defining
3909         subdir.
3910         * wctype/Makefile: Likewise.
3912 2014-02-26  Steve Ellcey  <sellcey@mips.com>
3914         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3915         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3916         (libc_feholdexcept_setround_mips): Ditto.
3917         (libc_feholdsetround): New.
3918         (libc_feholdsetroundf): New.
3919         (libc_feholdsetroundl): New.
3920         (libc_feupdateenv_test_mips): New.
3921         (libc_feupdateenv_test): New.
3922         (libc_feupdateenv_testf): New.
3923         (libc_feupdateenv_testl): New.
3924         (libc_feresetround): New.
3925         (libc_feresetroundf): New.
3926         (libc_feresetroundl): New.
3927         (libc_fetestexcept_mips): New.
3928         (libc_fetestexcept): New.
3929         (libc_fetestexceptf): New.
3930         (libc_fetestexceptl): New.
3931         (HAVE_RM_CTX): New.
3932         (libc_feholdexcept_setround_mips_ctx): New.
3933         (libc_feholdexcept_setround_ctx): New.
3934         (libc_feholdexcept_setroundf_ctx): New.
3935         (libc_feholdexcept_setroundl_ctx): New.
3936         (libc_fesetenv_mips_ctx): New.
3937         (libc_fesetenv_ctx): New.
3938         (libc_fesetenv_ctxf): New.
3939         (libc_fesetenv_ctxl): New.
3940         (libc_feupdateenv_mips_ctx): New.
3941         (libc_feupdateenv_ctx): New.
3942         (libc_feupdateenvf_ctx): New.
3943         (libc_feupdateenvl_ctx): New.
3944         (libc_feholdsetround_mips_ctx): New.
3945         (libc_feholdsetround_ctx): New.
3946         (libc_feholdsetroundf_ctx): New.
3947         (libc_feholdsetroundl_ctx): New.
3948         (libc_feresetround_mips_ctx): New.
3949         (libc_feresetround_ctx): New.
3950         (libc_feresetroundf_ctx): New.
3951         (libc_feresetroundl_ctx): New.
3953 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
3955         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3957         * manual/ipc.texi: New file.
3958         * manual/Makefile (chapters): Add ipc.
3959         * manual/job.texi: Add "Inter-Process Communication" to next.
3960         * manual/process.texi: Add "Inter-Process Communication" to prev.
3962 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3966 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
3968         * malloc/malloc.c (__libc_calloc): Simplify implementation.
3970         * manual/arith.texi: Fix spaces after sentences.
3971         * manual/charset.texi: Likewise.
3972         * manual/errno.texi: Likewise.
3973         * manual/install.texi: Likewise.
3974         * manual/llio.texi: Likewise.
3975         * manual/locale.texi: Likewise.
3976         * manual/maint.texi: Likewise.
3977         * manual/math.texi: Likewise.
3978         * manual/memory.texi: Likewise.
3979         * manual/message.texi: Likewise.
3980         * manual/probes.texi: Likewise.
3981         * manual/resource.texi: Likewise.
3982         * manual/signal.texi: Likewise.
3983         * manual/socket.texi: Likewise.
3984         * manual/stdio.texi: Likewise.
3985         * manual/string.texi: Likewise.
3986         * manual/time.texi: Likewise.
3987         * manual/users.texi: Likewise.
3989 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
3991         [BZ #16632]
3992         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3993         _DEFAULT_SOURCE is defined.
3995 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
3996             Carlos O'Donell  <carlos@redhat.com>
3998         [BZ #16613]
3999         * elf/dl-tls.c (_dl_count_modids): New function.
4000         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4001         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4002         audit library and increment generation counter.
4003         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4004         * elf/tst-audit9.c: New file.
4005         * elf/tst-auditmod9a.c: New file.
4006         * elf/tst-auditmod9b.c: New file.
4007         * elf/Makefile: Add rules to build and run tst-audit9.
4009 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4011         [BZ #15347]
4012         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4014 2014-02-25  Will Newton  <will.newton@linaro.org>
4016         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4017         (__longjmp): Restore sp and lr before restoring callee
4018         saved registers.  Add longjmp and longjmp_target
4019         SystemTap probe point.
4020         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4021         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4022         Define to zero to match jmpbuf layout.
4023         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4024         (__sigsetjmp): Save sp and lr before saving callee
4025         saved registers.  Add setjmp SystemTap probe point.
4027 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4029         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4031 2014-02-24  Andreas Schwab  <schwab@suse.de>
4033         [BZ #15804]
4034         * elf/pldd.c (wait_for_ptrace_stop): New function.
4035         (main): Call it after attaching.
4037 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4039         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4040         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4041         Versions files is now verboten.
4042         * hurd/Versions (libc: GLIBC_2.0):
4043         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4044         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4045         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4046         * mach/Versions: Likewise.
4048         * csu/Versions: Remove unused %include.
4049         * resolv/Versions: Likewise.
4051 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4053         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4054         ($(objpfx)check-local-headers.out): Likewise.
4055         ($(objpfx)begin-end-check.out): Likewise.
4056         * Makerules (check-abi-%.out): Likewise.
4057         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4058         ($(objpfx)test2.cat): Likewise.
4059         ($(objpfx)de/libc.cat): Likewise.
4060         ($(objpfx)test-gencat.out): Likewise.
4061         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4062         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4063         ($(objpfx)noload-mem): Likewise.
4064         ($(objpfx)tst-pathopt.out): Likewise.
4065         ($(objpfx)tst-rtld-load-self.out): Likewise.
4066         ($(objpfx)tst-array1-cmp.out): Likewise.
4067         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4068         ($(objpfx)tst-array2-cmp.out): Likewise.
4069         ($(objpfx)tst-array3-cmp.out): Likewise.
4070         ($(objpfx)tst-array4-cmp.out): Likewise.
4071         ($(objpfx)tst-array5-cmp.out): Likewise.
4072         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4073         ($(objpfx)check-textrel.out): Likewise.
4074         ($(objpfx)check-execstack.out): Likewise.
4075         ($(objpfx)check-localplt.out): Likewise.
4076         ($(objpfx)order2-cmp.out): Likewise.
4077         ($(objpfx)tst-leaks1-mem): Likewise.
4078         ($(objpfx)tst-leaks1-static-mem): Likewise.
4079         ($(objpfx)tst-initorder-cmp.out): Likewise.
4080         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4081         ($(objpfx)tst-unused-dep.out): Likewise.
4082         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4083         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4084         * iconv/Makefile (test-iconvconfig): Likewise.
4085         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4086         ($(objpfx)iconv-test.out): Likewise.
4087         ($(objpfx)tst-tables.out): Likewise.
4088         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4089         ($(objpfx)tst-gettext.out): Likewise.
4090         ($(objpfx)tst-translit.out): Likewise.
4091         ($(objpfx)tst-gettext2.out): Likewise.
4092         ($(objpfx)tst-gettext4.out): Likewise.
4093         ($(objpfx)tst-gettext6.out): Likewise.
4094         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4095         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4096         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4097         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4098         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4099         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4100         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4101         ($(objpfx)wordexp-tst.out): Likewise.
4102         ($(objpfx)annexc.out): Likewise.
4103         ($(objpfx)tst-fnmatch-mem): Likewise.
4104         ($(objpfx)bug-regex2-mem): Likewise.
4105         ($(objpfx)bug-regex14-mem): Likewise.
4106         ($(objpfx)bug-regex21-mem): Likewise.
4107         ($(objpfx)bug-regex31-mem): Likewise.
4108         ($(objpfx)tst-vfork3-mem): Likewise.
4109         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4110         ($(objpfx)tst-pcre-mem): Likewise.
4111         ($(objpfx)tst-boost-mem): Likewise.
4112         ($(objpfx)tst-getconf.out): Likewise.
4113         ($(objpfx)bug-ga2-mem): Likewise.
4114         ($(objpfx)bug-glob2-mem): Likewise.
4115         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4116         ($(objpfx)mtrace-tst-leaks2): Likewise.
4117         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4118         ($(objpfx)tst-printf.out): Likewise.
4119         ($(objpfx)tst-setvbuf1.out): Likewise.
4120         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4121         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4122         ($(objpfx)tst-fmtmsg.out): Likewise.
4123         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4124         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4126         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4127         * bits/sigaction.h [__USE_MISC]: Likewise.
4128         * bits/waitstatus.h: Update #endif comments.
4129         * ctype/ctype.h: Likewise.
4130         * dirent/dirent.h: Likewise.
4131         [__USE_MISC]: Remove redundant conditionals.
4132         * grp/grp.h: Update #endif comments.
4133         [__USE_GNU]: Remove redundant conditionals.
4134         [__USE_MISC]: Likewise.
4135         * inet/netinet/in.h [__USE_GNU]: Likewise.
4136         * io/sys/stat.h [__USE_MISC]: Likewise.
4137         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4138         * libio/bits/stdio.h: Update #endif comments.
4139         [__USE_MISC]: Remove redundant conditionals.
4140         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4141         * libio/stdio.h: Update #endif comments.
4142         [__USE_MISC]: Remove redundant conditionals.
4143         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4144         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4145         * math/math.h: Update #else and #endif comments.
4146         [__USE_MISC]: Remove redundant conditionals.
4147         * misc/sys/uio.h: Update #endif comments.
4148         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4149         * posix/glob.h [__USE_MISC]: Likewise.
4150         * posix/sys/types.h: Update #endif comments.
4151         [__USE_MISC]: Remove redundant conditionals.
4152         * posix/sys/wait.h: Update #endif comments.
4153         [__USE_MISC]: Remove redundant conditionals.
4154         * posix/unistd.h: Update #endif comments.
4155         [__USE_MISC]: Remove redundant conditionals.
4156         * pwd/pwd.h [__USE_GNU]: Likewise.
4157         [__USE_MISC]: Likewise.
4158         * resolv/netdb.h [__USE_GNU]: Likewise.
4159         * signal/signal.h: Update #endif comments.
4160         [__USE_MISC]: Remove redundant conditionals.
4161         * stdlib/stdlib.h: Update #else and #endif comments.
4162         [__USE_MISC]: Remove redundant conditionals.
4163         [__USE_GNU]: Likewise.
4164         * string/bits/string2.h [__USE_MISC]: Likewise.
4165         * string/string.h: Update #endif comments.
4166         [__USE_MISC]: Remove redundant conditionals.
4167         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4168         Likewise.
4169         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4170         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4171         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4172         Likewise.
4173         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4174         Likewise.
4175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4176         comments.
4177         [__USE_MISC]: Remove redundant conditionals.
4178         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4179         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4180         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4181         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4182         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4183         Likewise.
4184         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4185         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4186         Likewise.
4187         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4188         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4189         Likewise.
4190         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4191         Likewise.
4192         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4193         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4194         Likewise.
4195         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4196         Likewise.
4197         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4198         * sysdeps/x86/bits/string.h: Update #endif comments.
4199         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4200         conditionals.
4201         * time/sys/time.h: Update #endif comments.
4202         * time/time.h: Likewise.
4203         [__USE_MISC]: Remove redundant conditionals.
4205 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4207         [BZ #16600]
4208         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4210 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4212         * Versions.def (librt): Add GLIBC_2.17.
4214 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4216         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4217         synonym for _SYS_AUXV_H to allow direct inclusion.
4218         * sysdeps/sparc/bits/hwcap.h: Likewise.
4219         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4220         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4221         * sysdeps/sparc/sysdep.h: Likewise.
4223 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4225         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4227 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4229         * benchtests/bench-strrchr.c: Print length instead of position.
4231 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4233         [BZ #16611]
4234         * sysdeps/unix/sysv/linux/kernel-features.h
4235         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4236         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4237         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4238         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4239         Likewise.
4240         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4241         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4242         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4243         (__ASSUME_SENDMMSG): Define instead of using previous
4244         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4245         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4246         (__ASSUME_SENDMMSG_SYSCALL): Define.
4247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4248         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4249         Likewise.
4250         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4251         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4252         Likewise.
4253         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4254         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4255         Likewise.
4256         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4257         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4258         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4259         [__ASSUME_SENDMMSG]: Change conditionals to
4260         [__ASSUME_SENDMMSG_SOCKETCALL].
4261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4262         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4263         Define.
4264         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4265         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4266         Likewise.
4267         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4268         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4269         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4270         [!__ASSUME_SENDMMSG]: Change conditional to
4271         [!__ASSUME_SENDMMSG_SOCKETCALL].
4272         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4273         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4274         Define.
4276         [BZ #16610]
4277         * sysdeps/unix/sysv/linux/kernel-features.h
4278         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4279         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4280         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4281         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4282         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4283         [__i386__ || __sparc__]
4284         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4285         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4286         (__ASSUME_RECVMMSG): Define instead of using previous
4287         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4288         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4289         (__ASSUME_RECVMMSG_SYSCALL): Define.
4290         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4291         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4292         Likewise.
4293         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4294         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4295         Likewise.
4296         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4297         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4298         Likewise.
4299         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4300         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4301         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4302         [__ASSUME_RECVMMSG]: Change condition to
4303         [__ASSUME_RECVMMSG_SOCKETCALL].
4304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4305         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4306         Define.
4307         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4308         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4309         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4310         Likewise.
4311         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4312         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4313         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4314         [!__ASSUME_RECVMMSG]: Change condition to
4315         [!__ASSUME_RECVMMSG_SOCKETCALL].
4316         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4317         (__ASSUME_RECVMMSG_SYSCALL): Define.
4319         [BZ #16609]
4320         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4321         __powerpc__ || __s390__ || __sh__ || __sparc__]
4322         (__ASSUME_SOCKETCALL): Define.
4323         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4324         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4325         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4326         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4327         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4328         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4329         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4330         (__ASSUME_ACCEPT4): Define instead of using previous
4331         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4332         __powerpc__ || __sparc__ || __s390__)] condition.
4333         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4334         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4335         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4336         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4337         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4338         [!__ASSUME_ACCEPT4]: Change condition to
4339         [!__ASSUME_ACCEPT4_SOCKETCALL].
4340         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4341         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
4342         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4343         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4344         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4345         __ASSUME_ACCEPT4_SYSCALL.
4346         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4347         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4348         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4349         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4350         __ASSUME_ACCEPT4_SYSCALL.
4351         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4352         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4353         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4354         [__ASSUME_ACCEPT4]: Change condition to
4355         [__ASSUME_ACCEPT4_SOCKETCALL].
4356         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4357         (__ASSUME_SOCKETCALL): Define.
4358         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4359         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4360         (__ASSUME_SOCKETCALL): Define.
4361         (__ASSUME_ACCEPT4): Remove.
4362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4363         Define.
4364         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4365         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4366         Likewise.
4367         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4368         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4370         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4371         macro.
4372         (HWCAP_ARM_LPAE): Likewise.
4373         (HWCAP_ARM_EVTSTRM): Likewise.
4374         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4375         Add vpfd32, lpae and evtstrm.
4376         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4377         Increase to 22.
4379 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
4381         * math/auto-libm-test-in: Add tests of clog10.
4382         * math/auto-libm-test-out: Regenerated.
4383         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4384         * sysdeps/i386/fpu/libm-test-ulps: Update.
4385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4387 2014-02-18  Andreas Schwab  <schwab@suse.de>
4389         [BZ #16574]
4390         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4391         Store non-zero if the second buffer was newly allocated.
4392         (send_dg): Likewise.
4393         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4394         to send_vc and send_dg.
4395         (res_nsend): Pass NULL for ansp2_malloced.
4396         * resolv/res_query.c (__libc_res_nquery): Add parameter
4397         answerp2_malloced and pass it down to __libc_res_nsend.
4398         (res_nquery): Pass additional NULL to __libc_res_nquery.
4399         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4400         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
4401         second answer buffer if answerp2_malloced was set.
4402         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4403         (__libc_res_nquerydomain): Add parameter
4404         answerp2_malloced and pass it down to __libc_res_nquery.
4405         (res_nquerydomain): Pass additional NULL to
4406         __libc_res_nquerydomain.
4407         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4408         additional NULL to __libc_res_nsend and __libc_res_nquery.
4409         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4410         additional NULL to __libc_res_nsearch.
4411         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
4412         parameter of __libc_res_nsearch to check for separately allocated
4413         second buffer.
4414         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4415         __libc_res_nquery.
4416         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4417         additional NULL to __libc_res_nquery.
4418         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4419         __libc_res_nsearch.
4420         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4421         * include/resolv.h: Update prototypes of __libc_res_nquery,
4422         __libc_res_nsearch, __libc_res_nsend.
4424 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
4426         * math/auto-libm-test-in: Add tests of fma.
4427         * math/auto-libm-test-out: Regenerated.
4428         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4429         (fma_towardzero_test_data): Likewise.
4430         (fma_downward_test_data): Likewise.
4431         (fma_upward_test_data): Likewise.
4432         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4433         mpc_mode.
4434         (rounding_modes): Add values for new field.
4435         (func_calc_method): Add value mpfr_fff_f.
4436         (func_calc_desc): Add mpfr_fff_f union field.
4437         (test_function): Add field exact_args.
4438         (FUNC): Add macro argument EXACT_ARGS.
4439         (FUNC_mpfr_f_f): Update call to FUNC.
4440         (FUNC_mpfr_f_f): Likewise.
4441         (FUNC_mpfr_ff_f): Likewise.
4442         (FUNC_mpfr_if_f): Likewise.
4443         (FUNC_mpc_c_f): Likewise.
4444         (FUNC_mpc_c_c): Likewise.
4445         (test_functions): Add fma.  Update calls to FUNC.
4446         (handle_input_arg): Add argument exact_args.
4447         (add_test): Update call to handle_input_arg.
4448         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
4449         (output_for_one_input_case): Update call to calc_generic_results.
4450         Recalculate exact zero results in each rounding mode.
4452         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4453         non-negative before setting low bit.
4454         * math/auto-libm-test-in: Mark one asin test possibly having
4455         spurious underflow.
4456         * math/auto-libm-test-out: Regenerated.
4457         * sysdeps/i386/fpu/libm-test-ulps: Update.
4458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4460 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
4462         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4463         * sysdeps/unix/sysv/linux/microblaze: Move directory from
4464         ports/sysdeps/unix/sysv/linux/microblaze.
4465         * README: Add missing listing for microblaze*-*-linux-gnu.
4467 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
4469         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4470         * sysdeps/unix/sysv/linux/ia64: Move directory from
4471         ports/sysdeps/unix/sysv/linux/ia64.
4472         * README: Update listing for ia64-*-linux-gnu.
4474 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
4475             Joseph Myers  <joseph@codesourcery.com>
4477         * Makeconfig (test-name): New variable.
4478         (evaluate-test): Likewise.
4479         * Makerules (do-test-clean): Remove .test-result files.
4480         (common-mostlyclean): Likewise.
4481         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4482         * scripts/evaluate-test.sh: New file.
4484 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
4486         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4487         separate $(objpfx)tst-fopenloc-cmp.out and
4488         $(objpfx)tst-fopenloc-mem.out targets.
4489         (tests): Update dependencies.
4490         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4491         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4492         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4493         (tst-rxspencer-no-utf8-ARGS): New variable.
4494         (tst-rxspencer-no-utf8-ENV): Likewise.
4495         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4496         instead of $(objpfx)tst-rxspencer-mem.
4497         ($(objpfx)tst-rxspencer-mem): Change target to
4498         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
4499         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4500         * posix/tst-rxspencer-no-utf8.c: New file.
4502         * elf/Makefile ($(objpfx)order.out): Remove rule.
4503         [$(run-built-tests) = yes] (tests): Depend on
4504         $(objpfx)order-cmp.out.
4505         ($(objpfx)order-cmp.out): New rule.
4506         [$(run-built-tests) = yes] (tests): Depend on
4507         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4508         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4509         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4510         $(objpfx)tst-array5-static-cmp.out.
4511         ($(objpfx)tst-array1.out): Remove rule.
4512         ($(objpfx)tst-array1-cmp.out): New rule.
4513         ($(objpfx)tst-array1-static.out): Remove rule.
4514         ($(objpfx)tst-array1-static-cmp.out): New rule.
4515         ($(objpfx)tst-array2.out): Remove rule.
4516         ($(objpfx)tst-array2-cmp.out): New rule.
4517         ($(objpfx)tst-array3.out): Remove rule.
4518         ($(objpfx)tst-array3-cmp.out): New rule.
4519         ($(objpfx)tst-array4.out): Remove rule.
4520         ($(objpfx)tst-array4-cmp.out): New rule.
4521         ($(objpfx)tst-array5.out): Remove rule.
4522         ($(objpfx)tst-array5-cmp.out): New rule.
4523         ($(objpfx)tst-array5-static.out): Remove rule.
4524         ($(objpfx)tst-array5-static-cmp.out): New rule.
4525         [$(run-built-tests) = yes] (tests): Depend on
4526         $(objpfx)order2-cmp.out.
4527         ($(objpfx)order2.out): Remove rule.
4528         ($(objpfx)order2-cmp.out): New rule.
4529         ($(objpfx)tst-initorder.out): Remove rule.
4530         [$(run-built-tests) = yes] (tests): Depend on
4531         $(objpfx)tst-initorder-cmp.out.
4532         ($(objpfx)tst-initorder-cmp.out): New rule.
4533         ($(objpfx)tst-initorder2.out): Remove rule.
4534         [$(run-built-tests) = yes] (tests): Depend on
4535         $(objpfx)tst-initorder2-cmp.out.
4536         ($(objpfx)tst-initorder2-cmp.out): New rule.
4537         [$(run-built-tests) = yes] (tests): Depend on
4538         $(objpfx)tst-unused-dep-cmp.out.
4539         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4540         ($(objpfx)tst-unused-dep-cmp.out): New rule.
4541         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4542         on $(objpfx)tst-setvbuf1-cmp.out.
4543         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4544         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4545         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4546         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4547         ($(objpfx)tst-svc.out): Remove rule.
4548         ($(objpfx)tst-svc-cmp.out): New rule.
4550 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
4552         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4553         * ctype/ctype.h [__USE_MISC]: Likewise.
4554         * dirent/dirent.h [__USE_MISC]: Likewise.
4555         * grp/grp.h [__USE_MISC]: Likewise.
4556         * io/fcntl.h [__USE_MISC]: Likewise.
4557         * io/sys/stat.h [__USE_MISC]: Likewise.
4558         * libio/stdio.h [__USE_MISC]: Likewise.
4559         * posix/unistd.h [__USE_MISC]: Likewise.
4560         * pwd/pwd.h [__USE_MISC]: Likewise.
4561         * stdlib.h [__USE_MISC]: Likewise.
4562         * string/bits/string2.h [__USE_MISC]: Likewise.
4563         * string/string.h [__USE_MISC]: Likewise.
4564         * time/time.h [__USE_MISC]: Likewise.
4566 2014-02-13  Andreas Schwab  <schwab@suse.de>
4568         [BZ #16574]
4569         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4570         second answer buffer if it was separately allocated.
4572 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4574         * sysdeps/mips/math-tests.h: Include <features.h>.
4575         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4576         (ROUNDING_TESTS_long_double): Do not define.
4577         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4578         (EXCEPTION_TESTS_long_double): Likewise.
4579         * sysdeps/mips/mips64/libm-test-ulps: Update.
4581         * include/features.h (__USE_BSD): Remove macro definitions.
4582         (__USE_SVID): Likewise.
4583         (_BSD_SOURCE): Likewise.
4584         (_SVID_SOURCE): Likewise.
4585         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4586         from definition of _DEFAULT_SOURCE.
4587         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4588         [_DEFAULT_SOURCE].
4589         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4590         * bits/mman.h [__USE_BSD]: Likewise.
4591         * bits/termios.h [__USE_BSD]: Likewise.
4592         * bits/waitstatus.h [__USE_BSD]: Likewise.
4593         * ctype/ctype.h [__USE_SVID]: Likewise.
4594         * dirent/dirent.h [__USE_BSD]: Likewise.
4595         * grp/grp.h [__USE_SVID]: Likewise.
4596         [__USE_BSD]: Likewise.
4597         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4598         * io/fcntl.h [__USE_BSD]: Likewise.
4599         * io/ftw.h [__USE_BSD]: Likewise.
4600         * io/sys/stat.h [__USE_BSD]: Likewise.
4601         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4602         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4603         * libio/stdio.h [__USE_SVID]: Likewise.
4604         [__USE_BSD]: Likewise.
4605         * math/math.h [__USE_SVID]: Likewise.
4606         [__USE_BSD]: Likewise.
4607         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4608         * misc/bits/syslog.h [__USE_BSD]: Likewise.
4609         * misc/search.h [__USE_SVID]: Likewise.
4610         * misc/sys/mman.h [__USE_BSD]: Likewise.
4611         * misc/sys/syslog.h [__USE_BSD]: Likewise.
4612         * misc/sys/uio.h [__USE_BSD]: Likewise.
4613         * posix/bits/unistd.h [__USE_BSD]: Likewise.
4614         * posix/glob.h [__USE_BSD]: Likewise.
4615         * posix/regex.h [__USE_BSD]: Likewise.
4616         * posix/sys/types.h [__USE_BSD]: Likewise.
4617         [__USE_SVID]: Likewise.
4618         * posix/sys/utsname.h [__USE_SVID]: Likewise.
4619         * posix/sys/wait.h [__USE_BSD]: Likewise.
4620         [__USE_SVID]: Likewise.
4621         * posix/unistd.h [__USE_BSD]: Likewise.
4622         [__USE_SVID]: Likewise.
4623         * pwd/pwd.h [__USE_SVID]: Likewise.
4624         * resolv/netdb.h [__USE_BSD]: Likewise.
4625         * setjmp/setjmp.h [__USE_BSD]: Likewise.
4626         * signal/signal.h [__USE_BSD]: Likewise.
4627         [__USE_SVID]: Likewise.
4628         * socket/sys/socket.h [__USE_BSD]: Likewise.
4629         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4630         * stdlib/stdlib.h [__USE_BSD]: Likewise.
4631         [__USE_SVID]: Likewise.
4632         * string/bits/string2.h [__USE_BSD]: Likewise.
4633         [__USE_SVID]: Likewise.
4634         * string/bits/string3.h [__USE_BSD]: Likewise.
4635         * string/endian.h [__USE_BSD]: Likewise.
4636         * string/string.h [__USE_SVID]: Likewise.
4637         [__USE_BSD]: Likewise.
4638         * string/strings.h [__USE_BSD]: Likewise.
4639         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4640         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4641         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4642         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4643         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4644         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4645         Likewise.
4646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4647         Likewise.
4648         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4649         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4650         Likewise.
4651         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4652         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4653         Likewise.
4654         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4655         Likewise.
4656         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4657         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4658         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4659         Likewise.
4660         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4661         Likewise.
4662         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4663         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4664         * termios/termios.h [__USE_BSD]: Likewise.
4665         * time/sys/time.h [__USE_BSD]: Likewise.
4666         * time/time.h [__USE_BSD]: Likewise.
4667         [__USE_SVID]: Likewise.
4669         * Makefile (subdir_targets): Remove subdir_lint.out.
4671         * stdio-common/Makefile (do-tst-unbputc): Remove target.
4672         (do-tst-printf): Likewise.
4673         (tests): Depend directly on $(objpfx)tst-unbputc.out and
4674         $(objpfx)tst-printf.out.
4676         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4678         * Makerules (check-abi-%): Change target to
4679         $(objpfx)check-abi-%.out.
4680         (check-abi target): Update dependencies.
4681         (check-abi-pattern variable): Redirect output of diff to $@.
4682         (check-abi variable): Likewise.
4683         * elf/Makefile (check-abi): Update dependencies.
4685         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4686         unused.
4687         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4688         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4689         subnormal range.
4690         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4691         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4692         value has largest subnormal exponent.
4693         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4694         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4695         * sysdeps/aarch64/soft-fp/sfp-machine.h
4696         (_FP_TININESS_AFTER_ROUNDING): New macro.
4697         * sysdeps/alpha/soft-fp/sfp-machine.h
4698         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4699         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4700         Likewise.
4701         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4702         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4703         * sysdeps/mips/soft-fp/sfp-machine.h
4704         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4705         * sysdeps/powerpc/soft-fp/sfp-machine.h
4706         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4707         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4708         Likewise.
4709         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4710         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4711         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4712         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4713         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4714         Likewise.
4716 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
4718         [BZ #16545]
4719         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4720         model 1.
4722 2014-02-12  Richard Henderson  <rth@redhat.com>
4724         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4725         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4726         * sysdeps/unix/sysv/linux/alpha: Move directory from
4727         ports/sysdeps/unix/sysv/linux/alpha.
4728         * README: Update listing for alpha-*-linux-gnu.
4730 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
4732         * include/features.h: Update comment documenting feature test
4733         macros.
4734         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
4735         _DEFAULT_SOURCE.
4736         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4737         (_SVID_SOURCE): Likewise.
4738         (_DEFAULT_SOURCE): Update description of default features.
4739         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4740         with _GNU_SOURCE.
4741         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4742         (S_ISVTX): Likewise.
4743         * manual/math.texi (Mathematical Constants): Likewise.
4744         * manual/signal.texi (Interrupted Primitives): Likewise.
4745         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4746         * math/test-matherr.c (_SVID_SOURCE): Do not define.
4747         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4748         Don't refer to _SVID_SOURCE in warning text.
4750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4752         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4753         already defined.
4754         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4755         * sysdeps/mips/dl-lookup.c: Remove.
4756         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4758 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4760         [BZ #16447]
4761         * math/auto-libm-test-in: Add testcase for expl.
4762         * math/auto-libm-test-out: Regenerate.
4763         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4764         calculation of unsafe.
4765         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4767 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4769         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4770         * sysdeps/unix/sysv/linux/aarch64: Move directory from
4771         ports/sysdeps/unix/sysv/linux/aarch64.
4772         * README: Update listing for aarch64*-*-linux-gnu.
4774 2014-02-11  Will Newton  <will.newton@linaro.org>
4776         * manual/probes.texi (Mathematical Function Probes): Use
4777         "triggered" instead of "hit".
4779         * manual/probes.texi (Internal Probes): Add documentation
4780         of setjmp, longjmp and longjmp_target probes.
4782         * include/stap-probe.h: Add comment about probe argument
4783         format.
4785         * malloc/mtrace.c (attribute_hidden): Remove unused macro
4786         definition.  (tr_where, tr_freehook, tr_mallochook,
4787         tr_reallochook, tr_memalignhook): Use ANSI protoype.
4789 2014-02-11  David S. Miller  <davem@davemloft.net>
4791         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4792         processing int_tests.
4794 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
4796         * sysdeps/mips: Move directory from ports/sysdeps/mips.
4797         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4798         * sysdeps/unix/sysv/linux/mips: Move directory from
4799         ports/sysdeps/unix/sysv/linux/mips.
4800         * README: Update listing for mips-*-linux-gnu and
4801         mips64-*-linux-gnu.
4803 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
4805         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4806         * sysdeps/unix/sysv/linux/m68k: Move directory from
4807         ports/sysdeps/unix/sysv/linux/m68k.
4808         * README: Update listing for m68k-*-linux-gnu.
4810 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
4812         * sysdeps/tile: Move directory from ports/sysdeps/tile.
4813         * sysdeps/unix/sysv/linux/generic: Move directory from
4814         ports/sysdeps/unix/sysv/linux/generic.
4815         * sysdeps/unix/sysv/linux/tile: Move directory from
4816         ports/sysdeps/unix/sysv/linux/tile.
4817         * README: Update listing for tile*-*-linux-gnu.
4819 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4821         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4822         __builtin_expect.
4823         * benchtests/bench-memmem.c (simple_memmem): Likewise.
4824         * catgets/open_catalog.c (__open_catalog): Likewise.
4825         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4826         * debug/confstr_chk.c: Likewise.
4827         * debug/fread_chk.c (__fread_chk): Likewise.
4828         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4829         * debug/getgroups_chk.c: Likewise.
4830         * debug/mbsnrtowcs_chk.c: Likewise.
4831         * debug/mbsrtowcs_chk.c: Likewise.
4832         * debug/mbstowcs_chk.c: Likewise.
4833         * debug/memcpy_chk.c: Likewise.
4834         * debug/memmove_chk.c: Likewise.
4835         * debug/mempcpy_chk.c: Likewise.
4836         * debug/memset_chk.c: Likewise.
4837         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4838         * debug/strcat_chk.c (__strcat_chk): Likewise.
4839         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4840         * debug/strncat_chk.c (__strncat_chk): Likewise.
4841         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4842         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4843         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4844         * debug/wcpncpy_chk.c: Likewise.
4845         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4846         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4847         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4848         * debug/wcsncpy_chk.c: Likewise.
4849         * debug/wcsnrtombs_chk.c: Likewise.
4850         * debug/wcsrtombs_chk.c: Likewise.
4851         * debug/wcstombs_chk.c: Likewise.
4852         * debug/wmemcpy_chk.c: Likewise.
4853         * debug/wmemmove_chk.c: Likewise.
4854         * debug/wmempcpy_chk.c: Likewise.
4855         * debug/wmemset_chk.c: Likewise.
4856         * dirent/scandirat.c (SCANDIRAT): Likewise.
4857         * dlfcn/dladdr1.c (dladdr1): Likewise.
4858         * dlfcn/dladdr.c (dladdr): Likewise.
4859         * dlfcn/dlclose.c (dlclose_doit): Likewise.
4860         * dlfcn/dlerror.c (__dlerror): Likewise.
4861         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4862         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4863         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4864         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4865         * dlfcn/dlsym.c (dlsym_doit): Likewise.
4866         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4867         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4868         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4869         Likewise.
4870         * elf/dl-conflict.c: Likewise.
4871         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4872         * elf/dl-dst.h: Likewise.
4873         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4874         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4875         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4876         * elf/dl-init.c (call_init, _dl_init): Likewise.
4877         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4878         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4879         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4880         Likewise.
4881         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4882         Likewise.
4883         * elf/dl-minimal.c (__libc_memalign): Likewise.
4884         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4885         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4886         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4887         * elf/dl-sym.c (do_sym): Likewise.
4888         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4889         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4890         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4891         * elf/dl-writev.h (_dl_writev): Likewise.
4892         * elf/ldconfig.c (search_dir): Likewise.
4893         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4894         (dl_main): Likewise.
4895         * elf/setup-vdso.h (setup_vdso): Likewise.
4896         * grp/compat-initgroups.c (compat_call): Likewise.
4897         * grp/fgetgrent.c (fgetgrent): Likewise.
4898         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4899         * grp/putgrent.c (putgrent): Likewise.
4900         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4901         Likewise.
4902         * hurd/hurdinit.c: Likewise.
4903         * iconvdata/8bit-gap.c (struct): Likewise.
4904         * iconvdata/ansi_x3.110.c : Likewise.
4905         * iconvdata/big5.c : Likewise.
4906         * iconvdata/big5hkscs.c : Likewise.
4907         * iconvdata/cp1255.c: Likewise.
4908         * iconvdata/cp1258.c : Likewise.
4909         * iconvdata/cp932.c : Likewise.
4910         * iconvdata/euc-cn.c: Likewise.
4911         * iconvdata/euc-jisx0213.c : Likewise.
4912         * iconvdata/euc-jp.c: Likewise.
4913         * iconvdata/euc-jp-ms.c : Likewise.
4914         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4915         * iconvdata/gb18030.c : Likewise.
4916         * iconvdata/gbbig5.c (const): Likewise.
4917         * iconvdata/gbgbk.c: Likewise.
4918         * iconvdata/gbk.c : Likewise.
4919         * iconvdata/ibm1364.c : Likewise.
4920         * iconvdata/ibm930.c : Likewise.
4921         * iconvdata/ibm932.c: Likewise.
4922         * iconvdata/ibm933.c : Likewise.
4923         * iconvdata/ibm935.c : Likewise.
4924         * iconvdata/ibm937.c : Likewise.
4925         * iconvdata/ibm939.c : Likewise.
4926         * iconvdata/ibm943.c: Likewise.
4927         * iconvdata/iso_11548-1.c: Likewise.
4928         * iconvdata/iso-2022-cn.c : Likewise.
4929         * iconvdata/iso-2022-cn-ext.c : Likewise.
4930         * iconvdata/iso-2022-jp-3.c: Likewise.
4931         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4932         * iconvdata/iso-2022-kr.c : Likewise.
4933         * iconvdata/iso646.c (gconv_end): Likewise.
4934         * iconvdata/iso_6937-2.c : Likewise.
4935         * iconvdata/iso_6937.c : Likewise.
4936         * iconvdata/iso8859-1.c: Likewise.
4937         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4938         * iconvdata/shift_jisx0213.c : Likewise.
4939         * iconvdata/sjis.c : Likewise.
4940         * iconvdata/t.61.c : Likewise.
4941         * iconvdata/tcvn5712-1.c : Likewise.
4942         * iconvdata/tscii.c: Likewise.
4943         * iconvdata/uhc.c : Likewise.
4944         * iconvdata/unicode.c (gconv_end): Likewise.
4945         * iconvdata/utf-16.c (gconv_end): Likewise.
4946         * iconvdata/utf-32.c (gconv_end): Likewise.
4947         * iconvdata/utf-7.c (base64): Likewise.
4948         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4949         * iconv/gconv_close.c (__gconv_close): Likewise.
4950         * iconv/gconv_open.c (__gconv_open): Likewise.
4951         * iconv/gconv_simple.c (internal_ucs4_loop_single)
4952         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4953         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4954         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4955         (ucs4le_internal_loop_single): Likewise.
4956         * iconv/iconv.c (iconv): Likewise.
4957         * iconv/iconv_close.c: Likewise.
4958         * iconv/loop.c (SINGLE): Likewise.
4959         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4960         * include/atomic.h: Likewise.
4961         * inet/inet6_option.c (option_alloc): Likewise.
4962         * intl/bindtextdom.c (set_binding_values): Likewise.
4963         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4964         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4965         * intl/localealias.c (read_alias_file): Likewise.
4966         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4967         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4968         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4969         * libio/fmemopen.c (fmemopen): Likewise.
4970         * libio/iofgets.c (_IO_fgets): Likewise.
4971         * libio/iofgets_u.c (fgets_unlocked): Likewise.
4972         * libio/iofgetws.c (fgetws): Likewise.
4973         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4974         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4975         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4976         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4977         * locale/findlocale.c (_nl_find_locale): Likewise.
4978         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4979         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4980         Likewise.
4981         * locale/setlocale.c (setlocale): Likewise.
4982         * login/programs/pt_chown.c (main): Likewise.
4983         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4984         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4985         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4986         (mmap, mmap64, mremap, munmap): Likewise.
4987         * math/e_exp2l.c: Likewise.
4988         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4989         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4990         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4991         * math/s_catan.c (__catan): Likewise.
4992         * math/s_catanf.c (__catanf): Likewise.
4993         * math/s_catanh.c (__catanh): Likewise.
4994         * math/s_catanhf.c (__catanhf): Likewise.
4995         * math/s_catanhl.c (__catanhl): Likewise.
4996         * math/s_catanl.c (__catanl): Likewise.
4997         * math/s_ccosh.c (__ccosh): Likewise.
4998         * math/s_ccoshf.c (__ccoshf): Likewise.
4999         * math/s_ccoshl.c (__ccoshl): Likewise.
5000         * math/s_cexp.c (__cexp): Likewise.
5001         * math/s_cexpf.c (__cexpf): Likewise.
5002         * math/s_cexpl.c (__cexpl): Likewise.
5003         * math/s_clog10.c (__clog10): Likewise.
5004         * math/s_clog10f.c (__clog10f): Likewise.
5005         * math/s_clog10l.c (__clog10l): Likewise.
5006         * math/s_clog.c (__clog): Likewise.
5007         * math/s_clogf.c (__clogf): Likewise.
5008         * math/s_clogl.c (__clogl): Likewise.
5009         * math/s_csin.c (__csin): Likewise.
5010         * math/s_csinf.c (__csinf): Likewise.
5011         * math/s_csinh.c (__csinh): Likewise.
5012         * math/s_csinhf.c (__csinhf): Likewise.
5013         * math/s_csinhl.c (__csinhl): Likewise.
5014         * math/s_csinl.c (__csinl): Likewise.
5015         * math/s_csqrt.c (__csqrt): Likewise.
5016         * math/s_csqrtf.c (__csqrtf): Likewise.
5017         * math/s_csqrtl.c (__csqrtl): Likewise.
5018         * math/s_ctan.c (__ctan): Likewise.
5019         * math/s_ctanf.c (__ctanf): Likewise.
5020         * math/s_ctanh.c (__ctanh): Likewise.
5021         * math/s_ctanhf.c (__ctanhf): Likewise.
5022         * math/s_ctanhl.c (__ctanhl): Likewise.
5023         * math/s_ctanl.c (__ctanl): Likewise.
5024         * math/w_pow.c: Likewise.
5025         * math/w_powf.c: Likewise.
5026         * math/w_powl.c: Likewise.
5027         * math/w_scalb.c (sysv_scalb): Likewise.
5028         * math/w_scalbf.c (sysv_scalbf): Likewise.
5029         * math/w_scalbl.c (sysv_scalbl): Likewise.
5030         * misc/error.c (error_tail): Likewise.
5031         * misc/pselect.c (__pselect): Likewise.
5032         * nis/nis_callback.c (__nis_create_callback): Likewise.
5033         * nis/nis_call.c (__nisfind_server): Likewise.
5034         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5035         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5036         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5037         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5038         * nis/nis_lookup.c (nis_lookup): Likewise.
5039         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5040         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5041         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5042         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5043         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5044         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5045         * nis/nss_compat/compat-initgroups.c (add_group)
5046         (internal_getgrent_r): Likewise.
5047         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5048         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5049         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5050         (internal_getspnam_r): Likewise.
5051         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5052         (_nss_nis_getaliasbyname_r): Likewise.
5053         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5054         (_nss_nis_getntohost_r): Likewise.
5055         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5056         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5057         (_nss_nis_getgrgid_r): Likewise.
5058         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5059         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5060         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5061         (_nss_nis_gethostbyname4_r): Likewise.
5062         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5063         (initgroups_netid): Likewise.
5064         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5065         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5066         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5067         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5068         (_nss_nis_getprotobynumber_r): Likewise.
5069         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5070         (_nss_nis_getsecretkey): Likewise.
5071         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5072         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5073         (_nss_nis_getpwuid_r): Likewise.
5074         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5075         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5076         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5077         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5078         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5079         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5080         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5081         Likewise.
5082         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5083         (_nss_nisplus_getntohost_r): Likewise.
5084         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5085         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5086         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5087         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5088         Likewise.
5089         * nis/nss_nisplus/nisplus-initgroups.c
5090         (_nss_nisplus_initgroups_dyn): Likewise.
5091         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5092         (_nss_nisplus_getnetbyaddr_r): Likewise.
5093         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5094         (_nss_nisplus_getprotobynumber_r): Likewise.
5095         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5096         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5097         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5098         Likewise.
5099         * nis/nss_nisplus/nisplus-service.c
5100         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5101         (_nss_nisplus_getservbyport_r): Likewise.
5102         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5103         (_nss_nisplus_getspnam_r): Likewise.
5104         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5105         Likewise.
5106         * nscd/aicache.c (addhstaiX): Likewise.
5107         * nscd/cache.c (cache_search, prune_cache): Likewise.
5108         * nscd/connections.c (register_traced_file, send_ro_fd)
5109         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5110         (main_loop_epoll): Likewise.
5111         * nscd/grpcache.c (addgrbyX): Likewise.
5112         * nscd/hstcache.c (addhstbyX): Likewise.
5113         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5114         * nscd/mem.c (gc, mempool_alloc): Likewise.
5115         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5116         (addinnetgrX): Likewise.
5117         * nscd/nscd-client.h (__nscd_acquire_maplock)
5118         (__nscd_drop_map_ref): Likewise.
5119         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5120         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5121         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5122         Likewise.
5123         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5124         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5125         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5126         (__nscd_get_map_ref): Likewise.
5127         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5128         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5129         Likewise.
5130         * nscd/pwdcache.c (addpwbyX): Likewise.
5131         * nscd/selinux.c (preserve_capabilities): Likewise.
5132         * nscd/servicescache.c (addservbyX): Likewise.
5133         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5134         * posix/fnmatch.c (fnmatch): Likewise.
5135         * posix/getopt.c (_getopt_internal_r): Likewise.
5136         * posix/glob.c (glob, glob_in_dir): Likewise.
5137         * posix/wordexp.c (exec_comm_child): Likewise.
5138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5139         (getanswer_r, gaih_getanswer_slice): Likewise.
5140         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5141         * resolv/res_init.c: Likewise.
5142         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5143         * resolv/res_query.c (__libc_res_nquery): Likewise.
5144         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5145         Likewise.
5146         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5147         * stdio-common/perror.c (perror): Likewise.
5148         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5149         * stdio-common/tmpnam.c (tmpnam): Likewise.
5150         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5151         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5152         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5153         Likewise.
5154         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5155         * stdlib/putenv.c (putenv): Likewise.
5156         * stdlib/setenv.c (__add_to_environ): Likewise.
5157         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5158         * stdlib/strtol_l.c (INTERNAL): Likewise.
5159         * string/memmem.c (memmem): Likewise.
5160         * string/strerror.c (strerror): Likewise.
5161         * string/strnlen.c (__strnlen): Likewise.
5162         * string/test-memmem.c (simple_memmem): Likewise.
5163         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5164         * sunrpc/pm_getport.c (__get_socket): Likewise.
5165         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5166         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5167         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5168         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5169         Likewise.
5170         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5171         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5172         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5173         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5174         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5175         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5176         Likewise.
5177         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5178         Likewise.
5179         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5180         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5181         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5182         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5183         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5185         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5186         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5187         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5188         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5189         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5190         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5191         Likewise.
5192         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5193         Likewise.
5194         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5195         Likewise.
5196         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5197         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5198         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5199         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5200         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5201         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5202         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5203         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5205         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5206         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5207         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5208         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5209         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5210         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5212         Likewise.
5213         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5214         Likewise.
5215         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5216         Likewise.
5217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5218         Likewise.
5219         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5221         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5222         Likewise.
5223         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5224         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5225         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5226         * sysdeps/posix/sleep.c: Likewise.
5227         * sysdeps/posix/tempname.c: Likewise.
5228         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5229         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5230         Likewise.
5231         * sysdeps/powerpc/powerpc32/dl-machine.h
5232         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5233         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5235         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5236         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5237         Likewise.
5238         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5239         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5240         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5241         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5242         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5243         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5244         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5245         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5246         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5247         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5248         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5249         (elf_machine_lazy_rel): Likewise.
5250         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5252         (elf_machine_lazy_rel): Likewise.
5253         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5254         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5255         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5256         * sysdeps/unix/grantpt.c (grantpt): Likewise.
5257         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5258         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5259         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5260         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5261         Likewise.
5262         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5263         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5264         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5265         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5266         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5267         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5268         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5269         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5270         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5271         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5272         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5273         Likewise.
5274         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5275         (__posix_fallocate64_l64): Likewise.
5276         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5277         (posix_fallocate): Likewise.
5278         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5279         Likewise.
5280         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5281         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5282         (getifaddrs_internal): Likewise.
5283         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5284         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5285         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5286         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5287         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5288         (__posix_fallocate64_l64): Likewise.
5289         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5290         Likewise.
5291         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5292         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5293         (__get_clockfreq): Likewise.
5294         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5295         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5296         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5298         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5299         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5300         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5301         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5302         Likewise.
5303         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5304         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5305         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5306         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5307         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5308         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5309         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5310         Likewise.
5311         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5312         (posix_fallocate): Likewise.
5313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5314         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5315         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5316         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5317         (elf_machine_rela, elf_machine_rela_relative)
5318         (elf_machine_lazy_rel): Likewise.
5319         * time/asctime.c (asctime_internal): Likewise.
5320         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5321         * time/tzset.c (__tzset_parse_tz): Likewise.
5322         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5323         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5324         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5325         * wcsmbs/wcsmbsload.h: Likewise.
5327         [BZ #15894]
5328         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5330         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5331         (arena_get2): Remove THREAD_STATS conditionals.
5332         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5333         (__malloc_stats, int): Likewise.
5335 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
5337         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5338         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
5340         * manual/setjmp.texi: Fix typos/grammar errors.
5342         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5343         Only return early when n is <= 0.  Delete unused return statement.
5345         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5346         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5347         * debug/tst-longjmp_chk3.c: New file.
5349         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5350         (test_main): Replace code with set_fortify_handler call.
5351         * debug/test-strcpy_chk.c: Likewise.
5352         * debug/tst-chk1.c: Likewise.
5353         * debug/tst-longjmp_chk.c: Likewise.
5354         * test-skeleton.c: Include fcntl.h & paths.h
5355         (set_fortify_handler): Define.
5357         * debug/tst-longjmp_chk.c: Add header comment and include
5358         ../test-skeleton.c.
5359         (do_test): Mark static.
5360         (TEST_FUNCTION): Define.
5362         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5363         (IP_PMTUDISC_INTERFACE): Likewise.
5364         (IP_MULTICAST_IF): Likewise.
5365         (IP_MULTICAST_TTL): Likewise.
5366         (IP_MULTICAST_LOOP): Likewise.
5367         (IP_ADD_MEMBERSHIP): Likewise.
5368         (IP_DROP_MEMBERSHIP): Likewise.
5369         (IP_UNBLOCK_SOURCE): Likewise.
5370         (IP_BLOCK_SOURCE): Likewise.
5371         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5372         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5373         (IP_MSFILTER): Likewise.
5374         (MCAST_JOIN_GROUP): Likewise.
5375         (MCAST_BLOCK_SOURCE): Likewise.
5376         (MCAST_UNBLOCK_SOURCE): Likewise.
5377         (MCAST_LEAVE_GROUP): Likewise.
5378         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5379         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5380         (MCAST_MSFILTER): Likewise.
5381         (IP_MULTICAST_ALL): Likewise.
5382         (IP_UNICAST_IF): Likewise.
5384         * timezone/Makefile: Delete $(have-ksh) check.
5385         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5386         * timezone/tzselect.ksh: Add +x mode bits.
5388         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5389         (ANON_INODE_FS_MAGIC): Likewise.
5390         (BDEVFS_MAGIC): Likewise.
5391         (BINFMTFS_MAGIC): Likewise.
5392         (BTRFS_TEST_MAGIC): Likewise.
5393         (CRAMFS_MAGIC_WEND): Likewise.
5394         (DEBUGFS_MAGIC): Likewise.
5395         (ECRYPTFS_SUPER_MAGIC): Likewise.
5396         (EXT3_SUPER_MAGIC): Likewise.
5397         (EXT4_SUPER_MAGIC): Likewise.
5398         (FUTEXFS_SUPER_MAGIC): Likewise.
5399         (HOSTFS_SUPER_MAGIC): Likewise.
5400         (HUGETLBFS_MAGIC): Likewise.
5401         (MINIX3_SUPER_MAGIC): Likewise.
5402         (MTD_INODE_FS_MAGIC): Likewise.
5403         (NILFS_SUPER_MAGIC): Likewise.
5404         (OPENPROM_SUPER_MAGIC): Likewise.
5405         (PIPEFS_MAGIC): Likewise.
5406         (PSTOREFS_MAGIC): Likewise.
5407         (QNX6_SUPER_MAGIC): Likewise.
5408         (RAMFS_MAGIC): Likewise.
5409         (REISERFS_SUPER_MAGIC_STRING): Likewise.
5410         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5411         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5412         (SECURITYFS_MAGIC): Likewise.
5413         (SELINUX_MAGIC): Likewise.
5414         (SMACK_MAGIC): Likewise.
5415         (SOCKFS_MAGIC): Likewise.
5416         (SQUASHFS_MAGIC): Likewise.
5417         (STACK_END_MAGIC): Likewise.
5418         (TMPFS_MAGIC): Likewise.
5419         (USBDEVICE_SUPER_MAGIC): Likewise.
5420         (V9FS_MAGIC): Likewise.
5421         (XENFS_SUPER_MAGIC): Likewise.
5422         (CRAMFS_MAGIC): Fix typo in comment.
5423         (EXT2_SUPER_MAGIC): Update comment.
5424         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5426 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
5428         * sysdeps/arm: Move directory from ports/sysdeps/arm.
5429         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5430         * sysdeps/unix/sysv/linux/arm: Move directory from
5431         ports/sysdeps/unix/sysv/linux/arm.
5432         * README: Update listing for arm-*-linux-gnueabi.
5434         * README: Remove mention of am33.
5436 2014-02-07  Roland McGrath  <roland@hack.frob.com>
5438         * bits/sigset.h (__sigemptyset): Use a statement expression rather
5439         than the comma operator, to avoid "rhs of comma has no effect"
5440         compiler warnings.
5441         (__sigfillset, __sigandset, __sigorset): Likewise.
5442         * include/signal.h (__sigemptyset): Likewise.
5443         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5445 2014-02-07  Allan McRae  <allan@archlinux.org>
5447         * version.h (RELEASE): Set to "development".
5448         (VERSION): Set to "2.19.90"
5449         * NEWS: Add 2.20 section.
5451 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
5453         [BZ #16529]
5454         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5456 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5458         * manual/contrib.texi: Update entry for Carlos O'Donell,
5459         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5461 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
5463         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5465         * sysdeps/unix/sysv/linux/kernel-features.h
5466         [__LINUX_KERNEL_VERSION >= 0x020621]
5467         (__ASSUME_PROC_PID_TASK_COMM): Define.
5469 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5471         [BZ #16398]
5472         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5473         conversion when destination buffer does not have enough space.
5474         * libio/tst-ftell-partial-wide.c: New test case.
5475         * libio/Makefile (tests): Add tst-ftell-partial-wide.
5477         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5478         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
5479         Leonard and Allan McRae.
5481 2014-02-04  David S. Miller  <davem@davemloft.net>
5483         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5484         32-bit.
5486 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5489         New file
5490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5491         New file
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5493         New file.
5494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5495         New file.
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5497         New file.
5498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5499         New file.
5500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5501         New file.
5502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5503         New file.
5504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5505         New file.
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5507         New file.
5508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5509         New file.
5510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5511         New file.
5512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5513         New file.
5515 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5517         * nptl/shlib-versions: Change powerpc*le start to 2.17.
5518         * shlib-versions: Likewise.
5520 2014-02-04  Roland McGrath  <roland@hack.frob.com>
5521             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5523         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5524         (abilist-pattern): New variable, set to %-le.abilist.
5526         * Makerules (abilist-pattern): New variable.
5527         (vpath): Use $(abilist-pattern) in place of %.abilist.
5528         (check-abi-% pattern rule): Likewise.
5529         (check-abi, update-abi): Likewise.
5531 2014-02-04  Eric Wong  <normalperson@yhbt.net>
5533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5535 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
5537         * manual/startup.texi: Add next, previous, and top entries for
5538         the `Program Arguments' and `Environment Variables' nodes.
5540 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
5542         * manual/macros.texi: Add comments before MTASC-safety macros.
5544         * manual/users.texi: Document MTASC-safety properties.
5546         * manual/threads.texi (pthread_key_create, pthread_key_delete)
5547         (pthread_getspecific, pthread_setspecific): Format with
5548         @deftypefun, and add @safety note.
5549         * manual/signal.texi: Move comments that analyze the above
5550         functions to their home place.
5552 2014-02-03  Allan McRae  <allan@archlinux.org>
5554         * po/sl.po: Update Slovenian translation from translation project.
5556 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
5558         * manual/time.texi (timegm): Add missing blank after @c.
5559         Reported by Joseph Myers <joseph@codesourcery.com>.
5561 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
5563         * manual/check-safety.sh: New.
5564         * manual/Makefile ($(objpfx)stamp-summary): Run it.
5566         * manual/terminal.texi: Document MTASC-safety properties.
5568         * manual/filesys.texi: Document MTASC-safety properties.
5570         * manual/errno.texi: Document MTASC-safety properties.
5572         * manual/intro.texi: Document safety identifiers and
5573         conditionals.
5575         * manual/string.texi (wcstok): Fix prototype.
5576         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5578         * manual/time.texi: Document MTASC-safety properties.
5580         * manual/string.texi: Document MTASC-safety properties.
5582         * manual/threads.texi: Document MTASC-safety properties.
5584         * manual/stdio.texi: Document MTASC-safety properties.
5586         * manual/syslog.texi: Document MTASC-safety properties.
5588         * manual/sysinfo.texi: Document MTASC-safety properties.
5590         * manual/startup.texi: Document MTASC-safety properties.
5592         * manual/socket.texi: Document MTASC-safety properties.
5594         * manual/signal.texi: Document MTASC-safety properties.
5596 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
5598         * manual/setjmp.texi: Document MTASC-safety properties.
5600         * manual/search.texi: Document MTASC-safety properties.
5602         * manual/resource.texi: Document MTASC-safety properties.
5604         * manual/process.texi: Document MTASC-safety properties.
5606         * manual/platform.texi: Document MTASC-safety properties.
5608         * manual/pipe.texi: Document MTASC-safety properties.
5610         * manual/pattern.texi: Document MTASC-safety properties.
5612         * manual/message.texi: Document MTASC-safety properties.
5614         [BZ #12751]
5615         * manual/memory.texi: Document MTASC-safety properties.
5617         * manual/math.texi: Document MTASC-safety properties.
5619         * manual/locale.texi: Document MTASC-safety properties.
5621         * manual/llio.texi: Document MTASC-safety properties.
5623         * manual/libdl.texi: New.
5625         * manual/lang.texi: Document MTASC-safety properties.
5627         * manual/job.texi: Document MTASC-safety properties.
5629         * manual/getopt.texi: Document MTASC-safety properties.
5631         * manual/ctype.texi: Document MTASC-safety properties.
5633 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
5635         [BZ #16046]
5636         * csu/libc-tls.c (static_map): Remove variable.
5637         (__libc_setup_tls): Use main executable's link map for TLS data.
5638         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5639         casing for LM_ID_BASE and GL(dl_nns).
5640         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5641         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
5642         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5643         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5644         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5645         member.
5646         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5647         l_phnum members.
5649 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
5651         * manual/debug.texi: Document MTASC-safety properties.
5653 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
5655         [BZ #16510]
5656         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5657         of __x86_64__ when disabling x87 inline functions.
5659 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
5661         * manual/charset.texi: Document MTASC-safety properties.
5663         * manual/crypt.texi: Document MTASC-safety properties.
5665         * manual/conf.texi: Document MTASC-safety properties.
5667         * manual/arith.texi: Document MTASC-safety properties.
5669         * manual/argp.texi: Document MTASC-safety properties.
5671         * manual/macros.texi: Introduce macros to document multi
5672         thread, asynchronous signal and asynchronous cancellation
5673         safety properties.
5674         * manual/intro.texi: Introduce the properties themselves.
5676 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5678         * sysdeps/sh/sh4/Makefile: New file.
5680 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
5682         * math/gen-libm-test.pl ($srcdir): New variable.
5683         ($auto_input): Use it.
5685 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5687         [BZ #16506]
5688         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5689         access beyond array bounds when parsing netgroups file.
5691         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5692         the old buffer before realloc.
5694 2014-01-27  Allan McRae  <allan@archlinux.org>
5696         * po/fr.po: Update French translation from translation project.
5698 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5700         * sysdeps/sh/libm-test-ulps: Regenerate.
5702 2014-01-24  David S. Miller  <davem@davemloft.net>
5704         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5706 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5708         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5709         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5711 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5713         [BZ #16474]
5714         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5715         string pointers after reallocation.
5717 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5719         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5720         __SH4A__ instead of __SH_FPU_ANY__.
5722 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5724         * sysdeps/sh/fpu_control.h: New file.
5725         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5726         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5727         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5728         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5729         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5730         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5731         * sysdeps/sh/sys/ucontext.h: Remove.
5732         * sysdeps/sh/sys: Remove directory.
5734 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5736         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5737         s390/sys/ucontext.h.
5738         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5739         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5741 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
5743         [BZ #15605]
5744         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5746 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5748         [BZ#16431]
5749         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5750         Adjust the vDSO correctly for internal calls.
5751         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5753 2014-01-20  Allan McRae  <allan@archlinux.org>
5755         * po/ca.po: Update Catalan translation from translation project.
5757 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
5759         * sysdeps/s390/sotruss-lib.c: New file.
5761 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5763         [BZ#16430]
5764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5765         (__GI___gettimeofday): Alias for a different internal symbol to avoid
5766         local calls issues by not having a PLT stub required for IFUNC calls.
5767         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5769 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
5771         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5772         * math/test-fpucw-static.c: Likewise.
5774 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5776         [BZ #16453]
5777         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5779 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5781         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5782         implementation for powerpc.
5784 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
5786         [BZ #14782]
5787         * sysdeps/posix/system.c (__libc_system): Do not enable
5788         asynchronous cancellation.
5790 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5792         [BZ #16427]
5793         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5794         handling only for numbers special also in the IEEE case.
5796 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5798         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5800 2014-01-11  Allan McRae  <allan@archlinux.org>
5802         * po/bg.po: Update Bulgarian translation from translation project.
5804         * po/de.po: Update German translation from translation project.
5806 2014-01-10  Roland McGrath  <roland@hack.frob.com>
5808         * sysdeps/generic/gcc-compat.h: New file.
5810 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5812         * benchtests/asin-inputs: Correct slow inputs.
5813         * benchtests/acos-inputs: Likewise.
5815 2014-01-10  Allan McRae  <allan@archlinux.org>
5817         * po:sv.po: Update Swedish translation from translation project.
5819         * po/vi.po: Update Vietnamese translation from translation project.
5821         * po/eo.po: Update Esperanto translation from translation project.
5823         * po/cs.po: Update Czech translation from translation project.
5825         * po/nl.po: Update Dutch translation from translation project.
5827         * po/pl.po: Update Polish translation from translation project.
5829         * po/ru.po: Update Russian translation from translation project.
5831         * po/uk.po: Update Ukrainian translation from translation project.
5833 2014-01-08  Brooks Moses  <bmoses@google.com>
5835         * elf/dl-load.c: Fix comment typo.
5837 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
5839         * po/header.pot: Rename to...
5840         * po/pot.header: ... this.
5841         * po/Makefile: Use pot.header.
5843 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
5844             Maxim Kuvyrkov  <maxim@kugelworks.com>
5846         [BZ #16394]
5847         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5848         SRC and DEST against LEN.
5850 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5852         [BZ #16414]
5853         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5854         implementation.
5855         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5857 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5861 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
5863         [BZ #16408]
5864         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5865         for large positive arguments.
5867 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
5869         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5871         * math/auto-libm-test-in: Mark various tests with
5872         xfail-rounding:ldbl-128ibm.
5873         * math/auto-libm-test-out: Regenerated.
5875         [BZ #16407]
5876         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5877         Increase overflow threshold.
5879 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
5881         [BZ #14286]
5882         * stdio-common/vfprintf.c: Check for integer overflow.
5884 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5886         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5887         the first argument and return value of __tls_get_addr_internal.
5889 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5891         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5892         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5894 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5896         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5897         * sysdeps/s390/rtld-global-offsets.sym: New file.
5898         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5899         GLIBC_2.19 symbol.
5900         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5901         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5902         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5903         ... this.
5904         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5905         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5906         ... this.
5907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5908         Regenerate.
5909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5910         Regenerate.
5911         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5912         halfs of GPRs for high_gprs contexts.
5913         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5914         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
5915         field.
5916         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5917         uc_flags field.
5918         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5919         64 bit versions:
5920         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5921         for high GPRs (uc_high_gprs) and for future extensions
5922         (__reserved).
5923         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5924         for future extensions (__reserved).
5925         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5926         64 bit versions:
5927         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5928         SC_HIGHGPRS offset definition.
5929         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5930         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5932         * Versions.def: Add GLIBC_2.19 for libpthread.
5933         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5934         siglongjmp for libpthread with GLIBC_2.19 symver.
5935         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5936         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5937         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5938         * sysdeps/s390/__longjmp.c: New file.
5939         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5940         * sysdeps/s390/longjmp.c: New file.
5941         * sysdeps/s390/setjmp.S: New file.
5942         * sysdeps/s390/sigjmp.S: New file.
5943         * sysdeps/s390/v1-longjmp.c: New file.
5944         * sysdeps/s390/v1-setjmp.h: New file.
5945         * sysdeps/s390/v1-sigjmp.c: New file.
5946         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5947         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5948         GLIBC_2.19 version.
5949         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5950         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5951         versioned symbols for ____longjmp_chk.
5952         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5953         Likewise.
5954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5955         Regenerate.
5956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5957         Regenerate.
5958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5959         Regenerate.
5960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5961         Regenerate.
5962         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5963         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5964         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5965         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5966         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5967         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5968         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5969         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5970         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5971         * sysdeps/s390/rtld-__longjmp.c: New file.
5972         * sysdeps/s390/rtld-setjmp.S: New file.
5974 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
5976         [BZ #16400]
5977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5978         Return -__logl (x) for small positive arguments without evaluating
5979         a polynomial.
5981 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
5983         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5984         Rename to ...
5985         (__ptrace_peeksiginfo_args): ... this.
5986         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5987         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5988         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5990 2014-01-06  Allan McRae  <allan@archlinux.org>
5992         * inet/netinet/in.h: Fix typo in comment.
5994 2014-01-05  Andreas Jaeger  <aj@suse.de>
5996         * sysdeps/i386/fpu/libm-test-ulps: Update.
5998 2014-01-05  Allan McRae  <allan@archlinux.org>
6000         * po/libc.pot: Regenerated.
6002         * malloc/memusagestat.c: Fix gettext call formatting.
6004 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6006         * nscd/nscd.c: Improve usage() output.
6008 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6010         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6011         * sysdeps/unix/sysv/linux/configure: Regenerated.
6012         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6013         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6015 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6017         [BZ #16390]
6018         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6019         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6021 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6024         extra tokens at end of #undef directive.
6025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6026         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6027         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6029 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6031         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6033         * math/auto-libm-test-in: Mark various tests with
6034         xfail-rounding:ldbl-128ibm.
6035         * math/auto-libm-test-out: Regenerated.
6037 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6039         [BZ #16386]
6040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6041         numbers with subnormal high part when calculating exponent.
6043         [BZ #16385]
6044         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6045         fabs.
6047         [BZ #16384]
6048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6049         M_LN2l.
6050         (__ieee754_acoshl): Use __log1pl not __log1p.
6052 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6054         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6055         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6056         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6057         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6058         (reused_arena, arena_get2): Convert to GNU style.
6059         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6060         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6061         (memalign_check, __malloc_set_state): Likewise.
6062         * malloc/mallocbug.c (main): Likewise.
6063         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6064         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6065         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6066         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6067         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6068         (__posix_memalign, malloc_info): Likewise.
6069         * malloc/malloc.h: Likewise.
6070         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6071         (mallochook, memalignhook, reallochook, mabort): Likewise.
6072         * malloc/mcheck.h: Likewise.
6073         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6074         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6075         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6076         * malloc/morecore.c (__default_morecore): Likewise.
6077         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6078         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6079         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6080         (print_and_abort): Likewise.
6081         * malloc/obstack.h: Likewise.
6082         * malloc/set-freeres.c (__libc_freeres): Likewise.
6083         * malloc/tst-mallocstate.c (main): Likewise.
6084         * malloc/tst-mtrace.c (main): Likewise.
6085         * malloc/tst-realloc.c (do_test): Likewise.
6087 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6089         [BZ #16366]
6090         * nscd/netgroupcache.c (do_notfound): New function.
6091         (addgetnetgrentX): Use it.
6093         [BZ # 16365]
6094         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6095         NSS_STATUS_NOTFOUND.
6097 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6099         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6102 2014-01-01  Allan McRae  <allan@archlinux.org>
6104         * scripts/update-copyrights: Update configure input file suffix.
6106         * NEWS: Update copyright year.
6107         * catgets/gencat.c: Likewise.
6108         * csu/version.c: Likewise.
6109         * debug/catchsegv.sh: Likewise.
6110         * debug/pcprofiledump.c: Likewise.
6111         * debug/xtrace.sh: Likewise.
6112         * elf/ldconfig.c: Likewise.
6113         * elf/ldd.bash.in: Likewise.
6114         * elf/pldd.c: Likewise.
6115         * elf/sotruss.ksh: Likewise.
6116         * elf/sprof.c: Likewise.
6117         * iconv/iconv_prog.c: Likewise.
6118         * iconv/iconvconfig.c: Likewise.
6119         * locale/programs/locale.c: Likewise.
6120         * locale/programs/localedef.c: Likewise.
6121         * login/programs/pt_chown.c: Likewise.
6122         * malloc/memusage.sh: Likewise.
6123         * malloc/memusagestat.c: Likewise.
6124         * malloc/mtrace.pl: Likewise.
6125         * manual/libc.texinfo: Likewise.
6126         * nscd/nscd.c: Likewise.
6127         * nss/getent.c: Likewise.
6128         * nss/makedb.c: Likewise.
6129         * posix/getconf.c: Likewise.
6130         * scripts/test-installation.pl: Likewise.
6132         * All files with FSF copyright notices: Update copyright dates
6133         using scripts/update-copyrights.
6134         * intl/plural.c: Regenerated.
6135         * locale/programs/charmap-kw.h: Likewise.
6136         * locale/programs/locfile-kw.h: Likewise.
6138 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6140         * sysdeps/unix/sysv/linux/configure: Regenerated.
6141         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6142         the linux/fanotify.h header.
6143         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6144         HAVE_LINUX_FANOTIFY_H is defined.
6146 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6148         * benchtests/cos-inputs: New inputs.
6149         * benchtests/sin-inputs: Likewise.
6151         * benchtests/atan-inputs: New inputs. Fix name of multiple
6152         precision fallback inputs.
6154         * benchtests/atanh-inputs: New inputs.
6155         * benchtests/tanh-inputs: Likewise.
6157         * benchtests/acosh-inputs: New inputs.
6158         * benchtests/asinh-inputs: Likewise.
6160         * benchtests/cosh-inputs: New inputs.
6161         * benchtests/sinh-inputs: Likewise.
6163         * benchtests/acos-inputs: Add more inputs.
6164         * benchtests/asin-inputs: Likewise.
6166 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6168         [BZ #16375]
6169         * manual/arith.texi: Fix spelling.
6170         * manual/charset.texi: Likewise.
6171         * manual/errno.texi: Likewise.
6172         * manual/filesys.texi: Likewise.
6173         * manual/lang.texi: Likewise.
6174         * manual/llio.texi: Likewise.
6175         * manual/locale.texi: Likewise.
6176         * manual/message.texi: Likewise.
6177         * manual/resource.texi: Likewise.
6178         * manual/search.texi: Likewise.
6179         * manual/setjmp.texi: Likewise.
6180         * manual/stdio.texi: Likewise.
6181         * manual/string.texi: Likewise.
6182         * manual/sysinfo.texi: Likewise.
6183         * manual/time.texi: Likewise.
6185 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6187         * po/sl.po: New file.
6189 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6191         * .gitignore: Add core/.gdbinit/.gdb_history.
6193 2013-12-27  Allan McRae  <allan@archlinux.org>
6195         [BZ #16369]
6196         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6197         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6199 2013-12-24  Brooks Moses  <bmoses@google.com>
6201         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6202         all compilers that claim C++98 compliance, not just GCC.
6203         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6204         Likewise.
6206 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6208         * NEWS: Restore accidentally deleted bug-fix entries.
6210 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6211             Ondřej Bílka  <neleai@seznam.cz>
6213         [BZ #15073]
6214         * malloc/malloc.c (_int_free): Perform sanity check only if we
6215         have_lock.
6217 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6219         [BZ #12986]
6220         * manual/stdio.texi (String Input Conversions): Clarify that character
6221         classes are not supported.
6223 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6227 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6229         [BZ #16337]
6230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6231         Calculate results for small negative arguments directly rather
6232         than using reflection formula with special underflow handling.
6234         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6235         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6236         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6237         (fchflags): Likewise.
6238         (revoke): Likewise.
6239         (setlogin): Likewise.
6240         (sigaltstack): Likewise.
6241         (wait4): Likewise.
6242         (sigblock): Remove.
6243         (sigsetmask): Likewise.
6244         (wait3): Likewise.
6245         (waitpid): Likewise.
6246         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6247         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6248         file.
6249         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6250         * sysdeps/unix/bsd/Makefile: ... here.
6251         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6252         * sysdeps/unix/bsd/Versions: ... here.
6253         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6254         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6255         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6256         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6257         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6258         * sysdeps/unix/bsd/sigblock.c: ... here.
6259         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6260         * sysdeps/unix/bsd/sigsetmask.c: ... here.
6261         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6262         * sysdeps/unix/bsd/sigvec.c: ... here.
6263         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6264         * sysdeps/unix/bsd/tcdrain.c: ... here.
6265         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6266         * sysdeps/unix/bsd/tcgetattr.c: ... here.
6267         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6268         * sysdeps/unix/bsd/tcsetattr.c: ... here.
6269         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6270         * sysdeps/unix/bsd/wait.c: ... here.
6271         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6272         * sysdeps/unix/bsd/wait3.c: ... here.
6273         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6274         * sysdeps/unix/bsd/waitpid.c: ... here.
6276 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
6278         [BZ #16356]
6279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6280         round-to-nearest for [!USE_AS_EXPM1L].
6281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6282         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
6283         more tests of exp and exp10.  Expect some exp10 tests to miss
6284         exceptions or fail in directed rounding modes.
6285         * math/auto-libm-test-out: Regenerated.
6286         * math/libm-test.inc (exp10_tonearest_test_data): New array.
6287         (exp10_test_tonearest): New function.
6288         (exp10_towardzero_test_data): New array.
6289         (exp10_test_towardzero): New function.
6290         (exp10_downward_test_data): New array.
6291         (exp10_test_downward): New function.
6292         (exp10_upward_test_data): New array.
6293         (exp10_test_upward): New function.
6294         (main): Call the new functions.
6295         * sysdeps/i386/fpu/libm-test-ulps: Update.
6296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6298 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
6300         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6301         asinh, atan, atan2, atanh, cbrt, cos and cosh.
6302         * math/auto-libm-test-out: Regenerated.
6303         * math/libm-test.inc (acosh_test_data): Add more tests.
6304         (atanh_test_data): Likewise.
6305         (ceil_test_data): Likewise.
6306         (copysign_test_data): Likewise.
6307         * sysdeps/i386/fpu/libm-test-ulps: Update.
6308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6310         * timezone/checktab.awk: Update from tzcode 2013i.
6311         * timezone/private.h: Likewise.
6312         * timezone/scheck.c: Likewise.
6313         * timezone/tzfile.h: Likewise.
6314         * timezone/tzselect.ksh: Likewise.
6315         * timezone/zdump.c: Likewise.
6316         * timezone/zic.c: Likewise.
6318         * math/auto-libm-test-in: Add tests of cpow.
6319         * math/auto-libm-test-out: Regenerated.
6320         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6321         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6322         mpc_cc_c.
6323         (func_calc_desc): Add mpc_cc_c union field.
6324         (test_functions): Add cpow.
6325         (special_fill_2pi): New function.
6326         (special_real_inputs): Add 2pi.
6327         (calc_generic_results): Handle mpc_cc_c.
6328         * sysdeps/i386/fpu/libm-test-ulps: Update.
6329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6332         csqrt, ctan and ctanh.
6333         * math/auto-libm-test-out: Regenerated.
6334         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6335         (TEST_COND_x86): Likewise.
6336         (ccos_test_data): Use AUTO_TESTS_c_c.
6337         (ccosh_test_data): Likewise.
6338         (cexp_test_data): Likewise.
6339         (clog_test_data): Likewise.
6340         (csqrt_test_data): Likewise.
6341         (ctan_test_data): Likewise.
6342         (ctan_tonearest_test_data): Likewise.
6343         (ctan_towardzero_test_data): Likewise.
6344         (ctan_downward_test_data): Likewise.
6345         (ctan_upward_test_data): Likewise.
6346         (ctanh_test_data): Likewise.
6347         (ctanh_tonearest_test_data): Likewise.
6348         (ctanh_towardzero_test_data): Likewise.
6349         (ctanh_downward_test_data): Likewise.
6350         (ctanh_upward_test_data): Likewise.
6351         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6352         mpc_c_c.
6353         (func_calc_desc): Add mpc_c_c union field.
6354         (FUNC_mpc_c_c): New macro.
6355         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6356         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6357         ctanh.
6358         (special_fill_min_subnorm_p120): New function.
6359         (special_real_inputs): Add min_subnorm_p120.
6360         (calc_generic_results): Handle mpc_c_c.
6361         * sysdeps/i386/fpu/libm-test-ulps: Update.
6362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6364 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6366         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6367         (do_sin_slow): New functions.
6368         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6369         (cslow2, csloww1, csloww2): Use the new functions.
6371         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6372         Use M to change sign of result instead of X.  Assume X is
6373         positive.
6374         (csloww1): Likewise.
6375         (__sin): Adjust.
6376         (__cos): Adjust.
6378         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6379         arguments A and DA.
6380         (__sin): Adjust.
6381         (__cos): Likewise.
6383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6384         (__cos): Likewise.
6385         (sloww1): Don't adjust sign of DX.
6386         (csloww1): Likewise.
6387         (sloww2): Use X directly and don't adjust sign of DX.
6388         (csloww2): Likewise.
6390 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6392         * math/auto-libm-test-in: Add tests of cabs and carg.
6393         * math/auto-libm-test-out: Regenerated.
6394         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6395         (carg_test_data): Likewise.
6396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6397         mpc_c_f.
6398         (func_calc_desc): Add mpc_c_f union field.
6399         (test_functions): Add cabs and carg.
6400         (calc_generic_results): Handle mpc_c_f.
6402         * sysdeps/powerpc/powerpc32/libgcc-compat.S
6403         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6404         as a macro and a compat symbol.
6405         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6406         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6407         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6408         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6409         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6410         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6411         not use .hidden.
6412         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6413         Likewise.
6414         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6415         Likewise.
6416         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6417         Likewise.
6418         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6419         Likewise.
6420         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6421         Likewise.
6422         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6423         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6424         from GLIBC_2.3.2.
6426 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6430 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6432         * manual/texinfo.tex: Update to version 2013-11-26.10 with
6433         trailing whitespace removed.
6434         * scripts/config.guess: Update to version 2013-11-29.
6435         * scripts/config.sub: Update to version 2013-10-01.
6437         * math/auto-libm-test-in: Add tests of sincos.
6438         * math/auto-libm-test-out: Regenerated.
6439         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6440         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6441         mpfr_f_11.
6442         (func_calc_desc): Add mpfr_f_11 union field.
6443         (test_functions): Add sincos.
6444         (calc_generic_results): Handle mpfr_f_11.
6445         * sysdeps/i386/fpu/libm-test-ulps: Update.
6446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6448 2013-12-19  Andreas Schwab  <schwab@suse.de>
6450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6451         CALL_MCOUNT.
6452         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6453         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6454         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6456 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6458         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6459         * sysdeps/i386/fpu/libm-test-ulps: Update.
6460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6462         [BZ #16293]
6463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6464         round-to-nearest mode when using frndint.
6465         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6466         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6467         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6468         Likewise.
6469         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
6470         sinh test to fail.
6471         * math/auto-libm-test-out: Regenerated.
6472         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6473         (TEST_COND_x86): Likewise.
6474         (expm1_tonearest_test_data): New array.
6475         (expm1_test_tonearest): New function.
6476         (expm1_towardzero_test_data): New array.
6477         (expm1_test_towardzero): New function.
6478         (expm1_downward_test_data): New array.
6479         (expm1_test_downward): New function.
6480         (expm1_upward_test_data): New array.
6481         (expm1_test_upward): New function.
6482         (main): Run the new test functions.
6483         * sysdeps/i386/fpu/libm-test-ulps: Update.
6484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6486         * include/features.h: Update comment documenting feature test
6487         macros.  Mention _DEFAULT_SOURCE in comment.
6488         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6489         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6490         _BSD_SOURCE and _SVID_SOURCE.
6491         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6492         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6493         !_SVID_SOURCE]: Likewise.
6494         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6495         (__USE_POSIX_IMPLICITLY): Define.
6496         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6497         (_POSIX_SOURCE): Undefine and redefine.
6498         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6499         (_POSIX_C_SOURCE): Likewise.
6500         * manual/creature.texi (_DEFAULT_SOURCE): Document.
6501         (Feature Test Macros): Update documentation of default features.
6503 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6505         * benchtests/Makefile: Add bench-strtok.
6506         * benchtests/bench-strtok.c: New file: strtok benchtest.
6508 2013-12-19  Allan McRae  <allan@archlinux.org>
6510         * manual/install.texi: Suppress menu for plain text output.
6511         * INSTALL: Regenerated.
6513 2013-12-18  Brooks Moses  <bmoses@google.com>
6515         [BZ #15846]
6516         * misc/getauxval.c: Include errno.h.
6517         (__getauxval): Set errno to ENOENT if the requested type is not
6518         found.
6519         * misc/sys/auxv.h (getauxval): Document that it may set errno;
6520         don't declare with __attribute_const__.
6521         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6522         * manual/startup.texi: Document that getauxval sets errno.
6524 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6526         * math/auto-libm-test-in: Add tests of jn and yn.
6527         * math/auto-libm-test-out: Regenerated.
6528         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6529         (yn_test_data): Likewise.
6530         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6531         mpfr_if_f.
6532         (func_calc_desc): Add mpfr_if_f union field.
6533         (FUNC_mpfr_if_f): New macro.
6534         (test_functions): Add jn and yn.
6535         (calc_generic_results): Assert type of second input for
6536         mpfr_ff_f.  Handle mpfr_if_f.
6537         (output_for_one_input_case): Disable all checking for arguments
6538         fitting floating-point types in case of an integer argument.
6539         * sysdeps/i386/fpu/libm-test-ulps: Update.
6540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6543         Don't expect fegetround reference in libm.so.
6545 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6547         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6548         $(config-cflags-nofma).
6550 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6552         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6553         * math/auto-libm-test-out: Regenerated.
6555         [BZ #16338]
6556         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6557         to determine exponent and adjust argument to have exponent of -1.
6558         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6559         log2.
6560         * math/auto-libm-test-out: Regenerated.
6561         * sysdeps/i386/fpu/libm-test-ulps: Update.
6562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6564 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
6566         * manual/probes.texi: Remove cases when per-thread arenas are
6567         disabled.
6569 2013-12-18  Andreas Schwab  <schwab@suse.de>
6571         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6572         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6573         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6574         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6575         * sysdeps/i386/i686/multiarch/Makefile: Update.
6576         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6578 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6580         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6581         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6583 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
6585         [BZ #15968]
6586         Support TZ transition times < 00:00:00.
6587         This is needed for version-3 tz-format files; it supports time
6588         stamps past 2037 for America/Godthab (the only entry in the tz
6589         database for which this change is relevant).
6590         * manual/time.texi (TZ Variable): Document transition times
6591         from -167:59:59 through -00:00:01.
6592         * time/tzset.c (tz_rule): Time of day is now signed.
6593         (__tzset_parse_tz): Parse negative time of day.
6595         Document TZ transition times >= 25:00:00.
6596         * manual/time.texi (TZ Variable): Document transition times from
6597         25:00:00 through 167:59:59.  These are already supported, and this
6598         support will help with version-3 tz-format files.
6600         * manual/time.texi (TZ Variable): Modernize North America example
6601         to reflect current (i.e., 2007-and-later) daylight saving rules.
6603         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6605 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6607         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6608         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6611         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6612         * sysdeps/unix/bsd/bsdstat.h: Likewise.
6613         * sysdeps/unix/bsd/clock.c: Likewise.
6614         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6615         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6616         * sysdeps/unix/bsd/init-posix.c: Likewise.
6617         * sysdeps/unix/bsd/poll.c: Likewise.
6618         * sysdeps/unix/bsd/ptsname.c: Likewise.
6619         * sysdeps/unix/bsd/seekdir.c: Likewise.
6620         * sysdeps/unix/bsd/setegid.c: Likewise.
6621         * sysdeps/unix/bsd/seteuid.c: Likewise.
6622         * sysdeps/unix/bsd/setgid.c: Likewise.
6623         * sysdeps/unix/bsd/setrgid.c: Likewise.
6624         * sysdeps/unix/bsd/setruid.c: Likewise.
6625         * sysdeps/unix/bsd/setsid.c: Likewise.
6626         * sysdeps/unix/bsd/setuid.c: Likewise.
6627         * sysdeps/unix/bsd/sigaction.c: Likewise.
6628         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6629         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6630         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6631         * sysdeps/unix/bsd/telldir.c: Likewise.
6632         * sysdeps/unix/bsd/times.c: Likewise.
6633         * sysdeps/unix/bsd/usleep.c: Likewise.
6635         * misc/Makefile (install-lib): Remove libbsd-compat.a.
6636         ($(objpfx)libbsd-compat.a): Remove rule.
6638         * include/features.h (__FAVOR_BSD): Do not define.
6639         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6640         features conflicting with POSIX.
6641         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6642         (_BSD_SOURCE): Remove description of not being a subset of other
6643         feature test macros.
6644         * manual/job.texi (getpgrp): Do not document BSD version.
6645         (getpgid): Do not document by reference to BSD getpgrp.
6646         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6647         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6648         * signal/signal.h [__FAVOR_BSD]: Likewise.
6649         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6650         instead of making contents conditional on [__FAVOR_BSD].
6651         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6653 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6657 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6659         [BZ #16314]
6660         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6661         values below 2**-450, not 2**-500.
6662         * math/auto-libm-test-in: Don't allow spurious underflow from
6663         hypot.
6664         * math/auto-libm-test-out: Regenerated.
6666         [BZ #16316]
6667         [BZ #16330]
6668         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6669         values of ha and hb and sort them after adjusting subnormal
6670         arguments.
6671         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6672         Likewise.
6673         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6674         values of ea and eb and sort them after adjusting subnormal
6675         arguments.
6676         * math/auto-libm-test-in: Do not expect some hypot tests of
6677         subnormals to fail.  Add more hypot tests.
6678         * math/auto-libm-test-out: Regenerated.
6680 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6682         [BZ #13304]
6683         * sysdeps/sh/s_fma.c: New file.
6684         * sysdeps/sh/s_fmaf.c: New file.
6685         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
6686         version.
6687         * sysdeps/sh/Implies: Add sh/soft-fp.
6689 2013-12-16  Roland McGrath  <roland@hack.frob.com>
6691         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
6692         level of indirection to members `objname', `errstring', `malloced'.
6693         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6694         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
6695         it as the __longjmp argument (just pass 1 instead).
6696         (_dl_catch_error): Initialize C with argument pointers and address of
6697         volatile local ERRCODE rather than copying values out of C at return.
6699 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
6701         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6702         * math/auto-libm-test-out: Regenerated.
6703         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6704         (hypot_test_data): Likewise.
6705         (pow_test_data): Likewise.
6706         (pow_tonearest_test_data): Likewise.
6707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6708         mpfr_ff_f.
6709         (func_calc_desc): Add mpfr_ff_f union field.
6710         (FUNC_mpfr_ff_f): New macro.
6711         (test_functions): Add atan2, hypot and pow.
6712         (special_fill_min): New function.
6713         (special_fill_minus_min): Likewise.
6714         (special_fill_min_subnorm): Likewise.
6715         (special_fill_minus_min_subnorm): Likewise.
6716         (special_real_inputs): Add min, -min, min_subnorm and
6717         -min_subnorm.
6718         (calc_generic_results): Handle mpfr_ff_f.
6719         * sysdeps/i386/fpu/libm-test-ulps: Update.
6720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6722 2013-12-16  Will Newton  <will.newton@linaro.org>
6724         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6725         (Aligned Memory Blocks): Add documentation for aligned_alloc
6726         and suggest it as an alternative to posix_memalign.
6727         (Hooks for Malloc): Document __memalign_hook is also called
6728         for aligned_alloc.  (Summary of Malloc): Add summary for
6729         aligned alloc.  Document __memalign_hook is also called
6730         for aligned_alloc.
6732 2013-12-16  Will Newton  <will.newton@linaro.org>
6734         * manual/memory.texi (Malloc Examples): Clarify default
6735         alignment documentation.  Suggest posix_memalign rather
6736         than memalign or valloc.
6737         (Aligned Memory Blocks): Remove suggestion to use memalign
6738         or valloc.  Remove obsolete comment about BSD.
6739         Document memalign errno values and mark the function obsolete.
6740         Document posix_memalign returned error codes.  Mark valloc
6741         as obsolete.  (Hooks for Malloc): __memalign_hook is also
6742         called for posix_memalign and valloc.
6743         (Summary of Malloc): Add posix_memalign to function summary.
6744         __memalign_hook is also called for posix_memalign and valloc.
6746 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6748         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6749         TAYLOR_SIN.
6750         (__sin): Adjust.
6751         (__cos): Likewise.
6752         (sloww): Use mynumber union.  Expand ternary operator into
6753         if-else statements.
6754         (cslow): use mynumber union.
6756 2013-12-16  Allan McRae  <allan@archlinux.org>
6758         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6759         * configure: Regenerated.
6761         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6763         [BZ #14120]
6764         * configure.ac: Added --enable-maintainer-mode. Check for
6765         autoconf when enabled.
6766         * configure: Regenerated.
6768         * nscd/nscd.service: New file.
6769         * nscd/nscd.tmpfiles: New file.
6771 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
6773         [BZ #12100]
6774         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6775         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6776         * sysdeps/x86_64/multiarch/strstr.c: ... here.
6777         (strstr): Add __strstr_sse2_unaligned ifunc.
6778         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6779         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6780         (strcasestr): Remove __strcasestr_sse42 ifunc.
6781         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6785 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6787         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6788         * sysdeps/sh/bits/fenv.h: ... here.
6789         * sysdeps/sh/sh4/fpu/bits: Remove directory.
6791 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6793         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6796         hypotf multiarch implementations.
6797         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6798         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6799         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6800         multiarch hypot for PPC64.
6801         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6804         multiarch hypotf for PPC64.
6806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6807         modff multiarch implementations.
6808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6811         multiarch modf for PPC64.
6812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6815         multiarch modff for PPC64.
6817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6818         and logl multiarch implementations.
6819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6822         multiarch logb for PPC64.
6823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6826         multiarch logb for PPC64.
6827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6830         multiarch logb for PPC64.
6832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6833         isinff multiarch implementation.
6834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6835         file.
6836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6838         multiarch isinf for PPC64.
6839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6840         file.
6841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6842         multiarch isinff for PPC64.
6844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6845         finitef multiarch implementation.
6846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6847         file.
6848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6850         multiarch finite for PPC64.
6851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6852         file.
6853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6854         multiarch finitef for PPC64.
6856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6857         lrint multiarch implementation.
6858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6859         file.
6860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6862         multiarch llrint for PPC64.
6863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6864         multiarch lrint for PPC64.
6866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6867         copysignf multiarch implementation.
6868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6869         file.
6870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6871         file.
6872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6873         multiarch copysign for PPC64.
6874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6875         multiarch copysignf for PPC64.
6877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6878         multiarch implementation.
6879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6880         file.
6881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6882         file.
6883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6884         file.
6885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6886         file.
6887         multiarch llround for PPC64.
6888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6889         multiarch trunc for PPC64.
6890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6891         multiarch truncf for PPC64.
6893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6894         multiarch implementation.
6895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6896         file.
6897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6898         file.
6899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6900         file.
6901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6902         file.
6903         multiarch llround for PPC64.
6904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6905         multiarch round for PPC64.
6906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6907         multiarch roundf for PPC64.
6909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6910         multiarch implementation.
6911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6912         file.
6913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6914         file.
6915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6916         file.
6917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6918         file.
6919         multiarch llround for PPC64.
6920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6921         multiarch floor for PPC64.
6922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6923         multiarch floorf for PPC64.
6925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6926         multiarch implementation.
6927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6928         file.
6929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6930         file.
6931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6932         file.
6933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6934         file.
6935         multiarch llround for PPC64.
6936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6937         multiarch ceil for PPC64.
6938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6939         multiarch ceilf for PPC64.
6941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6942         multiarch implementation.
6943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6944         file.
6945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6946         file.
6947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6948         file.
6949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6950         multiarch llround for PPC64.
6951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6952         multiarch lround for PPC64.
6954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6955         multiarch implementation.
6956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6959         file.
6960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6963         multiarch isnan for PPC64.
6964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6965         multiarch isnanf for PPC64.
6967         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6968         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6969         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6970         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6971         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6974         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6975         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6976         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6977         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6980         multiarch implementations.
6981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6982         (__libc_ifunc_impl_list): Likewise.
6983         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6984         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6986         multiarch stpcpy for PPC64.
6988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6989         multiarch implementations.
6990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6991         (__libc_ifunc_impl_list): Likewise.
6992         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6993         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6994         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6995         multiarch strcpy for PPC64.
6997         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6998         redefine function name.
6999         (_wordcopy_fwd_dest_aligned): Likewise.
7000         (_wordcopy_bwd_aligned): Likewise.
7001         (_wordcopy_bwd_dest_aligned): Likewise.
7002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7003         multiarch implementations.
7004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7005         (__libc_ifunc_impl_list): Likewise.
7006         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7007         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7010         multiarch wcscpy for PPC64.
7012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7013         multiarch implementations.
7014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7015         (__libc_ifunc_impl_list): Likewise.
7016         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7017         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7018         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7019         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7020         multiarch wcscpy for PPC64.
7022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7023         multiarch implementations.
7024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7025         (__libc_ifunc_impl_list): Likewise.
7026         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7027         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7028         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7029         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7030         multiarch wcsrchr for PPC64.
7032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7033         multiarch implementations.
7034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7035         (__libc_ifunc_impl_list): Likewise.
7036         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7037         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7038         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7039         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7040         multiarch wcschr for PPC64.
7042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7043         multiarch implementations.
7044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7045         (__libc_ifunc_impl_list): Likewise.
7046         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7047         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7048         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7049         multiarch strchrnul for PPC64.
7051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7052         implementations.
7053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7054         (__libc_ifunc_impl_list): Likewise.
7055         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7056         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7057         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7058         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7059         strchr for PPC64.
7061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7062         implementations.
7063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7064         (__libc_ifunc_impl_list): Likewise.
7065         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7066         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7067         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7068         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7069         strncmp for PPC64.
7071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7072         multiarch implementations.
7073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7074         (__libc_ifunc_impl_list): Likewise.
7075         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7076         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7077         strncasecmp for PPC64.
7078         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7079         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7080         multiarch strncasecmp_l for PPC64.
7082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7083         multiarch implementations.
7084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7085         (__libc_ifunc_impl_list): Likewise.
7086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7087         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7088         multiarch strcasecmp for PPC64.
7089         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7090         file.
7091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7092         multiarch strcasecmp_l for PPC64.
7094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7095         implementations.
7096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7097         (__libc_ifunc_impl_list): Likewise.
7098         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7099         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7100         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7101         strnlen for PPC64.
7103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7104         implementations.
7105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7106         (__libc_ifunc_impl_list): Likewise.
7107         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7108         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7109         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7110         strlen for PPC64.
7112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7113         implementations.
7114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7115         (__libc_ifunc_impl_list): Likewise.
7116         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7117         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7118         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7119         rawmemrchr for PPC64.
7121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7122         implementation.
7123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7124         (__libc_ifunc_impl_list): Likewise.
7125         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7126         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7127         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7128         memrchr for PPC64.
7130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7131         implementation.
7132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7133         (__libc_ifunc_impl_list): Likewise.
7134         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7135         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7136         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7137         memchr for PPC64.
7139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7140         implementation.
7141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7142         (__libc_ifunc_impl_list): Likewise.
7143         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7144         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7145         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7146         mempcpy for PPC64.
7148         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7149         avoid cretion of __bzero symbol.
7150         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7151         Likewise.
7152         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7153         Likewise.
7154         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7155         Likewise.
7156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7157         multiarch implementations.
7158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7159         (__libc_ifunc_impl_list): Likewise.
7160         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7161         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7162         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7163         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7164         bzero for PPC32.
7165         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7166         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7167         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7168         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7169         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7170         memset for PPC64.
7171         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7173         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7175         implementations.
7176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7177         (__libc_ifunc_impl_list): Likewise.
7178         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7179         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7180         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7181         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7182         memcmp for PPC64.
7184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7185         multiarch for POWER/PPC64.
7186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7187         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7188         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7189         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7193         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7194         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7195         memcpy for PPC64.
7197         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7198         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7199         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7200         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7201         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7202         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7203         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7204         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7205         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7206         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7207         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7208         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7209         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7210         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7211         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7220 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7222         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7224 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7226         * benchtests/Makefile (bench): Add exp2 and log2.
7227         (LDLIBS-bench-exp2): Add -lm.
7228         (LDLIBS-bench-log2): Likewise.
7229         * benchtests/exp2-inputs: New inputs file.
7230         * benchtests/log2-inputs: New inputs file.
7231         * benchtests/log-inputs: Add new inputs.
7232         * benchtests/tan-inputs: Likewise.
7234 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7236         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7237         definition...
7238         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7239         (csloww2): ... from here.
7241         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7242         instead of structures.
7243         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7244         (POLYNOMIAL): Likewise.
7245         (TAYLOR_SLOW): Likewise.
7246         (__sin): Likewise.
7247         (__cos): Likewise.
7248         (slow1): Likewise.
7249         (slow2): Likewise.
7250         (sloww): Likewise.
7251         (sloww1); Likewise.
7252         (sloww2): Likewise.
7253         (bsloww1): Likewise.
7254         (bsloww2): Likewise.
7255         (cslow2): Likewise.
7256         (csloww): Likewise.
7257         (csloww1): Likewise.
7258         (csloww2): Likewise.
7260 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
7262         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7263         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7264         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7265         * malloc/hooks.c (realloc_check): Likewise.
7267         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7268         * malloc/arena.c: Remove PER_THREAD conditional.
7269         [!PER_THREAD]: Remove code.
7270         (ptmalloc_unlock_all2): Likewise.
7271         (ptmalloc_init): Likewise.
7272         (_int_new_arena): Likewise.
7273         (arena_get2): Likewise.
7274         * malloc/hooks.c (__malloc_get_state): Likewise.
7275         (__malloc_set_state): Likewise.
7276         * malloc/malloc.c: Likewise.
7277         (struct malloc_state): Likewise.
7278         (struct malloc_par): Likewise.
7279         (__libc_realloc): Likewise.
7280         (__libc_mallopt): Likewise.
7282 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7284         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7286 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
7288         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7289         macro to a function.  Check for zero perturb_byte.
7290         (_int_malloc, _int_free): Remove zero perturb_byte checks.
7292         * malloc/malloc.c: (force_reg): Remove.
7293         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7294         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7295         force_reg by atomic_forced_read.
7296         * malloc/arena.c (ptmalloc_init): Likewise.
7297         * malloc/hooks.c (top_check): Likewise.
7299 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7303 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7307 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7309         * math/auto-libm-test-in: Add tests of lgamma.
7310         * math/auto-libm-test-out: Regenerated.
7311         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7312         (M_LOG_2_SQRT_PIl): Likewise.
7313         (lgamma_test_data): Use AUTO_TESTS_f_f1.
7314         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7315         mpfr_f_f1.
7316         (func_calc_desc): Add mpfr_f_f1 union field.
7317         (ARGS1): New macro.
7318         (ARGS2): Likewise.
7319         (ARGS3): Likewise.
7320         (ARGS4): Likewise.
7321         (RET1): Likewise.
7322         (RET2): Likewise.
7323         (CALC): Likewise.
7324         (FUNC): Likewise.
7325         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7326         (test_functions): Add lgamma.
7327         (calc_generic_results): Handle mpfr_f_f1.
7328         * sysdeps/i386/fpu/libm-test-ulps: Update.
7329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7331 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7333         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7334         __mpn_add_n for PowerPC64/POWER7.
7335         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7336         __mpn_sub_n for PowerPC64/POWER7.
7338         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7339         __mpn_addmul_1 for PowerPC64.
7340         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7341         __mpn_submul_1 for PowerPC64.
7342         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7343         for PowerPC64.
7344         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7345         for PowerPC64.
7347 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
7349         [BZ #15089]
7350         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7354         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7356         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7357         add multiarch folders.
7358         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7359         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7360         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7361         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7362         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7363         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7364         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7365         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7366         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7367         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7368         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7377         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7379         New file.
7380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7381         New file.
7382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7383         multiarch __ieee754_hypot for PowerPC32.
7384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7385         New file.
7386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7387         New file.
7388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7389         multiarch __ieee754_hypotf for PowerPC32.
7391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7392         long_double_symbol only if __logbl is defined.
7393         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7394         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7396         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7398         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7399         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7400         path for implementation.
7401         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7402         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7404         logb, and logbl multiarch implementations for PowerPC32.
7405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7406         file.
7407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7408         file.
7409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7410         multiarch logb for PowerPC32.
7411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7412         file.
7413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7414         file.
7415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7416         multiarch logbf for PowerPC32.
7417         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7419         file.
7420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7421         multiarch logbl implementation for PowerPC32.
7423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7424         and modff multiarch implementations.
7425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7426         New file.
7427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7428         New file.
7429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7430         multiarch modf for PowerPC32.
7431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7432         New file.
7433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7434         New file.
7435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7436         multiarch modff for PowerPC32.
7438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7439         and lrintf multiarch implementations.
7440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7441         New file.
7442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7443         New file.
7444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7445         multiarch lrint for PowerPC32.
7446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7447         file: multiarch lrintf for PowerPC32.
7449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7450         and lroundf multiarch implementations.
7451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7452         New file.
7453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7454         New file.
7455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7456         New file.
7457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7458         multiarch lround for PowerPC32.
7459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7460         file: multiarch lroundf for PowerPC32.
7462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7463         copysign and copysignf multiarch implementations.
7464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7465         New file.
7466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7467         New file.
7468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7469         file: multiarch copysign for PowerPC32.
7470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7471         file: multiarch copysignf for PowerPC32.
7473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7474         and truncf multiarch implementations.
7475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7476         New file.
7477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7478         file.
7479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7480         multiarch trunc for PowerPC32.
7481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7482         New file.
7483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7484         New file.
7485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7486         multiarch truncf for PowerPC32.
7488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7489         and roundf multiarch implementations.
7490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7491         New file.
7492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7493         file.
7494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7495         multiarch round for PowerPC32.
7496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7497         New file.
7498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7499         New file.
7500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7501         multiarch roundf for PowerPC32.
7503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7504         and floorf multiarch implementations.
7505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7506         New file.
7507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7508         file.
7509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7510         multiarch floor for PowerPC32.
7511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7512         New file.
7513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7514         New file.
7515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7516         multiarch floorf for PowerPC32.
7518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7519         and ceilf multiarch implementations.
7520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7521         New file.
7522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7523         file.
7524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7525         multiarch ceil for PowerPC32.
7526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7527         New file.
7528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7529         file.
7530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7531         multiarch ceilf for PowerPC32.
7533         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7534         is defined.
7535         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7536         FINITEF is defined.
7537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7538         and finitef multiarch implementations.
7539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7540         New file.
7541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7542         file.
7543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7544         multiarch finite for PowerPC32.
7545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7546         New file.
7547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7548         file: multiarch finitef for PowerPC32.
7550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7551         and isinff multiarch implementations.
7552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7553         file.
7554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7555         file.
7556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7557         multiarch isinf for PowerPC32.
7558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7559         New file.
7560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7561         multiarch isinff for PowerPC32.
7563         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7564         alias when __isnan is defined.
7565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7566         and isnanf multiarch implementations.
7567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7568         file.
7569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7570         file.
7571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7572         file.
7573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7574         file.
7575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7576         multiarch isnan for PowerPC32.
7577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7578         New file.
7579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7580         New file.
7581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7582         multiarch isnanf for PowerPC32.
7584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7585         and sqrtf multiarch implementations.
7586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7587         file.
7588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7589         file.
7590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7591         multiarch sqrt for PowerPC32.
7592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7593         file.
7594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7595         file.
7596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7597         multiarch sqrtf for PowerPC32.
7599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7600         and llroundf multiarch implementations.
7601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7602         New file.
7603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7604         New file.
7605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7606         New file.
7607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7608         file: multiarch llround for PowerPC32.
7609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7610         file: multiarch llroundf for PowerPC32.
7612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7613         multiarch PowerPC32 fpu implementations.
7614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7615         New file.
7616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7617         New file.
7618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7619         multiarch llrint for PowerPC32.
7620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7621         New file.
7622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7623         New file.
7624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7625         file.
7627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7629         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7630         file.
7631         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7632         file.
7633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7634         file.
7635         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7636         multiarch wordcopy for PPC32.
7637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7638         wordcopy objects.
7639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7640         (__libc_ifunc_impl_list): Likewise.
7641         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7642         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7643         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7644         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7645         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7646         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7648         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7650         file.
7651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7652         file.
7653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7654         file.
7655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7656         multiarch wcscpy for PPC32.
7657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7658         multiarch objects.
7659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7660         (__libc_ifunc_impl_list): Likewise.
7661         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7662         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7663         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7664         sysdeps/powerpc/power6/wcscpy.c.
7666         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7668         file.
7669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7670         file.
7671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7672         file.
7673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7674         multiarch wcsrchr for PPC32.
7675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7676         multiarch objects.
7677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7678         (__libc_ifunc_impl_list): Likewise.
7679         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7680         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7681         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7682         sysdeps/powerpc/power6/wcsrchr.c.
7684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7685         file.
7686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7687         file.
7688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7690         multiarch wcschr for PPc32.
7691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7692         multiarch objects.
7693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7694         (__libc_ifunc_impl_list): Likewise.
7695         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7696         * sysdeps/powerpc/power6/wcschr.c: ... to here.
7697         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7698         sysdeps/powerpc/power6/wcschr.c.
7700         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7702         file.
7703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7704         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7705         file: multiarch strchr for PPC32.
7706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7707         multiarch objects.
7708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7709         (__libc_ifunc_impl_list): Likewise.
7711         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7712         name.
7713         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7714         file.
7715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7716         file.
7717         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7718         multiarch strchrnul for PPC32.
7719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7720         multiarch objects.
7721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7722         (__libc_ifunc_impl_list): Likewise.
7724         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7725         file.
7726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7727         multiarch strncasecmp for PPC32.
7728         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7729         file.
7730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7731         multiarch strncasecmp_l for PPC32.
7732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7733         strncasecmp multiarch objects.
7734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7735         (__libc_ifunc_impl_list): Likewise.
7737         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7738         file.
7739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7740         multiarch strncasecmp for PPC32.
7741         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7742         New file.
7743         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7744         multiarch strcasecmp_l for PPC32.
7745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7746         multiarch objects.
7747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7748         (__libc_ifunc_impl_list): Likewise.
7750         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7751         file.
7752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7753         file.
7754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7755         multiarch strncmp for PPC32.
7756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7757         multiarch objects.
7758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7759         (__libc_ifunc_impl_list): Likewise.
7761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7762         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7763         file.
7764         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7765         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7767         multiarch objects.
7768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7769         (__libc_ifunc_impl_list): Likewise.
7771         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7772         file.
7773         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7774         file.
7775         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7777         multiarch objects.
7778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7779         (__libc_ifunc_impl_list): Likewise.
7781         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7782         file.
7783         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7784         file.
7785         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7786         multiarch rawmemchr for PPC32.
7787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7788         multiarch objects.
7789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7790         (__libc_ifunc_impl_list): Likewise.
7792         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7793         file.
7794         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7795         file.
7796         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7797         file: memrchr multiarch for PPC32.
7798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7799         multiarch objects.
7800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7801         (__libc_ifunc_impl_list): Likewise.
7803         * string/memchr.c (__memchr): Using macro to redefine symbol name.
7804         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7805         file.
7806         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7807         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7808         multiarch memchr for PPC32.
7809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7810         multiarch objects.
7811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7812         (__libc_ifunc_impl_list): Likewise.
7814         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7815         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7816         file.
7817         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7818         file.
7819         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7820         file: multiarch mempcpy for PPC32.
7821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7822         multiarch objects.
7823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7824         (__libc_ifunc_impl_list): Likewise.
7826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7827         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7829         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7830         multiarch bzero for PPC32.
7831         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7832         file.
7833         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7834         file.
7835         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7836         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7837         file: multiarch memset for PPC32.
7838         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7840         memset multiarch objects.
7841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7842         (__libc_ifunc_impl_list): Likewise.
7844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7845         file.
7846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7848         memcmp for PPC32.
7849         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7851         multiarch objects.
7852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7853         (__libc_ifunc_impl_list): Likewise.
7855         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7858         file.
7859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7860         file.
7861         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7862         file.
7863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7864         multiarch memcpy for PPC32.
7865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7866         multiarch objects.
7867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7868         (__libc_ifunc_impl_list): Likewise.
7870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7871         support multiarch for POWER/PPC32.
7872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7873         Likewise.
7874         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7876         Implies file to make multiarch folder appers before the fpu and
7877         default folder for power4 configuration.
7879 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881         * scripts/bench.pl: Append volatile keyword to type.
7883 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7885         * sysdeps/sh/sotruss-lib.c: New file.
7886         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7888 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7892 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
7894         [BZ #6810]
7895         * math/w_tgamma.c: Include <errno.h>.
7896         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
7897         * math/w_tgammaf.c: Include <errno.h>.
7898         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
7899         * math/w_tgammal.c: Include <errno.h>.
7900         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7901         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7902         underflow.  Add more tgamma tests.
7903         * math/auto-libm-test-out: Regenerated.
7904         * sysdeps/i386/fpu/libm-test-ulps: Update.
7905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7907         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7908         sin, sinh, tan, tanh, tgamma, y0 and y1.
7909         * math/auto-libm-test-out: Regenerated.
7910         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7911         (TEST_COND_x86): Likewise.
7912         (M_E2l): Remove macro.
7913         (M_E3l): Likewise.
7914         (M_2_SQRT_PIl): Likewise.
7915         (M_SQRT_PIl): Likewise.
7916         (M_1_DIV_El): Likewise.
7917         (log_test_data): Use AUTO_TESTS_f_f.
7918         (log10_test_data): Likewise.
7919         (log1p_test_data): Likewise.
7920         (log2_test_data): Likewise.
7921         (sin_test_data): Likewise.
7922         (sin_tonearest_test_data): Likewise.
7923         (sin_towardzero_test_data): Likewise.
7924         (sin_downward_test_data): Likewise.
7925         (sin_upward_test_data): Likewise.
7926         (sinh_test_data): Likewise.
7927         (sinh_tonearest_test_data): Likewise.
7928         (sinh_towardzero_test_data): Likewise.
7929         (sinh_downward_test_data): Likewise.
7930         (sinh_upward_test_data): Likewise.
7931         (tan_test_data): Likewise.
7932         (tan_tonearest_test_data): Likewise.
7933         (tan_towardzero_test_data): Likewise.
7934         (tan_downward_test_data): Likewise.
7935         (tan_upward_test_data): Likewise.
7936         (tanh_test_data): Likewise.
7937         (tgamma_test_data): Likewise.
7938         (y0_test_data): Likewise.
7939         (y1_test_data): Likewise.
7940         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7941         (special_real_inputs): Add pi/4.
7942         * sysdeps/i386/fpu/libm-test-ulps: Update.
7943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7945 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7947         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7948         "longjmp_target" static probes.
7949         (__longjmp): Rename to __longjmp_symbol.
7950         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7951         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7952         on which longjmp to generate.
7953         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7954         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7955         probe.
7956         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7957         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7958         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7959         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7960         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7961         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7963         __longjmp_symbol based on which __longjmp to generate.
7964         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7965         probe.
7966         (setjmp): Rename to setjmp_symbol.
7967         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7968         (_setjmp): Rename to _setjmp_symbol.
7969         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7970         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7971         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7972         which setjmp to generate.
7973         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7974         "longjmp_target" static probes.
7976 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7978         * benchtests/README: Add note about output arguments.
7979         * benchtests/bench-sincos.c: Remove file.
7980         * benchtests/sincos-inputs: New file.
7981         * scripts/bench.pl: Identify output arguments and define
7982         static variables for them.
7984         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7986         [BZ #15941]
7987         * Makefile (INSTALL): Add install-plain.texi as the primary
7988         dependency.
7989         * manual/install-plain.texi: New file.
7990         * manual/install.texi: Include node directive only for
7991         non-plaintext output.
7993 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7995         * stdlib/longlong.h: Update from GCC.
7997         [BZ #6807]
7998         [BZ #15901]
7999         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8000         * math/w_j0f.c (y0f): Likewise.
8001         * math/w_j0l.c (__y0l): Likewise.
8002         * math/w_j1.c (y1): Likewise.
8003         * math/w_j1f.c (y1f): Likewise.
8004         * math/w_j1l.c (__y1l): Likewise
8005         * math/w_jn.c (yn): Likewise.
8006         * math/w_jnf.c (ynf): Likewise.
8007         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8008         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8009         value for Bessel function domain errors outside _SVID_ mode.
8010         Adjust sign of return value for yn (negative integer, 0).
8011         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8012         by zero in return for negative x and set sign appropriately for
8013         negative n.
8014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8015         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8016         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8017         expectations in error cases.
8018         (y1_test_data): Likewise.
8019         (yn_test_data): Likewise.
8020         * sysdeps/i386/fpu/libm-test-ulps: Update.
8021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8023 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8025         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8026         "64" to "64-v1".  Add "64-v2".
8027         (abi-64-options): Rename to ...
8028         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8029         (abi-64-condition): Rename to ...
8030         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8031         (abi-64-ld-soname): Rename to ...
8032         (abi-64-v1-ld-soname): ... this.
8033         (abi-64-v2-options): Define.
8034         (abi-64-v2-condition): Likewise.
8035         (abi-64-v2-ld-soname): Likewise.
8036         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8037         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8042 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8043             Alan Modra  <amodra@gmail.com>
8045         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8046         New versions for use with the ELFv2 ABI.
8047         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8048         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8049         declaration.
8050         (struct La_ppc64v2_retval): Likewise.
8051         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8052         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8053         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8054         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8055         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8056         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8057         Do not save or restore CR.
8058         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8059         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8060         return values for ELFv2 ABI.  Fix location of FPR return registers.
8061         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8062         updated values for _CALL_ELF == 2.
8063         (La_regs, La_retval, int_retval): Likewise.
8065 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8067         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8068         (FRAME_MIN_SIZE_PARM): Likewise.
8069         (FRAME_BACKCHAIN): Likewise.
8070         (FRAME_CR_SAVE): Likewise.
8071         (FRAME_LR_SAVE): Likewise.
8072         (FRAME_TOC_SAVE): Likewise.
8073         (FRAME_PARM_SAVE): Likewise.
8074         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8075         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8076         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8077         (call_mcount_parm_offset): New macro.
8078         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8079         (PROF): Use symbolic stack frame offsets.
8080         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8081         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8082         Redefine in terms of FRAME_MIN_SIZE.
8083         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8084         (_dl_profile_resolve): Likewise.  Update comment.
8085         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8086         symbols stack frame offsets.
8087         (__sigsetjmp): Likewise.
8088         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8089         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8090         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8091         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8094         (FRAME_BACKCHAIN): Remove.
8095         (FRAME_CR_SAVE): Likewise.
8096         (FRAME_LR_SAVE): Likewise.
8097         (FRAME_COMPILER_DW): Likewise.
8098         (FRAME_LINKER_DW): Likewise.
8099         (FRAME_TOC_SAVE): Likewise.
8100         (FRAME_PARM_SAVE): Likewise.
8101         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8102         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8103         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8105         (CHECK_SP): Use symbolic stack frame offsets.
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8107         zone" instead of caller's parameter save area for temp storage.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8109         Likewise.  Also, use symbolic stack frame offsets.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8111         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8112         our own stack frame instead of the caller's.
8113         (__socket): Use symbolic stack frame offsets.
8115 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8116             Alan Modra  <amodra@gmail.com>
8118         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8119         Define.
8120         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8121         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8122         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8123         New function.
8124         (elf_machine_fixup_plt): Call it.
8125         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8126         reloc arguments.
8127         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8128         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8129         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8130         r2 before calling target.
8132 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8133             Alan Modra  <amodra@gmail.com>
8135         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8136         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8137         versions of macros to support ELFv2 ABI.
8138         (LOCALENTRY): New macro.
8139         (ENTRY, EALIGN): Use it.
8140         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8141         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8142         fall through into ENTRY entry point.
8143         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8144         Only define if _CALL_ELF != 2.
8146         (elf_machine_matches_host): Verify ABI version matches.
8147         (RTLD_START): Use LOCALENTRY.
8148         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8149         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8150         (PLT_ENTRY_WORDS): New macro.
8151         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8152         (elf_machine_runtime_setup): Support ELFv2 ABI.
8153         (elf_machine_fixup_plt): Likewise.
8154         (elf_machine_plt_conflict): Likewise.
8155         (resolve_ifunc): Likewise.
8156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8157         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8158         Likewise.
8159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8160         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8162         (makecontext): Support ELFv2 ABI.
8163         * elf/elf.h (EF_PPC64_ABI): Define.
8165 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8167         * sysdeps/powerpc/powerpc64/sysdep.h
8168         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8169         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8170         (ENTRY) [ASSEMBLER]: ... but instead here ...
8171         (EALIGN) [ASSEMBLER]: ... and here.
8172         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8173         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8174         (ENTRY_2) [!ASSEMBLER]: Use it.
8175         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8176         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8177         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8178         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8179         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8181         Use PPC64_LOAD_FUNCPTR.
8183         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8185 2013-12-04  Alan Modra  <amodra@gmail.com>
8187         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8188         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8189         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8190         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8193         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8194         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8195         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8196         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8197         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8199 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8202         (__makecontext): Fix incorrect CFI when backtracing out of
8203         context created via makecontext.
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8205         (__setcontext): Fix incorrect CFI during switch to new context.
8206         (__novec_setcontext): Likewise.
8208 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8210         [BZ #4772]
8211         * time/strptime_l.c (__strptime_internal): Allow modifiers
8212         in strptime.
8213         * time/tst-strptime.c (day_tests): Add testcase.
8215 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8217         * scripts/bench.pl: Skip over blank lines.
8219 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8221         [BZ #926]
8222         * manual/time.texi (Calendar Time): Clarify what timezone functions
8223         use.
8225 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8229 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8231         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8232         implementation.
8233         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8234         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8235         * debug/memset_chk.c (__memset_chk): Likewise.
8236         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8237         * debug/strncpy_chk.c: Likewise.
8239 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8241         [BZ #15268]
8242         [BZ #15425]
8243         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8244         (__ieee754_exp): For possibly underflowing results, check size of
8245         result and force underflow exception if required.
8246         * math/auto-libm-test-in: Add more tests of exp.
8247         * math/auto-libm-test-out: Regenerated.
8248         * sysdeps/i386/fpu/libm-test-ulps: Update.
8249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8251         [BZ #16283]
8252         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8253         * math/w_exp2f.c (__exp2f): Likewise.
8254         * math/w_exp2l.c (__exp2l): Likewise.
8255         * math/auto-libm-test-in: Do not allow missing errno on exp2
8256         underflow.
8257         * math/auto-libm-test-out: Regenerated.
8259 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
8261         [BZ #16274]
8262         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8263         handle filename validation.
8264         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8265         (do_open): Delete.
8267 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8269         [BZ #6786]
8270         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8271         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8272         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8273         <float.h>.
8274         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8275         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8276         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8278         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8279         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8280         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8281         * math/auto-libm-test-in: Don't allow missing errno from erfc.
8282         Add more erfc tests.
8283         * math/auto-libm-test-out: Regenerated.
8284         * sysdeps/i386/fpu/libm-test-ulps: Update.
8285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8287         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8288         exp2, expm1, j0 and j1.
8289         * math/auto-libm-test-out: Regenerated.
8290         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8291         (erfc_test_data): Likewise.
8292         (exp_test_data): Likewise.
8293         (exp_tonearest_test_data): Likewise.
8294         (exp_towardzero_test_data): Likewise.
8295         (exp_downward_test_data): Likewise.
8296         (exp_upward_test_data): Likewise.
8297         (exp10_test_data): Likewise.
8298         (exp2_test_data): Likewise.
8299         (expm1_test_data): Likewise.
8300         (j0_test_data): Likewise.
8301         (j1_test_data): Likewise.
8302         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8303         (input_flag_type): Add flag_xfail_rounding.
8304         (input_flags): Add xfail-rounding.
8305         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8306         (output_for_one_input_case): Handle flag_xfail_rounding.
8307         * sysdeps/i386/fpu/libm-test-ulps: Update.
8308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8310 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
8312         [BZ #16289]
8313         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8314         division by 0.
8316 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8318         [BZ #16195]
8319         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8320         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8321         (STAP_PROBE0): New macro.
8322         (STAP_PROBE1): Likewise.
8323         (STAP_PROBE2): Likewise.
8324         (STAP_PROBE3): Likewise.
8325         (STAP_PROBE4): Likewise.
8327 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
8329         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8331 2013-12-02  Steve Ellcey  <sellcey@mips.com>
8333         * benchtests/Makefile (bench): Add sqrt.
8334         (LDLIBS-bench-sqrt): New.
8335         * benchtests/sqrt-input: New.
8337 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
8339         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8340         (GAIH_EAI): Likewise.
8341         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8342         (gaih_inet): Likewise.
8343         (getaddrinfo): Don't use GAIH_EAI.
8345         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8346         (struct gaih): Remove definition.
8348 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8350         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8351         Use HERRNOP directly.
8353 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8357 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
8359         * math/gen-auto-libm-tests.c (test_functions): Add more
8360         single-argument functions.
8361         (special_fill_pi_2): New function.
8362         (special_fill_minus_pi_2): Likewise.
8363         (special_fill_pi_6): Likewise.
8364         (special_fill_minus_pi_6): Likewise.
8365         (special_fill_pi_3): Likewise.
8366         (special_fill_2pi_3): Likewise.
8367         (special_fill_e): Likewise.
8368         (special_fill_1_e): Likewise.
8369         (special_fill_e_minus_1): Likewise.
8370         (special_real_inputs): Add more special inputs.
8371         (output_for_one_input_case): Do not require ERANGE on underflow to
8372         zero if round-to-nearest result does not underflow to zero, unless
8373         exact results required.
8374         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8375         atan, atanh, cbrt, cos and cosh.
8376         * math/auto-libm-test-out: Regenerated.
8377         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8378         (acos_tonearest_test_data): Likewise.
8379         (acos_towardzero_test_data): Likewise.
8380         (acos_downward_test_data): Likewise.
8381         (acos_upward_test_data): Likewise.
8382         (acosh_test_data): Likewise.
8383         (asin_test_data): Likewise.
8384         (asin_tonearest_test_data): Likewise.
8385         (asin_towardzero_test_data): Likewise.
8386         (asin_upward_test_data): Likewise.
8387         (asinh_test_data): Likewise.
8388         (atan_test_data): Likewise.
8389         (atanh_test_data): Likewise.
8390         (cbrt_test_data): Likewise.
8391         (cos_test_data): Likewise.
8392         (cos_tonearest_test_data): Likewise.
8393         (cos_towardzero_test_data): Likewise.
8394         (cos_downward_test_data): Likewise.
8395         (cos_upward_test_data): Likewise.
8396         (cosh_test_data): Likewise.
8397         (cosh_tonearest_test_data): Likewise.
8398         (cosh_towardzero_test_data): Likewise.
8399         (cosh_downward_test_data): Likewise.
8400         (cosh_upward_test_data): Likewise.
8401         * sysdeps/i386/fpu/libm-test-ulps: Update.
8402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8404 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
8406         [BZ #6787]
8407         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8408         * math/w_exp10f.c (__exp10f): Likewise.
8409         * math/w_exp10l.c (__exp10l): Likewise.
8410         * math/libm-test.inc (exp10_test_data): Add more tests and expect
8411         errno settings in existing tests.
8413         [BZ #14032]
8414         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8415         precision control set to double precision.
8416         * sysdeps/i386/fpu/w_sqrt.c: New file.
8417         * math/auto-libm-test-in: Add more tests.
8418         * math/auto-libm-test-out: Update.
8420         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8421         (sqrt_test_tonearest): New function.
8422         (sqrt_towardzero_test_data): New variable.
8423         (sqrt_test_towardzero): New function.
8424         (sqrt_downward_test_data): New variable.
8425         (sqrt_test_downward): New function.
8426         (sqrt_upward_test_data): New variable.
8427         (sqrt_test_upward): New function.
8428         (main): Call the new functions.
8430         * math/gen-auto-libm-tests.c: New file.
8431         * math/auto-libm-test-in: Likewise.
8432         * math/auto-libm-test-out: New generated file.
8433         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8434         variables.
8435         (%beautify): Add generated representations of zero.
8436         (top level): Set $auto_input and call parse_auto_input.
8437         (beautify): Remove trailing "f" from hex float constants.
8438         (parse_args): Handle XFAIL_TEST.
8439         (convert_condition): New function.
8440         (or_value): Likewise.
8441         (or_cond_value): Likewise.
8442         (generate_testfile): Handle AUTO_TESTS_* lines.
8443         (parse_auto_input): New function.
8444         * math/libm-test.inc (XFAIL_TEST): New macro.
8445         (ERRNO_UNCHANGED): Update value.
8446         (ERRNO_EDOM): Likewise.
8447         (ERRNO_ERANGE): Likewise.
8448         (IGNORE_RESULT): Likewise.
8449         (TEST_COND_flt_32): New macro.
8450         (TEST_COND_dbl_64): Likewise.
8451         (TEST_COND_ldbl_96_intel): Likewise.
8452         (TEST_COND_ldbl_96_m68k): Likewise.
8453         (TEST_COND_ldbl_128): Likewise.
8454         (TEST_COND_ldbl_128ibm): Likewise.
8455         (TEST_COND_long32): Likewise.
8456         (TEST_COND_long64): Likewise.
8457         (TEST_COND_before_rounding): Likewise.
8458         (TEST_COND_after_rounding): Likewise.
8459         (enable_test): Handle XFAIL_TEST flag.
8460         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8461         with finite results.
8462         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8463         auto-libm-test-out.
8465 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8466             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8468         [BZ #16214]
8469         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8470         __tls_get_addr_internal instead of __tls_get_offset in order to
8471         avoid GOT pointer dependency.  Make rtld export
8472         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8473         __tls_get_addr since we are a __tls_get_offset platform.
8474         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8475         GOT pointer being set up before.
8476         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8478 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
8480         * manual/math.texi (Errors in Math Functions): Document accuracy
8481         goals.
8483         [BZ #15004]
8484         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8485         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8486         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8487         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8488         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8489         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8490         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8491         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8492         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8493         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8494         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8495         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8496         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8497         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8498         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8499         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8501         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8502         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8503         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8504         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8505         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8506         Likewise.
8507         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8508         Likewise.
8509         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8510         Likewise.
8511         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8512         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8513         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8514         atomic-feupdateenv and flt-rounds.
8515         * sysdeps/powerpc/nofpu/Versions (libc): Add
8516         __atomic_feholdexcept, __atomic_feclearexcept,
8517         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8518         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8519         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8520         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8521         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8522         here.
8523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8524         Update.
8526         * manual/arith.texi (FP Exceptions): Document that exceptions may
8527         not be raised when matherr is used.
8528         (Math Error Reporting): Document overflow in directed rounding
8529         modes.  Document that errno may not be set when finite values are
8530         returned on overflow.  Document intent to set errno on underflow
8531         only for underflow to zero.
8533         [BZ #16271]
8534         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8535         round-to-nearest then adjust result for other rounding modes.
8536         * include/fenv.h (fegetround): Use libm_hidden_proto.
8537         * math/fegetround.c (fegetround): Use libm_hidden_def.
8538         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8539         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8540         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8541         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8542         Likewise.
8543         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8544         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8545         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8546         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8548 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8550         [BZ #16077]
8551         * nss/Versions (libnss_files): Add
8552         _nss_files_gethostbyname3_r.
8553         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8554         New function.
8555         (HOST_DB_LOOKUP): Remove macro.
8556         (_nss_files_gethostbyname_r): Implement function without the
8557         HOST_DB_LOOKUP macro.
8558         (_nss_files_gethostbyname2_r): Likewise.
8560 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
8562         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8564 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
8566         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8567         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8568         warning.
8570 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8572         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8573         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8574         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8575         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8576         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8577         __fe_nomask_env_priv and attribute_hidden.
8578         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8579         (libc_feupdateenv_test_ppc): Likewise.
8580         (libc_feresetround_ppc): Likewise.
8581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8582         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8583         compat_symbol macro.
8584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8585         (__fe_nomask_env): Likewise.
8586         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8590         * string/Makefile: Remove ifunc tests.
8591         * string/test-string.h: Define TEST_IFUNC.
8592         * string/test-bcopy-ifunc.c: Remove.
8593         * string/test-bzero-ifunc.c: Likewise.
8594         * string/test-memccpy-ifunc.c: Likewise.
8595         * string/test-memchr-ifunc.c: Likewise.
8596         * string/test-memcmp-ifunc.c: Likewise.
8597         * string/test-memcpy-ifunc.c: Likewise.
8598         * string/test-memmem-ifunc.c: Likewise.
8599         * string/test-memmove-ifunc.c: Likewise.
8600         * string/test-mempcpy-ifunc.c: Likewise.
8601         * string/test-memrchr-ifunc.c: Likewise.
8602         * string/test-memset-ifunc.c: Likewise.
8603         * string/test-rawmemchr-ifunc.c: Likewise.
8604         * string/test-stpcpy-ifunc.c: Likewise.
8605         * string/test-stpncpy-ifunc.c: Likewise.
8606         * string/test-strcasecmp-ifunc.c: Likewise.
8607         * string/test-strcasestr-ifunc.c: Likewise.
8608         * string/test-strcat-ifunc.c: Likewise.
8609         * string/test-strchr-ifunc.c: Likewise.
8610         * string/test-strchrnul-ifunc.c: Likewise.
8611         * string/test-strcmp-ifunc.c: Likewise.
8612         * string/test-strcpy-ifunc.c: Likewise.
8613         * string/test-strcspn-ifunc.c: Likewise.
8614         * string/test-strlen-ifunc.c: Likewise.
8615         * string/test-strncasecmp-ifunc.c: Likewise.
8616         * string/test-strncat-ifunc.c: Likewise.
8617         * string/test-strncmp-ifunc.c: Likewise.
8618         * string/test-strncpy-ifunc.c: Likewise.
8619         * string/test-strnlen-ifunc.c: Likewise.
8620         * string/test-strpbrk-ifunc.c: Likewise.
8621         * string/test-strrchr-ifunc.c: Likewise.
8622         * string/test-strspn-ifunc.c: Likewise.
8623         * string/test-strstr-ifunc.c: Likewise.
8625 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8627         * benchtests/Makefile: Remove ifunc tests.
8628         * benchtests/bench-string.h: Define TEST_IFUNC.
8629         * benchtests/bench-bcopy-ifunc.c: Remove.
8630         * benchtests/bench-bzero-ifunc.c: Likewise.
8631         * benchtests/bench-memccpy-ifunc.c: Likewise.
8632         * benchtests/bench-memchr-ifunc.c: Likewise.
8633         * benchtests/bench-memcmp-ifunc.c: Likewise.
8634         * benchtests/bench-memcpy-ifunc.c: Likewise.
8635         * benchtests/bench-memmem-ifunc.c: Likewise.
8636         * benchtests/bench-memmove-ifunc.c: Likewise.
8637         * benchtests/bench-mempcpy-ifunc.c: Likewise.
8638         * benchtests/bench-memrchr-ifunc.c: Likewise.
8639         * benchtests/bench-memset-ifunc.c: Likewise.
8640         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8641         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8642         * benchtests/bench-stpcpy-ifunc.c: Likewise.
8643         * benchtests/bench-stpncpy-ifunc.c: Likewise.
8644         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8645         * benchtests/bench-strcasestr-ifunc.c: Likewise.
8646         * benchtests/bench-strcat-ifunc.c: Likewise.
8647         * benchtests/bench-strchr-ifunc.c: Likewise.
8648         * benchtests/bench-strchrnul-ifunc.c: Likewise.
8649         * benchtests/bench-strcmp-ifunc.c: Likewise.
8650         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8651         * benchtests/bench-strcpy-ifunc.c: Likewise.
8652         * benchtests/bench-strcspn-ifunc.c: Likewise.
8653         * benchtests/bench-strlen-ifunc.c: Likewise.
8654         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8655         * benchtests/bench-strncat-ifunc.c: Likewise.
8656         * benchtests/bench-strncmp-ifunc.c: Likewise.
8657         * benchtests/bench-strncpy-ifunc.c: Likewise.
8658         * benchtests/bench-strnlen-ifunc.c: Likewise.
8659         * benchtests/bench-strpbrk-ifunc.c: Likewise.
8660         * benchtests/bench-strrchr-ifunc.c: Likewise.
8661         * benchtests/bench-strsep-ifunc.c: Likewise.
8662         * benchtests/bench-strspn-ifunc.c: Likewise.
8663         * benchtests/bench-strstr-ifunc.c: Likewise.
8665 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8667         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8669 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8671         * resolv/netdb.h: Use __glibc_reserved instead __unused.
8672         * rt/aio.h: Likewise.
8673         * sysdeps/gnu/bits/utmp.h: Likewise.
8674         * sysdeps/gnu/bits/utmpx.h: Likewise.
8675         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8676         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8677         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8678         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8679         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8680         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8681         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8682         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8683         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8684         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8685         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8686         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8687         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8689         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8690         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8691         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8692         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8693         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8694         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8695         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8696         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8697         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8698         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8699         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8701         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8702         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8703         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8704         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8705         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8706         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8707         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8708         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8709         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8710         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8711         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8712         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8713         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8714         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8715         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8716         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8718 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
8720         [BZ #16245]
8721         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8722         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8724 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
8726         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8727         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8728         Likewise.
8730 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8733         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8734         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8735         (__fesetround): Remove define.
8736         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8737         rounding and exceptions handling.
8738         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8739         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8740         (__fe_nomask_env): Likewise.
8741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8742         __fegetround instead of fegetround.
8743         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8744         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8746 2013-11-21  Roland McGrath  <roland@hack.frob.com>
8748         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8749         it's there.
8751         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8753 2013-11-21  Meador Inge  <meadori@codesourcery.com>
8755         [BZ #11157]
8756         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8757         (encrypt_r): Likewise.
8758         * malloc/obstack.h (obstack_free): Likewise.
8759         * posix/unistd.h (encrypt): Likewise.
8761 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
8763         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8764         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8765         DL_CALL_DT_FINI() that call the functions directly.
8766         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8767         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8768         * elf/dl-fini.c: Likewise.
8770 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
8772         * malloc/hooks.c (memalign_check): Add alignment rounding.
8773         * malloc/malloc.c (_mid_memalign): New function.
8774         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8775         Implement by calling _mid_memalign.
8776         * manual/probes.texi (Memory Allocation Probes): Remove
8777         memory_valloc_retry and memory_pvalloc_retry.
8779 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8781         * locale/programs/locarchive.c (open_archive): Add const
8782         qualifier to ARCHIVEFNAME and copy default fname to
8783         DEFAULT_FNAME.
8785         [BZ #15601]
8786         * libio/tst-widetext.input: Rename Oriya to Odia.
8787         * locale/iso-639.def: Likewise.
8789         * manual/probes.texi (Mathematical Function Probes): Add
8790         documentation for sin, cos, asin and acos probes.
8791         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8792         (__sin32): Add slowasin probe.
8793         (__cos32): Add slowacos probe.
8794         (__mpsin): Add slowsin probe.
8795         (__mpcos): Add slowcos probe.
8797 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #15483]
8800         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8801         thread-local __sim_exceptions_thread and global
8802         __sim_exceptions_global.
8803         (__sim_disabled_exceptions): Change to thread-local
8804         __sim_disabled_exceptions_thread and global
8805         __sim_disabled_exceptions_global.
8806         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8807         and global __sim_round_mode_global.
8808         (__simulate_exceptions): Use thread-local floating-point state and
8809         set global state from it as needed.
8810         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8811         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8812         __sim_round_mode_thread.
8813         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8814         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8815         and global __sim_exceptions_global.
8816         (__sim_disabled_exceptions): Change to thread-local
8817         __sim_disabled_exceptions_thread and global
8818         __sim_disabled_exceptions_global.
8819         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8820         and global __sim_round_mode_global.
8821         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8822         (SIM_SET_GLOBAL): Likewise.
8823         * sysdeps/powerpc/soft-fp/sfp-machine.h
8824         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8825         __sim_round_mode_thread.
8826         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8827         __sim_disabled_exceptions_thread.
8828         (__sim_exceptions): Change to __sim_exceptions_thread.
8829         (__sim_disabled_exceptions): Change to
8830         __sim_disabled_exceptions_thread.
8831         (__sim_round_mode): Change to __sim_round_mode_thread.
8832         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8833         thread-local floating-point state and set global state from it as
8834         needed.
8835         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8836         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8837         (__sim_disabled_exceptions): Remove extern declaration.
8838         (feenableexcept): Use thread-local floating-point state and set
8839         global state from it as needed.
8840         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8841         extern declaration.
8842         (__sim_disabled_exceptions): Likewise.
8843         (__sim_round_mode): Likewise.
8844         (__fegetenv): Use thread-local floating-point state.
8845         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8846         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8847         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8848         floating-point state and set global state from it as needed.
8849         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8850         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8851         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8852         Likewise.
8853         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8854         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8855         Likewise.
8856         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8857         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8858         Use __sim_round_mode_thread.
8859         * math/test-fenv-tls.c: New file.
8860         * math/Makefile (tests): Add test-fenv-tls.
8861         ($(objpfx)test-fenv-tls): Depend on
8862         $(common-objpfx)nptl/libpthread.so.
8864 2013-11-19  Andreas Schwab  <schwab@suse.de>
8866         * locale/programs/locale.c (show_info): Decode wordarray elements.
8867         * locale/categories.def (LC_MONETARY): Add element for
8868         _NL_MONETARY_CRNCYSTR.
8869         * locale/C-monetary.c (conversion_rate): New variable.
8870         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8871         element.
8873 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
8875         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8876         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8878 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8880         * elf/Makefile (tst-auxv): New test.
8881         * elf/tst-auxv.c: New
8882         * elf/rtld.c (dl_main): Adjust AT_EXECFN
8884 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
8886         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8887         (hidden_proto): Caller changed.
8888         (hidden_tls_proto): New macro.
8889         (libc_hidden_tls_proto): Likewise.
8890         (rtld_hidden_tls_proto): Likewise.
8891         (libm_hidden_tls_proto): Likewise.
8892         (libresolv_hidden_tls_proto): Likewise.
8893         (librt_hidden_tls_proto): Likewise.
8894         (libdl_hidden_tls_proto): Likewise.
8895         (libnss_files_hidden_tls_proto): Likewise.
8896         (libnsl_hidden_tls_proto): Likewise.
8897         (libnss_nisplus_hidden_tls_proto): Likewise.
8898         (libutil_hidden_tls_proto): Likewise.
8900 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8902         [BZ #10253]
8903         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8904         (decompose_rpath): Defer expansion to fillin_rpath.
8905         (_dl_init_paths): Pass linkmap to fillin_rpath.
8907 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8909         * benchtests/Makefile: Add strsep.
8910         * benchtests/bench-strsep.c: New file: strsep benchtest.
8911         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8913 2013-11-18  Andreas Schwab  <schwab@suse.de>
8915         * locale/programs/locale.c (show_info) [case byte]: Check for
8916         '\377' instead of '\177'.
8917         * locale/C-monetary.c (not_available): Always use "\377".
8918         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8919         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8920         detect unavailable sign_posn locale elements.
8921         * locale/localeconv.c (__localeconv): For grouping and
8922         mon_grouping handle "\177" and "\377" like no grouping.
8923         (INT_ELEM): New macro.  Use it to set all numeric members.
8924         * locale/programs/ld-monetary.c (monetary_read)
8925         <tok_mon_grouping>: Normalize single -1 to the empty string.
8926         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8927         Likewise.
8929 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8931         [BZ #16055]
8932         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8933         when we match (nil).
8934         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8936 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8938         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8939         (NO_TEST_INLINE): Update value.
8940         (ERRNO_UNCHANGED): Likewise.
8941         (ERRNO_EDOM): Likewise.
8942         (ERRNO_ERANGE): Likewise.
8943         (IGNORE_RESULT): Likewise.
8944         (check_float_internal): Check signs of NaN results if
8945         TEST_NAN_SIGN used.
8946         (check_complex): Pass TEST_NAN_SIGN flag through to second
8947         check_float_internal call.
8948         (copysign_test_data): Add tests with quiet NaNs as second
8949         argument.  Use TEST_NAN_SIGN.
8950         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8951         TEST_NAN_SIGN.
8952         (signbit_test_data): Add tests of quiet NaN argument.
8953         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8955         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8956         $ignore_result.
8957         (parse_args): Handle function results specified as IGNORE.
8958         * math/libm-test.inc (IGNORE_RESULT): New macro.
8959         (check_float_internal): Do not check numerical result if flag
8960         IGNORE_RESULT set.
8961         (check_complex): Pass through IGNORE_RESULT to second
8962         check_float_internal call.
8963         (check_int): Do not check numerical result if flag IGNORE_RESULT
8964         set.
8965         (check_long): Likewise.
8966         (check_bool): Likewise.
8967         (check_longlong): Likewise.
8968         (lrint_test_data): Add tests of infinite and NaN arguments.
8969         (lrint_tonearest_test_data): Likewise.
8970         (lrint_towardzero_test_data): Likewise.
8971         (lrint_downward_test_data): Likewise.
8972         (lrint_upward_test_data): Likewise.
8973         (llrint_test_data): Likewise.
8974         (llrint_tonearest_test_data): Likewise.
8975         (llrint_towardzero_test_data): Likewise.
8976         (llrint_downward_test_data): Likewise.
8977         (llrint_upward_test_data): Likewise.
8978         (lround_test_data): Likewise.
8979         (llround_test_data): Likewise.
8981         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8982         (ERRNO_UNCHANGED): Update value.
8983         (ERRNO_EDOM): Likewise.
8984         (ERRNO_ERANGE): Likewise.
8985         (NO_TEST_INLINE_FLOAT): New macro.
8986         (NO_TEST_INLINE_DOUBLE): Likewise.
8987         (enable_test): New function.
8988         (RUN_TEST_f_f): Check enable_test before running test.
8989         (RUN_TEST_2_f): Likewise.
8990         (RUN_TEST_fff_f): Likewise.
8991         (RUN_TEST_c_f): Likewise.
8992         (RUN_TEST_f_f1): Likewise.
8993         (RUN_TEST_fF_f1): Likewise.
8994         (RUN_TEST_fI_f1): Likewise.
8995         (RUN_TEST_ffI_f1): Likewise.
8996         (RUN_TEST_c_c): Likewise.
8997         (RUN_TEST_cc_c): Likewise.
8998         (RUN_TEST_f_i): Likewise.
8999         (RUN_TEST_f_i_tg): Likewise.
9000         (RUN_TEST_ff_i_tg): Likewise.
9001         (RUN_TEST_f_b): Likewise.
9002         (RUN_TEST_f_b_tg): Likewise.
9003         (RUN_TEST_f_l): Likewise.
9004         (RUN_TEST_f_L): Likewise.
9005         (RUN_TEST_fFF_11): Likewise.
9006         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9007         conditionals.
9008         (cosh_test_data): Likewise.
9009         (exp_test_data): Likewise.
9010         (expm1_test_data): Likewise.
9011         (hypot_test_data): Likewise.
9012         (pow_test_data): Likewise.
9013         (sinh_test_data): Likewise.
9014         (tanh_test_data): Likewise.
9015         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9016         flags argument.
9018         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9019         tests with quiet NaN input and output.
9020         (acosh_test_data): Likewise.
9021         (asin_test_data): Likewise.
9022         (asinh_test_data): Likewise.
9023         (atan_test_data): Likewise.
9024         (atanh_test_data): Likewise.
9025         (atan2_test_data): Likewise.
9026         (cbrt_test_data): Likewise.
9027         (cos_test_data): Likewise.
9028         (cosh_test_data): Likewise.
9029         (erf_test_data): Likewise.
9030         (erfc_test_data): Likewise.
9031         (exp_test_data): Likewise.
9032         (exp10_test_data): Likewise.
9033         (exp2_test_data): Likewise.
9034         (expm1_test_data): Likewise.
9035         (hypot_test_data): Likewise.
9036         (j0_test_data): Likewise.
9037         (j1_test_data): Likewise.
9038         (jn_test_data): Likewise.
9039         (lgamma_test_data): Likewise.
9040         (log_test_data): Likewise.
9041         (log10_test_data): Likewise.
9042         (log1p_test_data): Likewise.
9043         (log2_test_data): Likewise.
9044         (pow_test_data): Likewise.
9045         (scalb_test_data): Likewise.
9046         (sin_test_data): Likewise.
9047         (sincos_test_data): Likewise.
9048         (sinh_test_data): Likewise.
9049         (tan_test_data): Likewise.
9050         (tanh_test_data): Likewise.
9051         (tgamma_test_data): Likewise.
9052         (y0_test_data): Likewise.
9053         (y1_test_data): Likewise.
9054         (yn_test_data): Likewise.
9056         [BZ #16167]
9057         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9058         argument being NaN and avoid computations with second argument in
9059         that case.
9060         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9061         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9062         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9064 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9066         * locale/iso-639.def: Add Chitwani Tharu (the).
9068 2013-11-14  Andreas Schwab  <schwab@suse.de>
9070         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9071         word instead of empty string.
9073 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9076         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9078         (__fe_nomask_env): Likewise.
9080 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9082         * benchtests/bench-timing.h: Include time.h.
9084 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9086         [BZ #15997]
9087         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9088         to 3.4.0 for x32.
9089         * sysdeps/unix/sysv/linux/configure: Regenerated.
9091 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9093         [BZ #16151]
9094         * stdlib/strtod_l.c (round_and_return): Do not consider
9095         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9096         exponent one less than half the least subnormal exponent.
9097         * stdlib/test-strtod-round-data: Add more tests.
9098         * stdlib/tst-strtod-round.c (tests): Regenerated.
9100 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9102         [BZ #14143]
9103         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9104         (__fe_mask_env): Likewise.
9105         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9106         libm_hidden_proto and add function prototype.
9107         (__fe_mask_env): Add function prototype.
9108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9109         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9111         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9113         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9115 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9117         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9118         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9120 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9122         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9123         of htab_find_slot().
9125 2013-11-11  David S. Miller  <davem@davemloft.net>
9127         [BZ #16150]
9128         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9129         symbol in the non-vis3 case in static builds.
9130         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9131         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9132         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9133         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9135 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9137         [BZ #387]
9138         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9139         it is empty.
9141 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9143         * benchtests/Makefile: Add bench-strtod.
9144         * benchtests/bench-strtod.c: New file: strtod benchtest
9146 2013-11-11  Andreas Schwab  <schwab@suse.de>
9148         [BZ #16153]
9149         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9150         terminating NUL in key length.
9152 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9154         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9155         Add artificial ODP entry for vDSO symbol for PPC64.
9156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9157         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9159 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9161         [BZ #15374]
9162         * nss/getent.c (services_keys): Recognize services starting with digit.
9164 2013-11-06  David S. Miller  <davem@davemloft.net>
9166         [BZ #15985]
9167         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9168         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9170 2013-11-06  Will Newton  <will.newton@linaro.org>
9172         * manual/memory.texi (Malloc Examples): Remove register
9173         keyword from examples.
9175 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9177         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9179 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9181         [BZ #6981]
9182         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9183         depending on [__GCC_IEC_559 > 0].
9184         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9185         depending on [__GCC_IEC_559_COMPLEX > 0].
9187 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9189         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9190         to iso-639.def.
9192 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9194         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9196 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9198         [BZ #16112]
9199         * malloc/malloc (malloc_info): Do not handle first bin as
9200         special case.
9202 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9204         * locale/iso-639.def: Add Central Nahuatl (nhn).
9206 2013-11-01  Bruno Haible  <bruno@clisp.org>
9208         [BZ #7003]
9209         * manual/math.texi (BSD Random): Specify range upper bound as
9210         in POSIX.
9212 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9214         * locale/iso-639.def: Add Meadow Mari (mhr).
9216 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9218         [BZ #14752], [BZ #15763]
9219         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9220         Validate name.
9221         * rt/tst_shm.c: Add test for escaping directory.
9223 2013-10-31  Andreas Schwab  <schwab@suse.de>
9225         [BZ #15917]
9226         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9227         followed by 'x' as part of digit sequence.
9228         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9230 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9232         [BZ #16037]
9233         * configure.ac: allow GNU Make 4.0 and greater.
9234         * configure: Regenerated.
9236 2013-10-30  Will Newton  <will.newton@linaro.org>
9238         [BZ #16038]
9239         * malloc/hooks.c (memalign_check): Limit alignment to the
9240         maximum representable power of two.
9241         * malloc/malloc.c (__libc_memalign): Likewise.
9242         * malloc/tst-memalign.c (do_test): Add test for very
9243         large alignment values.
9244         * malloc/tst-posix_memalign.c (do_test): Likewise.
9246 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9248         [BZ #11087]
9249         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9250         (munmap_chunk): Likewise.
9251         (mremap_chunk): Likewise.
9253 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9255         [BZ #15799]
9256         * stdlib/div.c (div): Remove obsolete code.
9257         * stdlib/ldiv.c (ldiv): Likewise.
9258         * stdlib/lldiv.c (lldiv): Likewise.
9260 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9262         [BZ #16071]
9263         * nss/nss_files/files-XXX.c (get_contents_ret): New
9264         enumerator.
9265         (get_contents): New function.
9266         (internal_getent): Use it.  Expand size of LINEBUFLEN.
9268 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
9270         * configure.in: Moved to ...
9271         * configure.ac: ... here. Change reference to configure.in
9272         to configure.ac.
9273         * sysdeps/arm/preconfigure.ac: ... here.
9274         configure.in to configure.ac.
9275         * sysdeps/gnu/configure.in: Moved to ...
9276         * sysdeps/gnu/configure.ac: ... here.
9277         * sysdeps/i386/configure.in: Moved to ...
9278         * sysdeps/i386/configure.ac: ... here.
9279         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9280         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9281         * sysdeps/mach/configure.in: Moved to ...
9282         * sysdeps/mach/configure.ac: ... here.
9283         * sysdeps/mach/hurd/configure.in: Moved to ...
9284         * sysdeps/mach/hurd/configure.ac: ... here.
9285         * sysdeps/powerpc/configure.in: Moved to ...
9286         * sysdeps/powerpc/configure.ac: ... here.
9287         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9288         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9289         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9290         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9291         * sysdeps/s390/s390-32/configure.in: Moved to ...
9292         * sysdeps/s390/s390-32/configure.ac: ... here.
9293         * sysdeps/s390/s390-64/configure.in: Moved to ...
9294         * sysdeps/s390/s390-64/configure.ac: ... here.
9295         * sysdeps/sh/configure.in: Moved to ...
9296         * sysdeps/sh/configure.ac: ... here.
9297         * sysdeps/sparc/configure.in: Moved to ...
9298         * sysdeps/sparc/configure.ac: ... here.
9299         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9300         * sysdeps/unix/sysv/linux/configure.ac: ... here.
9301         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9302         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9303         * sysdeps/x86_64/configure.in: Moved to ...
9304         * sysdeps/x86_64/configure.ac: ... here.
9305         * sysdeps/x86_64/preconfigure.in: Moved to ...
9306         * sysdeps/x86_64/preconfigure.ac: ... here.
9307         * aclocal.m4: Change reference to configure.in to configure.ac.
9308         * config.h.in: Likewise.
9309         * manual/install.texi: Likewise.
9310         * manual/maint.texi: Likewise.
9311         * Makefile: Likewise.
9312         * malloc/Makefile: Likewise.
9313         * nscd/Makefile: Likewise.
9314         * Makeconfig: Change reference to configure.in and
9315         preconfigure.in to configure.ac and preconfigure.ac
9316         respectively.
9317         * INSTALL: Regenerated.
9318         * configure: Likewise.
9319         * sysdeps/gnu/configure: Likewise.
9320         * sysdeps/i386/configure: Likewise.
9321         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9322         * sysdeps/mach/configure: Likewise.
9323         * sysdeps/mach/hurd/configure: Likewise.
9324         * sysdeps/powerpc/configure: Likewise.
9325         * sysdeps/powerpc/powerpc32/configure: Likewise.
9326         * sysdeps/powerpc/powerpc64/configure: Likewise.
9327         * sysdeps/s390/s390-32/configure: Likewise.
9328         * sysdeps/s390/s390-64/configure: Likewise.
9329         * sysdeps/sh/configure: Likewise.
9330         * sysdeps/sparc/configure: Likewise.
9331         * sysdeps/unix/sysv/linux/configure: Likewise.
9332         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9333         * sysdeps/x86_64/configure: Likewise.
9334         * sysdeps/x86_64/preconfigure: Likewise.
9336 2013-10-29  Andreas Schwab  <schwab@suse.de>
9338         * stdio-common/Makefile (tst-swscanf-ENV): Define.
9340 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9342         * benchtests/pow-inputs: Add new inputs.
9344         * benchtests/exp-inputs: Add new inputs.
9346         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9347         conditional check for return value.
9348         (__cos32): Likewise.
9350 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9352         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9353         to provide a boost for large inputs with word alignment.
9354         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9355         implementation based on optimized PPC64 strcpy.
9356         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9357         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9358         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9359         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9361 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9363         [BZ #2801]
9364         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9366 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9368         [BZ #14876]
9369         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9370         * time/tst-strptime.c (day_tests): Add testcase.
9372 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9374         [BZ #14029]
9375         * manual/pattern.texi: Acknowledge that fnmatch can fail.
9377 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
9379         [BZ #16074]
9380         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9381         MAP_FAILED on error.
9383 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9385         [BZ #16072]
9386         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9387         heap for large requests.
9389 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
9391         [BZ #9954]
9392         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9393         result if the result has no associated interface.
9394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9395         interface for all 127.X.Y.Z addresses.
9397 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
9399         * locale/iso-639.def: Add Ligurian (lij)
9401 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
9403         [BZ #15825]
9404         * sunrpc/rpc_main.c: Document rpcgen -5.
9406 2013-10-19  Michael Stahl  <mstahl@redhat.com>
9408         * elf/rtld.c (do_preload): Print the reason why preloading failed.
9410 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9412         [BZ #10278]
9413         * posix/glob.c: Match only directories when trailing slash is present.
9414         * posix/tst-gnuglob.c (my_opendir): Do not open files.
9415         (main): Add testcase.
9417 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9419         [BZ #15670]
9420         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9422 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
9424         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9425         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9426         AUTH_DES and cindex for FIPS 140-2.
9427         (DES Encryption): Add cindex FIPS 46-3.
9429         * locale/locarchive.h (struct locarhandle): Add fname.
9430         * locale/programs/localedef.c (main): Pass ARGV[remaining]
9431         if an optional argument was specified to --list-archive,
9432         otherwise NULL.
9433         * locale/programs/locarchive.c (show_archive_content): Take new
9434         argument fname and pass it via ah.fname to open_archive.
9435         * locale/programs/localedef.h: Update decl.
9436         (open_archive): If AH->fname is non-null, open that file
9437         rather than the default file name, and don't ignore ENOENT.
9438         (create_archive): Set AH.fname to NULL.
9439         (delete_locales_from_archive): Likewise.
9440         (add_locales_to_archive): Likewise.
9441         * locale/programs/locfile.c (write_all_categories): Likewise.
9443 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
9444             Aldy Hernandez  <aldyh@redhat.com>
9446         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9447         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9448         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9449         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9450         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9451         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9452         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9453         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9454         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9455         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9456         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9457         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9458         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9459         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9460         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9461         Likewise.
9462         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9463         Likewise.
9464         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9465         Likewise.
9466         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9467         Likewise.
9468         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9469         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9470         Likewise.
9471         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9472         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9473         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9474         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9475         Likewise.
9476         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9477         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9478         * sysdeps/powerpc/preconfigure: Likewise.
9479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9480         Likewise.
9481         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9482         Replace contents of file by #include of <fenv_libc.h>.
9483         * sysdeps/powerpc/soft-fp/sfp-machine.h
9484         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9485         and <sys/prctl.h>.
9486         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9491         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9493         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9494         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9499         Allow copysignl PLT reference to be missing.
9501 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
9502             Joseph Myers  <joseph@codesourcery.com
9504         [BZ #15948]
9505         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9506         single character.
9507         (add_to_tablewc): Assert sequence of wide characters is nonempty.
9509 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9511         * elf/tst-tls-dlinfo.c: Don't include tls.h.
9512         * elf/tst-tls1.c: Likewise.
9513         * elf/tst-tls10.h: Likewise.
9514         * elf/tst-tls14.c: Likewise.
9515         * elf/tst-tls2.c: Likewise.
9516         * elf/tst-tls3.c: Likewise.
9517         * elf/tst-tls4.c: Likewise.
9518         * elf/tst-tls5.c: Likewise.
9519         * elf/tst-tls6.c: Likewise.
9520         * elf/tst-tls7.c: Likewise.
9521         * elf/tst-tls8.c: Likewise.
9522         * elf/tst-tls9.c: Likewise.
9523         * elf/tst-tlsmod1.c: Likewise.
9524         * elf/tst-tlsmod13.c: Likewise.
9525         * elf/tst-tlsmod13a.c: Likewise.
9526         * elf/tst-tlsmod14a.c: Likewise.
9527         * elf/tst-tlsmod16a.c: Likewise.
9528         * elf/tst-tlsmod16b.c: Likewise.
9529         * elf/tst-tlsmod2.c: Likewise.
9530         * elf/tst-tlsmod3.c: Likewise.
9531         * elf/tst-tlsmod4.c: Likewise.
9532         * elf/tst-tlsmod5.c: Likewise.
9533         * elf/tst-tlsmod6.c: Likewise.
9535 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
9537         [BZ #12486]
9538         * malloc/malloc.c: remove checks for statistics.
9540 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9542         [BZ #15277]
9543         * inet/inet_net.c (inet_network): Detect additional invalid strings.
9544         * inet/tst-network.c: Add testcase.
9546 2013-10-17  Andreas Schwab  <schwab@suse.de>
9548         [BZ #15218]
9549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9550         to determine canonical name.
9552 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9554         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9555         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9557         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9559         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9560         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9561         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9562         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9563         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9564         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9566         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9567         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9568         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9569         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9571         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9572         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9573         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9574         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9575         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9576         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9577         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9578         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9579         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9580         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9581         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9582         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9583         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9584         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9586         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9587         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9588         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9589         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9590         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9591         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9592         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9593         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9594         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9595         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9596         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9597         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9598         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9599         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9600         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9601         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9602         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9603         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9604         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9605         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9606         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9607         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9608         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9609         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9611         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9613 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
9615         [BZ #16041]
9616         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9617         make result into a quiet NaN.
9619 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
9621         * soft-fp/adddf3.c: Fix horizontal whitespace.
9622         * soft-fp/addsf3.c: Likewise.
9623         * soft-fp/addtf3.c: Likewise.
9624         * soft-fp/divdf3.c: Likewise.
9625         * soft-fp/divsf3.c: Likewise.
9626         * soft-fp/divtf3.c: Likewise.
9627         * soft-fp/double.h: Likewise.
9628         * soft-fp/eqdf2.c: Likewise.
9629         * soft-fp/eqsf2.c: Likewise.
9630         * soft-fp/eqtf2.c: Likewise.
9631         * soft-fp/extenddftf2.c: Likewise.
9632         * soft-fp/extended.h: Likewise.
9633         * soft-fp/extendsfdf2.c: Likewise.
9634         * soft-fp/extendsftf2.c: Likewise.
9635         * soft-fp/extendxftf2.c: Likewise.
9636         * soft-fp/fixdfdi.c: Likewise.
9637         * soft-fp/fixdfsi.c: Likewise.
9638         * soft-fp/fixdfti.c: Likewise.
9639         * soft-fp/fixsfdi.c: Likewise.
9640         * soft-fp/fixsfsi.c: Likewise.
9641         * soft-fp/fixsfti.c: Likewise.
9642         * soft-fp/fixtfdi.c: Likewise.
9643         * soft-fp/fixtfsi.c: Likewise.
9644         * soft-fp/fixtfti.c: Likewise.
9645         * soft-fp/fixunsdfdi.c: Likewise.
9646         * soft-fp/fixunsdfsi.c: Likewise.
9647         * soft-fp/fixunsdfti.c: Likewise.
9648         * soft-fp/fixunssfdi.c: Likewise.
9649         * soft-fp/fixunssfsi.c: Likewise.
9650         * soft-fp/fixunssfti.c: Likewise.
9651         * soft-fp/fixunstfdi.c: Likewise.
9652         * soft-fp/fixunstfsi.c: Likewise.
9653         * soft-fp/fixunstfti.c: Likewise.
9654         * soft-fp/floatdidf.c: Likewise.
9655         * soft-fp/floatdisf.c: Likewise.
9656         * soft-fp/floatditf.c: Likewise.
9657         * soft-fp/floatsidf.c: Likewise.
9658         * soft-fp/floatsisf.c: Likewise.
9659         * soft-fp/floatsitf.c: Likewise.
9660         * soft-fp/floattidf.c: Likewise.
9661         * soft-fp/floattisf.c: Likewise.
9662         * soft-fp/floattitf.c: Likewise.
9663         * soft-fp/floatundidf.c: Likewise.
9664         * soft-fp/floatundisf.c: Likewise.
9665         * soft-fp/floatunditf.c: Likewise.
9666         * soft-fp/floatunsidf.c: Likewise.
9667         * soft-fp/floatunsisf.c: Likewise.
9668         * soft-fp/floatunsitf.c: Likewise.
9669         * soft-fp/floatuntidf.c: Likewise.
9670         * soft-fp/floatuntisf.c: Likewise.
9671         * soft-fp/floatuntitf.c: Likewise.
9672         * soft-fp/fmadf4.c: Likewise.
9673         * soft-fp/fmasf4.c: Likewise.
9674         * soft-fp/fmatf4.c: Likewise.
9675         * soft-fp/gedf2.c: Likewise.
9676         * soft-fp/gesf2.c: Likewise.
9677         * soft-fp/getf2.c: Likewise.
9678         * soft-fp/ledf2.c: Likewise.
9679         * soft-fp/lesf2.c: Likewise.
9680         * soft-fp/letf2.c: Likewise.
9681         * soft-fp/muldf3.c: Likewise.
9682         * soft-fp/mulsf3.c: Likewise.
9683         * soft-fp/multf3.c: Likewise.
9684         * soft-fp/negdf2.c: Likewise.
9685         * soft-fp/negsf2.c: Likewise.
9686         * soft-fp/negtf2.c: Likewise.
9687         * soft-fp/op-1.h: Likewise.
9688         * soft-fp/op-2.h: Likewise.
9689         * soft-fp/op-4.h: Likewise.
9690         * soft-fp/op-8.h: Likewise.
9691         * soft-fp/op-common.h: Likewise.
9692         * soft-fp/quad.h: Likewise.
9693         * soft-fp/single.h: Likewise.
9694         * soft-fp/soft-fp.h: Likewise.
9695         * soft-fp/sqrtdf2.c: Likewise.
9696         * soft-fp/sqrtsf2.c: Likewise.
9697         * soft-fp/sqrttf2.c: Likewise.
9698         * soft-fp/subdf3.c: Likewise.
9699         * soft-fp/subsf3.c: Likewise.
9700         * soft-fp/subtf3.c: Likewise.
9701         * soft-fp/truncdfsf2.c: Likewise.
9702         * soft-fp/trunctfdf2.c: Likewise.
9703         * soft-fp/trunctfsf2.c: Likewise.
9704         * soft-fp/trunctfxf2.c: Likewise.
9705         * soft-fp/unorddf2.c: Likewise.
9706         * soft-fp/unordsf2.c: Likewise.
9707         * soft-fp/unordtf2.c: Likewise.
9709 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
9711         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9712         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9714 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
9716         * elf/dl-libc.c: Clear initfini list after freeing.
9718 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
9720         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9721         * soft-fp/addsf3.c: Likewise.
9722         * soft-fp/addtf3.c: Likewise.
9723         * soft-fp/divdf3.c: Likewise.
9724         * soft-fp/divsf3.c: Likewise.
9725         * soft-fp/divtf3.c: Likewise.
9726         * soft-fp/double.h: Likewise.
9727         * soft-fp/eqdf2.c: Likewise.
9728         * soft-fp/eqsf2.c: Likewise.
9729         * soft-fp/eqtf2.c: Likewise.
9730         * soft-fp/extenddftf2.c: Likewise.
9731         * soft-fp/extended.h: Likewise.
9732         * soft-fp/extendsfdf2.c: Likewise.
9733         * soft-fp/extendsftf2.c: Likewise.
9734         * soft-fp/extendxftf2.c: Likewise.
9735         * soft-fp/fixdfdi.c: Likewise.
9736         * soft-fp/fixdfsi.c: Likewise.
9737         * soft-fp/fixdfti.c: Likewise.
9738         * soft-fp/fixsfdi.c: Likewise.
9739         * soft-fp/fixsfsi.c: Likewise.
9740         * soft-fp/fixsfti.c: Likewise.
9741         * soft-fp/fixtfdi.c: Likewise.
9742         * soft-fp/fixtfsi.c: Likewise.
9743         * soft-fp/fixtfti.c: Likewise.
9744         * soft-fp/fixunsdfdi.c: Likewise.
9745         * soft-fp/fixunsdfsi.c: Likewise.
9746         * soft-fp/fixunsdfti.c: Likewise.
9747         * soft-fp/fixunssfdi.c: Likewise.
9748         * soft-fp/fixunssfsi.c: Likewise.
9749         * soft-fp/fixunssfti.c: Likewise.
9750         * soft-fp/fixunstfdi.c: Likewise.
9751         * soft-fp/fixunstfsi.c: Likewise.
9752         * soft-fp/fixunstfti.c: Likewise.
9753         * soft-fp/floatdidf.c: Likewise.
9754         * soft-fp/floatdisf.c: Likewise.
9755         * soft-fp/floatditf.c: Likewise.
9756         * soft-fp/floatsidf.c: Likewise.
9757         * soft-fp/floatsisf.c: Likewise.
9758         * soft-fp/floatsitf.c: Likewise.
9759         * soft-fp/floattidf.c: Likewise.
9760         * soft-fp/floattisf.c: Likewise.
9761         * soft-fp/floattitf.c: Likewise.
9762         * soft-fp/floatundidf.c: Likewise.
9763         * soft-fp/floatundisf.c: Likewise.
9764         * soft-fp/floatunsidf.c: Likewise.
9765         * soft-fp/floatunsisf.c: Likewise.
9766         * soft-fp/floatuntidf.c: Likewise.
9767         * soft-fp/floatuntisf.c: Likewise.
9768         * soft-fp/floatuntitf.c: Likewise.
9769         * soft-fp/fmadf4.c: Likewise.
9770         * soft-fp/fmasf4.c: Likewise.
9771         * soft-fp/fmatf4.c: Likewise.
9772         * soft-fp/gedf2.c: Likewise.
9773         * soft-fp/gesf2.c: Likewise.
9774         * soft-fp/getf2.c: Likewise.
9775         * soft-fp/ledf2.c: Likewise.
9776         * soft-fp/lesf2.c: Likewise.
9777         * soft-fp/letf2.c: Likewise.
9778         * soft-fp/muldf3.c: Likewise.
9779         * soft-fp/mulsf3.c: Likewise.
9780         * soft-fp/multf3.c: Likewise.
9781         * soft-fp/negdf2.c: Likewise.
9782         * soft-fp/negsf2.c: Likewise.
9783         * soft-fp/negtf2.c: Likewise.
9784         * soft-fp/op-1.h: Likewise.
9785         * soft-fp/op-2.h: Likewise.
9786         * soft-fp/op-4.h: Likewise.
9787         * soft-fp/op-8.h: Likewise.
9788         * soft-fp/op-common.h: Likewise.
9789         * soft-fp/quad.h: Likewise.
9790         * soft-fp/single.h: Likewise.
9791         * soft-fp/soft-fp.h: Likewise.
9792         * soft-fp/sqrtdf2.c: Likewise.
9793         * soft-fp/sqrtsf2.c: Likewise.
9794         * soft-fp/sqrttf2.c: Likewise.
9795         * soft-fp/subdf3.c: Likewise.
9796         * soft-fp/subsf3.c: Likewise.
9797         * soft-fp/subtf3.c: Likewise.
9798         * soft-fp/truncdfsf2.c: Likewise.
9799         * soft-fp/trunctfdf2.c: Likewise.
9800         * soft-fp/trunctfsf2.c: Likewise.
9801         * soft-fp/trunctfxf2.c: Likewise.
9802         * soft-fp/unorddf2.c: Likewise.
9803         * soft-fp/unordsf2.c: Likewise.
9804         * soft-fp/unordtf2.c: Likewise.
9806 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
9808         [BZ #15672]
9809         * misc/error.c (error_tail): Fix possible buffer overflow.
9811 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
9813         [BZ #13028]
9814         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9815         address.
9817 2013-10-14  P. J. McDermott  <pj@pehjota.net>
9819         [BZ #832]
9820         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
9821         testing pipefail option.
9823 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9825         * soft-fp/double.h: Indent preprocessor directives inside #if.
9826         * soft-fp/extended.h: Likewise.
9827         * soft-fp/op-2.h: Likewise.
9828         * soft-fp/op-4.h: Likewise.
9829         * soft-fp/op-common.h: Likewise.
9830         * soft-fp/quad.h: Likewise.
9831         * soft-fp/single.h: Likewise.
9832         * soft-fp/soft-fp.h: Likewise.
9834 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
9836         * iconv/iconv_prog.c: Fix typos.
9837         * stdio-common/psiginfo-data.h: Likewise.
9839 2013-10-12   Reuben Thomas <rrt@sc3d.org>
9841         [BZ #15764]
9842         * locale/setlocale.c: Fix typo.
9844 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9846         [BZ #16036]
9847         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9848         signaling NaN arguments.
9849         * soft-fp/unordsf2.c (__unordsf2): Likewise.
9850         * soft-fp/unordtf2.c (__unordtf2): Likewise.
9852         [BZ #14910]
9853         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9854         unordered operands.
9855         * soft-fp/gesf2.c (__gesf2): Likewise.
9856         * soft-fp/getf2.c (__getf2): Likewise.
9857         * soft-fp/ledf2.c (__ledf2): Likewise.
9858         * soft-fp/lesf2.c (__lesf2): Likewise.
9859         * soft-fp/letf2.c (__letf2): Likewise.
9861         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9862         * soft-fp/eqsf2.c (__eqsf2): Likewise.
9863         * soft-fp/eqtf2.c (__eqtf2): Likewise.
9864         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9865         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9866         * soft-fp/fixdfti.c (__fixdfti): Likewise.
9867         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9868         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9869         * soft-fp/fixsfti.c (__fixsfti): Likewise.
9870         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9871         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9872         * soft-fp/fixtfti.c (__fixtfti): Likewise.
9873         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9874         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9875         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9876         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9877         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9878         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9879         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9880         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9881         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9882         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9883         * soft-fp/floatdisf.c (__floatdisf): Likewise.
9884         * soft-fp/floatsisf.c (__floatsisf): Likewise.
9885         * soft-fp/floattidf.c (__floattidf): Likewise.
9886         * soft-fp/floattisf.c (__floattisf): Likewise.
9887         * soft-fp/floattitf.c (__floattitf): Likewise.
9888         * soft-fp/floatundidf.c (__floatundidf): Likewise.
9889         * soft-fp/floatundisf.c (__floatundisf): Likewise.
9890         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9891         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9892         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9893         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9894         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9895         * soft-fp/gesf2.c (__gesf2): Likewise.
9896         * soft-fp/getf2.c (__getf2): Likewise.
9897         * soft-fp/ledf2.c (__ledf2): Likewise.
9898         * soft-fp/lesf2.c (__lesf2): Likewise.
9899         * soft-fp/letf2.c (__letf2): Likewise.
9901         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9902         Undefine and redefine.
9903         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9904         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9905         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9906         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9907         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9908         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9909         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9910         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9911         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9912         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9913         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9914         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9915         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9916         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9917         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9919         [BZ #16032]
9920         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9921         without decrementing exponent if mantissa >= that for the
9922         denominator, not >.
9923         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9924         denominator, not >.  Decrement exponent in < case instead of
9925         incrementing in >= case.
9926         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9927         without decrementing exponent if mantissa >= that for the
9928         denominator, not >.
9930         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9931         computing saturated result for unsigned overflow.
9933 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9934             Jeff Law  <law@redhat.com>
9936         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9937         (atan2Mp): Add systemtap probe marker.
9938         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9939         (__ieee754_log): Add systemtap probe marker.
9940         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9941         (atanMp): Add systemtap probe marker.
9942         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9943         (tanMp): Add systemtap probe marker.
9944         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9945         (__slowexp): Add systemtap probe marker.
9946         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9947         (__slowpow): Add systemtap probe marker.
9948         * manual/probes.texi: Document probes.
9950 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9952         [BZ #15362]
9953         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9954         written.
9955         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9956         written.
9957         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9958         written to buffer but not flushed.
9959         * libio/iofwrite_u.c:  Likewise.
9960         * libio/iopadn.c:  Return bytes returned even if EOF was
9961         encountered.
9962         * libio/iowpadn.c:  Likewise.
9963         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9964         if _IO_padn does not write the whole buffer.
9965         [!COMPILE_WPRINTF] (PAD): Likewise.
9967 2013-10-10  David S. Miller  <davem@davemloft.net>
9969         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9970         directory block.
9972 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9974         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9975         instead of FSF address.
9976         * soft-fp/fixdfti.c: Likewise.
9977         * soft-fp/fixsfti.c: Likewise.
9978         * soft-fp/fixtfti.c: Likewise.
9979         * soft-fp/fixunsdfti.c: Likewise.
9980         * soft-fp/fixunssfti.c: Likewise.
9981         * soft-fp/fixunstfti.c: Likewise.
9982         * soft-fp/floattidf.c: Likewise.
9983         * soft-fp/floattisf.c: Likewise.
9984         * soft-fp/floattitf.c: Likewise.
9985         * soft-fp/floatuntidf.c: Likewise.
9986         * soft-fp/floatuntisf.c: Likewise.
9987         * soft-fp/floatuntitf.c: Likewise.
9988         * soft-fp/trunctfxf2.c: Likewise.
9990         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9991         * soft-fp/fixdfti.c: Likewise.
9992         * soft-fp/fixsfti.c: Likewise.
9993         * soft-fp/fixtfti.c: Likewise.
9994         * soft-fp/fixunsdfti.c: Likewise.
9995         * soft-fp/fixunssfti.c: Likewise.
9996         * soft-fp/fixunstfti.c: Likewise.
9997         * soft-fp/floattidf.c: Likewise.
9998         * soft-fp/floattisf.c: Likewise.
9999         * soft-fp/floattitf.c: Likewise.
10000         * soft-fp/floatuntidf.c: Likewise.
10001         * soft-fp/floatuntisf.c: Likewise.
10002         * soft-fp/floatuntitf.c: Likewise.
10003         * soft-fp/trunctfxf2.c: Likewise.
10005 2013-10-10  David S. Miller  <davem@davemloft.net>
10007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10009 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10011         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10012         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10013         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10014         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10015         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10016         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10017         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10020         for NaNs before doing comparisons on argument.
10021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10022         Likewise.
10024 2013-10-10  Will Newton  <will.newton@linaro.org>
10026         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10027         passed to _int_memalign does not overflow.
10029 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10031         * scripts/bench.pl: Add include-sources directive.
10032         * benchtests/README: Update documentation.
10034 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10036         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10037         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10038         instead of FP_INIT_ROUNDMODE.
10039         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10040         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10042         [BZ #16034]
10043         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10044         copy class of input value.
10045         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10046         not handle exceptions.
10047         * soft-fp/negsf2.c (__negsf2): Likewise.
10048         * soft-fp/negtf2.c (__negtf2): Likewise.
10049         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10051 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10053         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10054         semicolon.  From Linux kernel.
10056 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10058         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10060 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10062         [BZ #156]
10063         * manual/socket.texi: Added statement about buffer
10064         for gethostbyname2_r.
10066 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10068         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10069         Use .p2align directive instead, throughout.
10070         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10071         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10072         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10075         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10076         * sysdeps/x86_64/strchr.S: Likewise.
10077         * sysdeps/x86_64/strrchr.S: Likewise.
10079 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10081         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10083         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10085         * sysdeps/generic/math_private.h (__mpsin1): Remove
10086         declaration.
10087         (__mpcos1): Likewise.
10088         (__mpsin): New argument __range_reduce.
10089         (__mpcos): Likewise.
10090         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10091         (slow): Use __mpsin and __mpcos.
10092         (slow1): Likewise.
10093         (slow2): Likewise.
10094         (sloww): Likewise.
10095         (sloww1): Likewise.
10096         (sloww2): Likewise.
10097         (bsloww): Likewise.
10098         (bsloww1): Likewise.
10099         (bsloww2): Likewise.
10100         (cslow2): Likewise.
10101         (csloww): Likewise.
10102         (csloww1): Likewise.
10103         (csloww2): Likewise.
10104         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10105         range_reduce.  Merge in __mpsin1.
10106         (__mpcos): Likewise.
10107         (__mpsin1): Remove.
10108         (__mpcos1): Likewise.
10110 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10112         * locale/loadlocale.c (_nl_intern_locale_data): Use
10113         LOCFILE_ALIGNED_P.
10114         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10115         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10116         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10117         obstack data is appropriately aligned.
10118         (obstack_int32_grow_fast): Likewise.
10119         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10120         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10121         (add_locale_uint32_array): Likewise.
10123 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10125         * benchtests/Makefile: Remove ARGLIST and RET variables.
10126         ($(objpfx)bench-%.c): Pass only function name to the script.
10127         * benchtests/README: Update documentation.
10128         * benchtests/acos-inputs: Add new directives.
10129         * benchtests/acosh-inputs: Likewise.
10130         * benchtests/asin-inputs: Likewise.
10131         * benchtests/asinh-inputs: Likewise.
10132         * benchtests/atan-inputs: Likewise.
10133         * benchtests/atanh-inputs: Likewise.
10134         * benchtests/cos-inputs: Likewise.
10135         * benchtests/cosh-inputs: Likewise.
10136         * benchtests/exp-inputs: Likewise.
10137         * benchtests/log-inputs: Likewise.
10138         * benchtests/pow-inputs: Likewise.
10139         * benchtests/rint-inputs: Likewise.
10140         * benchtests/sin-inputs: Likewise.
10141         * benchtests/sinh-inputs: Likewise.
10142         * benchtests/tan-inputs: Likewise.
10143         * benchtests/tanh-inputs: Likewise.
10144         * scripts/bench.pl: Add support for new directives.
10146 2013-10-07  Alan Modra  <amodra@gmail.com>
10148         * README: Fix careless merge.
10150 2013-10-05  Alan Modra  <amodra@gmail.com>
10152         * NEWS: Mention powerpc64le support and bugs fixed.
10153         * README: Both big-endian and little-endian powerpc64 supported.
10155 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10157         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10158         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10159         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10160         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10162 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10164         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10165         match prototype.
10167 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10169         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10170         Move -mhard-float appending from
10171         ports/sysdeps/powerpc/powerpc32/Makefile.
10172         [$(with-fp) = yes] (ASFLAGS): Likewise.
10173         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10174         * sysdeps/powerpc/nofpu: Move directory from
10175         ports/sysdeps/powerpc/nofpu.
10176         * sysdeps/powerpc/soft-fp: Move directory from
10177         ports/sysdeps/powerpc/soft-fp.
10178         * sysdeps/powerpc/powerpc32/405: Move directory from
10179         ports/sysdeps/powerpc/powerpc32/405.
10180         * sysdeps/powerpc/powerpc32/440: Move directory from
10181         ports/sysdeps/powerpc/powerpc32/440.
10182         * sysdeps/powerpc/powerpc32/464: Move directory from
10183         ports/sysdeps/powerpc/powerpc32/464.
10184         * sysdeps/powerpc/powerpc32/476: Move directory from
10185         ports/sysdeps/powerpc/powerpc32/476.
10186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10187         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10189         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10191         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10193         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10195         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10196         * README: Update for powerpc-*-linux-gnu software floating point
10197         support in libc.
10199         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10200         case to powerpc/powerpc32*.
10201         * sysdeps/unix/sysv/linux/configure: Regenerated.
10203         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10204         (_FPU_MASK_OM): Define as 0x04.
10205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10207         0x00c10080.
10208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10209         0x0000003c.
10210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10213         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10214         getcontext_e500.
10215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10216         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10217         setcontext_e500.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10219         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10220         and setcontext_e500.
10222 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10224         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10226 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10228         * manual/threads.texi (Default Thread Attributes): Fix typo.
10230 2013-10-04  Will Newton  <will.newton@linaro.org>
10232         * malloc/Makefile: Add tst-memalign.
10233         * malloc/tst-memalign.c: New file.
10235         * malloc/tst-posix_memalign.c: Add comments.
10236         (do_test): Add comments and call free on all potentially
10237         allocated pointers. Add space after cast.
10239         * malloc/tst-pvalloc.c: Add comments.
10240         (do_test): Add comments and call free on all potentially
10241         allocated pointers. Remove duplicate check for NULL pointer.
10242         Add space after cast.
10244         * malloc/tst-valloc.c: Add comments.
10245         (do_test): Add comments and call free on all potentially
10246         allocated pointers. Remove duplicate check for NULL pointer.
10247         Add space after cast.
10249 2013-10-04  Alan Modra  <amodra@gmail.com>
10251         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10252         Use stdint types in rather than __attribute__((mode())).
10253         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10255 2013-10-04  Alan Modra  <amodra@gmail.com>
10257         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10258         Correct handling of unaligned relocs for little-endian.
10259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10261 2013-10-04  Alan Modra  <amodra@gmail.com>
10263         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10264         * configure: Regenerate.
10265         * nptl/shlib-versions: Powerpc*le starts at 2.18.
10266         * shlib-versions: Likewise.
10268 2013-10-04  Alan Modra  <amodra@gmail.com>
10270         * string/tester.c (test_memrchr): Increment reported test cycle.
10272 2013-10-04  Alan Modra  <amodra@gmail.com>
10274         * string/test-memcpy.c (do_one_test): When reporting errors, print
10275         string address and don't overrun end of string.
10277 2013-10-04  Alan Modra  <amodra@gmail.com>
10279         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10280         insrdi.  Make better use of reg selection to speed exit slightly.
10281         Schedule entry path a little better.  Remove useless "are we done"
10282         checks on entry to main loop.  Handle wrapping around zero address.
10283         Correct main loop count.  Handle single left-over word from main
10284         loop inline rather than by using loop_small.  Remove extra word
10285         case in loop_small caused by wrong loop count.  Add little-endian
10286         support.
10287         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10288         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
10289         cache hint.
10290         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10291         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10292         support.  Avoid rlwimi.
10293         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10295 2013-10-04  Alan Modra  <amodra@gmail.com>
10297         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10298         insrdi.  Formatting.
10299         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10300         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10301         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10302         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10303         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10304         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10306 2013-10-04  Alan Modra  <amodra@gmail.com>
10308         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10309         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10310         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10311         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10312         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10313         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10314         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10315         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10316         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
10317         use of regs.  Use power7 mtocrf.  Tidy function tails.
10319 2013-10-04  Alan Modra  <amodra@gmail.com>
10321         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10322         Formatting.  Consistently use rXXX register defines or rN defines.
10323         Use early exit labels that avoid restoring unused non-volatile regs.
10324         Make cr field use more consistent with rWORDn compares.  Rename
10325         regs used as shift registers for unaligned loop, using rN defines
10326         for short lifetime/multiple use regs.
10327         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10328         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
10329         addi 1,1,64 to pop stack frame.  Simplify return value code.
10330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10332 2013-10-04  Alan Modra  <amodra@gmail.com>
10334         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10335         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
10336         rather than rlwimi.
10337         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10338         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10339         little-endian support.  Correct typos.
10340         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
10341         rather than rlwimi.
10342         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
10343         in loop and entry code to keep "and." results.
10344         (strchr): Add little-endian support.  Comment.  Move cntlzd
10345         earlier in tail.
10346         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10348 2013-10-04  Alan Modra  <amodra@gmail.com>
10350         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10351         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10352         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10353         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10355 2013-10-04  Alan Modra  <amodra@gmail.com>
10357         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10358         (rTMP): Define as r11.
10359         (strcmp): Add little-endian support.  Optimise tail.
10360         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10361         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10362         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10363         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10364         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10368 2013-10-04  Alan Modra  <amodra@gmail.com>
10370         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10371         little-endian support.  Remove unnecessary "are we done" tests.
10372         Handle "s" wrapping around zero and extremely large "size".
10373         Correct main loop count.  Handle single left-over word from main
10374         loop inline rather than by using small_loop.  Correct comments.
10375         Delete "zero" tail, use "end_max" instead.
10376         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10378 2013-10-04  Alan Modra  <amodra@gmail.com>
10380         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10381         support.  Don't branch over align.
10382         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10383         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10384         support.  Rearrange tmp reg use to suit.  Comment.
10385         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10387 2013-10-04  Alan Modra  <amodra@gmail.com>
10389         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10391 2013-10-04  Alan Modra  <amodra@gmail.com>
10393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10394         conditional form of branch and link when obtaining pc.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10397 2013-10-04  Alan Modra  <amodra@gmail.com>
10399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10400         HIWORD/LOWORD.
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10404 2013-10-04  Alan Modra  <amodra@gmail.com>
10406         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10407         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10408         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10409         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10410         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10411         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10412         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10413         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10414         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10415         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10417 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10418             Alistair Popple <alistair@ozlabs.au.ibm.com>
10419             Alan Modra <amodra@gmail.com>
10421         [BZ #15723]
10422         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10423         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10424         _dl_hwcap access for little-endian.
10425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
10426         destroy vmx regs when saving unaligned.
10427         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10428         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
10429         destroy vmx regs when saving unaligned.
10431 2013-10-04  Alan Modra  <amodra@gmail.com>
10433         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10434         Don't use a union to pack hi/low value.
10436 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10438         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10439         for little-endian.
10440         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10441         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10442         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10443         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10444         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10446 2013-10-04  Alan Modra  <amodra@gmail.com>
10448         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10449         constants to usual value for .cst8 section, and remove redundant
10450         high address load.
10451         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10452         constant for 0x1p52.  Load little-endian words of double from
10453         correct stack offsets.
10455 2013-10-04  Alan Modra  <amodra@gmail.com>
10457         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10458         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10459         words of double from correct stack offsets.
10460         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10461         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10462         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10465         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10466         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10467         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10468         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10470         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10472         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10473         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10474         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10475         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10476         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10478 2013-10-04  Alan Modra  <amodra@gmail.com>
10480         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10481         64-bit int/double union.
10482         (_FPU_SETCW): Likewise.
10483         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10484         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10486 2013-10-04  Alan Modra  <amodra@gmail.com>
10488         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10489         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10491 2013-10-04  Alan Modra  <amodra@gmail.com>
10493         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10494         use vector int constants.
10495         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10497 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10499         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10500         array with long long.
10501         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10502         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10503         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10504         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10506         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10507         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10508         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10509         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10510         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10511         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10512         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10513         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10515 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10517         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10518         (__signbit): Likewise.  Correct for little-endian.
10519         (__signbitl): Call __signbit.
10520         (lrint): Correct for little-endian.
10521         (lrintf): Call lrint.
10523 2013-10-04  Alan Modra  <amodra@gmail.com>
10525         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10526         union 32-bit int array member with 64-bit int array.
10527         (t515, tm256): Double rather than long double.
10528         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10530 2013-10-04  Alan Modra  <amodra@gmail.com>
10532         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10533         Delete.
10534         (IEEE854_LONG_DOUBLE_BIAS): Delete.
10535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10536         version of math_ldbl.h.
10538 2013-10-04  Alan Modra  <amodra@gmail.com>
10540         [BZ #15734], [BZ #15735]
10541         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10542         all uses of ieee875 long double macros and unions.  Simplify test
10543         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
10544         ldbl_extract_mantissa value for ix,iy exponents.  Properly
10545         normalize after ldbl_extract_mantissa, and don't add hidden bit
10546         already handled.  Don't treat low word of ieee854 mantissa like
10547         low word of IBM long double and mask off bit when testing for
10548         zero.
10549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10550         all uses of ieee875 long double macros and unions.  Simplify tests
10551         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
10552         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
10553         two1022, instead use their values.  Recognise that tests for large
10554         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
10555         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10556         Rewrite all uses of ieee875 long double macros and unions.  Simplify
10557         test for 0.0L and nan.  Correct negation.
10558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10559         ieee875 long double macros and unions.  Correct output for large
10560         magnitude x.  Correct absolute value calculation.
10561         (__erfcl): Likewise.
10562         * math/libm-test.inc: Add tests for errors discovered in IBM long
10563         double versions of fmodl, remainderl, erfl and erfcl.
10565 2013-10-04  Alan Modra  <amodra@gmail.com>
10567         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10568         all uses of ieee854 long double macros and unions.  Simplify tests
10569         for long doubles that are fully specified by the high double.
10570         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10571         Likewise.
10572         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10573         Remove dead code too.
10574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10575         (__ieee754_ynl): Likewise.
10576         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10577         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10579         Remove dead code too.
10580         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10581         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10582         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10583         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10584         Simplify.
10585         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10586         Simplify.
10587         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10588         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10589         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10590         Comment on variable precision.
10591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10592         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10593         Likewise.
10594         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10595         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10596         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10597         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10598         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10600 2013-10-04  Alan Modra  <amodra@gmail.com>
10602         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10603         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10604         all uses of ieee854 long double macros and unions.
10605         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10606         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10607         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10608         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10609         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10610         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10611         Likewise.
10612         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10613         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10614         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10615         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10616         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10617         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10618         Simplify sign and nan test too.
10619         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10620         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10621         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10622         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10623         Likewise.
10624         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10625         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10626         Likewise.
10627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10628         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10629         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10630         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10631         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10634 2013-10-04  Alan Modra  <amodra@gmail.com>
10636         * stdio-common/printf_size.c (__printf_size): Don't use
10637         union ieee854_long_double in fpnum union.
10638         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
10639         signbit macro to retrieve sign from long double.
10640         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10641         retrieve sign from long double.
10642         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10643         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10644         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10645         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10646         * math/test-misc.c (main): Don't use union ieee854_long_double.
10648 2013-10-04  Alan Modra  <amodra@gmail.com>
10650         [BZ #15680]
10651         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10652         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10653         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10654         calculation.  Remove unnecessary test for denormal exponent.
10655         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10656         Correct handling of denormals.  Avoid undefined shift behaviour.
10657         Correct normalisation of low mantissa when low double is denormal.
10658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10659         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
10660         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10661         Correct normalisation of low mantissa.  Test for overflow of high
10662         mantissa and normalise.
10663         (ldbl_nearbyint): Use more readable constant for two52.
10664         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10665         (__mpn_construct_long_double): Fix test for overflow of high
10666         mantissa and correct normalisation.  Avoid undefined shift.
10668 2013-10-04  Alan Modra  <amodra@gmail.com>
10670         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10671         (union ibm_extended_long_double): Define as an array of ieee754_double.
10672         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10673         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10674         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10675         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10676         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10677         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10679         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10680         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10681         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10682         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10684 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
10686         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10687         page size instead of calling getpagesize.
10689         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10690         (LOCFILE_ALIGN_MASK): Likewise.
10691         (LOCFILE_ALIGN_UP): Likewise.
10692         (LOCFILE_ALIGNED_P): Likewise.
10693         * locale/programs/ld-collate.c (collate_output): Use the new
10694         macros instead of __alignof__ (int32_t).
10695         * locale/weight.h (findidx): Likewise.
10697 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
10699         [BZ #431]
10700         * manual/string.texi: Fix strncat and wcsncat.
10702 2013-10-03  Brooks Moses  <bmoses@google.com>
10704         [BZ #15915]
10705         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10706         * Makerules: ...here, and adjust associated comments.
10708 2013-10-02  Will Newton  <will.newton@linaro.org>
10710         * malloc/Makefile: Add tst-pvalloc.
10711         * malloc/tst-pvalloc.c: New file.
10713 2013-10-02  Will Newton  <will.newton@linaro.org>
10715         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10716         improve test coverage.
10718 2013-10-02  Will Newton  <will.newton@linaro.org>
10720         * malloc/Makefile: Add tst-posix_memalign.
10721         * malloc/tst-posix_memalign.c: New file.
10723 2013-10-01  Eric Blake  <eblake@redhat.com>
10725         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10726         Use __THROWNL rather than __THROW on static functions.
10728 2013-09-30  Petr Machata  <pmachata@redhat.com>
10730         * elf/elf.h (R_AARCH64_ABS16): New macro.
10731         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10732         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10733         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10734         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10735         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10736         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10737         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10738         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10739         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10740         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10741         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10742         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10743         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10744         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10745         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10746         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10747         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10748         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10749         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10750         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10751         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10752         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10753         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10754         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10755         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10756         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10757         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10758         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10759         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10760         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10761         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10762         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10763         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10764         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10765         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10766         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10767         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10768         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10769         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10770         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10771         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10772         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10773         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10774         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10775         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10776         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10777         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10778         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10779         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10780         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10781         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10782         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10783         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10784         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10785         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10786         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10787         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10788         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10789         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10790         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10791         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10792         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10793         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10794         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10795         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10796         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10797         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10798         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10799         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10800         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10801         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10802         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10803         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10804         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10805         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10806         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10807         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10808         (R_AARCH64_TLSDESC_LDR): Likewise.
10809         (R_AARCH64_TLSDESC_ADD): Likewise.
10810         (R_AARCH64_TLSDESC_CALL): Likewise.
10812 2013-09-30  Andreas Schwab  <schwab@suse.de>
10814         [BZ #15048]
10815         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10816         the nss database lookup.
10817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10820 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
10822         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10824 2013-09-28  P. J. McDermott  <pj@pehjota.net>
10826         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10827         ${Bash-specific parameter/pattern/string} parameter expansion.
10828         * sysdeps/unix/make-syscalls.sh: Likewise.
10830 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10832         * sysdeps/sh/stackguard-macros.h: New file.
10834 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
10836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10838         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10839         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10840         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10841         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10843 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10845         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10846         Fix thread ID register.
10848 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
10850         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10851         [POSIX || UNIX98]: Require rather than permitting all symbols from
10852         <time.h>.
10853         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10854         element of struct sched_param.
10855         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10856         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10857         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10858         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10859         constant.
10861 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
10863         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10864         argument calculation.
10866 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10868         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10869         Expect macro.
10870         [POSIX] (pthread_attr_t): Do not require type.
10871         [POSIX] (pthread_cond_t): Likewise.
10872         [POSIX] (pthread_condattr_t): Likewise.
10873         [POSIX] (pthread_key_t): Likewise.
10874         [POSIX] (pthread_mutex_t): Likewise.
10875         [POSIX] (pthread_mutexattr_t): Likewise.
10876         [POSIX] (pthread_once_t): Likewise.
10877         [POSIX] (pthread_t): Likewise.
10878         [POSIX-based standards] (pthread_atfork): Expect function.
10880 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10881             Richard Sandiford  <richard@codesourcery.com>
10883         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10884         (swap_endianness_p): New extern variable.
10885         (set_big_endian): New inline function.
10886         (maybe_swap_uint32): Likewise.
10887         (maybe_swap_uint32_array): Likewise.
10888         (maybe_swap_uint32_obstack): Likewise.
10889         * locale/programs/locfile.c: Include <stdbool.h>.
10890         (swap_endianness_p): New variable.
10891         (add_locale_uint32): Call maybe_swap_uint32.
10892         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10893         (write_locale_data): Call maybe_swap_uint32_array.
10894         * locale/programs/ld-collate.c (obstack_int32_grow): Call
10895         maybe_swap_uint32.
10896         (obstack_int32_grow_fast): Likewise.
10897         (output_weightwc): Call maybe_swap_uint32_obstack.
10898         (collate_output): Likewise.
10899         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10900         (OPT_LITTLE_ENDIAN): Likewise.
10901         (options): Add --little-endian and --big-endian options.
10902         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10903         * locale/programs/locarchive.c: Include "locfile.h".
10904         (GET): New macro.
10905         (SET): Likewise.
10906         (INC): Likewise.
10907         (create_archive): Use the new macros to access fields of
10908         structures directly mapped from or written to locale archives.
10909         (oldlocrecentcmp): Likewise.
10910         (enlarge_archive): Likewise.
10911         (insert_name): Likewise.
10912         (add_alias): Likewise.
10913         (add_locale): Likewise.
10914         (delete_locales_from_archive): Likewise.
10915         (show_archive_content): Likewise.
10916         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10917         locale data.
10919 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10921         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10922         http://www.gnu.org/doc/freemanuals.texi.
10923         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10925 2013-09-24  Will Newton  <will.newton@linaro.org>
10927         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10928         macro.
10930 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10932         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10933         unsigned char.
10935 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10937         * manual/threads.texi (POSIX Threads): Fix a typo.
10939 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10941         [BZ #14547]
10942         * string/tst-strcoll-overflow.c: New test case.
10943         * string/Makefile (xtests): Add tst-strcoll-overflow.
10944         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10945         cache if string sizes may cause integer overflow.
10947         [BZ #14547]
10948         * string/strcoll_l.c (coll_seq): New members rule, idx,
10949         save_idx and back_us.
10950         (get_next_seq_nocache): New function.
10951         (do_compare_nocache): New function.
10952         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10953         when malloc fails.
10955 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10957         [BZ #15754]
10958         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10959         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10960         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10962         [BZ #15754]
10963         * elf/Makefile (tests): Add tst-ptrguard1.
10964         (tests-static): Add tst-ptrguard1-static.
10965         (tst-ptrguard1-ARGS): Define.
10966         (tst-ptrguard1-static-ARGS): Define.
10967         * elf/tst-ptrguard1.c: New file.
10968         * elf/tst-ptrguard1-static.c: New file.
10969         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10970         * sysdeps/i386/stackguard-macros.h: Likewise.
10971         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10972         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10973         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10974         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10975         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10976         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10978 2013-09-23  Hector Marco  <hecmargi@upv.es>
10979             Ismael Ripoll  <iripoll@disca.upv.es>
10980             Carlos O'Donell  <carlos@redhat.com>
10982         [BZ #15754]
10983         * sysdeps/generic/stackguard-macros.h: Define
10984         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10985         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10986         Define __pointer_chk_guard_local.
10987         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10988         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10990 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10992         [BZ #15859]
10993         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10995 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10997         * include/string.h (__ffs): Declare as hidden.
10998         * string/ffs.c (__ffs): Define as hidden.
10999         * sysdeps/i386/ffs.c (__ffs): Likewise.
11000         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11001         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11002         * sysdeps/s390/ffs.c (__ffs): Likewise.
11003         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11005 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11007         * NEWS: Mention malloc probes.
11009         * malloc/arena.c (new_heap): New memory_heap_new probe.
11010         (grow_heap): New memory_heap_more probe.
11011         (shrink_heap): New memory_heap_less probe.
11012         (heap_trim): New memory_heap_free probe.
11013         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11014         (systrim): New memory_sbrk_less probe.
11015         * manual/probes.texi: Document them.
11017         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11018         * manual/probes.texi: Document it.
11020         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11021         (__libc_realloc): Add memory_realloc_retry probe.
11022         (__libc_memalign): Add memory_memalign_retry probe.
11023         (__libc_valloc): Add memory_valloc_retry probe.
11024         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11025         (__libc_calloc): Add memory_calloc_retry probe.
11026         * manual/probes.texi: Document them.
11028         * malloc/arena.c (get_free_list): Add probe
11029         memory_arena_reuse_free_list.
11030         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11031         and memory_arena_reuse.
11032         (arena_get2) [!PER_THREAD]: Likewise.
11033         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11034         memory_arena_reuse_realloc.
11035         * manual/probes.texi: Document them.
11037         * malloc/malloc.c (__libc_free): Add
11038         memory_mallopt_free_dyn_thresholds probe.
11039         (__libc_mallopt): Add multiple memory_mallopt probes.
11040         * manual/probes.texi: Document them.
11042         * malloc/malloc.c: Include stap-probe.h.
11043         (__libc_mallopt): Add memory_mallopt probe.
11044         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11045         * manual/probes.texi: New.
11046         * manual/Makefile (chapters): Add probes.
11047         * manual/threads.texi: Set next node.
11049 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11051         [BZ #15963, #13985]
11052         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11053         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11054         Add `Chinese' to `nan' entry name.
11056 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11058         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11059         (POLYNOMIAL): Likewise.
11060         (TAYLOR_SINCOS): Likewise.
11061         (TAYLOR_SLOW): Likewise.
11062         (__sin): Use TAYLOR_SINCOS.
11063         (__cos): Likewise.
11064         (slow): Use TAYLOR_SLOW.
11065         (sloww): Likewise.
11066         (bsloww): Likewise.
11067         (csloww): Likewise.
11069 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11071         * stdlib/strtod_l.c: Fix buffer overrun.
11073 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11075         * benchtests/Makefile (bench): Add sincos.
11076         * benchtests/bench-sincos.c: New file.
11078         * math/libm-test.inc (cos_test_data): New test inputs.
11079         (sin_test_data): Likewise.
11081         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11082         macro.
11083         (__sin): Use it.
11084         (__cos): Likewise.
11085         (slow1): Likewise.
11086         (slow2): Likewise.
11087         (sloww1): Likewise.
11088         (sloww2): Likewise.
11089         (bsloww1): Likewise.
11090         (bsloww2): Likewise.
11091         (cslow2): Likewise.
11092         (csloww1): Likewise.
11093         (csloww2): Likewise.
11095         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11096         function.
11097         (__sin): Use it.
11098         (__cos): Likewise.
11100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11101         gotos.
11102         (__cos): Likewise.
11104 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11106         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11107         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11108         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11109         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11110         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11111         * elf/cache.c (print_entry): Handle the new cache flags.
11113 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11114             Aldy Hernandez  <aldyh@redhat.com>
11116         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11117         Change condition to [_SOFT_FLOAT].
11118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11130         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11133         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11134         declaration.
11136 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11138         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11139         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11140         (__longjmp): Use LOAD_GP to load saved GPRs.
11141         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11142         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11143         (__sigsetjmp): Use SAVE_GP to save GPRs.
11145         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11146         Do not append -msoft-float.
11147         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11149 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11151         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11153 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11155         [BZ #15966]
11156         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11157         (_FPU_GETCW): Use initial "__" on variable and field names but not
11158         on macro parameter name.
11159         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11160         parentheses around reference to macro parameter.
11162 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11164         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11165         prototype.
11166         (ctype_startup): Use uint32_t in cast and sizeof for
11167         ctype->charnames.
11169 2013-09-11  Jia Liu  <proljc@gmail.com>
11171         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11172         __daddr_t_defined.
11173         [__FreeBSD__]: Likewise.
11175 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11178         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11179         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11180         (strchr): Remove __strchr_sse42 ifunc selection.
11181         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11182         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11184 2013-09-11  Will Newton  <will.newton@linaro.org>
11186         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11187         parameter to RES. Remove hardcoded 1000 value.
11188         * benchtests/bench-skeleton.c (main): Pass RES parameter
11189         to TIMING_INIT and multiply result by 1000.
11191 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11195 2013-09-11  Andreas Schwab  <schwab@suse.de>
11197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11198         if not defined.
11199         (O_TMPFILE) [__USE_GNU]: Define.
11200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11201         Define.
11203 2013-09-11  Will Newton  <will.newton@linaro.org>
11205         [BZ #15857]
11206         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11207         does not overflow.
11209 2013-09-11  Will Newton  <will.newton@linaro.org>
11211         [BZ #15856]
11212         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11213         does not overflow.
11215 2013-09-11  Will Newton  <will.newton@linaro.org>
11217         [BZ #15855]
11218         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11219         does not overflow.
11221 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11223         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11224         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11225         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11226         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11227         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11229 2013-09-10  Allan McRae  <allan@archlinux.org>
11231         [BZ #15748]
11232         * manual/arith.texi (Parsing of Floats): Clarify
11233         cross-reference.
11235         [BZ #15849]
11236         * manual/install.texi (Running make install): Mention
11237         --enable-pt-chown.
11238         * INSTALL: Regenerated.
11240 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11242         * csu/init-first.c (_init): Remove the !SHARED condition around
11243         FPU control word initialization.
11244         * elf/dl-support.c (_dl_fpu_control): New variable.
11245         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11246         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11247         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11248         * math/test-fpucw-static.c: New file.
11249         * math/test-fpucw-ieee.c: New file.
11250         * math/test-fpucw-ieee-static.c: New file.
11251         * math/Makefile (tests): Add `test-fpucw-ieee' and
11252         `$(tests-static)'.
11253         (tests-static): New variable.
11254         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11255         dependency to...
11256         [($(build-shared),yes)]
11257         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11258         ... this.
11259         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11260         New dependency.
11262 2013-09-09  Allan McRae  <allan@archlinux.org>
11264         [BZ #15939]
11265         * manual/string.texi (Collation Functions): Fix typo in
11266         strcoll example.
11267         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11269         [BZ #15893]
11270         * stdlib/isomac.c (get_null_defines): Fix memory leak.
11272         [BZ #15892]
11273         * libio/memstream.c (open_memstream): Fix memory leak.
11274         * libio/wmemstream.c (open_wmemstream): Likewise.
11276         [BZ #15895]
11277         * nscd/netgroupcache.c: Fix nesting of ifdefs.
11279 2013-09-09  Will Newton  <will.newton@linaro.org>
11281         * malloc/Makefile: Add tst-realloc to tests.
11282         * malloc/tst-realloc.c: New file.
11284 2013-09-09  Allan McRae  <allan@archlinux.org>
11286         [BZ #15844]
11287         * COPYING: Update from GNU website to fix FSF address.
11288         * COPYING.LIB: Likewise.
11290 2013-09-06  David S. Miller  <davem@davemloft.net>
11292         * po/zh_TW.po: Update Chinese (traditional) translation from
11293         translation project.
11295 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
11296             Joseph Myers  <joseph@codesourcery.com>
11298         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11299         "localeinfo.h".
11300         (obstack_chunk_alloc): New macro.
11301         (obstack_chunk_free): Likewise.
11302         (record_offset): New function.
11303         (init_locale_data): Likewise.
11304         (align_locale_data): Likewise.
11305         (add_locale_empty): Likewise.
11306         (add_locale_raw_data): Likewise.
11307         (add_locale_raw_obstack): Likewise.
11308         (add_locale_string): Likewise.
11309         (add_locale_wstring): Likewise.
11310         (add_locale_uint32): Likewise.
11311         (add_locale_uint32_array): Likewise.
11312         (add_locale_char): Likewise.
11313         (start_locale_structure): Likewise.
11314         (end_locale_structure): Likewise.
11315         (start_locale_prelude): Likewise.
11316         (end_locale_prelude): Likewise.
11317         (write_locale_data): Take locale_file structure rather than an
11318         iovec.
11319         * locale/programs/locfile.h: Include "obstack.h".
11320         (struct locale_file): Change to store locale file contents instead
11321         of header.
11322         (init_locale_data): New prototype.
11323         (align_locale_data): Likewise.
11324         (add_locale_empty): Likewise.
11325         (add_locale_raw_data): Likewise.
11326         (add_locale_raw_obstack): Likewise.
11327         (add_locale_string): Likewise.
11328         (add_locale_wstring): Likewise.
11329         (add_locale_uint32): Likewise.
11330         (add_locale_uint32_array): Likewise.
11331         (add_locale_char): Likewise.
11332         (start_locale_structure): Likewise.
11333         (end_locale_structure): Likewise.
11334         (start_locale_prelude): Likewise.
11335         (end_locale_prelude): Likewise.
11336         (write_locale_data): Update prototype.
11337         * locale/programs/3level.h (struct TABLE): Remove result field.
11338         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11339         Use new locale_file interface.
11340         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11341         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11342         * locale/programs/ld-address.c (address_output): Use new
11343         locale_file interface.
11344         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11345         NO_ADD_LOCALE.
11346         (collate_finish): Don't call collseq_table_finalize.
11347         (collate_output): Use new locale_file interface.
11348         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11349         in file.
11350         (NO_FINALIZE): Change to NO_ADD_LOCALE.
11351         (TABLE): Move defines earlier in file.
11352         (ELEMENT): Likewise.
11353         (DEFAULT): Likewise.
11354         (wctrans_table_add): Move macro and inline function earlier in
11355         file.
11356         (struct wctype_table): Move type earlier in file.
11357         (add_locale_wctype_table): New static prototype.
11358         (struct locale_ctype_t): Use logical types instead of struct iovec
11359         pointers for members.
11360         (ctype_output): Use new locale_file interface.
11361         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
11362         new locale_file interface.
11363         (allocate_arrays): Update for use of new locale_file interface.
11364         * locale/programs/ld-identification.c (identification_output): Use
11365         new locale_file interface.
11366         * locale/programs/ld-measurement.c (measurement_output): Likewise.
11367         * locale/programs/ld-messages.c (messages_output): Likewise.
11368         * locale/programs/ld-monetary.c (monetary_output): Likewise.
11369         * locale/programs/ld-name.c (name_output): Likewise.
11370         * locale/programs/ld-numeric.c (numeric_output): Likewise.
11371         * locale/programs/ld-paper.c (paper_output): Likewise.
11372         * locale/programs/ld-telephone.c (telephone_output): Likewise.
11373         * locale/programs/ld-time.c (time_output): Likewise.
11375 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11377         * benchtests/Makefile: Add memrchr benchmark.
11378         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11379         benchmark as memrchr.
11380         * benchtests/bench-memrchr-ifunc.c: New file.
11381         * benchtests/bench-memrchr.c: New file.
11383 2013-09-06   Will Newton  <will.newton@linaro.org>
11385         * benchtests/Makefile (string-bench): Add memcpy.
11387 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
11388             Cong Wang  <amwang@redhat.com>
11390         [BZ #15850]
11391         * sysdeps/unix/sysv/linux/bits/in.h
11392         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11393         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11394         before __USE_KERNEL_IPV6_DEFS uses.
11395         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11396         IPPROTO_BEETPH.
11397         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11398         sockaddr_in6, or ipv6_mreq.
11400 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11402         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11403         memory access for final bytes in some large inputs.
11404         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11406 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11408         * string/test-memrchr.c: New file.
11409         * string/test-memrchr-ifunc.c: New file.
11410         * string/Makefile: Add new memrchr testcase.
11412 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
11414         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11415         fanotify_init returns EPERM.
11417 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11419         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11420         errors.
11421         (top level): Treat second token from macro or constant entries for
11422         allowed headers as allowed.
11423         * include/complex.h: Condition internal declarations on
11424         [!_ISOMAC].
11425         * include/fenv.h: Condition include of <stdbool.h> and internal
11426         declarations on [!_ISOMAC].
11428 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
11430         [BZ #15923]
11431         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11433 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11435         * configure.in (--enable-versioning): Remove configure option.
11436         (libc_cv_asm_symver_directive): Remove configure test.
11437         (libc_cv_ld_version_script_option): Likewise.
11438         (VERSIONING): Remove variable and AC_SUBST.
11439         (DO_VERSIONING): Remove AC_DEFINE.
11440         * configure: Regenerated.
11441         * config.h.in (DO_VERSIONING): Remove macro.
11442         * Makerules [$(versioning) = yes]: Change conditionals to
11443         [$(build-shared) = yes].
11444         * config.make.in (versioning): Remove variable.
11445         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11446         [$(build-shared) = yes].
11447         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11448         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11449         * elf/Makefile [$(versioning) = yes]: Change conditionals to
11450         [$(build-shared) = yes].
11451         * extra-lib.mk [$(versioning) = yes]: Likewise.
11452         * hurd/Makefile [$(versioning) = yes]: Likewise.
11453         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11454         [SHARED].
11455         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11456         [SHARED].
11457         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11458         [SHARED && !NO_HIDDEN].
11459         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11460         [SHARED].
11461         [SHARED && DO_VERSIONING]: Likewise..
11462         * libio/Makefile [$(versioning) = yes]: Change conditionals to
11463         [$(build-shared) = yes].
11464         * manual/install.texi (--disable-versioning): Remove
11465         documentation.
11466         * INSTALL: Regenerated.
11467         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11468         to [SHARED].
11469         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11470         [$(build-shared) = yes].
11471         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11472         * sysdeps/i386/i686/multiarch/strstr-c.c
11473         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11474         [SHARED && !NO_HIDDEN].
11475         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11476         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11477         * sysdeps/powerpc/powerpc32/dl-machine.c
11478         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11479         * sysdeps/powerpc/powerpc32/sysdep.h
11480         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11481         to [SHARED && PIC && !NO_HIDDEN].
11482         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11483         conditional to [SHARED].
11485 2013-09-04   Will Newton  <will.newton@linaro.org>
11487         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11488         * benchtests/bench-string.h: Include bench-timing.h instead
11489         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11490         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11491         call to HP_TIMING_DIFF_INIT.
11492         * benchtests/bench-memccpy.c: Use bench-timing.h macros
11493         instead of hp-timing.h macros.
11494         * benchtests/bench-memchr.c: Likewise.
11495         * benchtests/bench-memcmp.c: Likewise.
11496         * benchtests/bench-memcpy.c: Likewise.
11497         * benchtests/bench-memmem.c: Likewise.
11498         * benchtests/bench-memmove.c: Likewise.
11499         * benchtests/bench-memset.c: Likewise.
11500         * benchtests/bench-rawmemchr.c: Likewise.
11501         * benchtests/bench-strcasecmp.c: Likewise.
11502         * benchtests/bench-strcasestr.c: Likewise.
11503         * benchtests/bench-strcat.c: Likewise.
11504         * benchtests/bench-strchr.c: Likewise.
11505         * benchtests/bench-strcmp.c: Likewise.
11506         * benchtests/bench-strcpy.c: Likewise.
11507         * benchtests/bench-strcpy_chk.c: Likewise.
11508         * benchtests/bench-strlen.c: Likewise.
11509         * benchtests/bench-strncasecmp.c: Likewise.
11510         * benchtests/bench-strncat.c: Likewise.
11511         * benchtests/bench-strncmp.c: Likewise.
11512         * benchtests/bench-strncpy.c: Likewise.
11513         * benchtests/bench-strnlen.c: Likewise.
11514         * benchtests/bench-strpbrk.c: Likewise.
11515         * benchtests/bench-strrchr.c: Likewise.
11516         * benchtests/bench-strspn.c: Likewise.
11517         * benchtests/bench-strstr.c: Likewise.
11519 2013-09-04  Will Newton  <will.newton@linaro.org>
11521         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11523 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
11525         [BZ #15427]
11526         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11527         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11528         * math/libm-test.inc (lgamma_test_data): Add more tests.
11529         * sysdeps/i386/fpu/libm-test-ulps: Update.
11530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11532 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
11534         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11536         Add ifunc.
11537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11538         Add strcmp-sse2-unaligned
11539         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11541 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11543         * Versions.def (libc): Add GLIBC_2.19.
11545 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11547         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11548         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11550 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
11552         [BZ #14155]
11553         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11554         intermediate calculations in recurrence.
11555         (__ieee754_ynf): Likewise.
11556         * math/libm-test.inc (jn_test_data): Do not allow spurious
11557         underflow exception.  Add more tests.
11558         (yn_test_data): Add more tests.
11559         * sysdeps/i386/fpu/libm-test-ulps: Update.
11560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11562 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
11564         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11566 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11568         * csu/init-first.c: Fix then/than typos.
11569         * locale/programs/ld-collate.c: Likewise.
11570         * locale/programs/linereader.h: Likewise.
11571         * manual/charset.texi: Likewise.
11572         * manual/filesys.texi: Likewise.
11573         * manual/stdio.texi: Likewise.
11574         * manual/string.texi: Likewise.
11575         * stdlib/fmtmsg.c: Likewise.
11576         * sysdeps/i386/stpncpy.S: Likewise.
11577         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11578         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11580         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11582 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11584         * elf/dl-open.c: Fix typos.
11585         * iconvdata/gbbig5.c: Likewise.
11586         * iconvdata/iso-2022-jp.c: Likewise.
11587         * iconv/gconv_int.h: Likewise.
11588         * iconv/loop.c: Likewise.
11589         * nis/rpcsvc/nis.h: Likewise.
11590         * resolv/ns_name.c: Likewise.
11591         * stdio-common/vfscanf.c: Likewise.
11592         * streams/stropts.h: Likewise.
11593         * sunrpc/rpc_thread.c: Likewise.
11594         * sysdeps/i386/strpbrk.S: Likewise.
11595         * sysdeps/ieee754/k_standard.c: Likewise.
11596         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11598         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11599         * sysdeps/mach/hurd/profil.c: Likewise.
11600         * sysdeps/s390/dl-procinfo.h: Likewise.
11601         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11602         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11603         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11604         * sysdeps/x86_64/dl-trampoline.S: Likewise.
11605         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11607 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
11609         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11612 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
11614         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11615         aix specific files.
11616         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11617         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11618         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11619         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11620         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11621         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11622         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11623         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11625 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11626             Roland McGrath  <roland@hack.frob.com>
11628         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11629         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11631 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11633         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11634         __executable_start symbol instead of _start.
11636 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11638         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11639         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11640         Move macros to...
11641         * sysdeps/gnu/ldsodefs.h: ... this new file.
11643         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11644         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11645         instead of ELFOSABI_LINUX.
11647         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11648         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11649         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11650         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11651         Likewise.
11652         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11653         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11654         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11655         Likewise.
11656         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11657         (ibm_extended_long_double): Add ieee_nan member.
11658         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11659         (do_test): New function.
11661         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11662         TEST_TRUNC.
11663         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11664         functions, renamed from truncdfsf_test, trunctfsf_test,
11665         trunctfdf_test.
11666         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11667         functions.
11668         (do_test): Run all these.
11670 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
11672         * argp/argp-help.c: Fix typos.
11673         * argp/argp-parse.c: Likewise.
11674         * debug/backtracesyms.c: Likewise.
11675         * elf/elf.h: Likewise.
11676         * malloc/malloc.c: Likewise.
11677         * nis/nis_print.c: Likewise.
11678         * resolv/res_comp.c: Likewise.
11679         * stdlib/stdlib.h: Likewise.
11680         * sunrpc/clnt_tcp.c: Likewise.
11681         * sunrpc/clnt_udp.c: Likewise.
11682         * sunrpc/clnt_unix.c: Likewise.
11683         * sysdeps/unix/bsd/ptsname.c: Likewise.
11684         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11685         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11687         Likewise.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11689         Likewise.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11691         Likewise.
11692         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11694 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11696         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11699 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
11701         [BZ #15897]
11702         * dlfcn/Makefile (tests): Add bug-dl-leaf.
11703         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11704         ($(objpfx)bug-dl-leaf): New rule.
11705         ($(objpfx)bug-dl-leaf.so): Likewise.
11706         ($(objpfx)bug-dl-leaf.out): Likewise.
11707         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11708         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11709         * dlfcn/bug-dl-leaf.c: New test.
11710         * dlfcn/bug-dl-leaf-lib.c: Likewise.
11711         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11712         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11713         (dlclose): Likewise.
11714         (dlmopen): Likewise.
11716 2013-08-27  Roland McGrath  <roland@hack.frob.com>
11718         * include/netdb.h [!_ISOMAC]:
11719         Don't include <tls.h>.
11720         (h_errno, __libc_h_errno): Move declaration and macros out of
11721         [_LIBC_REENTRANT].
11723         * include/resolv.h [_RESOLV_H_]:
11724         Don't include <tls.h>.
11725         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11726         * resolv/res_libc.c: Don't include <tls.h>.
11727         (_res): Use __attribute__ ((nocommon)) in place of
11728         __attribute__ ((section (".bss"))).
11730         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11731         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11733         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11735         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11736         only under [SIOCGIFCONF && SIOCGIFNETMASK].
11738         * resolv/res_mkquery.c: Include <sys/time.h>.
11740         * inet/ifreq.c: Moved to ...
11741         * sysdeps/unix/ifreq.c: ... here.
11742         * inet/ifreq.c: New file, true stub version.
11744         * socket/sa_len.c: New file.
11745         * socket/Makefile (aux): Add it.
11746         * sysdeps/unix/sysv/linux/Makefile
11747         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11748         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11749         and #include <socket/sa_len.c>.
11750         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11751         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11753         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11754         * bits/socket.h: ... here.
11756         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11757         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11758         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11760 2013-08-27  Andreas Schwab  <schwab@suse.de>
11762         [BZ #15736]
11763         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11764         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11765         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11766         * string/test-strcasecmp.c (test_main): Run tests in several
11767         locales.
11768         * string/test-strncasecmp.c (test_main): Likewise.
11770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11771         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11772         to __strcasecmp_nonascii and __strncasecmp_nonascii.
11773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11774         (__strncasecmp_ssse3) [PIC]: Likewise.
11776 2013-08-26  Roland McGrath  <roland@hack.frob.com>
11778         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11780         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11781         instead of explicitly declaring xdecrypt.
11782         * nis/nss_nis/nis-publickey.c: Likewise.
11784 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11786         [BZ #15890]
11787         * nscd/aicache.c: Include res_hconf.h.
11788         (addhstaiX): Initialize res_hconf.
11790 2013-08-26  Andreas Schwab  <schwab@suse.de>
11792         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11793         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11795 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11797         * nscd/aicache.c (addhstaiX): Fix indentation.
11799 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
11801         * configure.ac: Quote $build_pt_chown test.
11802         * configure: Regenerated.
11804 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
11806         [BZ #15532]
11807         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11808         * math/s_cexpf.c (__cexpf): Likewise.
11809         * math/s_cexpl.c (__cexpl): Likewise.
11810         * math/libm-test.inc (cexp_test_data): Correct expected return
11811         value for NaN + i0.  Add another test.
11813 2013-08-22  David S. Miller  <davem@davemloft.net>
11815         * po/ca.po: Update Catalan translation from translation project.
11816         * po/uk.po: Add Ukrainian translations from translation project.
11818 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
11820         [BZ #15797]
11821         * math/s_fdim.c (__fdim): Check for infinite arguments if result
11822         is infinite, not alongside NaN test.
11823         * math/s_fdimf.c (__fdimf): Likewise.
11824         * math/s_fdiml.c (__fdiml): Likewise.
11825         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
11826         errno is unchanged.
11828 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
11830         * argp/argp-help.c: Fix typos.
11831         * crypt/speeds.c: Likewise.
11832         * csu/check_fds.c: Likewise.
11833         * elf/dl-load.c: Likewise.
11834         * elf/dl-open.c: Likewise.
11835         * elf/reldep3.c: Likewise.
11836         * elf/reldep.c: Likewise.
11837         * elf/sprof.c: Likewise.
11838         * iconv/iconv_charmap.c: Likewise.
11839         * iconv/skeleton.c: Likewise.
11840         * iconv/strtab.c: Likewise.
11841         * io/lockf64.c: Likewise.
11842         * libio/libioP.h: Likewise.
11843         * resolv/gai_notify.c: Likewise.
11844         * resolv/ns_name.c: Likewise.
11845         * resolv/ns_samedomain.c: Likewise.
11846         * resolv/res_send.c: Likewise.
11847         * stdlib/random.c: Likewise.
11848         * sunrpc/rpc/xdr.h: Likewise.
11849         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11850         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11851         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11852         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11854         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11856         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11857         * sysdeps/mach/hurd/check_fds.c: Likewise.
11858         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11859         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11860         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11862         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11863         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11864         * sysdeps/pthread/aio_notify.c: Likewise.
11865         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11866         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11867         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11868         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11869         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11871 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11873         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11874         version if bit_Slow_SSE4_2 is set.
11875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11876         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11878 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11880         [BZ #15867]
11881         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11882         trampoline stack frame information.
11883         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11884         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11885         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11886         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11887         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11888         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11889         (_libc_vdso_platform_setup): Initialize the signal trampolines.
11890         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11891         sa_flags value.
11892         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11893         interrupting a syscall and set with option SA_SIGINFO.
11895 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11897         [BZ #15531]
11898         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11899         argument is infinite.
11900         * math/s_cprojf.c (__cprojf): Likewise.
11901         * math/s_cprojl.c (__cprojl): Likewise.
11902         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11903         * math/libm-test.inc (cproj_test_data): Add more tests.
11905         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11907         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11908         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11909         size.  Use __ffs to determine corresponding shift.
11911 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11912             Roland McGrath  <roland@hack.frob.com>
11914         * Makefile (INSTALL): Remove trailing blank lines from output of
11915         makeinfo.
11917 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11919         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11920         Align 32 bit compat elf_greg to 8 bytes.
11922 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11924         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11926 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11928         * string/strcoll_l.c (coll_seq): New structure.
11929         (get_next_seq_cached): New function.
11930         (get_next_seq): New function.
11931         (do_compare): New function.
11932         (STRCOLL): Use GNU style definition.  Simplify implementation
11933         by using get_next_seq, get_next_seq_cached and do_compare.
11935 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11937         [BZ #14699]
11938         CVE-2013-4237
11939         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11940         member.
11941         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11942         member.
11943         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11944         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11945         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11946         conditional.
11947         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11948         GETDENTS_64BIT_ALIGNED.
11949         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11950         * manual/filesys.texi (Reading/Closing Directory): Document
11951         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11952         strongly.
11953         * manual/conf.texi (Limits for Files): Add portability note to
11954         NAME_MAX, PATH_MAX.
11955         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11957 2013-08-13  Andreas Schwab  <schwab@suse.de>
11959         [BZ #15749]
11960         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11961         of fabs.
11962         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11963         LDBL_MAX_EXP >= 16384]: Add tests for it.
11965 2013-08-12  David S. Miller  <davem@davemloft.net>
11967         * version.h (RELEASE): Set to "development".
11968         (VERSION): Set to "2.18.90".
11969         * NEWS: Add 2.19 section.
11971 2013-08-03  David S. Miller  <davem@davemloft.net>
11973         * po/ko.po: Update Korean translation from translation project.
11975 2013-08-01  David S. Miller  <davem@davemloft.net>
11977         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11978         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11979         Bilka.
11981 2013-07-30  David S. Miller  <davem@davemloft.net>
11983         * po/fr.po: Update French translation from translation project.
11985 2013-07-28  David S. Miller  <davem@davemloft.net>
11987         * po/cs.po: Update Czech translation from translation project.
11989         * po/sv.po: Update Swedish translation from translation project.
11991 2013-07-27  David S. Miller  <davem@davemloft.net>
11993         * po/eo.po: Update Esperanto translation from translation project.
11995         * po/vi.po: Update Vietnamese translation from translation project.
11997         * po/de.po: Update German translation from translation project.
11999 2013-07-26  David S. Miller  <davem@davemloft.net>
12001         * po/bg.po: Update Bulgarian translation from translation project.
12003         * po/nl.po: Update Dutch translation from translation project.
12004         * po/pl.po: Update Polish translation from translation project.
12005         * po/ru.po: Update Russian translation from translation project.
12007 2013-07-24  David S. Miller  <davem@davemloft.net>
12009         * po/libc.pot: Update.
12011 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12013         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12014         variable page size.
12015         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12016         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12017         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12019 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12021         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12023 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12024             Andreas Schwab  <schwab@suse.de>
12025             Roland McGrath  <roland@hack.frob.com>
12026             Joseph Myers  <joseph@codesourcery.com>
12027             Carlos O'Donell  <carlos@redhat.com>
12029         [BZ #15755]
12030         * config.h.in: Define HAVE_PT_CHOWN.
12031         * config.make.in (build-pt-chown): New variable.
12032         * configure.in (--enable-pt_chown): New configure option.
12033         * configure: Regenerate.
12034         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12035         build-pt-chown is enabled.
12036         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12037         pt_chown to fix pty ownership.
12038         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12039         CLOSE_ALL_FDS.
12040         * manual/install.texi (Configuring and compiling): Mention
12041         --enable-pt_chown. Add @findex for grantpt.
12042         * INSTALL: Regenerate.
12044 2013-07-20  David S. Miller  <davem@davemloft.net>
12046         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12047         difference between 32-bit and 64-bit.
12049 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12051         [BZ #15711]
12052         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12053         Avoid system header dependency with -ffreestanding.
12054         ($(objpfx)bits/syscall%d): Likewise.
12056 2013-07-13  David S. Miller  <davem@davemloft.net>
12058         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12059         underflows from atanl/atan2l due to bug 15319.
12060         (casinh_test_data): Likewise.
12062 2013-07-07  David S. Miller  <davem@davemloft.net>
12064         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12066 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12068         * sysdeps/i386/fpu/libm-test-ulps: Update.
12069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12071 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12073         * configure.in (--enable-lock-elision): Fix message text.
12074         * INSTALL: Regenerate.
12075         * configure: Regenerate.
12077 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12081 2013-07-03  Andreas Jaeger  <aj@suse.de>
12083         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12084         define.
12085         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12086         (ptrace_peeksiginfo_args): Add.
12087         (__ptrace_peeksiginfo_flags): Add.
12088         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12089         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12090         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12092 2013-07-03  Allan McRae  <allan@archlinux.org>
12094         * sysdeps/i386/fpu/libm-test-ulps: Update.
12096 2013-07-02  David S. Miller  <davem@davemloft.net>
12098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12100 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12104 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12106         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12109 2013-07-02  Andi Kleen <ak@linux.intel.com>
12111         * config.h.in (ENABLE_LOCK_ELISION): Add.
12112         * configure.in (--enable-lock-elision): Add option.
12113         * manual/install.texi: Document --enable lock elision.
12114         * configure: Regenerate
12115         * INSTALL: Regenerate.
12117 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12119         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12120         SSE4.2 strcasecmp for libc.a.
12121         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12123 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12125         [BZ #13304]
12126         * soft-fp/op-common.h (_FP_FMA): New macro.
12127         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12128         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12129         (_FP_MUL_MEAT_1_imm): ... here.
12130         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12131         (_FP_MUL_MEAT_1_wide): ... here.
12132         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12133         (_FP_MUL_MEAT_1_hard): ... here.
12134         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12135         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12136         (_FP_MUL_MEAT_2_wide): ... here.
12137         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12138         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12139         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12140         (_FP_MUL_MEAT_2_gmp): ... here.
12141         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12142         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12143         (_FP_MUL_MEAT_4_wide): ... here.
12144         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12145         (_FP_MUL_MEAT_4_gmp): ... here.
12146         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12147         (_FP_WFRACBITS_DW_S): Likewise.
12148         (_FP_WFRACXBITS_DW_S): Likewise.
12149         (_FP_HIGHBIT_DW_S): Likewise.
12150         (FP_FMA_S): Likewise.
12151         (_FP_FRAC_HIGH_DW_S): Likewise.
12152         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12153         (_FP_WFRACBITS_DW_D): Likewise.
12154         (_FP_WFRACXBITS_DW_D): Likewise.
12155         (_FP_HIGHBIT_DW_D): Likewise.
12156         (FP_FMA_D): Likewise.
12157         (_FP_FRAC_HIGH_DW_D): Likewise.
12158         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12159         (_FP_WFRACBITS_DW_E): Likewise.
12160         (_FP_WFRACXBITS_DW_E): Likewise.
12161         (_FP_HIGHBIT_DW_E): Likewise.
12162         (FP_FMA_E): Likewise.
12163         (_FP_FRAC_HIGH_DW_E): Likewise.
12164         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12165         (_FP_WFRACBITS_DW_Q): Likewise.
12166         (_FP_WFRACXBITS_DW_Q): Likewise.
12167         (_FP_HIGHBIT_DW_Q): Likewise.
12168         (FP_FMA_Q): Likewise.
12169         (_FP_FRAC_HIGH_DW_Q): Likewise.
12170         * soft-fp/fmasf4.c: New file.
12171         * soft-fp/fmadf4.c: Likewise.
12172         * soft-fp/fmatf4.c: Likewise.
12174 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12177         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12178         Silvermont.
12179         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12180         macro.
12181         (index_Slow_SSE4_2): Likewise.
12182         (index_Prefer_PMINUB_for_stringop): Likewise.
12183         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12184         bit_Slow_SSE4_2 is set.
12185         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12186         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12188 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12190         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12191         rtld_global._dl_hwcap2.
12192         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12193         POWER8.
12194         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12195         POWER8 feature descriptions defined in _dl_hwcap2.
12196         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12197         string handling for POWER8 feature bits.
12198         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12199         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12200         _dl_powerpc_cap_flags.
12201         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12202         * sysdeps/powerpc/rtld-global-offsets.sym
12203         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12204         _dl_hwcap2 in the rtld_global_ro structure.
12206 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12208         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12209         hardware capabilities in support of AT_HWCAP2.
12210         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12211         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12212         GLRO(dl_hwcap2).
12213         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12214         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12215         explicitly the unknown a_type display mechanism is used.
12216         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12217         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12218         struct member.
12219         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12220         to macro prototype for AT_HWCAP2 support.
12221         * sysdeps/i386/dl-procinfo.h: Likewise.
12222         * sysdeps/s390/dl-procinfo.h: Likewise.
12223         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12224         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12225         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12226         return -1 for unknown a_type display fallback.
12227         * sysdeps/sparc/dl-procinfo.h: Likewise.
12228         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12229         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12231 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12233         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12234         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12236 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12238         [BZ #12492]
12239         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12240         mprotect making __stack_prot writable.
12242 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12243             Joseph Myers  <joseph@codesourcery.com>
12245         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12246         as being properly aligned.
12248 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
12250         * dlfcn/modstatic5.c: New file.
12251         * dlfcn/tststatic5.c: New file.
12252         * dlfcn/Makefile (tests): Add tststatic5.
12253         (tests-static): Likewise.
12254         (modules-names): Add modstatic5.
12255         (tststatic5-ENV): New variable.
12256         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12258         [BZ #15022]
12259         * elf/dl-support.c (_dl_main_map): New variable.
12260         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12261         (_dl_nns, _dl_load_adds): Set to 1.
12262         (_dl_initial_searchlist): Refer to _dl_main_map.
12263         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12264         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12265         call to _dl_get_origin.
12266         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12267         around call_map.
12268         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12269         * dlfcn/modstatic3.c: New file.
12270         * dlfcn/tststatic3.c: New file.
12271         * dlfcn/tststatic4.c: New file.
12272         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12273         (tests-static): Likewise.
12274         (modules-names): Add modstatic3.
12275         (tststatic3-ENV, tststatic4-ENV): New variables.
12276         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12277         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12279 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
12281         * configure.in (CC): Require GCC version 4.4 or later.
12282         * configure: Regenerated.
12283         * manual/install.texi (Tools for Compilation): Update GCC version
12284         requirement.
12285         * INSTALL: Regenerated.
12287 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12289         [BZ #15674]
12290         * string/test-memcmp.c (check2): New.
12291         (main): Call check2.
12293         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12295 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
12297         [BZ #15022]
12298         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12299         over to...
12300         (dl_open_worker) [!SHARED]: ... here.
12302 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12304         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12306 2013-06-25  Richard Henderson  <rth@redhat.com>
12308         * locale/programs/locarchive.c: Include <libc-internal.h>
12310 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
12312         * manual/texinfo.tex: Update to version 2013-06-21.17, with
12313         trailing whitespace removed.
12315 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12317         [BZ #10283]
12318         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12319         * locale/programs/locarchive.c: Include libc-mmap.h.
12320         (prepare_address_space): Take two new outputs (the mmap base and len).
12321         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
12322         values.
12323         (create_archive): Declare new mmap base and len values for
12324         prepare_address_space, and store the result in ah.
12325         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12326         (enlarge_archive): If ah->mmap_base is not NULL, use that and
12327         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12328         Declare new mmap base and len values for
12329         prepare_address_space, and store the result in new_ah.
12330         (open_archive): Declare new mmap base and len values for
12331         prepare_address_space, and store the result in ah.
12332         (close_archive): If ah->mmap_base is not NULL, use that and
12333         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12334         * sysdeps/generic/libc-mmap.h: New file.
12336 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12338         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12339         (ALIGN_UP): Likewise.
12340         (PTR_ALIGN_DOWN): Likewise.
12341         (PTR_ALIGN_UP): Likewise.
12343 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12345         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12346         entry mapped to PPC_PLATFORM_POWER8.
12347         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12348         POWER8.
12349         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12350         (_dl_string_platform): Add case for exporting platform position for
12351         POWER8.
12352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12353         search path to sysdeps/powerpc/powerpc32/power8 directory.
12354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12355         search path to sysdeps/powerpc/powerpc64/power8 directory.
12356         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12357         power7 directories.
12358         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12359         power7 directories.
12361 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12363         * INSTALL: Regenerate.
12365         * nscd/connections.c (nscd_init): Fix comment.
12367 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
12369         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12371         [BZ #15667]
12372         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12373         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12375 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12377         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12378         DL_DST_REQ_STATIC.
12379         (DL_DST_REQ_STATIC): Remove macro.
12381 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
12383         [BZ #7006]
12384         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12385         with a shift of 0 bits.
12387 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12389         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12390         $(tststatic-ENV).
12392 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12394         [BZ #15655]
12395         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12397 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12399         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12400         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12401         accepts -fno-tree-loop-distribute-patterns.
12402         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12403         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12404         recursive call.
12405         * string/memset.c (memset): Likewise.
12406         * string/test-memmove.c (simple_memmove): Disable loop transformation
12407         to library calls.
12408         * string/test-memset.c (simple_memset): Likewise.
12409         * benchtests/bench-memmove.c (simple_memmove): Likewise.
12410         * benchtests/bench-memset.c (simple_memset): Likewise.
12411         * configure: Regenerated.
12413 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
12415         * math/test-misc.c (main): Ignore fesetround failure when failures
12416         of subsequent rounding tests would be ignored.
12418         [BZ #15654]
12419         * math/fedisblxcpt.c (fedisableexcept): Return 0.
12420         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12421         * math/fegetenv.c (__fegetenv): Return 0.
12422         * math/fegetexcept.c (fegetexcept): Return 0.
12423         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12424         FE_TONEAREST.
12425         * math/feholdexcpt.c (feholdexcept): Return 0.
12426         * math/fesetenv.c (__fesetenv): Return 0.
12427         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12428         argument FE_TONEAREST.
12429         * math/feupdateenv.c (__feupdateenv): Return 0.
12430         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12432 2013-06-18  Roland McGrath  <roland@hack.frob.com>
12434         * elf/rtld-Rules (rtld-compile-command.S): New variable.
12435         (rtld-compile-command.s, rtld-compile-command.c): New variables.
12436         ($(objpfx)rtld-%.os rules): Use them.
12438 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12440         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12441         fields.
12443 2013-06-17  Roland McGrath  <roland@hack.frob.com>
12445         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12446         length of target pattern, then descending length of dependency pattern.
12447         * configure.in (AWK): Require gawk 3.1.2 or newer.
12448         * manual/install.texi (Tools for Compilation): Say that we do.
12449         * configure: Regenerated.
12451         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12452         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12453         * scripts/sysd-rules.awk: ... this new script.
12454         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12455         than a glob-style pattern.
12457 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
12459         * math/test-misc.c (main): Do not treat incorrectly rounded
12460         conversions as failure unless ROUNDING_TESTS passes.
12462 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
12464         [BZ #15631]
12465         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12466         restore exception state around main square root computation, then
12467         check for inexactness explicitly.
12469         * math/libm-test.inc (fma_test_data): Add another test.
12471 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12473         * manual/threads.texi (Non-POSIX Extensions): New document
12474         node.  Document pthread_getattr_default_np and
12475         pthread_setattr_default_np.
12477         * Versions.def (libpthread): Add GLIBC_2.18.
12478         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12480         Likewise.
12481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12484         Likewise.
12485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12486         Likewise.
12487         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12488         Likewise.
12489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12490         Likewise.
12491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12492         Likewise.
12493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12494         Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12496         Likewise.
12498 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12501         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12503 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12504             H.J. Lu  <hjl.tools@gmail.com>
12506         [BZ #15627]
12507         * sysdeps/x86_64/rtld-memset.c: Remove file.
12508         * sysdeps/x86_64/rtld-memset.S: New file.
12510 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
12512         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12513         (test_in_one_mode): Take arguments for whether the rounding mode
12514         is supported for each floating-point type.
12515         (do_test): Pass new arguments to test_in_one_mode using
12516         ROUNDING_TESTS.
12518 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12520         * posix/tst-waitid.c (do_test): Distinguish different instances of
12521         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
12522         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12523         before entering the kernel for waitpid.
12525 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12527         * NEWS: Fix note on clock function precision.  Text by Roland
12528         McGrath.
12530 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12532         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12533         it into place only when and if the sanity check passes.
12535 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
12537         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12538         output for whether conversion result is exact.  Take argument
12539         indicating whether type is IBM long double.
12540         (round_for_all): Change need_exact field to ibm_ld.
12541         * stdlib/tst-strtod-round.c (struct exactness): New type.
12542         (struct test): Change bool ld_ok field to struct exactness exact.
12543         (TEST): Update all definitions for change to field.
12544         (tests): Regenerate array contents.
12545         (test_in_one_mode): Take pointer to new field instead of old ld_ok
12546         field value.  Check for IBM long double here.
12547         (do_test): Update calls to test_in_one_mode.
12549 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12551         [BZ #12515]
12552         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12553         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12555 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12557         [BZ #15605]
12558         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12559         generated by the compiler on loop optimizations.
12560         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12561         general definitions.
12563 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
12565         * math/bug-nextafter.c: Include <math-tests.h>.
12566         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12567         the relevant type.
12568         * math/bug-nexttoward.c: Include <math-tests.h>.
12569         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12570         the relevant type.
12571         * math/test-misc.c: Include <math-tests.h>.
12572         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12573         the relevant type.
12575 2013-06-12  Andreas Jaeger  <aj@suse.de>
12577         * po/ia.po: Update Interlingua translation from translation
12578         project.
12580 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12582         * include/fenv.h: Include stdbool.h.
12583         (struct rm_ctx): New structure.
12584         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12585         Define macro.
12586         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12587         (SET_RESTORE_ROUNDF): Likewise.
12588         (SET_RESTORE_ROUNDL): Likewise.
12589         (SET_RESTORE_ROUND_NOEX): Likewise.
12590         (SET_RESTORE_ROUND_NOEXF): Likewise.
12591         (SET_RESTORE_ROUND_NOEXL): Likewise.
12592         (SET_RESTORE_ROUND_53BIT): Likewise.
12593         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12594         (libc_feresetround_noexf_ctx): Likewise.
12595         (libc_feresetround_noexl_ctx): Likewise.
12596         (libc_feholdsetround_53bit_ctx): Likewise.
12597         (libc_feresetround_53bit_ctx): Likewise.
12598         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12599         (libc_feholdexcept_setround_sse_ctx): New function.
12600         (libc_fesetenv_sse_ctx): Likewise.
12601         (libc_feupdateenv_sse_ctx): Likewise.
12602         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12603         (libc_feholdexcept_setround_387_ctx): Likewise.
12604         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12605         (libc_feholdsetround_387_prec_ctx): Likewise.
12606         (libc_feholdsetround_387_ctx): Likewise.
12607         (libc_feholdsetround_387_53bit_ctx): Likewise.
12608         (libc_feholdsetround_sse_ctx): Likewise.
12609         (libc_feresetround_sse_ctx): Likewise.
12610         (libc_feresetround_387_ctx): Likewise.
12611         (libc_feupdateenv_387_ctx): Likewise.
12612         (libc_feholdexcept_setroundf_ctx): Define macro.
12613         (libc_fesetenvf_ctx): Likewise.
12614         (libc_feupdateenvf_ctx): Likewise.
12615         (libc_feholdsetroundf_ctx): Likewise.
12616         (libc_feresetroundf_ctx): Likewise.
12617         (libc_feholdexcept_setround_ctx): Likewise.
12618         (libc_fesetenv_ctx): Likewise.
12619         (libc_feupdateenv_ctx): Likewise.
12620         (libc_feholdsetround_ctx): Likewise.
12621         (libc_feresetround_ctx): Likewise.
12622         (libc_feholdexcept_setroundl_ctx): Likewise.
12623         (libc_feupdateenvl_ctx): Likewise.
12624         (libc_feholdsetroundl_ctx): Likewise.
12625         (libc_feresetroundl_ctx): Likewise.
12626         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12627         (libc_feresetround_53bit_ctx): Likewise.
12629 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12631         * locale/iso-639.def: Convert to UTF-8.
12633 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
12635         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12636         (EXCEPTION_TESTS_double): Likewise.
12637         (EXCEPTION_TESTS_long_double): Likewise.
12638         (EXCEPTION_TESTS): Likewise.
12639         * math/libm-test.inc (test_exceptions): Only test exceptions if
12640         EXCEPTION_TESTS (FLOAT).
12642 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12644         * benchtests/Makefile (string-bench): Add strcpy_chk and
12645         stpcpy_chk.
12646         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12647         * benchtests/bench-stpcpy_chk.c: New file.
12648         * benchtests/bench-strcpy_chk-ifunc.c: New file.
12649         * benchtests/bench-strcpy_chk.c: New file.
12650         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12651         code.
12652         (do_test): Likewise.
12654 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12657         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12658         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12659         with tabs where appropriate.
12660         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12661         dl-procinfo.h.
12662         [PPC_PLATFORM_PPC440]: Likewise.
12663         [PPC_PLATFORM_PPC464]: Likewise.
12664         [PPC_PLATFORM_PPC476]: Likewise.
12665         (_dl_string_platform): Add support for detecting ppc405, ppc440,
12666         ppc464, and ppc476 platform strings merging from ports/
12667         dl-procinfo.h.
12669 2013-06-11  Andreas Schwab  <schwab@suse.de>
12671         [BZ #14991]
12672         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12673         (from_ucs4_idx): Regenerate.
12674         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12675         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12676         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12677         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12678         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12679         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12680         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12681         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12682         from FROM_LOOP and TO_LOOP specific macros.
12683         (BODY): Handle combining characters.
12684         * iconvdata/BIG5HKSCS.irreversible: Update.
12685         * iconvdata/BIG5HKSCS.precomposed: New file.
12686         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12687         characters.
12688         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12690 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12692         * include/sys/time.h: Fix indentation and add copyright header.
12694         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12695         (do_test): Likewise.
12696         * string/test-memchr.c (do_one_test): Likewise.
12697         (do_test): Likewise.
12698         * string/test-memcmp.c (do_one_test): Likewise.
12699         (do_test): Likewise.
12700         * string/test-memcpy.c (do_one_test): Likewise.
12701         (do_test): Likewise.
12702         * string/test-memmem.c (do_one_test): Likewise.
12703         (do_test): Likewise.
12704         (do_random_tests): Likewise.
12705         * string/test-memmove.c (do_one_test): Likewise.
12706         (do_test): Likewise.
12707         * string/test-memset.c (do_one_test): Likewise.
12708         (do_test): Likewise.
12709         * string/test-rawmemchr.c (do_one_test): Likewise.
12710         (do_test): Likewise.
12711         * string/test-strcasecmp.c (do_one_test): Likewise.
12712         (do_test): Likewise.
12713         * string/test-strcasestr.c (do_one_test): Likewise.
12714         (do_test): Likewise.
12715         * string/test-strcat.c (do_one_test): Likewise.
12716         (do_test): Likewise.
12717         * string/test-strchr.c (do_one_test): Likewise.
12718         (do_test): Likewise.
12719         * string/test-strcmp.c (do_one_test): Likewise.
12720         (do_test): Likewise.
12721         * string/test-strcpy.c (do_one_test): Likewise.
12722         (do_test): Likewise.
12723         * string/test-string.h: Likewise.
12724         (test_init): Likewise.
12725         * string/test-strlen.c (do_one_test): Likewise.
12726         (do_test): Likewise.
12727         * string/test-strncasecmp.c (do_one_test): Likewise.
12728         (do_test): Likewise.
12729         * string/test-strncat.c (do_one_test): Likewise.
12730         (do_test): Likewise.
12731         * string/test-strncmp.c (do_one_test): Likewise.
12732         (do_test_limit): Likewise.
12733         (do_test): Likewise.
12734         * string/test-strncpy.c (do_one_test): Likewise.
12735         (do_test): Likewise.
12736         * string/test-strnlen.c (do_one_test): Likewise.
12737         (do_test): Likewise.
12738         * string/test-strpbrk.c (do_one_test): Likewise.
12739         (do_test): Likewise.
12740         * string/test-strrchr.c (do_one_test): Likewise.
12741         (do_test): Likewise.
12742         * string/test-strspn.c (do_one_test): Likewise.
12743         (do_test): Likewise.
12744         * string/test-strstr.c (do_one_test): Likewise.
12745         (do_test): Likewise.
12747         * benchtests/Makefile (string-bench): Add string benchmarks.
12748         * benchtests/bench-bcopy-ifunc.c: New file.
12749         * benchtests/bench-bcopy.c: New file.
12750         * benchtests/bench-bzero-ifunc.c: New file.
12751         * benchtests/bench-bzero.c: New file.
12752         * benchtests/bench-memccpy-ifunc.c: New file.
12753         * benchtests/bench-memccpy.c: New file.
12754         * benchtests/bench-memchr-ifunc.c: New file.
12755         * benchtests/bench-memchr.c: New file.
12756         * benchtests/bench-memcmp-ifunc.c: New file.
12757         * benchtests/bench-memcmp.c: New file.
12758         * benchtests/bench-memmem-ifunc.c: New file.
12759         * benchtests/bench-memmem.c: New file.
12760         * benchtests/bench-memmove-ifunc.c: New file.
12761         * benchtests/bench-memmove.c: New file.
12762         * benchtests/bench-mempcpy-ifunc.c: New file.
12763         * benchtests/bench-mempcpy.c: New file.
12764         * benchtests/bench-memset-ifunc.c: New file.
12765         * benchtests/bench-memset.c: New file.
12766         * benchtests/bench-rawmemchr-ifunc.c: New file.
12767         * benchtests/bench-rawmemchr.c: New file.
12768         * benchtests/bench-stpcpy-ifunc.c: New file.
12769         * benchtests/bench-stpcpy.c: New file.
12770         * benchtests/bench-stpncpy-ifunc.c: New file.
12771         * benchtests/bench-stpncpy.c: New file.
12772         * benchtests/bench-strcasecmp-ifunc.c: New file.
12773         * benchtests/bench-strcasecmp.c: New file.
12774         * benchtests/bench-strcasestr-ifunc.c: New file.
12775         * benchtests/bench-strcasestr.c: New file.
12776         * benchtests/bench-strcat-ifunc.c: New file.
12777         * benchtests/bench-strcat.c: New file.
12778         * benchtests/bench-strchr-ifunc.c: New file.
12779         * benchtests/bench-strchr.c: New file.
12780         * benchtests/bench-strchrnul-ifunc.c: New file.
12781         * benchtests/bench-strchrnul.c: New file.
12782         * benchtests/bench-strcmp-ifunc.c: New file.
12783         * benchtests/bench-strcmp.c: New file.
12784         * benchtests/bench-strcpy-ifunc.c: New file.
12785         * benchtests/bench-strcpy.c: New file.
12786         * benchtests/bench-strcspn-ifunc.c: New file.
12787         * benchtests/bench-strcspn.c: New file.
12788         * benchtests/bench-strlen-ifunc.c: New file.
12789         * benchtests/bench-strlen.c: New file.
12790         * benchtests/bench-strncasecmp-ifunc.c: New file.
12791         * benchtests/bench-strncasecmp.c: New file.
12792         * benchtests/bench-strncat-ifunc.c: New file.
12793         * benchtests/bench-strncat.c: New file.
12794         * benchtests/bench-strncmp-ifunc.c: New file.
12795         * benchtests/bench-strncmp.c: New file.
12796         * benchtests/bench-strncpy-ifunc.c: New file.
12797         * benchtests/bench-strncpy.c: New file.
12798         * benchtests/bench-strnlen-ifunc.c: New file.
12799         * benchtests/bench-strnlen.c: New file.
12800         * benchtests/bench-strpbrk-ifunc.c: New file.
12801         * benchtests/bench-strpbrk.c: New file.
12802         * benchtests/bench-strrchr-ifunc.c: New file.
12803         * benchtests/bench-strrchr.c: New file.
12804         * benchtests/bench-strspn-ifunc.c: New file.
12805         * benchtests/bench-strspn.c: New file.
12806         * benchtests/bench-strstr-ifunc.c: New file.
12807         * benchtests/bench-strstr.c: New file.
12809         * benchtests/Makefile: Disable parallel execution of targets.
12810         (string-bench): Add memcpy.
12811         (benchset): New variable to store a list of benchmark sets.
12812         (bench-func): Renamed from bench.
12813         (bench-set): New target.
12814         (bench): Depend on bench-func and bench-set.
12815         * benchtests/README: Add section on benchmark sets.
12816         * benchtests/bench-memcpy-ifunc.c: New file.
12817         * benchtests/bench-memcpy.c: New file.
12818         * benchtests/bench-string.h: New file.
12820 2013-06-11  Andreas Schwab  <schwab@suse.de>
12822         [BZ #15577]
12823         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12824         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12825         values in the triple.
12826         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12827         terminator in the group key.
12829 2013-06-11  Andreas Jaeger  <aj@suse.de>
12831         * po/zh_TW.po: Update Chinese (traditional) translation from
12832         translation project.
12834 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12836         * include/time.h (__clock_gettime): Add libc_hidden_proto.
12837         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12838         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
12839         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12840         (clock_getcpuclockid): Likewise.
12841         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12842         Add weak_alias and libc_hidden_def.
12843         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12844         * rt/clock_gettime.c (clock_gettime): Rename to
12845         __clock_gettime.  Add weak_alias and libc_hidden_def.
12846         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12847         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12848         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
12849         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12850         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12851         Likewise.
12852         * rt/clock_settime.c (clock_settime): Rename to
12853         __clock_settime.  Add weak_alias and libc_hidden_def.
12854         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12856 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
12858         * mach/err_boot.sub: Remove trailing whitespace.
12859         * mach/err_ipc.sub: Likewise.
12860         * mach/err_mach.sub: Likewise.
12862         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12863         (ROUNDING_TESTS_double): Likewise.
12864         (ROUNDING_TESTS_long_double): Likewise.
12865         (ROUNDING_TESTS): Likewise.
12866         * math/libm-test.inc: Include <math-tests.h>.
12867         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12868         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12869         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12870         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12872 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12874         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12875         of assigning.
12877 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
12879         * sysdeps/gnu/errlist.awk: Do not generate space at end of
12880         otherwise empty TRANS lines.
12881         * sysdeps/gnu/errlist.c: Regenerated.
12883         * catgets/gencat.c (error_print): Use (void) in function
12884         definition.
12885         * crypt/crypt_util.c (__init_des): Likewise.
12886         * crypt/speeds.c (Stop): Likewise.
12887         (main): Likewise.
12888         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12889         * inet/ruserpass.c (token): Likewise.
12890         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12891         * intl/localealias.c (extend_alias_table): Likewise.
12892         * intl/plural-exp.c (init_germanic_plural): Likewise.
12893         * libio/fcloseall.c (__fcloseall): Likewise.
12894         * libio/genops.c (_IO_flush_all): Likewise.
12895         (_IO_flush_all_linebuffered): Likewise.
12896         (_IO_cleanup): Likewise.
12897         (_IO_iter_begin): Likewise.
12898         (_IO_iter_end): Likewise.
12899         (_IO_list_lock): Likewise.
12900         (_IO_list_unlock): Likewise.
12901         (_IO_list_resetlock): Likewise.
12902         * libio/getchar.c (getchar): Likewise.
12903         * libio/getchar_u.c (getchar_unlocked): Likewise.
12904         * libio/getwchar.c (getwchar): Likewise.
12905         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12906         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12907         * login/getpt.c (__getpt): Likewise.
12908         * login/tst-utmp.c (main): Likewise.
12909         * malloc/hooks.c (__malloc_check_init): Likewise.
12910         * malloc/malloc.c (__malloc_stats): Likewise.
12911         * malloc/mtrace.c (tr_break): Likewise.
12912         (mtrace): Likewise.
12913         (muntrace): Likewise.
12914         * misc/fstab.c (endfsent): Likewise.
12915         * misc/getclktck.c (__getclktck): Likewise.
12916         * misc/getdtsz.c (__getdtablesize): Likewise.
12917         * misc/gethostid.c (gethostid): Likewise.
12918         * misc/getpagesize.c (__getpagesize): Likewise.
12919         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12920         (__get_nprocs): Likewise.
12921         (__get_phys_pages): Likewise.
12922         (__get_avphys_pages): Likewise.
12923         * misc/getttyent.c (getttyent): Likewise.
12924         (setttyent): Likewise.
12925         (endttyent): Likewise.
12926         * misc/getusershell.c (getusershell): Likewise.
12927         (endusershell): Likewise.
12928         (setusershell): Likewise.
12929         (initshells): Likewise.
12930         * misc/hsearch.c (__hdestroy): Likewise.
12931         * misc/sync.c (sync): Likewise.
12932         * misc/syslog.c (closelog_internal): Likewise.
12933         (closelog): Likewise.
12934         * misc/ttyslot.c (ttyslot): Likewise.
12935         * misc/vhangup.c (vhangup): Likewise.
12936         * posix/fork.c (__fork): Likewise.
12937         * posix/getegid.c (__getegid): Likewise.
12938         * posix/geteuid.c (__geteuid): Likewise.
12939         * posix/getgid.c (__getgid): Likewise.
12940         * posix/getpid.c (__getpid): Likewise.
12941         * posix/getppid.c (__getppid): Likewise.
12942         * posix/getuid.c (__getuid): Likewise.
12943         * posix/pause.c (pause): Likewise.
12944         * posix/setpgrp.c (setpgrp): Likewise.
12945         * posix/setsid.c (__setsid): Likewise.
12946         * posix/test-vfork.c (noop): Likewise.
12947         * resolv/gethnamaddr.c (_endhtent): Likewise.
12948         (_gethtent): Likewise.
12949         (ht_endhostent): Likewise.
12950         (gethostent): Likewise.
12951         (dns_service): Likewise.
12952         * stdlib/drand48.c (drand48): Likewise.
12953         * stdlib/lrand48.c (lrand48): Likewise.
12954         * stdlib/mrand48.c (mrand48): Likewise.
12955         * stdlib/rand.c (rand): Likewise.
12956         * stdlib/random.c (__random): Likewise.
12957         * stdlib/setenv.c (clearenv): Likewise.
12958         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12959         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12960         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12961         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12962         (__get_nprocs): Likewise.
12963         (__get_phys_pages): Likewise.
12964         (__get_avphys_pages): Likewise.
12965         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12966         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12967         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12968         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12969         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12970         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12971         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12972         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12973         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12974         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12975         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12976         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12977         * sysdeps/posix/clock.c (clock): Likewise.
12978         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12979         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12980         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12981         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12982         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12984         (__get_nprocs_conf): Likewise.
12985         (__get_phys_pages): Likewise.
12986         (__get_avphys_pages): Likewise.
12987         * time/clock.c (clock): Likewise.
12988         * time/tzset.c (__tzname_max): Likewise.
12990 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12992         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12993         (__bswap_32): Do not use "register".
12994         * crypt/crypt.c (_ufc_doit_r): Likewise.
12995         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12996         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12997         * gmon/gmon.c (__monstartup): Likewise.
12998         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12999         * hurd/hurdmalloc.c (more_memory): Likewise.
13000         (malloc): Likewise.
13001         (free): Likewise.
13002         (realloc): Likewise.
13003         (malloc_fork_prepare): Likewise.
13004         (malloc_fork_parent): Likewise.
13005         (malloc_fork_child): Likewise.
13006         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13007         (_svcauth_des): Likewise.
13008         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13009         * inet/inet_net.c (inet_network): Likewise.
13010         * inet/inet_netof.c (inet_netof): Likewise.
13011         * inet/rcmd.c (__validuser2_sa): Likewise.
13012         * io/fts.c (fts_open): Likewise.
13013         (fts_load): Likewise.
13014         (fts_close): Likewise.
13015         (fts_read): Likewise.
13016         (fts_children): Likewise.
13017         (fts_build): Likewise.
13018         (fts_stat): Likewise.
13019         (fts_sort): Likewise.
13020         (fts_alloc): Likewise.
13021         (fts_lfree): Likewise.
13022         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13023         (_IO_file_xsgetn): Likewise.
13024         (_IO_file_xsgetn_mmap): Likewise.
13025         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13026         (_IO_cookie_write): Likewise.
13027         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13028         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13029         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13030         * malloc/obstack.c (_obstack_begin): Likewise.
13031         (_obstack_begin_1): Likewise.
13032         (_obstack_newchunk): Likewise.
13033         (_obstack_allocated_p): Likewise.
13034         (obstack_free): Likewise.
13035         (_obstack_memory_used): Likewise.
13036         * misc/getttyent.c (getttynam): Likewise.
13037         (getttyent): Likewise.
13038         (skip): Likewise.
13039         (value): Likewise.
13040         * misc/getusershell.c (initshells): Likewise.
13041         * misc/syslog.c (__vsyslog_chk): Likewise.
13042         * misc/ttyslot.c (ttyslot): Likewise.
13043         * nis/nis_hash.c (__nis_hash): Likewise.
13044         * posix/fnmatch_loop.c (FCT): Likewise.
13045         * posix/getconf.c (print_all): Likewise.
13046         (main): Likewise.
13047         * posix/getopt.c (exchange): Likewise.
13048         * posix/glob.c (globfree): Likewise.
13049         (prefix_array): Likewise.
13050         (__glob_pattern_type): Likewise.
13051         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13052         (NS_GET32): Likewise.
13053         (NS_PUT16): Likewise.
13054         (NS_PUT32): Likewise.
13055         * resolv/gethnamaddr.c (getanswer): Likewise.
13056         (gethostbyname2): Likewise.
13057         (gethostbyaddr): Likewise.
13058         (_gethtent): Likewise.
13059         (_gethtbyname2): Likewise.
13060         (_gethtbyaddr): Likewise.
13061         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13062         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13063         * resolv/res_init.c (__res_vinit): Likewise.
13064         (net_mask): Likewise.
13065         * resolv/res_mkquery.c (outchar): Likewise.
13066         (PRINT): Likewise.
13067         * stdio-common/printf_fp.c (outchar): Likewise.
13068         (PRINT): Likewise.
13069         * stdio-common/printf_fphex.c (outchar): Likewise.
13070         (PRINT): Likewise.
13071         * stdio-common/printf_size.c (outchar): Likewise.
13072         (PRINT): Likewise.
13073         * stdio-common/test_rdwr.c (main): Likewise.
13074         * stdio-common/tfformat.c (matches): Likewise.
13075         * stdio-common/vfprintf.c (outchar): Likewise.
13076         (printf_unknown): Likewise.
13077         (buffered_vfprintf): Likewise.
13078         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13079         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13080         (ReadFile): Likewise.
13081         * stdlib/qsort.c (SWAP): Likewise.
13082         (_quicksort): Likewise.
13083         * stdlib/setenv.c (__add_to_environ): Likewise.
13084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13085         * stdlib/strtol_l.c (__strtol_l): Likewise.
13086         * stdlib/tst-strtod.c (main): Likewise.
13087         * stdlib/tst-strtol.c (main): Likewise.
13088         * stdlib/tst-strtoll.c (main): Likewise.
13089         * string/bits/string2.h (__strcmp_cc): Likewise.
13090         (__strcmp_cg): Likewise.
13091         (__strcspn_c1): Likewise.
13092         (__strcspn_c2): Likewise.
13093         (__strcspn_c3): Likewise.
13094         (__strspn_c1): Likewise.
13095         (__strspn_c2): Likewise.
13096         (__strspn_c3): Likewise.
13097         (__strsep_1c): Likewise.
13098         (__strsep_2c): Likewise.
13099         (__strsep_3c): Likewise.
13100         * string/memccpy.c (__memccpy): Likewise.
13101         * string/stpcpy.c (__stpcpy): Likewise.
13102         * string/strcmp.c (strcmp): Likewise.
13103         * string/strrchr.c (strrchr): Likewise.
13104         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13105         Likewise.
13106         * sysdeps/mach/hurd/getcwd.c
13107         (_hurd_canonicalize_directory_name_internal): Likewise.
13108         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13109         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13110         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13111         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13112         Likewise, in both definitions.
13113         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13114         definitions.
13115         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13116         64] (__bswap_64): Likewise.
13117         * time/test_time.c (main): Likewise.
13118         * time/tzfile.c (__tzfile_read): Likewise.
13119         (__tzfile_compute): Likewise.
13120         * time/tzset.c (__tzset_parse_tz): Likewise.
13121         (tzset_internal): Likewise.
13122         (compute_change): Likewise.
13123         * wcsmbs/wcscat.c (__wcscat): Likewise.
13124         * wcsmbs/wcschr.c (wcschr): Likewise.
13125         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13126         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13127         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13128         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13129         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13130         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13131         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13132         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13133         * wcsmbs/wmemset.c (wmemset): Likewise.
13135 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13137         * scripts/config.guess: Update to version 2013-05-16.
13138         * scripts/config.sub: Update to version 2013-04-24.
13139         * scripts/install-sh: Update to version 2011-11-20.07.
13140         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13141         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13143 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13145         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13146         * elf/sln.c: Likewise.
13147         * hurd/hurd/ioctl.h: Likewise.
13148         * hurd/hurdmalloc.c: Likewise.
13149         * hurd/xattr.c: Likewise.
13150         * include/shlib-compat.h: Likewise.
13151         * inet/ruserpass.c: Likewise.
13152         * libio/iofgets_u.c: Likewise.
13153         * libio/iofgetws_u.c: Likewise.
13154         * locale/programs/ld-identification.c: Likewise.
13155         * locale/programs/ld-time.c: Likewise.
13156         * mach/msg-destroy.c: Likewise.
13157         * nss/nss_files/files-netgrp.c: Likewise.
13158         * resolv/res_data.c: Likewise.
13159         * soft-fp/op-1.h: Likewise.
13160         * soft-fp/op-2.h: Likewise.
13161         * soft-fp/op-4.h: Likewise.
13162         * soft-fp/op-common.h: Likewise.
13163         * stdio-common/printf_fphex.c: Likewise.
13164         * stdlib/strtod_l.c: Likewise.
13165         * sunrpc/rpc/clnt.h: Likewise.
13166         * sysdeps/generic/framestate.c: Likewise.
13167         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13168         * sysdeps/i386/bsd-setjmp.S: Likewise.
13169         * sysdeps/i386/__longjmp.S: Likewise.
13170         * sysdeps/i386/setjmp.S: Likewise.
13171         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13172         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13173         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13174         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13176         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13178         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13179         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13180         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13181         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13182         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13183         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13184         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13185         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13186         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13187         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13188         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13189         * sysdeps/ieee754/support.c: Likewise.
13190         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13191         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13192         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13193         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13194         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13195         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13196         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13197         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13198         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13199         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13200         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13201         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13202         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13203         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13204         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13205         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13206         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13209 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13211         * posix/transbug.c: Remove executable mode.
13213 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13215         * crypt/speeds.c: Remove trailing whitespace.
13216         * dlfcn/default.c: Likewise.
13217         * elf/ifuncdep2.c: Likewise.
13218         * elf/ifuncmain1.c: Likewise.
13219         * elf/ifuncmain1vis.c: Likewise.
13220         * elf/testobj.h: Likewise.
13221         * elf/tst-stackguard1.c: Likewise.
13222         * gmon/sys/gmon.h: Likewise.
13223         * hurd/hurdmsg.c: Likewise.
13224         * hurd/new-fd.c: Likewise.
13225         * hurd/ports-get.c: Likewise.
13226         * iconvdata/ibm1008_420.c: Likewise.
13227         * inet/tst-getni1.c: Likewise.
13228         * inet/tst-getni2.c: Likewise.
13229         * libio/ioungetc.c: Likewise.
13230         * libio/wfiledoalloc.c: Likewise.
13231         * manual/libm-err-tab.pl: Likewise.
13232         * math/w_dremf.c: Likewise.
13233         * misc/ftruncate.c: Likewise.
13234         * posix/bug-glob2.c: Likewise.
13235         * posix/tst-pcre.c: Likewise.
13236         * posix/wait4.c: Likewise.
13237         * resolv/README: Likewise.
13238         * resolv/res_debug.h: Likewise.
13239         * resolv/tst-inet_ntop.c: Likewise.
13240         * setjmp/bug269-setjmp.c: Likewise.
13241         * soft-fp/extended.h: Likewise.
13242         * soft-fp/op-1.h: Likewise.
13243         * soft-fp/op-2.h: Likewise.
13244         * soft-fp/op-4.h: Likewise.
13245         * soft-fp/op-8.h: Likewise.
13246         * soft-fp/testit.c: Likewise.
13247         * stdio-common/bug16.c: Likewise.
13248         * stdlib/random.c: Likewise.
13249         * sunrpc/rpcsvc/rquota.x: Likewise.
13250         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13251         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13252         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13253         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13254         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13255         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13256         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13257         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13258         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13259         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13260         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13261         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13262         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13263         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13264         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13265         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13266         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13267         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13268         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13269         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13270         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13271         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13272         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13276         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13277         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13278         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13279         * sysdeps/ieee754/s_lib_version.c: Likewise.
13280         * sysdeps/mach/hurd/check_fds.c: Likewise.
13281         * sysdeps/mach/hurd/getsockname.c: Likewise.
13282         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13283         * sysdeps/mach/hurd/recvfrom.c: Likewise.
13284         * sysdeps/powerpc/bits/link.h: Likewise.
13285         * sysdeps/powerpc/dl-procinfo.c: Likewise.
13286         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13287         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13288         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13289         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13290         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13291         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13292         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13293         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13294         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13295         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13296         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13297         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13298         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13299         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13300         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13301         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13302         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13303         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13304         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13305         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13306         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13307         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13308         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13309         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13310         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13311         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13312         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13313         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13314         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13315         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13316         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13318         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13319         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13320         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13321         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13322         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13323         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13324         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13325         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13326         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13327         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13328         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13329         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13330         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13331         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13332         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13333         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13334         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13335         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13336         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13337         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13338         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13339         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13340         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13341         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13342         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13343         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13344         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13345         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13346         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13347         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13348         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13349         * sysdeps/powerpc/sysdep.h: Likewise.
13350         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13351         * sysdeps/s390/s390-64/sub_n.S: Likewise.
13352         * sysdeps/sh/dl-trampoline.S: Likewise.
13353         * sysdeps/sh/memset.S: Likewise.
13354         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13355         * sysdeps/sh/strlen.S: Likewise.
13356         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13357         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13358         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13359         * sysdeps/sparc/sparc32/rem.S: Likewise.
13360         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13361         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13362         * sysdeps/sparc/sparc32/strchr.S: Likewise.
13363         * sysdeps/sparc/sparc32/udiv.S: Likewise.
13364         * sysdeps/sparc/sparc32/urem.S: Likewise.
13365         * sysdeps/sparc/sparc64/add_n.S: Likewise.
13366         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13367         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13368         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13370         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13371         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13372         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13373         * sysdeps/unix/bsd/times.c: Likewise.
13374         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13375         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13380         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13381         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13382         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13383         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13384         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13385         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13386         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13387         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13388         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13389         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13390         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13391         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13392         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13393         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13394         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13395         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13396         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13397         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13398         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13399         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13400         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13401         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13402         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13403         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13404         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13405         * sysdeps/x86_64/strcspn.S: Likewise.
13407 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13409         * locale/C-translit.h: Revert #include <stdint.h> because this is a
13410         generated file.  Regenerate properly from gen-translit.pl.
13411         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
13412         locale/C-translit.h.
13414 2013-06-05  Andreas Schwab  <schwab@suse.de>
13416         [BZ #15100]
13417         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13418         week as 6 instead of -1.
13419         * time/tst-strptime.c (day_tests): Add test case.
13421 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13423         * sysdeps/generic/math_private.h
13424         (libc_feholdexcept_setround_53bit): Replace with
13425         libc_feholdsetround_53bit.
13426         (libc_feupdateenv_53bit): Replace with
13427         libc_feresetround_53bit.
13428         (SET_RESTORE_ROUND_53BIT): Adjust.
13430 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13432         * string/test-strchrnul.c: Add copyright header.
13434         * posix/tst-getaddrinfo4.c: Increase test timeout.
13436 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
13438         [BZ #15536]
13439         * math/libm-test.inc (MAX_EXP): Remove
13440         (MIN_EXP): Define.
13441         (ulp): Use MIN_EXP - MANT_DIG.
13442         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13444 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
13446         * po/be.po: Revert last change.
13447         * po/zh_CN.po: Likewise.
13448         * po/header.pot: Likewise.
13450 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
13452         * Makefile ($(common-objpfx)linkobj/libc.so): Define
13453         link-libc-deps to empty as target-specific variable.
13454         * Makerules (link-libc-args): New variable.
13455         (libc-for-link): Likewise.
13456         (link-libc-deps): Likewise.
13457         (lib%.so): Depend on $(link-libc-deps).  Link with
13458         $(link-libc-args).
13459         (build-module): Link with $(link-libc-args).
13460         (build-module-asneeded): Likewise.
13461         (build-module-helper-objlist): Filter out $(link-libc-deps) from
13462         list of objects.
13463         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13464         target-specific variable.
13465         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13466         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13467         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13468         libc.
13469         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13470         libc and ld.so.
13471         ($(objpfx)libpcprofile.so): Likewise.
13472         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13473         libc_nonshared.a.
13474         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13475         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13476         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13477         $(link-libc-deps).
13478         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13479         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13480         * login/Makefile ($(objpfx)libutil.so): Likewise.
13481         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13482         * math/Makefile ($(objpfx)libm.so): Likewise.
13483         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13484         $(objpfx)libnsl.so): Define libc-for-link as target-specific
13485         variable instead of depending directly on libc.
13486         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13487         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13488         $(link-libc-deps).
13489         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13490         libc.
13491         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13492         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13493         ($(objpfx)libanl.so): Likewise.
13494         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13495         ld.so.
13496         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13497         $(link-libc-deps).
13498         * sysdeps/i386/fpu/Makefile: Remove file.
13499         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13500         ($(objpfx)libm.so): Remove dependency on ld.so.
13502 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
13504         [BZ # 15553]
13505         * nis/yp_xdr.c (XDRMAXNAME): Define.
13506         (XDRMAXRECORD): Define.
13507         (xdr_domainname): Use XDRMAXNAME.
13508         (xdr_mapname): Likewise.
13509         (xdr_peername): Likewise.
13510         (xdr_keydat): Use XDRMAXRECORD.
13511         (xdr_valdat): Likewise.
13513 2013-05-30  Jeff Law  <law@redhat.com>
13515         [BZ #14256]
13516         * manual/errno.texi (ESTALE): Update to account for more than
13517         just NFS file systems.
13518         * sysdeps/gnu/errlist.c: Regenerated.
13520 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13522         [BZ #15465]
13523         * elf/Makefile (tests): Add tst-null-argv.
13524         (modules-names):  Add tst-null-argv-lib.
13525         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13526         (tst-null-argv-ENV): Set environment for tst-null-argv.
13527         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13528         (RTLD_PROGNAME): New macro.
13529         * elf/tst-null-argv.c: New test case.
13530         * elf/tst-null-argv-lib.c: Library for test case.
13531         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13532         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13533         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13534         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13535         * elf/dl-init.c (call_init): Likewise.
13536         (_dl_init): Likewise.
13537         * elf/dl-load.c (print_search_path): Likewise.
13538         (_dl_map_object): Likewise.
13539         * elf/dl-lookup.c (do_lookup_x): Likewise.
13540         (add_dependency): Likewise.
13541         (_dl_lookup_symbol_x): Likewise.
13542         (_dl_debug_bindings): Likewise.
13543         * elf/dl-open.c (_dl_show_scope): Likewise.
13544         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13545         * elf/dl-version.c (match_symbol): Likewise.
13546         (_dl_check_map_versions): Likewise.
13547         * elf/rtld.c (dl_main): Likewise.
13548         (print_unresolved): Use RTLD_PROGNAME.
13549         (print_missing_version): Likewise.
13550         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13551         (elf_machine_rela): Likewise.
13552         * sysdeps/powerpc/powerpc32/dl-machine.c
13553         (__process_machine_rela): Likewise.
13554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13555         Likewise.
13556         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13557         Likewise.
13558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13559         Likewise.
13560         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13562         Likewise.
13563         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13564         Likewise.
13565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13567 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
13569         * po/be.po: Add descriptive title.
13570         * po/zh_CN.po: Likewise.
13571         * po/header.pot: Likewise.
13573 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
13575         * locale/programs/locarchive.c (create_archive): Inlucde fname in
13576         error message.
13577         (enlarge_archive): Likewise.
13579 2013-05-28  Ben North  <ben@redfrontdoor.org>
13581         * manual/arith.texi (frexp): It is the magnitude of the return
13582         value which lies in [0.5, 1), not the return value itself.
13584 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13588 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
13590         * stdio-common/bug26.c (main): Correct fscanf template.
13592         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13593         declare _dl_skip_args.
13595         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13596         Don't declare.
13598         * manual/platform.texi: Add missing @end deftypefun.
13600 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13602         [BZ #15529]
13603         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13604         bit of mantissa of 2^16382.
13605         * math/libm-test.inc (hypot_test_data): Add more tests.
13607         * math/libm-test.inc: Add drem and pow10 to list of tested
13608         functions.
13609         (pow10_test): New function.
13610         (drem_test): Likewise.
13611         (drem_test_tonearest): Likewise.
13612         (drem_test_towardzero): Likewise.
13613         (drem_test_downward): Likewise.
13614         (drem_test_upward): Likewise.
13615         (main): Call the new functions.
13617         * math/libm-test.inc (finite_test_data): Remove.
13618         (finite_test): Run tests from isfinite_test_data.
13619         (gamma_test_data): Remove.
13620         (gamma_test): Run tests from lgamma_test_data.
13621         * sysdeps/i386/fpu/libm-test-ulps: Update.
13622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13624 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13626         * manual/platform.texi: Add PowerPC PPR function set documentation.
13627         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13628         implementation.
13630 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
13632         * math/libm-test.inc (MAX_EXP): Define.
13633         (ULPDIFF): Define.
13634         (ulp): New function.
13635         (check_float_internal): Use ULPDIFF.
13636         (cpow_test): Disable failing test.
13637         (check_ulp): Test ulp() implemetnation.
13638         (main): Call check_ulp before starting tests.
13640 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13642         * math/gen-libm-test.pl (generate_testfile): Do not handle
13643         START_DATA and END_DATA.
13644         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13645         END_DATA.
13646         (acos_tonearest_test_data): Likewise.
13647         (acos_towardzero_test_data): Likewise.
13648         (acos_downward_test_data): Likewise.
13649         (acos_upward_test_data): Likewise.
13650         (acosh_test_data): Likewise.
13651         (asin_test_data): Likewise.
13652         (asin_tonearest_test_data): Likewise.
13653         (asin_towardzero_test_data): Likewise.
13654         (asin_downward_test_data): Likewise.
13655         (asin_upward_test_data): Likewise.
13656         (asinh_test_data): Likewise.
13657         (atan_test_data): Likewise.
13658         (atanh_test_data): Likewise.
13659         (atan2_test_data): Likewise.
13660         (cabs_test_data): Likewise.
13661         (cacos_test_data): Likewise.
13662         (cacosh_test_data): Likewise.
13663         (carg_test_data): Likewise.
13664         (casin_test_data): Likewise.
13665         (casinh_test_data): Likewise.
13666         (catan_test_data): Likewise.
13667         (catanh_test_data): Likewise.
13668         (cbrt_test_data): Likewise.
13669         (ccos_test_data): Likewise.
13670         (ccosh_test_data): Likewise.
13671         (ceil_test_data): Likewise.
13672         (cexp_test_data): Likewise.
13673         (cimag_test_data): Likewise.
13674         (clog_test_data): Likewise.
13675         (clog10_test_data): Likewise.
13676         (conj_test_data): Likewise.
13677         (copysign_test_data): Likewise.
13678         (cos_test_data): Likewise.
13679         (cos_tonearest_test_data): Likewise.
13680         (cos_towardzero_test_data): Likewise.
13681         (cos_downward_test_data): Likewise.
13682         (cos_upward_test_data): Likewise.
13683         (cosh_test_data): Likewise.
13684         (cosh_tonearest_test_data): Likewise.
13685         (cosh_towardzero_test_data): Likewise.
13686         (cosh_downward_test_data): Likewise.
13687         (cosh_upward_test_data): Likewise.
13688         (cpow_test_data): Likewise.
13689         (cproj_test_data): Likewise.
13690         (creal_test_data): Likewise.
13691         (csin_test_data): Likewise.
13692         (csinh_test_data): Likewise.
13693         (csqrt_test_data): Likewise.
13694         (ctan_test_data): Likewise.
13695         (ctan_tonearest_test_data): Likewise.
13696         (ctan_towardzero_test_data): Likewise.
13697         (ctan_downward_test_data): Likewise.
13698         (ctan_upward_test_data): Likewise.
13699         (ctanh_test_data): Likewise.
13700         (ctanh_tonearest_test_data): Likewise.
13701         (ctanh_towardzero_test_data): Likewise.
13702         (ctanh_downward_test_data): Likewise.
13703         (ctanh_upward_test_data): Likewise.
13704         (erf_test_data): Likewise.
13705         (erfc_test_data): Likewise.
13706         (exp_test_data): Likewise.
13707         (exp_tonearest_test_data): Likewise.
13708         (exp_towardzero_test_data): Likewise.
13709         (exp_downward_test_data): Likewise.
13710         (exp_upward_test_data): Likewise.
13711         (exp10_test_data): Likewise.
13712         (exp2_test_data): Likewise.
13713         (expm1_test_data): Likewise.
13714         (fabs_test_data): Likewise.
13715         (fdim_test_data): Likewise.
13716         (finite_test_data): Likewise.
13717         (floor_test_data): Likewise.
13718         (fma_test_data): Likewise.
13719         (fma_towardzero_test_data): Likewise.
13720         (fma_downward_test_data): Likewise.
13721         (fma_upward_test_data): Likewise.
13722         (fmax_test_data): Likewise.
13723         (fmin_test_data): Likewise.
13724         (fmod_test_data): Likewise.
13725         (fpclassify_test_data): Likewise.
13726         (frexp_test_data): Likewise.
13727         (gamma_test_data): Likewise.
13728         (hypot_test_data): Likewise.
13729         (ilogb_test_data): Likewise.
13730         (isfinite_test_data): Likewise.
13731         (isgreater_test_data): Likewise.
13732         (isgreaterequal_test_data): Likewise.
13733         (isinf_test_data): Likewise.
13734         (isless_test_data): Likewise.
13735         (islessequal_test_data): Likewise.
13736         (islessgreater_test_data): Likewise.
13737         (isnan_test_data): Likewise.
13738         (isnormal_test_data): Likewise.
13739         (issignaling_test_data): Likewise.
13740         (isunordered_test_data): Likewise.
13741         (j0_test_data): Likewise.
13742         (j1_test_data): Likewise.
13743         (jn_test_data): Likewise.
13744         (ldexp_test_data): Likewise.
13745         (lgamma_test_data): Likewise.
13746         (lrint_test_data): Likewise.
13747         (lrint_tonearest_test_data): Likewise.
13748         (lrint_towardzero_test_data): Likewise.
13749         (lrint_downward_test_data): Likewise.
13750         (lrint_upward_test_data): Likewise.
13751         (llrint_test_data): Likewise.
13752         (llrint_tonearest_test_data): Likewise.
13753         (llrint_towardzero_test_data): Likewise.
13754         (llrint_downward_test_data): Likewise.
13755         (llrint_upward_test_data): Likewise.
13756         (log_test_data): Likewise.
13757         (log10_test_data): Likewise.
13758         (log1p_test_data): Likewise.
13759         (log2_test_data): Likewise.
13760         (logb_test_data): Likewise.
13761         (logb_downward_test_data): Likewise.
13762         (lround_test_data): Likewise.
13763         (llround_test_data): Likewise.
13764         (modf_test_data): Likewise.
13765         (nearbyint_test_data): Likewise.
13766         (nextafter_test_data): Likewise.
13767         (nexttoward_test_data): Likewise.
13768         (pow_test_data): Likewise.
13769         (pow_tonearest_test_data): Likewise.
13770         (pow_towardzero_test_data): Likewise.
13771         (pow_downward_test_data): Likewise.
13772         (pow_upward_test_data): Likewise.
13773         (remainder_test_data): Likewise.
13774         (remainder_tonearest_test_data): Likewise.
13775         (remainder_towardzero_test_data): Likewise.
13776         (remainder_downward_test_data): Likewise.
13777         (remainder_upward_test_data): Likewise.
13778         (remquo_test_data): Likewise.
13779         (rint_test_data): Likewise.
13780         (rint_tonearest_test_data): Likewise.
13781         (rint_towardzero_test_data): Likewise.
13782         (rint_downward_test_data): Likewise.
13783         (rint_upward_test_data): Likewise.
13784         (round_test_data): Likewise.
13785         (scalb_test_data): Likewise.
13786         (scalbn_test_data): Likewise.
13787         (scalbln_test_data): Likewise.
13788         (signbit_test_data): Likewise.
13789         (sin_test_data): Likewise.
13790         (sin_tonearest_test_data): Likewise.
13791         (sin_towardzero_test_data): Likewise.
13792         (sin_downward_test_data): Likewise.
13793         (sin_upward_test_data): Likewise.
13794         (sincos_test_data): Likewise.
13795         (sinh_test_data): Likewise.
13796         (sinh_tonearest_test_data): Likewise.
13797         (sinh_towardzero_test_data): Likewise.
13798         (sinh_downward_test_data): Likewise.
13799         (sinh_upward_test_data): Likewise.
13800         (sqrt_test_data): Likewise.
13801         (tan_test_data): Likewise.
13802         (tan_tonearest_test_data): Likewise.
13803         (tan_towardzero_test_data): Likewise.
13804         (tan_downward_test_data): Likewise.
13805         (tan_upward_test_data): Likewise.
13806         (tanh_test_data): Likewise.
13807         (tgamma_test_data): Likewise.
13808         (trunc_test_data): Likewise.
13809         (y0_test_data): Likewise.
13810         (y1_test_data): Likewise.
13811         (yn_test_data): Likewise.
13812         (significand_test_data): Likewise.
13814         * math/gen-libm-test.pl (@functions): Remove variable.
13815         (generate_testfile): Don't handle START and END lines.
13816         * math/libm-test.inc (START): New macro.
13817         (END): Likewise.
13818         (END_COMPLEX): Likewise.
13819         (acos_test): Use END macro without arguments.
13820         (acos_test_tonearest): Likewise.
13821         (acos_test_towardzero): Likewise.
13822         (acos_test_downward): Likewise.
13823         (acos_test_upward): Likewise.
13824         (acosh_test): Likewise.
13825         (asin_test): Likewise.
13826         (asin_test_tonearest): Likewise.
13827         (asin_test_towardzero): Likewise.
13828         (asin_test_downward): Likewise.
13829         (asin_test_upward): Likewise.
13830         (asinh_test): Likewise.
13831         (atan_test): Likewise.
13832         (atanh_test): Likewise.
13833         (atan2_test): Likewise.
13834         (cabs_test): Likewise.
13835         (cacos_test): Use END_COMPLEX macro without arguments.
13836         (cacosh_test): Likewise.
13837         (carg_test): Use END macro without arguments.
13838         (casin_test): Use END_COMPLEX macro without arguments.
13839         (casinh_test): Likewise.
13840         (catan_test): Likewise.
13841         (catanh_test): Likewise.
13842         (cbrt_test): Use END macro without arguments.
13843         (ccos_test): Use END_COMPLEX macro without arguments.
13844         (ccosh_test): Likewise.
13845         (ceil_test): Use END macro without arguments.
13846         (cexp_test): Use END_COMPLEX macro without arguments.
13847         (cimag_test): Use END macro without arguments.
13848         (clog_test): Use END_COMPLEX macro without arguments.
13849         (clog10_test): Likewise.
13850         (conj_test): Likewise.
13851         (copysign_test): Use END macro without arguments.
13852         (cos_test): Likewise.
13853         (cos_test_tonearest): Likewise.
13854         (cos_test_towardzero): Likewise.
13855         (cos_test_downward): Likewise.
13856         (cos_test_upward): Likewise.
13857         (cosh_test): Likewise.
13858         (cosh_test_tonearest): Likewise.
13859         (cosh_test_towardzero): Likewise.
13860         (cosh_test_downward): Likewise.
13861         (cosh_test_upward): Likewise.
13862         (cpow_test): Use END_COMPLEX macro without arguments.
13863         (cproj_test): Likewise.
13864         (creal_test): Use END macro without arguments.
13865         (csin_test): Use END_COMPLEX macro without arguments.
13866         (csinh_test): Likewise.
13867         (csqrt_test): Likewise.
13868         (ctan_test): Likewise.
13869         (ctan_test_tonearest): Likewise.
13870         (ctan_test_towardzero): Likewise.
13871         (ctan_test_downward): Likewise.
13872         (ctan_test_upward): Likewise.
13873         (ctanh_test): Likewise.
13874         (ctanh_test_tonearest): Likewise.
13875         (ctanh_test_towardzero): Likewise.
13876         (ctanh_test_downward): Likewise.
13877         (ctanh_test_upward): Likewise.
13878         (erf_test): Use END macro without arguments.
13879         (erfc_test): Likewise.
13880         (exp_test): Likewise.
13881         (exp_test_tonearest): Likewise.
13882         (exp_test_towardzero): Likewise.
13883         (exp_test_downward): Likewise.
13884         (exp_test_upward): Likewise.
13885         (exp10_test): Likewise.
13886         (exp2_test): Likewise.
13887         (expm1_test): Likewise.
13888         (fabs_test): Likewise.
13889         (fdim_test): Likewise.
13890         (finite_test): Likewise.
13891         (floor_test): Likewise.
13892         (fma_test): Likewise.
13893         (fma_test_towardzero): Likewise.
13894         (fma_test_downward): Likewise.
13895         (fma_test_upward): Likewise.
13896         (fmax_test): Likewise.
13897         (fmin_test): Likewise.
13898         (fmod_test): Likewise.
13899         (fpclassify_test): Likewise.
13900         (frexp_test): Likewise.
13901         (gamma_test): Likewise.
13902         (hypot_test): Likewise.
13903         (ilogb_test): Likewise.
13904         (isfinite_test): Likewise.
13905         (isgreater_test): Likewise.
13906         (isgreaterequal_test): Likewise.
13907         (isinf_test): Likewise.
13908         (isless_test): Likewise.
13909         (islessequal_test): Likewise.
13910         (islessgreater_test): Likewise.
13911         (isnan_test): Likewise.
13912         (isnormal_test): Likewise.
13913         (issignaling_test): Likewise.
13914         (isunordered_test): Likewise.
13915         (j0_test): Likewise.
13916         (j1_test): Likewise.
13917         (jn_test): Likewise.
13918         (ldexp_test): Likewise.
13919         (lgamma_test): Likewise.
13920         (lrint_test): Likewise.
13921         (lrint_test_tonearest): Likewise.
13922         (lrint_test_towardzero): Likewise.
13923         (lrint_test_downward): Likewise.
13924         (lrint_test_upward): Likewise.
13925         (llrint_test): Likewise.
13926         (llrint_test_tonearest): Likewise.
13927         (llrint_test_towardzero): Likewise.
13928         (llrint_test_downward): Likewise.
13929         (llrint_test_upward): Likewise.
13930         (log_test): Likewise.
13931         (log10_test): Likewise.
13932         (log1p_test): Likewise.
13933         (log2_test): Likewise.
13934         (logb_test): Likewise.
13935         (logb_test_downward): Likewise.
13936         (lround_test): Likewise.
13937         (llround_test): Likewise.
13938         (modf_test): Likewise.
13939         (nearbyint_test): Likewise.
13940         (nextafter_test): Likewise.
13941         (nexttoward_test): Likewise.
13942         (pow_test): Likewise.
13943         (pow_test_tonearest): Likewise.
13944         (pow_test_towardzero): Likewise.
13945         (pow_test_downward): Likewise.
13946         (pow_test_upward): Likewise.
13947         (remainder_test): Likewise.
13948         (remainder_test_tonearest): Likewise.
13949         (remainder_test_towardzero): Likewise.
13950         (remainder_test_downward): Likewise.
13951         (remainder_test_upward): Likewise.
13952         (remquo_test): Likewise.
13953         (rint_test): Likewise.
13954         (rint_test_tonearest): Likewise.
13955         (rint_test_towardzero): Likewise.
13956         (rint_test_downward): Likewise.
13957         (rint_test_upward): Likewise.
13958         (round_test): Likewise.
13959         (scalb_test): Likewise.
13960         (scalbn_test): Likewise.
13961         (scalbln_test): Likewise.
13962         (signbit_test): Likewise.
13963         (sin_test): Likewise.
13964         (sin_test_tonearest): Likewise.
13965         (sin_test_towardzero): Likewise.
13966         (sin_test_downward): Likewise.
13967         (sin_test_upward): Likewise.
13968         (sincos_test): Likewise.
13969         (sinh_test): Likewise.
13970         (sinh_test_tonearest): Likewise.
13971         (sinh_test_towardzero): Likewise.
13972         (sinh_test_downward): Likewise.
13973         (sinh_test_upward): Likewise.
13974         (sqrt_test): Likewise.
13975         (tan_test): Likewise.
13976         (tan_test_tonearest): Likewise.
13977         (tan_test_towardzero): Likewise.
13978         (tan_test_downward): Likewise.
13979         (tan_test_upward): Likewise.
13980         (tanh_test): Likewise.
13981         (tgamma_test): Likewise.
13982         (trunc_test): Likewise.
13983         (y0_test): Likewise.
13984         (y1_test): Likewise.
13985         (yn_test): Likewise.
13986         (significand_test): Likewise.
13988 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13990         [BZ #15381]
13991         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13993 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13995         [BZ #14894]
13996         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13997         __ppc_mdoio and __ppc_mdoom.
13998         * manual/platform.texi: Document new functions __ppc_yield,
13999         __ppc_mdoio and __ppc_mdoom.
14001 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14003         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14004         (main): Mention "tls" pseudo-hwcap is legacy.
14005         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14007 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14009         * math/gen-libm-test.pl (parse_args): Output only string of
14010         arguments as text for test name, not full call or descriptions of
14011         tests for extra outputs.
14012         (generate_testfile): Do not pass function name to parse_args.
14013         Generate this_func variable from START.
14014         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14015         field to arg_str.
14016         (struct test_ff_f_data): Likewise.
14017         (test_ff_f_data_nexttoward): Likewise.
14018         (struct test_fi_f_data): Likewise.
14019         (struct test_fl_f_data): Likewise.
14020         (struct test_if_f_data): Likewise.
14021         (struct test_fff_f_data): Likewise.
14022         (struct test_c_f_data): Likewise.
14023         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14024         (struct test_fF_f1_data): Likewise.
14025         (struct test_ffI_f1_data): Likewise.
14026         (struct test_c_c_data): Rename test_name field to arg_str.
14027         (struct test_cc_c_data): Likewise.
14028         (struct test_f_i_data): Likewise.
14029         (struct test_ff_i_data): Likewise.
14030         (struct test_f_l_data): Likewise.
14031         (struct test_f_L_data): Likewise.
14032         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14033         and extra2_name.
14034         (COMMON_TEST_SETUP): New macro.
14035         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14036         (COMMON_TEST_CLEANUP): Likewise.
14037         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14038         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14039         macros.
14040         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14041         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14042         macros.
14043         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14044         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14045         cleanup macros.
14046         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14047         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14048         macros.
14049         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14050         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14051         macros.
14052         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14053         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14054         cleanup macros.
14055         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14056         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14057         cleanup macros.
14058         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14059         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14060         cleanup macros.
14061         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14062         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14063         macros.
14064         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14065         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14066         macros.
14067         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14068         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14069         macros.
14070         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14071         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14072         cleanup macros.
14073         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14074         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14075         cleanup macros.
14076         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14077         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14078         macros.
14079         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14080         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14081         cleanup macros.
14082         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14083         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14084         macros.
14085         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14086         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14087         macros.
14088         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14089         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14090         cleanup macros.
14091         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14093 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14095         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14096         to _sifields.sigfault.
14097         (si_addr_lsb): Define new macro.
14098         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14100         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14102 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14104         [BZ #15441]
14105         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14106         returns -1.
14107         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14108         null return -1.
14109         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14110         loading the domain.
14112 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14114         * math/gen-libm-test.pl (parse_args): Do not include expected
14115         result in test name.
14116         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14118         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14119         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14120         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14123 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14125         * benchtests/Makefile: Sort function entries.
14127         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14128         tanh, asinh, acosh, atanh.
14129         * benchtests/acos-inputs: New file.
14130         * benchtests/acosh-inputs: New file.
14131         * benchtests/asin-inputs: New file.
14132         * benchtests/asinh-inputs: New file.
14133         * benchtests/atanh-inputs: New file.
14134         * benchtests/cosh-inputs: New file.
14135         * benchtests/log-inputs: New file.
14136         * benchtests/sinh-inputs: New file.
14137         * benchtests/tanh-inputs: New file.
14139 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14141         [BZ #15339]
14142         * posix/tst-getaddrinfo4.c: New test.
14143         * posix/Makefile (tests): Add it.
14145 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14147         [BZ #15339]
14148         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14149         when no services were used.
14150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14151         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14153 2013-05-21  Andreas Schwab  <schwab@suse.de>
14155         [BZ #15014]
14156         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14157         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14158         successful.
14159         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14160         redundant variable declarations and reallocation of buffer when
14161         parsing as IPv6 address.  Always set NSS status when called from
14162         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14163         buffer too small.  Correct computation of needed size.
14164         * nss/Makefile (tests): Add test-digits-dots.
14165         * nss/test-digits-dots.c: New test.
14167 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14169         * benchtests/Makefile: Remove instructions for adding
14170         benchmark tests.
14171         * benchtests/README: New file to explain how to execute and
14172         enhance the benchmark tests.
14174 2013-05-21  Andreas Schwab  <schwab@suse.de>
14176         [BZ #15493]
14177         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14178         * setjmp/tst-sigsetjmp.c: New test.
14180 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14182         * sysdeps/x86_64/memset.S (memset): New implementation.
14183         (__bzero): Likewise.
14184         (__memset_tail): New function.
14186 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14188         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14189         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14190         __memcpy_sse2_unaligned ifunc selection.
14191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14192         Add memcpy-sse2-unaligned.S.
14193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14194         Add: __memcpy_sse2_unaligned.
14196 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14198         [BZ #15490]
14199         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14200         math_force_eval before restoring floating-point envrionment.
14201         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14203         Likewise.
14204         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14205         <math_private.h>.
14206         (__nearbyintl): Use math_force_eval before restoring
14207         floating-point environment.
14208         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14210         * math/gen-libm-test.pl (special_functions): Remove.
14211         (parse_args): Don't handle TEST_extra.  Handle functions with no
14212         return value.
14213         * math/libm-test.inc (struct test_sincos_data): Replace with
14214         struct test_fFF_11_data.
14215         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14216         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14217         (sincos_test_data): Change element type to struct
14218         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14219         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14220         RUN_TEST_LOOP_sincos.
14221         * math/README.libm-test: Don't mention special handling of
14222         individual functions.
14223         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14224         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14225         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14226         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14227         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14230         * math/gen-libm-test.pl (get_variable): Remove function.
14231         (parse_args): Don't show pointer parameters to call in test
14232         names.  Use "extra output N" in test names for extra outputs
14233         rather than naming variables.
14235 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14237         [BZ #15488]
14238         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14239         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14240         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14241         double tests.
14242         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14243         disable.
14244         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14245         check_long_double.
14247         * math/gen-libm-test.pl (@tests): Remove variable.
14248         ($count): Likewise.
14249         (new_test): Remove function.
14250         (show_exceptions): New function.
14251         (special_functions): Use show_exceptions instead of new_test.
14252         (parse_args): Likewise.
14253         (generate_testfile): Pass only function name in generated call to
14254         print_max_error or print_complex_max_error.
14255         (get_ulps): Do not handle complex tests specially.
14256         (output_test): Rename to ...
14257         (get_all_ulps_for_test): ... this.  Return a string rather than
14258         printing to a file.  Require ulps to be present.
14259         (output_ulps): Generate arrays rather than #defines.
14260         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14261         (struct ulp_data): New type.
14262         (BUILD_COMPLEX_ULP): Remove macro.
14263         (compare_ulp_data): New function.
14264         (find_ulps): Likewise.
14265         (find_test_ulps): Likewise.
14266         (find_function_ulps): Likewise.
14267         (find_complex_function_ulps): Likewise.
14268         (print_max_error): Determine allowed ulps using
14269         find_function_ulps.
14270         (print_complex_max_error): Determine allowed ulps using
14271         find_complex_function_ulps.
14272         (check_float_internal): Determine max ulps using find_test_ulps.
14273         (check_float): Do not take max_ulp parameter.  Update call to
14274         check_float_internal.
14275         (check_complex): Likewise.
14276         (check_int): Do not take max_ulp parameter.
14277         (check_long): Likewise.
14278         (check_bool): Likewise.
14279         (check_longlong): Likewise.
14280         (struct test_f_f_data): Remove max_ulp field.
14281         (struct test_ff_f_data): Likewise.
14282         (struct test_ff_f_data_nexttoward): Likewise.
14283         (struct test_fi_f_data): Likewise.
14284         (struct test_fl_f_data): Likewise.
14285         (struct test_if_f_data): Likewise.
14286         (struct test_fff_f_data): Likewise.
14287         (struct test_c_f_data): Likewise.
14288         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14289         (struct test_fF_f1_data): Likewise.
14290         (struct test_ffI_f1_data): Likewise.
14291         (struct test_c_c_data): Remove max_ulp field.
14292         (struct test_cc_c_data): Likewise.
14293         (struct test_f_i_data): Likewise.
14294         (struct test_ff_i_data): Likewise.
14295         (struct test_f_l_data): Likewise.
14296         (struct test_f_L_data): Likewise.
14297         (struct test_sincos_data): Likewise.
14298         (RUN_TEST_f_f): Do not handle ulps.
14299         (RUN_TEST_LOOP_f_f): Likewise.
14300         (RUN_TEST_2_f): Likewise.
14301         (RUN_TEST_LOOP_2_f): Likewise.
14302         (RUN_TEST_fff_f): Likewise.
14303         (RUN_TEST_LOOP_fff_f): Likewise.
14304         (RUN_TEST_c_f): Likewise.
14305         (RUN_TEST_LOOP_c_f): Likewise.
14306         (RUN_TEST_f_f1): Likewise.
14307         (RUN_TEST_LOOP_f_f1): Likewise.
14308         (RUN_TEST_fF_f1): Likewise.
14309         (RUN_TEST_LOOP_fF_f1): Likewise.
14310         (RUN_TEST_fI_f1): Likewise.
14311         (RUN_TEST_LOOP_fI_f1): Likewise.
14312         (RUN_TEST_ffI_f1): Likewise.
14313         (RUN_TEST_LOOP_ffI_f1): Likewise.
14314         (RUN_TEST_c_c): Likewise.
14315         (RUN_TEST_LOOP_c_c): Likewise.
14316         (RUN_TEST_cc_c): Likewise.
14317         (RUN_TEST_LOOP_cc_c): Likewise.
14318         (RUN_TEST_f_i): Likewise.
14319         (RUN_TEST_LOOP_f_i): Likewise.
14320         (RUN_TEST_f_i_tg): Likewise.
14321         (RUN_TEST_LOOP_f_i_tg): Likewise.
14322         (RUN_TEST_ff_i_tg): Likewise.
14323         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14324         (RUN_TEST_f_b): Likewise.
14325         (RUN_TEST_LOOP_f_b): Likewise.
14326         (RUN_TEST_f_b_tg): Likewise.
14327         (RUN_TEST_LOOP_f_b_tg): Likewise.
14328         (RUN_TEST_f_l): Likewise.
14329         (RUN_TEST_LOOP_f_l): Likewise.
14330         (RUN_TEST_f_L): Likewise.
14331         (RUN_TEST_LOOP_f_L): Likewise.
14332         (RUN_TEST_sincos): Likewise.
14333         (RUN_TEST_LOOP_sincos): Likewise.
14335 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
14337         [BZ #15480]
14338         [BZ #15485]
14339         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14340         main case of finite arguments, set rounding mode to FE_TONEAREST
14341         and discard exceptions.
14342         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14343         exceptions.
14344         (remainder_tonearest_test_data): New variable.
14345         (remainder_test_tonearest): New function.
14346         (remainder_towardzero_test_data): New variable.
14347         (remainder_test_towardzero): New function.
14348         (remainder_downward_test_data): New variable.
14349         (remainder_test_downward): New function.
14350         (remainder_upward_test_data): New variable.
14351         (remainder_test_upward): New function.
14352         (main): Call the new test functions.
14354         * math/libm-test.inc (struct test_f_f1_data): Remove field
14355         extra_init.
14356         (struct test_fF_f1_data): Likewise.
14357         (struct test_ffI_f1_data): Likewise.
14358         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
14359         based on value of EXTRA_EXPECTED.
14360         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14361         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
14362         EXTRA_VAR based on value of EXTRA_EXPECTED.
14363         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14364         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
14365         EXTRA_VAR based on value of EXTRA_EXPECTED.
14366         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14367         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
14368         EXTRA_VAR based on value of EXTRA_EXPECTED.
14369         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14370         * math/gen-libm-test.pl (parse_args): Don't output initializers
14371         for extra output values.
14373         * math/libm-test.inc (check_int): Expect result to be exactly
14374         equal to expected value and do not handle ulps.
14375         (check_long): Likewise.
14376         (check_longlong): Likewise.
14378         * math/libm-test.inc (ceil_test_data): Test for "inexact"
14379         exceptions.
14380         (cimag_test_data): Likewise.
14381         (conj_test_data): Likewise.
14382         (copysign_test_data): Likewise.
14383         (cproj_test_data): Likewise.
14384         (creal_test_data): Likewise.
14385         (fabs_test_data): Likewise.
14386         (fdim_test_data): Likewise.
14387         (finite_test_data): Likewise.
14388         (floor_test_data): Likewise.
14389         (fmax_test_data): Likewise.
14390         (fmin_test_data): Likewise.
14391         (fmod_test_data): Likewise.
14392         (fpclassify_test_data): Likewise.
14393         (frexp_test_data): Likewise.
14394         (ilogb_test_data): Likewise.
14395         (isfinite_test_data): Likewise.
14396         (isgreater_test_data): Likewise.
14397         (isgreaterequal_test_data): Likewise.
14398         (isinf_test_data): Likewise.
14399         (isless_test_data): Likewise.
14400         (islessequal_test_data): Likewise.
14401         (islessgreater_test_data): Likewise.
14402         (isnan_test_data): Likewise.
14403         (isnormal_test_data): Likewise.
14404         (issignaling_test_data): Likewise.
14405         (isunordered_test_data): Likewise.
14406         (ldexp_test_data): Likewise.
14407         (lrint_test_data): Likewise.
14408         (lrint_test_data) [TEST_FLOAT]: Disable one test.
14409         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14410         (lrint_tonearest_test_data): Test for "inexact" exceptions.
14411         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14412         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14413         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14414         test input.
14415         (lrint_towardzero_test_data): Test for "inexact" exceptions.
14416         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14417         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14418         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14419         that test input.
14420         (lrint_downward_test_data): Test for "inexact" exceptions.
14421         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14422         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14423         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14424         test input.
14425         (lrint_upward_test_data): Test for "inexact" exceptions.
14426         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14427         test input.
14428         (llrint_test_data): Test for "inexact" exceptions.
14429         (llrint_test_data) [TEST_FLOAT]: Disable one test.
14430         (llrint_tonearest_test_data): Test for "inexact" exceptions.
14431         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14432         (llrint_towardzero_test_data): Test for "inexact" exceptions.
14433         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14434         (llrint_downward_test_data): Test for "inexact" exceptions.
14435         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14436         (llrint_upward_test_data): Test for "inexact" exceptions.
14437         (logb_test_data): Likewise.
14438         (logb_downward_test_data): Likewise.
14439         (nextafter_test_data): Likewise.
14440         (nexttoward_test_data): Likewise.
14441         (remainder_test_data): Likewise.
14442         (remquo_test_data): Likewise.
14443         (scalbn_test_data): Likewise.
14444         (scalbln_test_data): Likewise.
14445         (signbit_test_data): Likewise.
14446         (sqrt_test_data): Likewise.
14447         (significand_test_data): Likewise.
14449 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14451         [BZ #15424]
14452         * benchtests/bench-modf.c (struct args): Mark arg0 as
14453         volatile.
14454         * scripts/bench.pl: Mark members of struct args as volatile.
14456 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14458         [BZ # 15497]
14459         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14460         negative infinity on POWER6 or lower.
14461         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14463 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14465         [BZ #15442]
14466         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14467         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14468         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14469         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14470         (_FP_SETQNAN): New macro.
14471         (_FP_SETQNAN_SEMIRAW): Likewise.
14472         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14473         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14474         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14475         (FP_EXTEND): Use _FP_FRAC_SNANP.
14476         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14477         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14478         into account.
14479         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14480         New macro.
14481         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14482         Likewise.
14484 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14486         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14487         with DIVIDE_BY_ZERO_EXCEPTION.
14488         (gamma_test_data): Likewise.
14489         (lgamma_test_data): Likewise.
14490         (log_test_data): Likewise.
14491         (log10_test_data): Likewise.
14492         (log2_test_data): Likewise.
14493         (tgamma_test_data): Likewise.
14495         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14496         (acos_test_tonearest): Likewise.
14497         (acos_test_towardzero): Likewise.
14498         (acos_test_downward): Likewise.
14499         (acos_test_upward): Likewise.
14500         (acosh_test): Likewise.
14501         (asin_test): Likewise.
14502         (asin_test_tonearest): Likewise.
14503         (asin_test_towardzero): Likewise.
14504         (asin_test_downward): Likewise.
14505         (asin_test_upward): Likewise.
14506         (asinh_test): Likewise.
14507         (atan_test): Likewise.
14508         (atanh_test): Likewise.
14509         (atan2_test): Likewise.
14510         (cabs_test): Likewise.
14511         (cacos_test): Likewise.
14512         (cacosh_test): Likewise.
14513         (casin_test): Likewise.
14514         (casinh_test): Likewise.
14515         (catan_test): Likewise.
14516         (catanh_test): Likewise.
14517         (cbrt_test): Likewise.
14518         (ccos_test): Likewise.
14519         (ccosh_test): Likewise.
14520         (cexp_test): Likewise.
14521         (clog_test): Likewise.
14522         (clog10_test): Likewise.
14523         (cos_test): Likewise.
14524         (cos_test_tonearest): Likewise.
14525         (cos_test_towardzero): Likewise.
14526         (cos_test_downward): Likewise.
14527         (cos_test_upward): Likewise.
14528         (cosh_test): Likewise.
14529         (cosh_test_tonearest): Likewise.
14530         (cosh_test_towardzero): Likewise.
14531         (cosh_test_downward): Likewise.
14532         (cosh_test_upward): Likewise.
14533         (cpow_test): Likewise.
14534         (csin_test): Likewise.
14535         (csinh_test): Likewise.
14536         (csqrt_test): Likewise.
14537         (ctan_test): Likewise.
14538         (ctan_test_tonearest): Likewise.
14539         (ctan_test_towardzero): Likewise.
14540         (ctan_test_downward): Likewise.
14541         (ctan_test_upward): Likewise.
14542         (ctanh_test): Likewise.
14543         (ctanh_test_tonearest): Likewise.
14544         (ctanh_test_towardzero): Likewise.
14545         (ctanh_test_downward): Likewise.
14546         (ctanh_test_upward): Likewise.
14547         (erf_test): Likewise.
14548         (erfc_test): Likewise.
14549         (exp_test): Likewise.
14550         (exp_test_tonearest): Likewise.
14551         (exp_test_towardzero): Likewise.
14552         (exp_test_downward): Likewise.
14553         (exp_test_upward): Likewise.
14554         (exp10_test): Likewise.
14555         (exp2_test): Likewise.
14556         (expm1_test): Likewise.
14557         (fmod_test): Likewise.
14558         (gamma_test): Likewise.
14559         (hypot_test): Likewise.
14560         (j0_test): Likewise.
14561         (j1_test): Likewise.
14562         (jn_test): Likewise.
14563         (lgamma_test): Likewise.
14564         (log_test): Likewise.
14565         (log10_test): Likewise.
14566         (log1p_test): Likewise.
14567         (log2_test): Likewise.
14568         (logb_test_downward): Likewise.
14569         (pow_test): Likewise.
14570         (pow_test_tonearest): Likewise.
14571         (pow_test_towardzero): Likewise.
14572         (pow_test_downward): Likewise.
14573         (pow_test_upward): Likewise.
14574         (remainder_test): Likewise.
14575         (remquo_test): Likewise.
14576         (sin_test): Likewise.
14577         (sin_test_tonearest): Likewise.
14578         (sin_test_towardzero): Likewise.
14579         (sin_test_downward): Likewise.
14580         (sin_test_upward): Likewise.
14581         (sincos_test): Likewise.
14582         (sinh_test): Likewise.
14583         (sinh_test_tonearest): Likewise.
14584         (sinh_test_towardzero): Likewise.
14585         (sinh_test_downward): Likewise.
14586         (sinh_test_upward): Likewise.
14587         (sqrt_test): Likewise.
14588         (tan_test): Likewise.
14589         (tan_test_tonearest): Likewise.
14590         (tan_test_towardzero): Likewise.
14591         (tan_test_downward): Likewise.
14592         (tan_test_upward): Likewise.
14593         (tanh_test): Likewise.
14594         (tgamma_test): Likewise.
14595         (y0_test): Likewise.
14596         (y1_test): Likewise.
14597         (yn_test): Likewise.
14599         * math/gen-libm-test.pl (adjust_arg): Remove function.
14600         (special_function): Remove argument $in_func.  Only handle
14601         generating output for tables of tests, not inside functions.
14602         (parse_args): Likewise.
14603         (generate_testfile): Remove variable $in_func.  Update call to
14604         parse_args.
14605         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14606         (MINUS_ZERO_INIT): Rename macro to minus_zero.
14607         (PLUS_INFTY_INIT): Rename macro to plus_infty.
14608         (MINUS_INFTY_INIT): Rename macro to minus_infty.
14609         (QNAN_VALUE_INIT): Rename macro to qnan_value.
14610         (MAX_VALUE_INIT): Rename macro to max_value.
14611         (MIN_VALUE_INIT): Rename macro to min_value.
14612         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14613         (plus_zero): Remove variable.
14614         (minus_zero): Likewise.
14615         (plus_infty): Likewise.
14616         (minus_infty): Likewise.
14617         (qnan_value): Likewise.
14618         (max_value): Likewise.
14619         (min_value): Likewise.
14620         (min_subnorm_value): Likewise.
14622 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14624         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14625         uint64_t or uint32_t usage.
14626         * crypt/sha256-block.c: Likewise.
14627         * crypt/sha256-crypt.c: Likewise.
14628         * crypt/sha256.c: Likewise.
14629         * crypt/sha512-block.c: Likewise.
14630         * crypt/sha512-crypt.c: Likewise.
14631         * crypt/sha512.c: Likewise.
14632         * debug/backtrace-tst.c: Likewise.
14633         * debug/pcprofiledump.c: Likewise.
14634         * elf/cache.c: Likewise.
14635         * elf/dl-cache.c: Likewise.
14636         * elf/dl-misc.c: Likewise.
14637         * elf/dl-profile.c: Likewise.
14638         * elf/dl-support.c: Likewise.
14639         * elf/ldconfig.c: Likewise.
14640         * elf/sprof.c: Likewise.
14641         * iconv/dummy-repertoire.c: Likewise.
14642         * iconv/iconv_charmap.c: Likewise.
14643         * iconv/skeleton.c: Likewise.
14644         * iconvdata/8bit-generic.c: Likewise.
14645         * iconvdata/cp737.h: Likewise.
14646         * iconvdata/cp775.h: Likewise.
14647         * iconvdata/ibm1008.h: Likewise.
14648         * iconvdata/ibm1025.h: Likewise.
14649         * iconvdata/ibm1046.h: Likewise.
14650         * iconvdata/ibm1097.h: Likewise.
14651         * iconvdata/ibm1112.h: Likewise.
14652         * iconvdata/ibm1122.h: Likewise.
14653         * iconvdata/ibm1123.h: Likewise.
14654         * iconvdata/ibm1124.h: Likewise.
14655         * iconvdata/ibm1129.h: Likewise.
14656         * iconvdata/ibm1130.h: Likewise.
14657         * iconvdata/ibm1132.h: Likewise.
14658         * iconvdata/ibm1133.h: Likewise.
14659         * iconvdata/ibm1137.h: Likewise.
14660         * iconvdata/ibm1140.h: Likewise.
14661         * iconvdata/ibm1141.h: Likewise.
14662         * iconvdata/ibm1142.h: Likewise.
14663         * iconvdata/ibm1143.h: Likewise.
14664         * iconvdata/ibm1144.h: Likewise.
14665         * iconvdata/ibm1145.h: Likewise.
14666         * iconvdata/ibm1146.h: Likewise.
14667         * iconvdata/ibm1147.h: Likewise.
14668         * iconvdata/ibm1148.h: Likewise.
14669         * iconvdata/ibm1149.h: Likewise.
14670         * iconvdata/ibm1153.h: Likewise.
14671         * iconvdata/ibm1154.h: Likewise.
14672         * iconvdata/ibm1155.h: Likewise.
14673         * iconvdata/ibm1156.h: Likewise.
14674         * iconvdata/ibm1157.h: Likewise.
14675         * iconvdata/ibm1158.h: Likewise.
14676         * iconvdata/ibm1160.h: Likewise.
14677         * iconvdata/ibm1161.h: Likewise.
14678         * iconvdata/ibm1162.h: Likewise.
14679         * iconvdata/ibm1163.h: Likewise.
14680         * iconvdata/ibm1164.h: Likewise.
14681         * iconvdata/ibm1166.h: Likewise.
14682         * iconvdata/ibm1167.h: Likewise.
14683         * iconvdata/ibm12712.h: Likewise.
14684         * iconvdata/ibm1390.h: Likewise.
14685         * iconvdata/ibm1399.h: Likewise.
14686         * iconvdata/ibm16804.h: Likewise.
14687         * iconvdata/ibm4517.h: Likewise.
14688         * iconvdata/ibm4899.h: Likewise.
14689         * iconvdata/ibm4909.h: Likewise.
14690         * iconvdata/ibm4971.h: Likewise.
14691         * iconvdata/ibm5347.h: Likewise.
14692         * iconvdata/ibm803.h: Likewise.
14693         * iconvdata/ibm856.h: Likewise.
14694         * iconvdata/ibm901.h: Likewise.
14695         * iconvdata/ibm902.h: Likewise.
14696         * iconvdata/ibm9030.h: Likewise.
14697         * iconvdata/ibm9066.h: Likewise.
14698         * iconvdata/ibm921.h: Likewise.
14699         * iconvdata/ibm922.h: Likewise.
14700         * iconvdata/ibm9448.h: Likewise.
14701         * iconvdata/isiri-3342.h: Likewise.
14702         * iconvdata/jis0201.h: Likewise.
14703         * include/link.h: Likewise.
14704         * include/netdb.h: Likewise.
14705         * inet/check_native.c: Likewise.
14706         * inet/check_pf.c: Likewise.
14707         * inet/getipv4sourcefilter.c: Likewise.
14708         * inet/getnameinfo.c: Likewise.
14709         * inet/getsourcefilter.c: Likewise.
14710         * inet/htonl.c: Likewise.
14711         * inet/setipv4sourcefilter.c: Likewise.
14712         * inet/setsourcefilter.c: Likewise.
14713         * inet/test-inet6_opt.c: Likewise.
14714         * inet/tst-network.c: Likewise.
14715         * locale/C-collate.c: Likewise.
14716         * locale/C-ctype.c: Likewise.
14717         * locale/C-time.c: Likewise.
14718         * locale/C-translit.h: Likewise.
14719         * locale/loadarchive.c: Likewise.
14720         * locale/programs/3level.h: Likewise.
14721         * locale/programs/charmap.c: Likewise.
14722         * locale/programs/charmap.h: Likewise.
14723         * locale/programs/ld-address.c: Likewise.
14724         * locale/programs/ld-collate.c: Likewise.
14725         * locale/programs/ld-ctype.c: Likewise.
14726         * locale/programs/ld-identification.c: Likewise.
14727         * locale/programs/ld-measurement.c: Likewise.
14728         * locale/programs/ld-messages.c: Likewise.
14729         * locale/programs/ld-monetary.c: Likewise.
14730         * locale/programs/ld-name.c: Likewise.
14731         * locale/programs/ld-numeric.c: Likewise.
14732         * locale/programs/ld-paper.c: Likewise.
14733         * locale/programs/ld-telephone.c: Likewise.
14734         * locale/programs/ld-time.c: Likewise.
14735         * locale/programs/linereader.c: Likewise.
14736         * locale/programs/locale.c: Likewise.
14737         * locale/programs/locarchive.c: Likewise.
14738         * locale/programs/locfile.h: Likewise.
14739         * locale/programs/repertoire.c: Likewise.
14740         * locale/programs/simple-hash.c: Likewise.
14741         * locale/programs/simple-hash.h: Likewise.
14742         * malloc/memusage.c: Likewise.
14743         * malloc/memusagestat.c: Likewise.
14744         * nis/nis_defaults.c: Likewise.
14745         * nis/nis_hash.c: Likewise.
14746         * nis/nis_print.c: Likewise.
14747         * nis/nis_xdr.c: Likewise.
14748         * nscd/connections.c: Likewise.
14749         * nscd/hstcache.c: Likewise.
14750         * nscd/nscd_gethst_r.c: Likewise.
14751         * nscd/nscd_getserv_r.c: Likewise.
14752         * nscd/nscd_helper.c: Likewise.
14753         * nscd/servicescache.c: Likewise.
14754         * nss/makedb.c: Likewise.
14755         * nss/nss_db/db-XXX.c: Likewise.
14756         * nss/nss_db/db-initgroups.c: Likewise.
14757         * nss/nss_db/db-netgrp.c: Likewise.
14758         * nss/nss_files/files-network.c: Likewise.
14759         * nss/nss_files/files-parse.c: Likewise.
14760         * posix/bug-regex5.c: Likewise.
14761         * posix/fnmatch_loop.c: Likewise.
14762         * posix/regcomp.c: Likewise.
14763         * posix/regexec.c: Likewise.
14764         * posix/tst-rfc3484-2.c: Likewise.
14765         * posix/tst-rfc3484-3.c: Likewise.
14766         * posix/tst-rfc3484.c: Likewise.
14767         * resolv/nss_dns/dns-canon.c: Likewise.
14768         * resolv/nss_dns/dns-network.c: Likewise.
14769         * resolv/res_init.c: Likewise.
14770         * resolv/res_mkquery.c: Likewise.
14771         * resolv/tst-aton.c: Likewise.
14772         * stdlib/cxa_atexit.c: Likewise.
14773         * stdlib/cxa_finalize.c: Likewise.
14774         * stdlib/gen-fpioconst.c: Likewise.
14775         * stdlib/strtol_l.c: Likewise.
14776         * string/tst-endian.c: Likewise.
14777         * sunrpc/auth_des.c: Likewise.
14778         * sunrpc/clnt_udp.c: Likewise.
14779         * sunrpc/rtime.c: Likewise.
14780         * sunrpc/svcauth_des.c: Likewise.
14781         * sunrpc/xdr.c: Likewise.
14782         * sunrpc/xdr_intXX_t.c: Likewise.
14783         * sunrpc/xdr_rec.c: Likewise.
14784         * sysdeps/generic/ldconfig.h: Likewise.
14785         * sysdeps/generic/ldsodefs.h: Likewise.
14786         * sysdeps/generic/memusage.h: Likewise.
14787         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14788         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14789         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14792         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14793         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14795         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14797         * sysdeps/posix/getaddrinfo.c: Likewise.
14798         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14799         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14800         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14801         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14802         * sysdeps/powerpc/test-gettimebase.c: Likewise.
14803         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14804         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14805         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14806         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14807         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14808         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14809         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14810         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14811         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14812         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14813         * sysdeps/x86_64/dl-tls.h: Likewise.
14814         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14815         * time/alt_digit.c: Likewise.
14816         * time/era.c: Likewise.
14817         * wcsmbs/tst-c16c32-1.c: Likewise.
14819 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14821         * math/libm-test.inc (struct test_sincos_data): New type.
14822         (RUN_TEST_LOOP_sincos): New macro.
14823         (sincos_test_data): New variable.
14824         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14826 2013-05-16  Richard Henderson  <rth@redhat.com>
14828         * math/atest-exp2.c (LIMB64): New macro.
14829         (CONSTSZ): New macro.
14830         (mp_exp1, mp_exp_m1, mp_log2): New variables.
14831         (hexdig): Move ...
14832         (print_mpn_fp): ... to function scope.
14833         (read_mpn_hex): Remove.
14834         (get_log2): Remove.
14835         (exp2_mpn): Use mp_log2.
14836         (main): Use mp_exp1.
14838 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14840         * math/libm-test.inc: Remove comment about not testing "inexact"
14841         exceptions.
14842         (INEXACT_EXCEPTION): New macro.
14843         (NO_INEXACT_EXCEPTION): Likewise.
14844         (INVALID_EXCEPTION_OK): Update value.
14845         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14846         (OVERFLOW_EXCEPTION_OK): Likewise.
14847         (UNDERFLOW_EXCEPTION_OK): Likewise.
14848         (IGNORE_ZERO_INF_SIGN): Likewise.
14849         (ERRNO_UNCHANGED): Likewise.
14850         (ERRNO_EDOM): Likewise.
14851         (ERRNO_ERANGE): Likewise.
14852         (test_exceptions): Handle testing "inexact" exceptions.
14853         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14854         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14855         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14856         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14857         INEXACT_EXCEPTION.
14858         (rint_towardzero_test_data): Likewise.
14859         (rint_downward_test_data): Likewise.
14860         (rint_upward_test_data): Likewise.
14862         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14863         with OVERFLOW_EXCEPTION.
14864         (exp10_test_data): Likewise.
14865         (exp2_test_data): Likewise.
14866         (expm1_test_data): Likewise.
14867         (lgamma_test_data): Likewise.
14868         (pow_test_data): Likewise.
14869         (tgamma_test_data): Likewise.
14870         (yn_test_data): Remove duplicate test of overflow.
14872         * math/libm-test.inc (struct test_cc_c_data): New type.
14873         (RUN_TEST_LOOP_cc_c): New macro.
14874         (cpow_test_data): New variable.
14875         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14877         * math/libm-test.inc (struct test_f_L_data): New type.
14878         (RUN_TEST_LOOP_f_L): New macro.
14879         (llrint_test_data): New variable.
14880         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14881         (llrint_tonearest_test_data): New variable.
14882         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14883         (llrint_towardzero_test_data): New variable.
14884         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14885         (llrint_downward_test_data): New variable.
14886         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14887         (llrint_upward_test_data): New variable.
14888         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14889         (llround_test_data): New variable.
14890         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14892 2013-05-13  Peter Collingbourne  <pcc@google.com>
14894         * math/atest-exp2.c (get_log2): Remove const attribute.
14896 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14898         * math/libm-test.inc (struct test_f_l_data): New type.
14899         (RUN_TEST_LOOP_f_l): New macro.
14900         (lrint_test_data): New variable.
14901         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14902         (lrint_tonearest_test_data): New variable.
14903         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14904         (lrint_towardzero_test_data): New variable.
14905         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14906         (lrint_downward_test_data): New variable.
14907         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14908         (lrint_upward_test_data): New variable.
14909         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14910         (lround_test_data): New variable.
14911         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14913 2013-05-15  Peter Collingbourne  <pcc@google.com>
14915         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14916         (EXTRACT_WORDS64) Use where appropriate.
14917         (INSERT_WORDS64) Likewise.
14919         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14920         constraints with x constraints.
14921         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14923         * malloc/obstack.c (_obstack_compat): Add initializer.
14925 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14927         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14928         si_trapno and add si_addr_lsb to _sifields.sigfault.
14929         (si_trapno): Remove macro.
14930         (si_addr_lsb): Define new macro.
14931         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14933 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14935         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14936         instead of TEST_f_l.
14937         (llrint_test_tonearest): Likewise.
14938         (llrint_test_towardzero): Likewise.
14939         (llrint_test_downward): Likewise.
14940         (llrint_test_upward): Likewise.
14941         (llround_test): Likewise.
14943         * math/libm-test.inc (struct test_f_i_data): Add comment.
14944         (RUN_TEST_LOOP_f_b): New macro.
14945         (RUN_TEST_LOOP_f_b_tg): Likewise.
14946         (finite_test_data): New variable.
14947         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14948         (isfinite_test_data): New variable.
14949         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14950         (isinf_test_data): New variable.
14951         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14952         (isnan_test_data): New variable.
14953         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14954         (isnormal_test_data): New variable.
14955         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14956         (issignaling_test_data): New variable.
14957         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14958         (signbit_test_data): New variable.
14959         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14961         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14962         with INVALID_EXCEPTION.
14963         (acosh_test_data): Likewise.
14964         (asin_test_data): Likewise.
14965         (atanh_test_data): Likewise.
14966         (fmod_test_data): Likewise.
14967         (log_test_data): Likewise.
14968         (log10_test_data): Likewise.
14969         (log2_test_data): Likewise.
14970         (pow_test_data): Likewise.
14971         (sqrt_test_data): Likewise.
14972         (y0_test_data): Likewise.
14973         (y1_test_data): Likewise.
14974         (yn_test_data): Likewise.
14976         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14977         function contents.
14979         * math/libm-test.inc (struct test_ff_i_data): New type.
14980         (RUN_TEST_LOOP_ff_i_tg): New macro.
14981         (isgreater_test_data): New variable.
14982         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14983         (isgreaterequal_test_data): New variable.
14984         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14985         (isless_test_data): New variable.
14986         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14987         (islessequal_test_data): New variable.
14988         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14989         (islessgreater_test_data): New variable.
14990         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14991         (isunordered_test_data): New variable.
14992         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14994 2013-05-14  David S. Miller  <davem@davemloft.net>
14996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14998 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15000         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15002         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15003         extra_test to int.
15004         (struct test_f_i_data): Change type of max_ulp to int.
15006         * math/libm-test.inc (test_ffI_f1_data): New type.
15007         (RUN_TEST_LOOP_ffI_f1): New macro.
15008         (remquo_test_data): New variable.
15009         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15011         * setjmp/tst-setjmp-fp.c: New file.
15012         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15013         (link-libm): New variable.
15014         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15016         * math/libm-test.inc (struct test_f_i_data): New type.
15017         (RUN_TEST_LOOP_f_i): New macro.
15018         (RUN_TEST_LOOP_f_i_tg): Likewise.
15019         (fpclassify_test_data): New variable.
15020         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15021         (ilogb_test_data): New variable.
15022         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15024         * math/libm-test.inc (scalbln_test): Correct function name in END
15025         call.
15027         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15028         (RUN_TEST_LOOP_fI_f1): New macro.
15029         (frexp_test_data): New variable.
15030         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15032         * math/libm-test.inc (struct test_fF_f1_data): New type.
15033         (RUN_TEST_LOOP_fF_f1): New macro.
15034         (modf_test_data): New variable.
15035         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15037         * math/libm-test.inc (struct test_f_f1_data): New type.
15038         (RUN_TEST_LOOP_f_f1): New macro.
15039         (gamma_test_data): New variable.
15040         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15041         (lgamma_test_data): New variable.
15042         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15044 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15046         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15047         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15048         (main): Comment "tls" pseudo-hwcap.
15050 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15052         * math/libm-test.inc (struct test_fl_f_data): New type.
15053         (RUN_TEST_LOOP_fl_f): New variable.
15054         (scalbln_test_data): New variable.
15055         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15057         * math/libm-test.inc (struct test_fi_f_data): New type.
15058         (RUN_TEST_LOOP_fi_f): New macro.
15059         (ldexp_test_data): New variable.
15060         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15061         (scalbn_test_data): New variable.
15062         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15064         * math/libm-test.inc (struct test_c_f_data): New type.
15065         (RUN_TEST_LOOP_c_f): New macro.
15066         (cabs_test_data): New variable.
15067         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15068         (carg_test_data): New variable.
15069         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15070         (cimag_test_data): New variable.
15071         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15072         (creal_test_data): New variable.
15073         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15075         * math/libm-test.inc (struct test_if_f_data): New type.
15076         (RUN_TEST_LOOP_if_f): New macro.
15077         (jn_test_data): New variable.
15078         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15079         (yn_test_data): New variable.
15080         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15082         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15084 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15086         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15087         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15089 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15091         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15092         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15093         (bench-deps): Add bench-timing.h.
15094         * benchtests-bench-skeleton.c: Include bench-timing.h.
15095         (main): Use TIMING_* macros instead of clock_gettime.
15096         * benchtests/bench-timing.h: New file.
15098         [BZ #14582]
15099         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15100         Renamed from _LIB_VERSION.
15101         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15103 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15105         * math/libm-test.inc (struct test_fff_f_data): New type.
15106         (RUN_TEST_LOOP_fff_f): New macro.
15107         (fma_test_data): New variable.
15108         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15109         (fma_towardzero_test_data): New variable.
15110         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15111         (fma_downward_test_data): New variable.
15112         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15113         (fma_upward_test_data): New variable.
15114         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15116         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15117         (struct test_c_c_data): New type.
15118         (RUN_TEST_LOOP_c_c): New macro.
15119         (cacos_test_data): New variable.
15120         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15121         (cacosh_test_data): New variable.
15122         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15123         (casin_test_data): New variable.
15124         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15125         (casinh_test_data): New variable.
15126         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15127         (catan_test_data): New variable.
15128         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15129         (catanh_test_data): New variable.
15130         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15131         (ccos_test_data): New variable.
15132         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15133         (ccosh_test_data): New variable.
15134         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15135         (cexp_test_data): New variable.
15136         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15137         (clog_test_data): New variable.
15138         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15139         (clog10_test_data): New variable.
15140         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15141         (conj_test_data): New variable.
15142         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15143         (cproj_test_data): New variable.
15144         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15145         (csin_test_data): New variable.
15146         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15147         (csinh_test_data): New variable.
15148         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15149         (csqrt_test_data): New variable.
15150         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15151         (ctan_test_data): New variable.
15152         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15153         (ctan_tonearest_test_data): New variable.
15154         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15155         (ctan_towardzero_test_data): New variable.
15156         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15157         (ctan_downward_test_data): New variable.
15158         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15159         (ctan_upward_test_data): New variable.
15160         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15161         (ctanh_test_data): New variable.
15162         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15163         (ctanh_tonearest_test_data): New variable.
15164         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15165         (ctanh_towardzero_test_data): New variable.
15166         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15167         (ctanh_downward_test_data): New variable.
15168         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15169         (ctanh_upward_test_data): New variable.
15170         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15171         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15172         of BUILD_COMPLEX.
15174         * math/libm-test.inc (struct test_ff_f_data): New type.
15175         (struct test_ff_f_data_nexttoward): Likewise.
15176         (RUN_TEST_LOOP_2_f): New macro.
15177         (RUN_TEST_LOOP_ff_f): Likewise.
15178         (atan2_test_data): New variable.
15179         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15180         (copysign_test_data): New variable.
15181         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15182         (fdim_test_data): New variable.
15183         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15184         (fmax_test_data): New variable.
15185         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15186         (fmin_test_data): New variable.
15187         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15188         (fmod_test_data): New variable.
15189         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15190         (hypot_test_data): New variable.
15191         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15192         (nextafter_test_data): New variable.
15193         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15194         (nexttoward_test_data): New variable.
15195         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15196         (pow_test_data): New variable.
15197         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15198         (pow_tonearest_test_data): New variable.
15199         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15200         (pow_towardzero_test_data): New variable.
15201         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15202         (pow_downward_test_data): New variable.
15203         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15204         (pow_upward_test_data): New variable.
15205         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15206         (remainder_test_data): New variable.
15207         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15208         (scalb_test_data): New variable.
15209         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15210         * sysdeps/i386/fpu/libm-test-ulps: Update.
15212 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15214         * math/libm-test.inc (fma_test): Use max_value instead of local
15215         variable fltmax.
15216         (nextafter_test): Likewise.
15218         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15219         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15220         (acos_downward_test_data): New variable.
15221         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15222         (acos_upward_test_data): New variable.
15223         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15224         (acosh_test_data): New variable.
15225         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15226         (asin_test_data): New variable.
15227         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15228         (asin_tonearest_test_data): New variable.
15229         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15230         (asin_towardzero_test_data): New variable.
15231         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15232         (asin_downward_test_data): New variable.
15233         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15234         (asin_upward_test_data): New variable.
15235         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15236         (asinh_test_data): New variable.
15237         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15238         (atan_test_data): New variable.
15239         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15240         (atanh_test_data): New variable.
15241         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15242         (cbrt_test_data): New variable.
15243         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15244         (ceil_test_data): New variable.
15245         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15246         (cos_test_data): New variable.
15247         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15248         (cos_tonearest_test_data): New variable.
15249         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15250         (cos_towardzero_test_data): New variable.
15251         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15252         (cos_downward_test_data): New variable.
15253         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15254         (cos_upward_test_data): New variable.
15255         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15256         (cosh_test_data): New variable.
15257         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15258         (cosh_tonearest_test_data): New variable.
15259         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15260         (cosh_towardzero_test_data): New variable.
15261         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15262         (cosh_downward_test_data): New variable.
15263         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15264         (cosh_upward_test_data): New variable.
15265         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15266         (erf_test_data): New variable.
15267         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15268         (erfc_test_data): New variable.
15269         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15270         (exp_test_data): New variable.
15271         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15272         (exp_tonearest_test_data): New variable.
15273         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15274         (exp_towardzero_test_data): New variable.
15275         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15276         (exp_downward_test_data): New variable.
15277         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15278         (exp_upward_test_data): New variable.
15279         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15280         (exp10_test_data): New variable.
15281         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15282         (exp2_test_data): New variable.
15283         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15284         (expm1_test_data): New variable.
15285         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15286         (fabs_test_data): New variable.
15287         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15288         (floor_test_data): New variable.
15289         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15290         (j0_test_data): New variable.
15291         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15292         (j1_test_data): New variable.
15293         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15294         (log_test_data): New variable.
15295         (log_test): Run tests with RUN_TEST_LOOP_f_f.
15296         (log10_test_data): New variable.
15297         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15298         (log1p_test_data): New variable.
15299         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15300         (log2_test_data): New variable.
15301         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15302         (logb_test_data): New variable.
15303         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15304         (logb_downward_test_data): New variable.
15305         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15306         (nearbyint_test_data): New variable.
15307         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15308         (rint_test_data): New variable.
15309         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15310         (rint_tonearest_test_data): New variable.
15311         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15312         (rint_towardzero_test_data): New variable.
15313         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15314         (rint_downward_test_data): New variable.
15315         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15316         (rint_upward_test_data): New variable.
15317         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15318         (round_test_data): New variable.
15319         (round_test): Run tests with RUN_TEST_LOOP_f_f.
15320         (sin_test_data): New variable.
15321         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15322         (sin_tonearest_test_data): New variable.
15323         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15324         (sin_towardzero_test_data): New variable.
15325         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15326         (sin_downward_test_data): New variable.
15327         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15328         (sin_upward_test_data): New variable.
15329         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15330         (sinh_test_data): New variable.
15331         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15332         (sinh_tonearest_test_data): New variable.
15333         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15334         (sinh_towardzero_test_data): New variable.
15335         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15336         (sinh_downward_test_data): New variable.
15337         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15338         (sinh_upward_test_data): New variable.
15339         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15340         (sqrt_test_data): New variable.
15341         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15342         (tan_test_data): New variable.
15343         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15344         (tan_tonearest_test_data): New variable.
15345         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15346         (tan_towardzero_test_data): New variable.
15347         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15348         (tan_downward_test_data): New variable.
15349         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15350         (tan_upward_test_data): New variable.
15351         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15352         (tanh_test_data): New variable.
15353         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15354         (tgamma_test_data): New variable.
15355         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15356         (trunc_test_data): New variable.
15357         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15358         (y0_test_data): New variable.
15359         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15360         (y1_test_data): New variable.
15361         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15362         (significand_test_data): New variable.
15363         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15365 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
15367         [BZ #12387]
15368         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15370 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15372         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15374 2013-05-10  Andreas Jaeger  <aj@suse.de>
15376         [BZ #15448]
15377         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15378         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15380 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15382         * math/gen-libm-test.pl (adjust_arg): New function.
15383         (special_functions): Handle generating output in both functions
15384         and arrays.
15385         (parse_args): Likewise.
15386         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
15387         $in_func argument to parse_args.
15388         * math/libm-test.inc (struct test_f_f_data): New type.
15389         (IF_ROUND_INIT_): New macro.
15390         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15391         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15392         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15393         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15394         (ROUND_RESTORE_): Likewise.
15395         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15396         (ROUND_RESTORE_FE_TONEAREST): Likewise.
15397         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15398         (ROUND_RESTORE_FE_UPWARD): Likewise.
15399         (RUN_TEST_LOOP_f_f): New macro.
15400         (acos_test_data): New variable.
15401         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15402         (acos_tonearest_test_data): New variable.
15403         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15405 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15407         * benchtests/bench-skeleton.c (startup): Fix coding style.
15409 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15411         [BZ #6809]
15412         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15413         negative infinity argument.
15414         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15415         negative infinity argument.
15416         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15417         negative infinity argument.
15418         * math/libm-test.inc (tgamma_test): Expect errno to be set for
15419         domain errors.
15421 2013-05-10  Florian Weimer  <fweimer@redhat.com>
15423         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15424         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15425         * iconv/iconv_prog.c (main): Likewise.
15426         * locale/programs/charmap-dir.c (charmap_readdir)
15427         (fopen_uncompressed): Likewise.
15428         * locale/programs/locfile.c (siblings_uncached)
15429         (write_locale_data): Use lstat64 instead of lstat.
15430         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15431         stat.
15433 2013-05-10  Andreas Jaeger  <aj@suse.de>
15435         [BZ #15395]
15436         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15437         localization.
15438         Include <locale.h>.
15440 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
15442         * elf/dl-close.c (_dl_close_worker): Add comments.
15444 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
15446         [BZ #15359]
15447         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15448         high part of pi/2.
15449         (__ieee754_rem_pio2l): Update comments.
15451         [BZ #15429]
15452         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15453         high part of pi/2.
15454         (__ieee754_rem_pio2l): Update comments.
15456         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15457         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15459         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15460         M_PI_4l.
15462         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15463         (M_PI_34_LOG10El): Likewise.
15464         (M_PI2_LOG10El): Likewise.
15465         (M_PI4_LOG10El): Likewise.
15466         (M_PI_LOG10El): Likewise.
15468 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15472 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
15474         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15475         (MINUS_ZERO_INIT): Likewise.
15476         (PLUS_INFTY_INIT): Likewise.
15477         (MINUS_INFTY_INIT): Likewise.
15478         (QNAN_VALUE_INIT): Likewise.
15479         (MAX_VALUE_INIT): Likewise.
15480         (MIN_VALUE_INIT): Likewise.
15481         (MIN_SUBNORM_VALUE_INIT): Likewise.
15482         (plus_zero): Initialize with PLUS_ZERO_INIT.
15483         (minus_zero): Initialize with MINUS_ZERO_INIT.
15484         (plus_infty): Initialize with PLUS_INFTY_INIT.
15485         (minus_infty): Initialize with MINUS_INFTY_INIT.
15486         (qnan_value): Initialize with QNAN_VALUE_INIT.
15487         (max_value): Initialize with MAX_VALUE_INIT.
15488         (min_value): Initialize with MIN_VALUE_INIT.
15489         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15491         * math/libm-test.inc (RUN_TEST_if_f): New macro.
15492         (jn_test): Use TEST_if_f instead of TEST_ff_f.
15493         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15494         (yn_test): Use TEST_if_f instead of TEST_ff_f.
15496         * math/libm-test.inc (RUN_TEST_f_f): New macro.
15497         (RUN_TEST_2_f): Likewise.
15498         (RUN_TEST_ff_f): Likewise.
15499         (RUN_TEST_fi_f): Likewise.
15500         (RUN_TEST_fl_f): Likewise.
15501         (RUN_TEST_fff_f): Likewise.
15502         (RUN_TEST_c_f): Likewise.
15503         (RUN_TEST_f_f1): Likewise.
15504         (RUN_TEST_fF_f1): Likewise.
15505         (RUN_TEST_fI_f1): Likewise.
15506         (RUN_TEST_ffI_f1): Likewise.
15507         (RUN_TEST_c_c): Likewise.
15508         (RUN_TEST_cc_c): Likewise.
15509         (RUN_TEST_f_i): Likewise.
15510         (RUN_TEST_f_i_tg): Likewise.
15511         (RUN_TEST_ff_i_tg): Likewise.
15512         (RUN_TEST_f_b): Likewise.
15513         (RUN_TEST_f_b_tg): Likewise.
15514         (RUN_TEST_f_l): Likewise.
15515         (RUN_TEST_f_L): Likewise.
15516         (RUN_TEST_sincos): Likewise.
15517         * math/gen-libm-test.pl (new_test): Take new argument to indicate
15518         whether to show exceptions.  Do not include ");\n" in return
15519         value.
15520         (special_functions): Output call to RUN_TEST_sincos instead of
15521         check_float calls.  Update calls to new_test.
15522         (parse_args): Output call to single RUN_TEST_* macro instead of
15523         check_* calls and other assignments.  Update calls to new_test.
15525         [BZ #2546]
15526         [BZ #2560]
15527         [BZ #5159]
15528         [BZ #15426]
15529         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15530         input to result for tgamma overflow.
15531         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15532         (gamma_coeff): New variable.
15533         (NCOEFF): New macro.
15534         (gamma_positive): New function.
15535         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15536         underflow here.  Use gamma_positive instead of exp (lgamma) for
15537         other arguments.
15538         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15539         (gamma_coeff): New variable.
15540         (NCOEFF): New macro.
15541         (gammaf_positive): New function.
15542         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15543         underflow here.  Use gamma_positive instead of exp (lgamma) for
15544         other arguments.
15545         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15546         (gamma_coeff): New variable.
15547         (NCOEFF): New macro.
15548         (gammal_positive): New function.
15549         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15550         underflow here.  Use gamma_positive instead of exp (lgamma) for
15551         other arguments.
15552         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15553         (gamma_coeff): New variable.
15554         (NCOEFF): New macro.
15555         (gammal_positive): New function.
15556         (__ieee754_gammal_r): Handle positive infinity, overflow and
15557         underflow here.  Handle NaN the same as positive infinity.  Remove
15558         check x < 0xffffffff for negative integers.  Use gamma_positive
15559         instead of exp (lgamma) for other arguments.
15560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15561         (gamma_coeff): New variable.
15562         (NCOEFF): New macro.
15563         (gammal_positive): New function.
15564         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15565         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15566         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15567         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15568         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15569         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15570         * sysdeps/generic/math_private.h (__gamma_productf): New
15571         prototype.
15572         (__gamma_product): Likewise.
15573         (__gamma_productl): Likewise.
15574         * math/Makefile (libm-calls): Add gamma_product.
15575         * math/libm-test.inc (tgamma_test): Add more tests.
15576         * sysdeps/i386/fpu/libm-test-ulps: Update.
15577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15579 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
15581         * benchtests/bench-skeleton.c (main): Preheat CPU.
15583 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
15585         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15587 2013-05-07  Roland McGrath  <roland@hack.frob.com>
15589         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15590         and _dl_skip_args_internal.
15592 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
15594         * manual/message.texi (Message Translation): Talk about users.
15595         Message to key mapping impacts design.
15597 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15599         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15601         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15603         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15604         * sysdeps/wordsize-64/glob64.c: ... here.
15606         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15607         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15608         New macros.
15610         * debug/getlogin_r_chk.c: Moved to ...
15611         * login/getlogin_r_chk.c: ... here.
15612         * debug/Makefile (routines): Move getlogin_r_chk to ...
15613         * login/Makefile (routines): ... here.
15614         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15615         * login/Versions (libc: GLIBC_2.4): ... here.
15617         * io/poll.c (__poll): Renamed from poll.
15618         Add libc_hidden_def.
15619         (poll): Define as weak alias.
15621         * debug/ptsname_r_chk.c: Moved to ...
15622         * login/ptsname_r_chk.c: ... here.
15623         * debug/Makefile (routines): Move ptsname_r_chk to ...
15624         * login/Makefile (routines): ... here.
15625         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15626         * login/Versions (libc: GLIBC_2.4): ... here.
15628         * posix/getlogin.c: Moved to ...
15629         * login/getlogin.c: ... here.
15630         * posix/getlogin_r.c: Moved to ...
15631         * login/getlogin_r.c: ... here.
15632         * posix/getlogin_r.c: Moved to ...
15633         * login/getlogin_r.c: ... here.
15634         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15635         * login/Makefile (routines): ... here.
15636         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15637         * login/Versions (libc: GLIBC_2.0): ... here.
15639         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15640         (setrlimit): Define as weak alias.
15642         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15643         Call __ names for open, ftruncate, and close.
15644         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15645         (truncate): Define as weak alias.
15647 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
15649         * math/gen-libm-test.pl (parse_args): Initialize x before each
15650         test of frexp, modf and remquo.
15652         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15653         test signgam value.
15655 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15657         [BZ #15418]
15658         [BZ #15419]
15659         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15660         internal tests.
15661         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15663 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15665         * elf/dl-writev.h: New file.
15666         * elf/dl-misc.c: Include it.
15667         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15668         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15670 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
15672         * math/libm-test.inc (noXFails): Remove variable.
15673         (noXPasses): Likewise.
15674         (BUILD_COMPLEX_INT): Remove macro.
15675         (print_screen): Remove xfail argument.
15676         (print_screen_max_error): Likewise.
15677         (update_stats): Likewise.
15678         (print_max_error): Likewise.  Update calls to other affected
15679         functions.
15680         (print_complex_max_error): Likewise.
15681         (test_single_exception): Update calls to print_screen.
15682         (test_single_errno): Likewise.
15683         (check_float_internal): Remove xfail argument.  Update calls to
15684         other affected functions.
15685         (check_float): Likewise.
15686         (check_complex): Likewise.
15687         (check_int): Likewise.
15688         (check_long): Likewise.
15689         (check_bool): Likewise.
15690         (check_longlong): Likewise.
15691         (main): Don't print noXFails and noXPasses.
15692         * math/gen-libm-test.pl (top level): Don't mention expected
15693         failure handling in comment.
15694         (new_test): Don't handle expected failures.
15695         (parse_args): Don't mention expected failure handling in comment.
15696         (generate_testfile): Don't handle expected failures.
15697         (parse_ulps): Likewise.
15698         (print_ulps_file): Likewise.
15699         (get_failure): Remove function.
15700         (output_test): Don't handle expected failures.
15701         * make/README.libm-test: Don't mention expected failure handling.
15703         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
15704         (minus_zero): Likewise.
15705         (plus_infty): Likewise.
15706         (minus_infty): Likewise.
15707         (qnan_value): Likewise.
15708         (max_value): Likewise.
15709         (min_value): Likewise.
15710         (min_subnorm_value): Likewise.
15711         (initialize): Do not initialize those variables dynamically.
15713 2013-05-03  Roland McGrath  <roland@hack.frob.com>
15715         * io/open.c (__open_2): Moved to ...
15716         * io/open_2.c: ... this new file.
15717         * io/open64.c (__open64_2): Moved to ...
15718         * io/open64_2.c: ... this new file.
15719         * io/openat.c (__openat_2): Moved to ...
15720         * io/openat_2.c: ... this new file.
15721         * io/openat64.c (__openat64_2): Moved to ...
15722         * io/openat64_2.c: ... this new file.
15723         * io/Makefile (routines): Add them.
15724         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15725         * sysdeps/unix/sysv/linux/open_2.c: File removed.
15726         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15727         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15728         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15729         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15730         (__openat64): Add hidden_ver.
15731         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15732         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15734         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15735         Separately conditionalize setting of GLRO(dl_sysinfo) so
15736         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15737         as well, but the actual setting is only under [NEED_DL_SYSINFO].
15739 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15741         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15742         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15743         definition.
15744         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15745         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15746         (_libc_vdso_platform_setup): Add __vdso_time initialization.
15747         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15748         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15750 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
15752         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15753         test signgam value.
15755         * math/libm-test.inc (hypot_test): Do not use
15756         IGNORE_ZERO_INF_SIGN.
15758 2013-05-03  Andreas Jaeger  <aj@suse.de>
15760         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15761         Linux 3.9.
15762         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15763         (PF_MAX): Adjust for VSOCK change.
15765 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15769 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
15771         [BZ #15264]
15772         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15773         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15774         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15776 2013-05-02  David S. Miller  <davem@davemloft.net>
15778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15780 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
15782         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15784 2013-05-01  Roland McGrath  <roland@hack.frob.com>
15786         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15788 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
15790         [BZ #14952]
15791         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15792         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15793         Use __attribute__ ((__gnu_inline__)).
15794         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15795         Don't use __attribute__ ((__gnu_inline__)).
15797 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
15799         [BZ #15423]
15800         * math/s_catan.c (__catan): Handle small real or imaginary part of
15801         input specially to avoid spurious underflow.
15802         * math/s_catanf.c (__catanf): Likewise.
15803         * math/s_catanh.c (__catanh): Likewise.
15804         * math/s_catanhf.c (__catanhf): Likewise.
15805         * math/s_catanhl.c (__catanhl): Likewise.
15806         * math/s_catanl.c (__catanl): Likewise.
15807         * math/libm-test.inc (catan_test): Add more tests.
15808         (catanh_test): Likewise.
15809         * sysdeps/i386/fpu/libm-test-ulps: Update.
15810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15812 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15816 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
15818         [BZ #15416]
15819         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15820         accurately for denominator in atan2.
15821         * math/s_catanf.c (__catanf): Likewise.
15822         * math/s_catanh.c (__catanh): Likewise.
15823         * math/s_catanhf.c (__catanhf): Likewise.
15824         * math/s_catanhl.c (__catanhl): Likewise.
15825         * math/s_catanl.c (__catanl): Likewise.
15826         * math/libm-test.inc (catan_test): Add more tests.
15827         (catanh_test): Likewise.
15828         * sysdeps/i386/fpu/libm-test-ulps: Update.
15829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15833         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15835         * benchtests/Makefile (bench): Remove slow benchmarks.
15836         * benchtests/atan-inputs: Add slow benchmark inputs.
15837         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15838         (BENCH_FUNC): Accept variant offset.
15839         (VARIANT): Define.
15840         * benchtests/bench-skeleton.c (main): Run benchmark for each
15841         variant.
15842         * benchtests/cos-inputs: Add slow benchmark inputs.
15843         * benchtests/exp-inputs: Likewise.
15844         * benchtests/pow-inputs: Likewise.
15845         * benchtests/sin-inputs: Likewise.
15846         * benchtests/slowatan-inputs: Remove.
15847         * benchtests/slowatan.c: Remove.
15848         * benchtests/slowcos-inputs: Remove.
15849         * benchtests/slowcos.c: Remove.
15850         * benchtests/slowexp-inputs: Remove.
15851         * benchtests/slowexp.c: Remove.
15852         * benchtests/slowpow-inputs: Remove.
15853         * benchtests/slowpow.c: Remove.
15854         * benchtests/slowsin-inputs: Remove.
15855         * benchtests/slowsin.c: Remove.
15856         * benchtests/slowtan-inputs: Remove.
15857         * benchtests/slowtan.c: Remove.
15858         * benchtests/tan-inputs: Add slow benchmark inputs.
15859         * scripts/bench.pl: Parse comments and directives.
15861         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
15862         in CPPFLAGS.
15863         ($(objpfx)bench-%.c): Remove *-ITER.
15864         * benchtests/bench-modf.c: Remove definition of ITER.
15865         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15866         (main): Loop for DURATION seconds instead of fixed number of
15867         iterations.
15868         * scripts/bench.pl: Don't expect iterations in parameters.
15870 2013-04-29  Roland McGrath  <roland@hack.frob.com>
15872         * io/fchdir.c (__fchdir): Renamed from fchdir.
15873         (fchdir): Define as weak alias.
15875 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15877         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15878         (ERRNO_EDOM): Likewise.
15879         (ERRNO_ERANGE): Likewise.
15880         (noErrnoTests): New variable.
15881         (init_max_error): Set errno to 0.
15882         (test_single_errno): New function.
15883         (test_errno): Likewise.
15884         (check_float_internal): Call test_errno.  Set errno to 0.
15885         (check_complex): Refer to errno tests in comment.
15886         (check_int): Call test_errno.  Set errno to 0.
15887         (check_long): Likewise.
15888         (check_bool): Likewise.
15889         (check_longlong): Likewise.
15890         (cos_test): Use ERRNO_* flags for errno tests instead of
15891         check_int.
15892         (expm1_test): Likewise.
15893         (fmod_test): Likewise.
15894         (ilogb_test): Likewise.
15895         (lgamma_test): Likewise.
15896         (pow_test): Likewise.
15897         (remainder_test): Likewise.
15898         (sin_test): Likewise.
15899         (tan_test): Likewise.
15900         (yn_test): Likewise.
15901         (initialize): Set errno to 0.
15902         (main): Print number of errno tests.
15903         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15905 2013-04-29  Andreas Jaeger  <aj@suse.de>
15907         [BZ #15084]
15908         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15909         and RES_USEVC.
15911         [BZ #15085]
15912         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15913         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15914         unimplemented.
15916         [BZ #15380]
15917         * stdlib/random.c (__initstate): Return NULL if
15918         __initstate fails.
15920         [BZ #15086]
15921         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15922         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15923         RES_SNGLKUPREOP.
15925 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15929 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15931         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15932         of individual tests.
15933         (casin_test): Likewise.
15934         (casinh_test): Likewise.
15936 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15938         [BZ #15409]
15939         * math/s_catan.c (__catan): Handle arguments with large real or
15940         imaginary part separately without squaring.
15941         * math/s_catanf.c (__catanf): Likewise.
15942         * math/s_catanh.c (__catanh): Likewise.
15943         * math/s_catanhf.c (__catanhf): Likewise.
15944         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15945         and redefine.
15946         (__catanhl): Handle arguments with large real or imaginary part
15947         separately without squaring.
15948         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15949         and redefine.
15950         (__catanl): Handle arguments with large real or imaginary part
15951         separately without squaring.
15952         * math/libm-test.inc (catan_test): Add more tests.
15953         (catanh_test): Likewise.
15954         * sysdeps/i386/fpu/libm-test-ulps: Update.
15955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15957 2013-04-27  Andreas Jaeger  <aj@suse.de>
15959         [BZ #15007]
15960         * stdlib/stdlib.h: Update guards for qecvt.
15961         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15962         <stdlib.h>.
15964 2013-04-27  Allan McRae  <allan@archlinux.org>
15966         * sysdeps/i386/fpu/libm-test-ulps: Update.
15968 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15970         [BZ #15406]
15971         * math/s_catan.c: Include <float.h>.
15972         (__catan): Ensure underflow exception occurs for underflowed
15973         result.
15974         * math/s_catanf.c: Include <float.h>.
15975         (__catanf): Ensure underflow exception occurs for underflowed
15976         result.
15977         * math/s_catanh.c: Include <float.h>.
15978         (__catanh): Ensure underflow exception occurs for underflowed
15979         result.
15980         * math/s_catanhf.c: Include <float.h>.
15981         (__catanhf): Ensure underflow exception occurs for underflowed
15982         result.
15983         * math/s_catanhl.c: Include <float.h>.
15984         (__catanhl): Ensure underflow exception occurs for underflowed
15985         result.
15986         * math/s_catanl.c: Include <float.h>.
15987         (__catanl): Ensure underflow exception occurs for underflowed
15988         result.
15989         * math/libm-test.inc (catan_test): Add more tests.
15990         (catanh_test): Likewise.
15992         [BZ #15405]
15993         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15994         underflowed result.
15995         * math/s_ccoshf.c (__ccoshf): Likewise.
15996         * math/s_ccoshl.c (__ccoshl): Likewise.
15997         * math/s_csin.c (__csin): Likewise.
15998         * math/s_csinf.c (__csinf): Likewise.
15999         * math/s_csinh.c (__csinh): Likewise.
16000         * math/s_csinhf.c (__csinhf): Likewise.
16001         * math/s_csinhl.c (__csinhl): Likewise.
16002         * math/s_csinl.c (__csinl): Likewise.
16003         * math/libm-test.inc (ccos_test): Add more tests.
16004         (ccosh_test): Likewise.
16005         (csin_test): Likewise.
16006         (csinh_test): Likewise.
16008 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16010         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16011         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16012         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16013         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16014         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16015         powerpc/power5+/fpu folders.
16016         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16019 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16023 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16025         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16026         additions to variable.
16027         [$(config-machine) = x86_64] (modules-names): Likewise.
16028         ($(objpfx)tst-audit3): Remove dependency.
16029         ($(objpfx)tst-audit3.out): Likewise.
16030         ($(objpfx)tst-audit4): Likewise.
16031         ($(objpfx)tst-audit4.out): Likewise.
16032         ($(objpfx)tst-audit5): Likewise.
16033         ($(objpfx)tst-audit5.out): Likewise.
16034         ($(objpfx)tst-audit6): Likewise.
16035         ($(objpfx)tst-audit6.out): Likewise.
16036         ($(objpfx)tst-audit7): Likewise.
16037         ($(objpfx)tst-audit7.out): Likewise.
16038         (tst-audit3-ENV): Remove variable.
16039         (tst-audit4-ENV): Likewise.
16040         (tst-audit5-ENV): Likewise.
16041         (tst-audit6-ENV): Likewise.
16042         (tst-audit7-ENV): Likewise.
16043         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16044         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16045         addition to variable.
16046         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16047         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16048         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16049         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16050         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16051         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16052         tst-audit3, tst-audit4 and tst-audit5.
16053         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16054         tst-audit6 and tst-audit7.
16055         [$(subdir) = elf] (modules-names): Add audit modules for those
16056         tests.
16057         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16058         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16059         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16060         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16061         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16062         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16063         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16064         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16065         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16066         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16067         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16068         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16069         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16070         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16071         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16072         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16073         Likewise.
16074         [$(subdir) = elf && $(config-cflags-avx) = yes]
16075         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16076         [$(subdir) = elf && $(config-cflags-avx) = yes]
16077         (CFLAGS-tst-auditmod4a.c): Likewise.
16078         [$(subdir) = elf && $(config-cflags-avx) = yes]
16079         (CFLAGS-tst-auditmod4b.c): Likewise.
16080         [$(subdir) = elf && $(config-cflags-avx) = yes]
16081         (CFLAGS-tst-auditmod6b.c): Likewise.
16082         [$(subdir) = elf && $(config-cflags-avx) = yes]
16083         (CFLAGS-tst-auditmod6c.c): Likewise.
16084         [$(subdir) = elf && $(config-cflags-avx) = yes]
16085         (CFLAGS-tst-auditmod7b.c): Likewise.
16086         * elf/tst-audit3.c: Move to ...
16087         * sysdeps/x86_64/tst-audit3.c: ... here.
16088         * elf/tst-audit4.c: Move to ...
16089         * sysdeps/x86_64/tst-audit4.c: ... here.
16090         * elf/tst-audit5.c: Move to ...
16091         * sysdeps/x86_64/tst-audit5.c: ... here.
16092         * elf/tst-audit6.c: Move to ...
16093         * sysdeps/x86_64/tst-audit6.c: ... here.
16094         * elf/tst-audit7.c: Move to ...
16095         * sysdeps/x86_64/tst-audit7.c: ... here.
16096         * elf/tst-auditmod3a.c: Move to ...
16097         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16098         * elf/tst-auditmod3b.c: Move to ...
16099         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16100         * elf/tst-auditmod4a.c: Move to ...
16101         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16102         * elf/tst-auditmod4b.c: Move to ...
16103         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16104         * elf/tst-auditmod5a.c: Move to ...
16105         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16106         * elf/tst-auditmod5b.c: Move to ...
16107         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16108         * elf/tst-auditmod6a.c: Move to ...
16109         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16110         * elf/tst-auditmod6b.c: Move to ...
16111         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16112         * elf/tst-auditmod6c.c: Move to ...
16113         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16114         * elf/tst-auditmod7a.c: Move to ...
16115         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16116         * elf/tst-auditmod7b.c: Move to ...
16117         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16119 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16121         [BZ #15366]
16122         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16123         define unconditionally.
16124         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16125         define unconditionally.
16126         (INT8_C, INT16_C, etc.): Likewise.
16128 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16130         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16131         __ehdr_start with hidden visibility.
16133         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16135 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16137         * math/libm-test.inc (cos_test): Use accurate hex constants.
16138         (sincost_test): Likewise.
16140 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16142         * math/libm-test.inc (catan_test): Add more tests.
16143         (catanh_test): Likewise.
16145         * math/s_catanf.c (__catanf): Use suffixed floating-point
16146         constants.
16147         * math/s_catanhf.c (__catanhf): Likewise.
16148         * math/s_catanhl.c (__catanhl): Likewise.
16149         * math/s_catanl.c (__catanl): Likewise.
16151         [BZ #15394]
16152         * math/s_catan.c (__catan): Calculate imaginary part of result
16153         with log1p not log unless computing log of number close to 0.
16154         * math/s_catanf.c (__catanf): Likewise.
16155         * math/s_catanl.c (__catanl): Likewise.
16156         * math/s_catanh.c (__catanh): Calculate real part of result with
16157         log1p not log unless computing log of number close to 0.
16158         * math/s_catanhf.c (__catanhf): Likewise.
16159         * math/s_catanhl.c (__catanhl): Likewise.
16160         * math/libm-test.inc (catan_test): Add more tests.
16161         (catanh_test): Likewise.
16162         * sysdeps/i386/fpu/libm-test-ulps: Update.
16163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16165 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16167         * benchtests/Makefile: Mention files in which fast and slow
16168         paths of math functions are implemented.
16170 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16172         * sysdeps/posix/timespec_get.c: New file.
16174 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16176         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16177         POWER.
16178         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16179         for POWER.
16180         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16181         powerpc/power5/fpu folders.
16182         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16183         * benchtests/Makefile: Add modf testcase.
16184         * benchtests/bench-modf.c: New file: Benchmark test for mo
16186 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16188         [BZ #14888]
16189         * time/Makefile (tests): Add tst-strptime-whitespace.
16190         * time/strptime_l.c (get_number): Use ISSPACE.
16191         (__strptime_internal): Likewise.
16192         * time/tst-strptime-whitespace.c: New test case.
16194 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16196         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16197         member.
16198         (_nss_files_init): Set it here.
16200 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16202         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16203         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16204         unsigned.
16206 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16208         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16210 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16212         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16213         size just once.
16215 2013-04-21  David S. Miller  <davem@davemloft.net>
16217         * po/ru.po: Update Russion translation from translation project.
16219 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16221         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16222         and setfsgid.
16224 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16226         * configure.in: Remove i386 configure warning. Remove i386 case.
16227         * configure: Regenerate.
16228         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16229         Add example to error message.
16230         * sysdeps/i386/configure: Regenerate.
16232 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16234         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16235         slowtan.
16236         * benchtests/cos-inputs: New file.
16237         * benchtests/slowcos-inputs: New file.
16238         * benchtests/slowcos.c: New file.
16239         * benchtests/slowtan-inputs: New file.
16240         * benchtests/slowtan.c: New file.
16241         * benchtests/tan-inputs: New file.
16243 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16245         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16246         considered kosher.
16248 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16250         * benchtests/Makefile: Include cppflags-iterator.mk to add
16251         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16253         * Makefile.in (bench-clean): New target.
16254         * benchtests/Makefile (bench-clean): Likewise.
16256 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
16258         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16260 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
16262         * stdio-common/tstdiomisc.c: Fix coding-style violation.
16264 2013-04-15  Andreas Schwab  <schwab@suse.de>
16266         * nscd/grpcache.c (cache_addgr): Properly check for short write.
16267         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16268         * nscd/pwdcache.c (cache_addpw): Likewise.
16269         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
16270         more than recsize.
16272 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16274         * benchtests/Makefile (bench): Write all output to
16275         bench-out.tmp together.
16277 2013-04-15  Andreas Schwab  <schwab@suse.de>
16279         * nscd/nscd.c (main): Don't fork again after closing files.
16281 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16283         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16285         * benchtests/Rules (bench-deps): Collect dependencies into a
16286         single variable.  Add Makefile to dependencies.
16287         ($(objpfx)bench-%.c): Depend on bench-deps.
16289 2013-04-12  Roland McGrath  <roland@hack.frob.com>
16290             Xavier Roche  <roche+kml2@exalead.com>
16292         [BZ #15361]
16293         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16294         just that it's a file descriptor.
16295         * manual/llio.texi (Synchronizing AIO Operations): Update description
16296         for EBADF error from aio_fsync.
16298 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16300         * Rules (bench): Move target definition...
16301         * benchtests/Makefile: ... here.
16303 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
16305         * math/libm-test.inc (cos_test): Fix PI/2 test.
16306         (sincos_test): Likewise.
16307         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16308         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16310 2013-04-11  Andreas Schwab  <schwab@suse.de>
16312         [BZ #13988]
16313         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16314         accept exponent character only when digits were seen.
16315         * stdio-common/Makefile (tests): Add bug26.
16316         * stdio-common/bug26.c: New file.
16318         [BZ #14293]
16319         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16320         non-freeable.
16322 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16324         * Makeconfig (rtld-prefix): Define built linker prefix.
16325         * Rules (run-bench): Use it.
16326         * math/Makefile (run-regen-ulps): Likewise.
16328         * Rules (bench): Remove eval.
16330 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16331             Roland McGrath  <roland@hack.frob.com>
16332             Ondrej Bilka  <neleai@seznam.cz>
16334         [BZ #15346]
16335         * time/getdate.c: Include ctype.h and alloca.h.
16336         (__getdate_r): Trim leading and trailing spaces of input.
16337         * time/tst-getdate.c (tests): Add tests with leading and
16338         trailing spaces.
16340 2013-04-08  Roland McGrath  <roland@hack.frob.com>
16342         [BZ #14280]
16343         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16344         when computing value.
16346 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16348         * math/README.libm-test (How can I generate "libm-test-ulps"?):
16349         Use testrun.sh to run libm tests.
16351         [BZ #15309]
16352         * elf/dl-open.c (dl_open_worker): memset all of seen array.
16354 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
16356         [BZ #15264]
16357         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16359 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16361         * Makefile.in (regen-ulps): New target.
16362         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16363         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16364         [ifneq (no,$(PERL)] (regen-ulps): New target.
16365         [ifeq (no,$(PERL)] (regen-ulps): New target.
16366         * math/libm-test.inc (ulps_file_name): Define.
16367         (output_dir): New variable.
16368         (options): Add "output-dir" option.
16369         (parse_opt): Handle 'o' case.
16370         (main): If output_dir is non-NULL use it as a prefix
16371         otherwise use "".
16372         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16374 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16376         [BZ #10060, #10062]
16377         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16378         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16379         fail configure if __sync_val_compare_and_swap is not inlined.
16380         * sysdeps/i386/configure: Regenerate.
16381         * configure.in: Build for i686 when configured for i386.
16382         * configure: Regenerate.
16383         * README: Remove i386 reference.
16385 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16387         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16388         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16390 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16392         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16393         (lmsnanval): New variables.
16394         (F): Add conversion tests.
16395         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16396         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16398         * stdio-common/tstdiomisc.c (F): Properly collect individual
16399         tests' results.
16401         [BZ #14686, #15336]
16402         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16403         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16404         Instead, use input NaN values or generate a qNaN by arithmetic
16405         operation.  Also fix bugs to comply with the standard.
16406         * math/libm-test.inc (remainder_test): Add more tests.
16408         [BZ #15335, #15342]
16409         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16410         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16411         input NaN values or generate a qNaN by arithmetic operation.
16413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16414         unreachable code.
16416         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16417         definitions.
16419 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
16421         [BZ #14478]
16422         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16423         underflowed result.
16424         * math/s_cexpf.c (__cexpf): Likewise.
16425         * math/s_cexpl.c (__cexpl): Likewise.
16426         * math/libm-test.inc (cexp_test): Add more tests.
16428 2013-04-03  Andreas Schwab  <schwab@suse.de>
16430         [BZ #15330]
16431         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16432         order arrays from heap if bigger than alloca cutoff.
16434 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
16436         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16437         (SNAN_TESTS_double): Refer to GCC PR56831.
16438         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16439         GCC PR56828.
16441 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16443         * Rules (bench): Move bench.out after the run is complete.
16445         * Rules (bench): Echo currently running benchmark.
16447         * benchtests/Makefile (bench): Add atan and slowatan.
16448         * benchtests/atan-inputs: New file.
16449         * benchtests/slowatan-inputs: New file.
16450         * benchtests/slowatan.c: New file.
16452         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16453         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16454         its value.
16456         [BZ #15305]
16457         * sysdeps/unix/sysv/linux/kernel-features.h
16458         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16459         __ASSUME_XFS_RESTRICTED_CHOWN.
16460         * sysdeps/unix/sysv/linux/pathconf.c
16461         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16462         Save and restore errno.
16464 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
16466         [BZ #15327]
16467         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16468         arguments using __kernel_casinh.
16469         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16470         arguments using __kernel_casinhf.
16471         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16472         arguments using __kernel_casinhl.
16473         * math/libm-test.inc (cacosh_test): Add more tests.
16474         * sysdeps/i386/fpu/libm-test-ulps: Update.
16475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16477 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16479         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16480         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16482         * bench/Makefile (bench): Add sin and slowsin.
16483         * benchtests/sin-inputs: New file.
16484         * benchtests/slowsin-inputs: New file.
16485         * benchtests/slowsin.c: New file.
16487         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16488         (bench): Add slowexp and slowpow.
16489         (exp-ITER): Increase iterations.
16490         (pow-ITER): Likewise.
16491         * benchtests/exp-inputs: Change input.
16492         * benchtests/pow-inputs: Likewise.
16493         * benchtests/slowexp-inputs: New file.
16494         * benchtests/slowexp.c: New file.
16495         * benchtests/slowpow-inputs: New file.
16496         * benchtests/slowpow.c: New file.
16498 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16500         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16501         instructions.
16502         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16503         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16504         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16505         * benchtests/Makefile: Add rint benchtest.
16506         * benchtests/rint-inputs: Input for rint benchtest.
16508 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16510         * Versions.def (libm): Add GLIBC_2.18.
16511         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16512         hidden libm prototypes.
16513         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16514         * math/Makefile (libm-calls): Add s_issignaling.
16515         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16516         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
16517         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16518         declaration.
16519         * math/math.h [__USE_GNU] (issignaling): New macro.
16520         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16521         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16522         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16523         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16526         * manual/arith.texi (issignaling): New section.
16527         * manual/libm-err-tab.pl (@all_functions): Update comment.
16528         * math/gen-libm-test.pl (parse_args): Apply special handling for
16529         issignaling.
16530         * math/libm-test.inc (print_float, issignaling_test): New
16531         functions.
16532         (check_float_internal): Add issignaling checks.
16533         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16534         default definition.
16535         * sysdeps/powerpc/math-tests.h: New file.
16536         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16537         tests.
16538         * math/test-snan.c (TEST_FUNC): Likewise.
16540 2013-03-30  David S. Miller  <davem@davemloft.net>
16542         * po/de.po: Update from translation team.
16544 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
16546         [BZ #10357]
16547         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16548         imaginary part less than 1.0 and real part less than 0.5
16549         specially.
16550         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16551         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16552         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16553         (cacos_test): Add more tests.
16554         (casin_test): Likewise.
16555         (casinh_test): Likewise.
16556         * sysdeps/i386/fpu/libm-test-ulps: Update.
16557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16559 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16561         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16562         ONE with its value.
16564         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16565         (__pow_mp): Replace ONE and MONE with their values.
16566         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16567         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16568         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16569         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16570         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16571         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16573         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16575         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16576         (__pow_mp): Replace ZERO and MZERO with their values.
16577         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16579         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16581         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16582         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16583         (__sqr): Likewise.
16585         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16587         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16589 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16591         * include/stdlib.h [!SHARED] (__call_tls_dtors):
16592         Declare with __attribute__ ((weak)).
16593         * stdlib/exit.c (__libc_atexit) [!SHARED]:
16594         Call __call_tls_dtors only if it's not NULL.
16596 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16598         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16599         didn't do it already, then set _dl_phdr and _dl_phnum based on the
16600         magic __ehdr_start linker symbol if it's defined.
16601         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16602         them up here if it was already done.
16604         * elf/dl-support.c (_dl_phdr): Make pointer to const.
16605         (_dl_aux_init): Use const in cast when setting it.
16606         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16607         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16608         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16610         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16611         Declare them here.
16612         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16613         * csu/libc-tls.c: Nor here.
16614         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16616         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16617         (__libc_message): Never call vsyslog.
16619 2013-03-28  Alan Modra  <amodra@gmail.com>
16621         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16622         Define as empty.
16623         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16624         Likewise.
16626 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16628         [BZ #15214]
16629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16630         underflow.
16631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16633 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16635         [BZ #15304]
16636         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16637         Don't add gid passed as argument.
16639         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16641 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
16643         [BZ #15307]
16644         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16645         imaginary part between 1.0 and 1.5 and real part less than 0.5
16646         specially.
16647         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16648         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16649         * math/libm-test.inc (cacos_test): Add more tests.
16650         (casin_test): Likewise.
16651         (casinh_test): Likewise.
16652         * sysdeps/i386/fpu/libm-test-ulps: Update.
16653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16655 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16657         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16658         constants.
16659         (norm): Likewise.
16660         (denorm): Likewise.
16661         (__dbl_mp): Likewise.
16662         (add_magnitudes): Likewise.
16663         (sub_magnitudes): Likewise.
16664         (__add): Likewise.
16665         (__sub): Likewise.
16666         (__mul): Likewise.
16667         (__sqr): Likewise.
16668         (__inv): Likewise.
16669         (__dvd): Likewise.
16671         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16672         commented code.
16673         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16674         (__dubcos): Likewise.
16675         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16676         (__ieee754_acos): Likewise.
16677         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16678         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16679         (__exp1): Likewise.
16680         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16681         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16682         (log1): Likewise.
16683         (my_log2): Likewise.
16684         (checkint): Likewise.
16685         * sysdeps/ieee754/dbl-64/e_remainder.c
16686         (__ieee754_remainder): Likewise.
16687         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16689         (bsloww): Likewise.
16690         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16692         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16693         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16694         MANTISSA_STORE_T to store computations on mantissa.  Use
16695         macros for rounding and division.
16696         (denorm): Likewise.
16697         (__dbl_mp): Likewise.
16698         (add_magnitudes): Likewise.
16699         (sub_magnitudes): Likewise.
16700         (__mul): Likewise.
16701         (__sqr): Likewise.
16702         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16703         powers of two in terms of TWOPOW macro.
16704         (mp_no): Make type of mantissa as MANTISSA_T.
16705         [!RADIXI]: Define RADIXI.
16706         [!TWO52]: Define TWO52.
16707         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16709 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16711         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16712         llroundl symbol when building for PPC32.
16714 2013-03-24  Mark H Weaver  <mhw@netris.org>
16716         * manual/arith.texi (Normalization Functions): Fix prototypes for
16717         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16719 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16721         [BZ #13889]
16722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16723         high value to check if expl overflow.
16724         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16725         to check for underflow and overflow.
16726         * math/libm-test.inc: Add exp test.
16728 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
16730         [BZ #11120]
16731         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16732         with NOT_IN_libc.
16734 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16736         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16737         symbol.
16739 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16741         * math/gen-libm-test.pl (parse_args, special_functions): Properly
16742         wrap blocks consisting of several statements.
16744         * sysdeps/generic/math-tests.h: New file.
16745         * sysdeps/i386/fpu/math-tests.h: Likewise.
16746         * math/test-snan.c: Include it.
16747         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16749 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16751         [BZ #15285]
16752         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16753         (__ieee754_j0l): Do not improve calculations using cos of twice
16754         input for inputs above LDBL_MAX / 2.0L.
16755         (__ieee754_y0l): Likewise.
16756         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16757         (__ieee754_j1l): Do not improve calculations using cos of twice
16758         input for inputs above LDBL_MAX / 2.0L.
16759         (__ieee754_y1l): Likewise.
16760         * math/libm-test.inc (j0_test): Add another test.
16761         (j1_test): Likewise.
16762         (y0_test): Likewise.
16763         (y1_test): Likewise.
16764         * sysdeps/i386/fpu/libm-test-ulps: Update.
16766 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16768         * Rules ($(objpfx)bench-%.c): Include code from a C source
16769         file.
16771 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16773         [BZ #15287]
16774         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16775         imaginary part 1.0 and real part less than 0.5 specially.
16776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16778         * math/libm-test.inc (cacos_test): Add more tests.
16779         (casin_test): Likewise.
16780         (casinh_test): Likewise.
16781         * sysdeps/i386/fpu/libm-test-ulps: Update.
16782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16784 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16786         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16787         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16789 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
16791         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16792         * config.make.in (config-cflags-sse4): Remove variable.
16793         (config-cflags-avx): Likewise.
16794         (config-cflags-sse2avx): Likewise.
16795         (config-cflags-novzeroupper): Likewise.
16796         (config-asflags-i686): Likewise.
16797         (have-mfma4): Likewise.
16798         (have-as-vis3): Likewise.
16799         (MIG): Likewise.
16800         * configure.in (MIG): Do not AC_SUBST.
16801         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16802         (libc_cv_cc_sse4): Do not AC_SUBST.
16803         (libc_cv_cc_avx): Likewise.
16804         (libc_cv_cc_sse2avx): Likewise.
16805         (libc_cv_cc_novzeroupper): Likewise.
16806         (libc_cv_cc_fma4): Likewise.
16807         (libc_cv_as_i686): Likewise.
16808         (libc_cv_sparc_as_vis3): Likewise.
16809         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16810         LIBC_CONFIG_VAR.
16811         (config-asflags-i686): Likewise.
16812         (config-cflags-avx): Likewise.
16813         (config-cflags-sse2avx): Likewise.
16814         (have-mfma4): Likewise.
16815         (config-cflags-novzeroupper): Likewise.
16816         * sysdeps/mach/configure.in (MIG): Likewise.
16817         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16818         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16819         LIBC_CONFIG_VAR.
16820         (config-cflags-avx): Likewise.
16821         (config-cflags-sse2avx): Likewise.
16822         (have-mfma4): Likewise.
16823         (config-cflags-novzeroupper): Likewise.
16824         * configure: Regenerated.
16825         * sysdeps/i386/configure: Likewise.
16826         * sysdeps/mach/configure: Likewise.
16827         * sysdeps/sparc/configure: Likewise.
16828         * sysdeps/x86_64/configure: Likewise.
16830 2013-03-20  Roland McGrath  <roland@hack.frob.com>
16832         [BZ #14812]
16833         * locale/programs/localedef.c (options): Put N_ translation marker
16834         on argument names, not just descriptions.
16836 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16838         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16840 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
16842         [BZ #14176]
16843         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16845 2013-03-19  Roland McGrath  <roland@hack.frob.com>
16847         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16848         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16849         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16850         [!BEFORE_ABORT] (before_abort): New function.
16851         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16852         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16853         (writev_for_fatal): New function.
16854         (WRITEV_FOR_FATAL): New macro; call that.
16855         (backtrace_and_maps): New function.
16856         (BEFORE_ABORT): New macro; call that.
16857         (struct str_list): Type removed.
16858         (__libc_message, __libc_fatal): Functions removed.
16859         Include <sysdeps/posix/libc_fatal.c> instead.
16861 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
16863         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16864         constants.
16865         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16866         double constants.
16868 2013-03-19  Andreas Schwab  <schwab@suse.de>
16870         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16871         * sysdeps/gnu/configure: Regenerate.
16873         * configure.in: Substitute libc_cv_rtlddir.
16874         * configure: Regenerate.
16875         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16876         * Makeconfig (rtlddir, inst_rtlddir): New variables.
16877         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16878         * elf/Makefile (install-others, CFLAGS-interp.c)
16879         (ldso_install, common-ldd-rewrite): Likewise.
16880         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16881         $(inst_slibdir)/$(rtld-installed-name).
16882         * scripts/rellns-sh: Add -p option.
16883         * Makerules (make-shlib-link): Use rellns-sh to get relative name
16884         for source.
16886 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16888         * manual/nptl.texi: Renamed to ...
16889         * manual/threads.texi: ... this.
16890         * manual/Makefile (chapters): Update.
16892 2013-03-18  Roland McGrath  <roland@hack.frob.com>
16894         [BZ #14812]
16895         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16896         on argument names, not just descriptions.
16897         * malloc/memusagestat.c (options): Likewise.
16898         * nss/getent.c (options): Likewise.
16900 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16902         [BZ #14812]
16903         * iconv/iconv_prog.c (options): Put N_ translation marker
16904         on argument names, not just descriptions.
16905         * iconv/iconvconfig.c (options): Likewise.
16907 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16909         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16910         implementation which is faster on all x86_64 architectures.
16911         Tested on AMD, Intel Nehalem, SNB, IVB.
16912         * sysdeps/x86_64/strnlen.S: Likewise.
16914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16915         Remove all multiarch strlen and strnlen versions.
16916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16917         Remove strlen and strnlen related parts.
16919         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16920         Inline strlen part.
16921         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16923         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16924         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16925         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16926         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16927         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16928         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16930 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16932         * manual/memory.texi (Malloc Tunable Parameters):
16933         Sort parameters alphabetically. Add comments for missing entries.
16935 2013-03-17  David S. Miller  <davem@davemloft.net>
16937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16939 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16941         [BZ #15283]
16942         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16943         for arguments at most half maximum finite value.
16944         * math/libm-test.inc (j0_test): Add more tests.
16945         (j1_test): Likewise.
16946         (y0_test): Likewise.
16947         (y1_test): Likewise.
16948         * sysdeps/i386/fpu/libm-test-ulps: Update.
16949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951         [BZ #14155]
16952         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16953         1 / x and functions P and Q for arguments above 0x1p256L.
16954         (__ieee754_y0l): Likewise.
16955         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16956         (__ieee754_y1l): Likewise.
16957         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16958         (j1_test): Likewise.
16959         (y0_test): Likewise.
16960         (y1_test): Likewise.
16962 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16964         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16965         variable.
16967 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16969         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16970         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16971         zero since it's initialized to EXEC_PAGESIZE.
16973         * sysdeps/unix/sysv/linux/ldsodefs.h
16974         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16975         * sysdeps/generic/ldsodefs.h: ... here.
16977 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16979         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16981         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16982         math/test-snan.c.
16983         * math/test-snan.c: Renamed from
16984         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16985         * math/Makefile (tests): Add test-snan.
16986         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16987         test-powerpc-snan.
16989         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16990         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16991         functions.
16992         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16993         __builtin_nan family of functions.
16994         * math/libm-test.inc (initialize): Initialize qnan_value with
16995         __builtin_nan family of functions.
16996         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16997         Remove variables.
16998         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16999         Remove functions.
17000         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17001         storage class.  Initialize qNaN_var and sNaN_var with
17002         __builtin_nan and __builtin_nans families of functions,
17003         respectively.
17005         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17006         (sqrt_test): Remove duplicate test with qNaN input.
17007         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17008         (round_test, signbit_test, significand_test): Note missing +/-Inf
17009         as well as qNaN tests.
17011         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17012         qNaN_var.  Fix a few strings, too.
17013         * math/libm-test.inc (nan_value): Rename to qnan_value.
17014         * math/gen-libm-test.pl (%beautify): Adjust to that.
17015         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17016         * math/test-misc.c (main): Likewise.
17017         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17018         to __qnan_bytes, and __qnan_union, respectively.
17019         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17020         Likewise.
17021         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17022         and lqnanval, respectively.
17023         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17024         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17025         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17026         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17028         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17029         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17030         doubles.
17032         * math/test-misc.c (main): Fix copy'n'pastos.
17033         * misc/tst-efgcvt.c (special): Likewise.
17035         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17036         Remove declarations.
17038 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17040         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17041         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17042         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17043         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17045 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17047         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17048         macro to return vdso values correctly in IFUNC implementations.
17049         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17050         Optimization by using IFUNC.
17052 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17053             Richard Henderson  <rth@redhat.com>
17054             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17056         * Makefile.in (bench): New target.
17057         * NEWS: Mention the benchmark framework.
17058         * Rules (bench): Likewise.
17059         (binaries-bench): Generate binaries for functions to
17060         benchmark.
17061         * benchtests/Makefile: New makefile for benchmark tests.
17062         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17063         programs.
17064         * benchtests/exp-inputs: New input file for EXP function.
17065         * benchtests/pow-inputs: New input file for POW function.
17066         * scripts/bench.pl: New script to generate source files for
17067         benchmark programs.
17069 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17071         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17072         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17073         computations on mantissa.  Use macros for rounding and
17074         division.
17075         (denorm): Likewise.
17076         (__dbl_mp): Likewise.
17077         (add_magnitudes): Likewise.
17078         (sub_magnitudes): Likewise.
17079         (__mul): Likewise.
17080         (__sqr): Likewise.
17081         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17082         powers of two in terms of TWOPOW macro.
17083         (mp_no): Make type of mantissa as MANTISSA_T.
17084         [!RADIXI]: Define RADIXI.
17085         [!TWO52]: Define TWO52.
17086         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17088         * manual/nptl.texi (cindex): Modify threads to pthreads.
17090 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17092         * sysdeps/x86_64/preconfigure: Regenerated.
17094 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17096         [BZ #14155]
17097         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17098         0x1p28 and above.
17099         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17100         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17101         0x1p28 and above.
17102         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17103         * math/libm-test.inc (j0_test): Do not allow one spurious
17104         underflow exception.
17105         (y1_test): Likewise.
17107 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17109         * manual/Makefile (chapters): Add nptl.
17110         * manual/debug.texi (Debugging Support): Add link to Threads
17111         chapter.
17112         * manual/nptl.texi: New file.
17114         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17116 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17118         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17119         for non-NULL pointer before the memory validity test. Pointed
17120         out by Holger Brunck <holger.brunck@keymile.com>.
17122 2013-03-13  Andreas Schwab  <schwab@suse.de>
17124         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17125         instead of .os.
17127 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17129         * timezone/zic.c: Update from tzcode 2013b.
17131 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17133         * manual/install.texi (Configuring and compiling):
17134         Mention i686 and i586.
17135         * INSTALL: Regenerate.
17137 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17139         * sysdeps/init_array/elf-init.c: New file.
17140         * csu/elf-init.c
17141         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17142         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17144         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17145         __gmon_start__ as global, but as static with a .preinit_array pointer.
17146         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17147         * sysdeps/init_array/crti.S: New file, empty except for comments.
17148         * sysdeps/init_array/crtn.S: Likewise.
17150 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17152         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17153         definining bcopy.
17154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17155         Remove Prefer_SSE_for_memop.
17156         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17157         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17158         HAS_PREFER_SSE_FOR_MEMOP.
17159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17160         memset-x86-64.
17161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17162         Remove bzero, memset ifunc support.
17163         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17164         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17165         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17168 2013-03-11  Andreas Schwab  <schwab@suse.de>
17170         [BZ #15234]
17171         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17172         by SHLIB_COMPAT.
17173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17174         (GLIBC_2.16): Remove pthread_atfork.
17176 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17178         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17179         (ptestcases.h): Likewise.
17181 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17183         * Makeconfig ($(common-objpfx)config.status): Depend on
17184         sysdeps/*/preconfigure{,.in} too.
17186 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17188         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17189         (__free_hook): Use void * instead of __malloc_ptr_t.
17190         (__malloc_hook): Likewise.
17191         (__realloc_hook): Likewise.
17192         (__memalign_hook): Likewise.
17193         (__after_morecore_hook): Likewise.
17194         * malloc/arena.c (save_malloc_hook): Likewise.
17195         (save_free_hook): Likewise.
17196         * malloc/hooks.c (malloc_hook_ini): Likewise.
17197         (realloc_hook_ini): Likewise.
17198         (memalign_hook_ini): Likewise.
17199         * malloc/malloc.c (malloc_hook_ini): Likewise.
17200         (realloc_hook_ini): Likewise.
17201         (memalign_hook_ini): Likewise.
17202         (__free_hook): Likewise.
17203         (__malloc_hook): Likewise.
17204         (__realloc_hook): Likewise.
17205         (__memalign_hook): Likewise.
17206         (__libc_malloc): Likewise.
17207         (__libc_free): Likewise.
17208         (__libc_realloc): Likewise.
17209         (__libc_memalign): Likewise.
17210         (__libc_valloc): Likewise.
17211         (__libc_pvalloc): Likewise.
17212         (__libc_calloc): Likewise.
17213         (__posix_memalign): Likewise.
17214         * malloc/morecore.c (__sbrk): Likewise.
17215         (__default_morecore): Likewise.
17217         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17219         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17220         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17221         __malloc_ptrdiff_t.
17223         * malloc/malloc.h (__malloc_size_t): Remove macro.
17224         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17225         __malloc_size_t.
17226         (old_memalign_hook): Likewise.
17227         (old_realloc_hook): Likewise.
17228         (struct hdr): Likewise.
17229         (flood): Likewise.
17230         (mallochook): Likewise.
17231         (memalignhook): Likewise.
17232         (reallochook): Likewise.
17233         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17234         (tr_old_realloc_hook): Likewise.
17235         (tr_old_memalign_hook): Likewise.
17236         (tr_mallochook): Likewise.
17237         (tr_reallochook): Likewise.
17238         (tr_memalignhook): Likewise.
17240 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17243         default_ldbl_pack and using as default implementation.
17244         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17245         implementation.
17246         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17247         redundant definition.
17248         (ldbl_insert_mantissa): Likewise.
17249         (ldbl_canonicalize): Likewise.
17250         (ldbl_nearbyint): Likewise.
17251         (ldbl_pack): Rename to ldbl_pack_ppc.
17252         (ldbl_unpack): Rename to ldbl_unpack_ppc.
17253         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17254         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17256 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17259         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17260         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17261         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17263         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17264         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17265         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17267 2013-03-07  Andreas Jaeger  <aj@suse.de>
17269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17270         bits/mman-linux.h.
17272 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17274         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17275         Include mpa.h and declare __MPEXP.
17276         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17277         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17278         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17279         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17280         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17281         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17282         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17284         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17285         (__slowpow): Use long double EXPL and LOGL functions to
17286         compute POW.
17287         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17288         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17289         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17290         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17291         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17292         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17295         intermediate variable to calculate exponent.
17296         (__sqr): Likewise.
17297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17298         Likewise.
17299         (__sqr): Likewise.
17301         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17302         [!NO__SQR]: Define __sqr.
17303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17304         and NO__SQR.  Remove all code except __mul and __sqr.  Include
17305         sysdeps/ieee754/dbl-64/mpa.c.
17306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17308         [BZ #12723]
17309         * posix/Makefile (tests): Add tst-pathconf.
17310         * posix/tst-pathconf.c: New test case.
17311         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17312         _PC_PIPE_BUF.
17313         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17315 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
17317         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17319 2013-03-06  Andreas Jaeger  <aj@suse.de>
17321         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17322         definition via __MAP_ANONYMOUS.
17324         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17325         it's not part of Linux headers.
17327         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17328         (MAP_HUGE_MASK): Define.
17330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17331         Define.
17332         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17333         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17334         Define.
17335         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17336         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17337         Define.
17338         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17339         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17340         Define.
17341         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17343         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17344         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17345         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17346         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17347         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17348         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17350         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17351         Handle f2fs.
17353         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17354         Handle f2fs and efivarfs.
17356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17357         f2fs.
17359         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17360         (EFIVARFS_MAGIC): Add.
17361         (F2FS_LINK_MAX): Add.
17363 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17365         * stdio-common/vfprintf.c: Replace __builtin_expect with
17366         __glibc_unlikely.
17368 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
17370         [BZ #13550]
17371         * sysdeps/generic/bp-sym.h: Remove file.
17372         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17373         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17374         <bp-sym.h> and <bp-asm.h>.
17375         (__longjmp): Don't use BP_SYM.
17376         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17377         and <bp-asm.h>.
17378         (memcpy): Don't use BP_SYM.
17379         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17380         <bp-sym.h> and <bp-asm.h>.
17381         (memcpy): Don't use BP_SYM.
17382         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17383         <bp-asm.h>.
17384         (memcpy): Don't use BP_SYM.
17385         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17386         <bp-asm.h>.
17387         (memset): Don't use BP_SYM.
17388         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17389         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17390         (__bzero): Don't use BP_SYM.
17391         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17392         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17393         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17394         <bp-sym.h> and <bp-asm.h>.
17395         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17396         pointers.
17397         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17398         <bp-sym.h> and <bp-asm.h>.
17399         (memcpy): Don't use BP_SYM.
17400         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17401         <bp-sym.h> and <bp-asm.h>.
17402         (memset): Don't use BP_SYM.
17403         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17404         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17405         (__bzero): Don't use BP_SYM.
17406         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17407         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17408         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17409         <bp-sym.h> and <bp-asm.h>.
17410         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17411         pointers.
17412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17413         <bp-sym.h> and <bp-asm.h>.
17414         (memcpy): Don't use BP_SYM.
17415         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17416         <bp-sym.h> and <bp-asm.h>.
17417         (memset): Don't use BP_SYM.
17418         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17419         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17420         (__bzero): Don't use BP_SYM.
17421         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17422         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17423         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17424         <bp-sym.h> and <bp-asm.h>.
17425         (__memchr): Don't use BP_SYM.
17426         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17427         <bp-sym.h> and <bp-asm.h>.
17428         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17429         pointers.
17430         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17431         <bp-sym.h> and <bp-asm.h>.
17432         (memcpy): Don't use BP_SYM.
17433         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17434         <bp-sym.h> and <bp-asm.h>.
17435         (__mempcpy): Don't use BP_SYM.
17436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17437         <bp-sym.h> and <bp-asm.h>.
17438         (__memrchr): Don't use BP_SYM.
17439         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17440         <bp-sym.h> and <bp-asm.h>.
17441         (memset): Don't use BP_SYM.
17442         (__bzero): Likewise.
17443         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17444         <bp-sym.h> and <bp-asm.h>.
17445         (__rawmemchr): Don't use BP_SYM.
17446         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17447         <bp-sym.h> and <bp-asm.h>.
17448         (__STRCMP): Don't use BP_SYM.
17449         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17450         <bp-sym.h> and <bp-asm.h>.
17451         (strchr): Don't use BP_SYM.
17452         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17453         <bp-sym.h> and <bp-asm.h>.
17454         (__strchrnul): Don't use BP_SYM.
17455         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17456         <bp-sym.h> and <bp-asm.h>.
17457         (strlen): Don't use BP_SYM.
17458         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17459         <bp-sym.h> and <bp-asm.h>.
17460         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17461         pointers.
17462         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17463         <bp-sym.h> and <bp-asm.h>.
17464         (__strnlen): Don't use BP_SYM.
17465         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17466         <bp-sym.h> and <bp-asm.h>.
17467         (__GI__setjmp): Don't use BP_SYM.
17468         (_setjmp): Likewise.
17469         (__sigsetjmp): Likewise.
17470         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17471         (L(start_addresses)): Don't use BP_SYM.
17472         (_start): Likewise.
17473         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17474         <bp-asm.h>.
17475         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17476         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17477         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17478         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17479         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17480         <bp-asm.h>.
17481         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17482         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
17483         about bounded pointers.
17484         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17485         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17486         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17487         <bp-asm.h>.
17488         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17489         about bounded pointers.  Remove GKM FIXME comments.
17490         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17491         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17492         <bp-asm.h>.
17493         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17494         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
17495         Remove GKM FIXME comments.
17496         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17497         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17498         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17499         <bp-asm.h>.
17500         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17501         about bounded pointers.  Remove GKM FIXME comment.
17502         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17503         and <bp-asm.h>.
17504         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17505         pointers.
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17507         <bp-sym.h> and <bp-asm.h>.
17508         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17510         <bp-sym.h> and <bp-asm.h>.
17511         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17512         comment.
17514 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17516         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17517         call free(NULL).
17519 2013-03-05  David S. Miller  <davem@davemloft.net>
17521         * po/es.po: Update from translation team.
17523 2013-03-05  Andreas Jaeger  <aj@suse.de>
17525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17526         <bits/mman-linux.h>.
17527         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17528         is fine.
17529         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17530         <bits/mman-linux.h> to end of file.
17531         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17532         is fine.
17533         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17534         <bits/mman-linux.h> to end of file.
17535         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17536         is fine.
17537         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17538         <bits/mman-linux.h> to end of file.
17540         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17541         (MCL_CURRENT, MCL_FUTURE): Define here.
17543 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17545         [BZ #15232]
17546         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17547         attribute_hidden.
17548         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17550 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17552         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17553         fourth parameter needed for rt_sigprocmask syscall.
17554         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17555         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17556         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17557         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17558         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17559         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17561 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
17563         [BZ #13550]
17564         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17565         comment about bounded pointers.
17566         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17567         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17569 2013-03-04  Andreas Jaeger  <aj@suse.de>
17571         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17572         common definitions.
17574         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17575         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17576         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17578         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17581 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17583         [BZ #15055]
17584         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17585         __ieee754_sqrl instead of __sqrl.
17587 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
17589         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17590         * sysdeps/powerpc/fpu_control.h: ... here.
17591         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17592         * sysdeps/powerpc/bits/fenvinline.h: ... here.
17593         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17594         * sysdeps/powerpc/bits/mathinline.h: ... here.
17596 2013-03-01  Roland McGrath  <roland@hack.frob.com>
17598         * elf/dl-hwcaps.c (_dl_important_hwcaps):
17599         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17600         to just [NEED_DL_SYSINFO_DSO].
17601         * elf/dl-support.c: Likewise.
17602         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17603         * elf/rtld.c (dl_main): Likewise.
17604         * elf/setup-vdso.h (setup_vdso): Likewise.
17605         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17606         * sysdeps/unix/sysv/linux/dl-sysdep.c
17607         (_dl_discover_osversion): Likewise.
17609 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
17611         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17612         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17614 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17616         * NEWS: Mention libm performance improvements and non-x86 PI
17617         futex support.
17619         * csu/libc-start.c (__pthread_initialize_minimal): Change
17620         function arguments.
17621         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17623 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
17625         [BZ #13550]
17626         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17627         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17628         <bp-sym.h> and <bp-asm.h>.
17629         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17630         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17631         and <bp-asm.h>.
17632         (memcpy): Don't use BP_SYM.
17633         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17634         <bp-asm.h>.
17635         (__mpn_add_n): Don't use BP_SYM.
17636         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17637         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17638         and <bp-asm.h>.
17639         (__mpn_addmul_1): Don't use BP_SYM.
17640         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17641         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17642         <bp-sym.h>.
17643         (_setjmp): Don't use BP_SYM.
17644         (__novmx_setjmp): Likewise.
17645         (__GI__setjmp): Likewise.
17646         (__vmx_setjmp): Likewise.
17647         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17648         <bp-sym.h>.
17649         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17650         (__bzero): Don't use BP_SYM.
17651         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17652         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17653         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17654         <bp-sym.h> and <bp-asm.h>.
17655         (memcpy): Don't use BP_SYM.
17656         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17657         <bp-sym.h> and <bp-asm.h>.
17658         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17659         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17660         <bp-sym.h> and <bp-asm.h>.
17661         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17662         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17663         <bp-asm.h>.
17664         (__mpn_lshift): Don't use BP_SYM.
17665         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17666         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17667         <bp-asm.h>.
17668         (memset): Don't use BP_SYM.
17669         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17670         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17671         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17672         <bp-asm.h>.
17673         (__mpn_mul_1): Don't use BP_SYM.
17674         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17675         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17676         <bp-sym.h> and <bp-asm.h>.
17677         (memcmp): Don't use BP_SYM.
17678         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17679         <bp-sym.h> and <bp-asm.h>.
17680         (memcpy): Don't use BP_SYM.
17681         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17682         <bp-sym.h> and <bp-asm.h>.
17683         (memset): Don't use BP_SYM.
17684         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17685         <bp-sym.h> and <bp-asm.h>.
17686         (strncmp): Don't use BP_SYM.
17687         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17688         <bp-sym.h> and <bp-asm.h>.
17689         (memcpy): Don't use BP_SYM.
17690         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17691         <bp-sym.h> and <bp-asm.h>.
17692         (memset): Don't use BP_SYM.
17693         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17694         <bp-sym.h> and <bp-asm.h>.
17695         (__memchr): Don't use BP_SYM.
17696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17697         <bp-sym.h> and <bp-asm.h>.
17698         (memcmp): Don't use BP_SYM.
17699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17700         <bp-sym.h> and <bp-asm.h>.
17701         (memcpy): Don't use BP_SYM.
17702         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17703         <bp-sym.h> and <bp-asm.h>.
17704         (__mempcpy): Don't use BP_SYM.
17705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17706         <bp-sym.h> and <bp-asm.h>.
17707         (__memrchr): Don't use BP_SYM.
17708         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17709         <bp-sym.h> and <bp-asm.h>.
17710         (memset): Don't use BP_SYM.
17711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17712         <bp-sym.h> and <bp-asm.h>.
17713         (__rawmemchr): Don't use BP_SYM.
17714         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17715         <bp-sym.h> and <bp-asm.h>.
17716         (__STRCMP): Don't use BP_SYM.
17717         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17718         <bp-sym.h> and <bp-asm.h>.
17719         (strchr): Don't use BP_SYM.
17720         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17721         <bp-sym.h> and <bp-asm.h>.
17722         (__strchrnul): Don't use BP_SYM.
17723         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17724         <bp-sym.h> and <bp-asm.h>.
17725         (strlen): Don't use BP_SYM.
17726         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17727         <bp-sym.h> and <bp-asm.h>.
17728         (strncmp): Don't use BP_SYM.
17729         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17730         <bp-sym.h> and <bp-asm.h>.
17731         (__strnlen): Don't use BP_SYM.
17732         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17733         <bp-asm.h>.
17734         (__mpn_rshift): Don't use BP_SYM.
17735         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17736         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17737         <bp-sym.h> and <bp-asm.h>.
17738         (__sigsetjmp): Don't use BP_SYM.
17739         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17740         (L(start_addresses)): Don't use BP_SYM.
17741         (_start): Likewise.
17742         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17743         <bp-asm.h>.
17744         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17745         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17746         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17747         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17748         <bp-asm.h>.
17749         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17750         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17751         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17752         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17753         <bp-asm.h>.
17754         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17755         comments.
17756         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17757         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17758         <bp-asm.h>.
17759         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
17760         FIXME comments.
17761         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17762         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17763         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17764         <bp-asm.h>.
17765         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17766         comment.
17767         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17768         and <bp-asm.h>.
17769         (strncmp): Don't use BP_SYM,
17770         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17771         <bp-asm.h>.
17772         (__mpn_sub_n): Don't use BP_SYM.
17773         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17774         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17775         and <bp-asm.h>.
17776         (__mpn_submul_1): Don't use BP_SYM.
17777         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17779         <bp-sym.h> and <bp-asm.h>.
17780         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17782         <bp-sym.h> and <bp-asm.h>.
17783         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17784         comment.
17786 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17789         Use ZK to minimize writes to Z.
17790         (sub_magnitudes): Simplify code a bit.
17791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17792         Use ZK to minimize writes to Z.
17793         (sub_magnitudes): Simplify code a bit.
17795 2013-02-27  Roland McGrath  <roland@hack.frob.com>
17797         * csu/gmon-start.c: Add special exception to license text.
17799 2013-02-27  Richard Henderson  <rth@redhat.com>
17801         * scripts/config.guess: Update from config.git.
17802         * scripts/config.sub: Likewise.
17804 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17806         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17808         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17810         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17812         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17814         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17816 2013-02-26  Roland McGrath  <roland@hack.frob.com>
17818         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17819         [$(build-shared = yes].
17821 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17823         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17824         (__mul): Reduce iterations for calculating mantissa.
17826         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17827         MPTWO.
17828         (__mpranred): Likewise.
17830         [BZ #15160]
17831         * malloc/memusagestat.c (main): Draw graphs for heap and stack
17832         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17834 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
17836         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17837         Define __attribute__.
17839 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17841         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17842         unused.
17843         * posix/regex_internal.h (__attribute): Remove.
17844         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17845         (re_string_context_at): Likewise.
17846         (bitset_not): Use __attribute__ and mark function as possibly
17847         unused.
17848         (bitset_merge): Likewise.
17849         (bitset_mask): Likewise.
17850         (re_string_char_size_at): Likewise.
17851         (re_string_wchar_at): Likewise.
17852         (re_string_elem_size_at): Likewise.
17854 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17856         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17857         code.
17858         (cc32): Likewise.
17860         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17861         (__acr): Likewise.
17862         (__cpy): Likewise.
17863         (norm): Likewise.
17864         (denorm): Likewise.
17865         (__dbl_mp): Likewise.
17866         (add_magnitudes): Likewise.
17867         (sub_magnitudes): Likewise.
17868         (__mul): Likewise.
17869         (__inv): Likewise.
17871         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17872         style.
17874         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17875         style.
17877         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17878         code.
17880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17881         up changes with default code.
17882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17883         Likewise.
17885 2013-02-24  Allan McRae  <allan@archlinux.org>
17887         * manual/socket.texi (The Internet Namespace): Order menu items
17888         to match that in the file.
17890         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17891         node listing of the info page menu.
17893 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
17895         [BZ #13550]
17896         * sysdeps/i386/bp-asm.h: Remove file.
17897         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17898         (PARMS): Do not use macros from bp-asm.h.
17899         (S1): Likewise.
17900         (S2): Likewise.
17901         (SIZE): Likewise.
17902         (__mpn_add_n): Do not use BP_SYM
17903         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17904         "bp-asm.h".
17905         (PARMS): Do not use macros from bp-asm.h.
17906         (S1): Likewise.
17907         (SIZE): Likewise.
17908         (__mpn_addmul_1): Do not use BP_SYM
17909         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17910         "bp-asm.h".
17911         (PARMS): Do not use macros from bp-asm.h.
17912         (SIGMSK): Likewise.
17913         (_setjmp): Likewise.  Do not use BP_SYM.
17914         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17915         "bp-asm.h".
17916         (PARMS): Do not use macros from bp-asm.h.
17917         (SIGMSK): Likewise.
17918         (setjmp): Likewise.  Do not use BP_SYM.
17919         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17920         "bp-asm.h".
17921         (PARMS): Do not use macros from bp-asm.h.
17922         (__frexp): Do not use BP_SYM.
17923         (frexp): Likewise.
17924         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17925         "bp-asm.h".
17926         (PARMS): Do not use macros from bp-asm.h.
17927         (__frexpf): Do not use BP_SYM.
17928         (frexpf): Likewise.
17929         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17930         "bp-asm.h".
17931         (PARMS): Do not use macros from bp-asm.h.
17932         (__frexpl): Do not use BP_SYM.
17933         (frexpl): Likewise.
17934         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17935         "bp-asm.h".
17936         (PARMS): Do not use macros from bp-asm.h.
17937         (__remquo): Do not use BP_SYM.
17938         (remquo): Likewise.
17939         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17940         "bp-asm.h".
17941         (PARMS): Do not use macros from bp-asm.h.
17942         (__remquof): Do not use BP_SYM.
17943         (remquof): Likewise.
17944         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17945         "bp-asm.h".
17946         (PARMS): Do not use macros from bp-asm.h.
17947         (__remquol): Do not use BP_SYM.
17948         (remquol): Likewise.
17949         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17950         "bp-asm.h".
17951         (PARMS): Do not use macros from bp-asm.h.
17952         (DEST): Likewise.
17953         (SRC): Likewise.
17954         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17955         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17956         "bp-asm.h".
17957         (PARMS): Do not use macros from bp-asm.h.
17958         (strlen): Do not use BP_SYM.
17959         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17960         "bp-asm.h".
17961         (PARMS): Do not use macros from bp-asm.h.
17962         (S1): Likewise.
17963         (S2): Likewise.
17964         (SIZE): Likewise.
17965         (__mpn_add_n): Do not use BP_SYM.
17966         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17967         "bp-asm.h".
17968         (PARMS): Do not use macros from bp-asm.h.
17969         (S1): Likewise.
17970         (SIZE): Likewise.
17971         (__mpn_addmul_1): Do not use BP_SYM.
17972         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17973         weak_alias.
17974         (bzero): Likewise.
17975         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17976         "bp-asm.h".
17977         (PARMS): Do not use macros from bp-asm.h.
17978         (S): Likewise.
17979         (SIZE): Likewise.
17980         (__mpn_lshift): Do not use BP_SYM.
17981         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17982         "bp-asm.h".
17983         (PARMS): Do not use macros from bp-asm.h.
17984         (DEST): Likewise.
17985         (SRC): Likewise.
17986         (LEN): Likewise.
17987         (memcpy): Likewise.  Do not use BP_SYM.
17988         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17989         libc_hidden_def and weak_alias.
17990         (mempcpy): Do not use BP_SYM in weak_alias.
17991         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17992         "bp-asm.h".
17993         (PARMS): Do not use macros from bp-asm.h.
17994         (DEST): Likewise.
17995         (LEN): Likewise.
17996         [!BZERO_P] (CHR): Likewise.
17997         (memset): Likewise.  Do not use BP_SYM.
17998         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17999         "bp-asm.h".
18000         (PARMS): Do not use macros from bp-asm.h.
18001         (S1): Likewise.
18002         (SIZE): Likewise.
18003         (__mpn_mul_1): Do not use BP_SYM.
18004         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18005         "bp-asm.h".
18006         (PARMS): Do not use macros from bp-asm.h.
18007         (S): Likewise.
18008         (SIZE): Likewise.
18009         (__mpn_rshift): Do not use BP_SYM.
18010         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18011         "bp-asm.h".
18012         (PARMS): Do not use macros from bp-asm.h.
18013         (STR): Likewise.
18014         (CHR): Likewise.
18015         (strchr): Likewise.  Do not use BP_SYM.
18016         (index): Do not use BP_SYM in weak_alias.
18017         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18018         "bp-asm.h".
18019         (PARMS): Do not use macros from bp-asm.h.
18020         (DEST): Likewise.
18021         (SRC): Likewise.
18022         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18023         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18024         "bp-asm.h".
18025         (PARMS): Do not use macros from bp-asm.h.
18026         (strlen): Do not use BP_SYM.
18027         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18028         "bp-asm.h".
18029         (PARMS): Do not use macros from bp-asm.h.
18030         (S1): Likewise.
18031         (S2): Likewise.
18032         (SIZE): Likewise.
18033         (__mpn_sub_n): Do not use BP_SYM.
18034         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18035         "bp-asm.h".
18036         (PARMS): Do not use macros from bp-asm.h.
18037         (S1): Likewise.
18038         (SIZE): Likewise.
18039         (__mpn_submul_1): Do not use BP_SYM.
18040         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18041         "bp-asm.h".
18042         (PARMS): Do not use macros from bp-asm.h.
18043         (S1): Likewise.
18044         (S2): Likewise.
18045         (SIZE): Likewise.
18046         (__mpn_add_n): Do not use BP_SYM.
18047         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18048         weak_alias.
18049         (bzero): Likewise.
18050         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18051         "bp-asm.h".
18052         (PARMS): Do not use macros from bp-asm.h.
18053         (BLK2): Likewise.
18054         (LEN): Likewise.
18055         (memcmp): Do not use BP_SYM.
18056         (bcmp): Do not use BP_SYM in weak_alias.
18057         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18058         "bp-asm.h".
18059         (PARMS): Do not use macros from bp-asm.h.
18060         (DEST): Likewise.
18061         (SRC): Likewise.
18062         (LEN): Likewise.
18063         (memcpy): Likewise.  Do not use BP_SYM.
18064         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18065         "bp-asm.h".
18066         (PARMS): Do not use macros from bp-asm.h.
18067         (DEST): Likewise.
18068         (SRC): Likewise.
18069         (LEN): Likewise.
18070         (memmove): Likewise.  Do not use BP_SYM.
18071         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18072         "bp-asm.h".
18073         (PARMS): Do not use macros from bp-asm.h.
18074         (DEST): Likewise.
18075         (SRC): Likewise.
18076         (LEN): Likewise.
18077         (__mempcpy): Likewise.  Do not use BP_SYM.
18078         (mempcpy): Do not use BP_SYM in weak_alias.
18079         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18080         "bp-asm.h".
18081         (PARMS): Do not use macros from bp-asm.h.
18082         (DEST): Likewise.
18083         (LEN): Likewise.
18084         [!BZERO_P] (CHR): Likewise.
18085         (memset): Likewise.  Do not use BP_SYM.
18086         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18087         "bp-asm.h".
18088         (PARMS): Do not use macros from bp-asm.h.
18089         (STR2): Likewise.
18090         (strcmp): Do not use BP_SYM.
18091         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18092         "bp-asm.h".
18093         (PARMS): Do not use macros from bp-asm.h.
18094         (STR): Likewise.
18095         (DELIM): Likewise.
18096         [USE_AS_STRTOK_R] (SAVE): Likewise.
18097         (FUNCTION): Likewise.  Do not use BP_SYM.
18098         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18099         aliases.
18100         (strtok_r): Likewise.
18101         (__GI___strtok_r): Likewise.
18102         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18103         (PARMS): Do not use macros from bp-asm.h.
18104         (S): Likewise.
18105         (SIZE): Likewise.
18106         (__mpn_lshift): Do not use BP_SYM.
18107         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18108         (PARMS): Do not use macros from bp-asm.h.
18109         (STR): Likewise.
18110         (CHR): Likewise.
18111         (__memchr): Do not use BP_SYM.
18112         (memchr): Do not use BP_SYM in weak_alias.
18113         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18114         (PARMS): Do not use macros from bp-asm.h.
18115         (BLK2): Likewise.
18116         (LEN): Likewise.
18117         (memcmp): Do not use BP_SYM.
18118         (bcmp): Do not use BP_SYM in weak_alias.
18119         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18120         (PARMS): Do not use macros from bp-asm.h.
18121         (S1): Likewise.
18122         (SIZE): Likewise.
18123         (__mpn_mul_1): Do not use BP_SYM.
18124         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18125         "bp-asm.h".
18126         (PARMS): Do not use macros from bp-asm.h.
18127         (STR): Likewise.
18128         (CHR): Likewise.
18129         (__rawmemchr): Do not use BP_SYM.
18130         (rawmemchr): Do not use BP_SYM in weak_alias.
18131         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18132         (PARMS): Do not use macros from bp-asm.h.
18133         (S): Likewise.
18134         (SIZE): Likewise.
18135         (__mpn_rshift): Do not use BP_SYM.
18136         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18137         (PARMS): Do not use macros from bp-asm.h.
18138         (SIGMSK): Likewise.
18139         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18140         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18141         (_start): Do not use BP_SYM.
18142         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18143         (PARMS): Do not use macros from bp-asm.h.
18144         (DEST): Likewise.
18145         (SRC): Likewise.
18146         (__stpcpy): Likewise.  Do not use BP_SYM.
18147         (stpcpy): Do not use BP_SYM in weak_alias.
18148         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18149         "bp-asm.h".
18150         (PARMS): Do not use macros from bp-asm.h.
18151         (DEST): Likewise.
18152         (SRC): Likewise.
18153         (LEN): Likewise.
18154         (__stpncpy): Likewise.  Do not use BP_SYM.
18155         (stpncpy): Do not use BP_SYM in weak_alias.
18156         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18157         (PARMS): Do not use macros from bp-asm.h.
18158         (STR): Likewise.
18159         (CHR): Likewise.
18160         (strchr): Likewise.  Do not use BP_SYM.
18161         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18162         "bp-asm.h".
18163         (PARMS): Do not use macros from bp-asm.h.
18164         (STR): Likewise.
18165         (CHR): Likewise.
18166         (__strchrnul): Likewise.  Do not use BP_SYM.
18167         (strchrnul): Do not use BP_SYM in weak_alias.
18168         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18169         "bp-asm.h".
18170         (PARMS): Do not use macros from bp-asm.h.
18171         (STOP): Likewise.
18172         (strcspn): Do not use BP_SYM.
18173         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18174         "bp-asm.h".
18175         (PARMS): Do not use macros from bp-asm.h.
18176         (STR): Likewise.
18177         (STOP): Likewise.
18178         (strpbrk): Likewise.  Do not use BP_SYM.
18179         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18180         "bp-asm.h".
18181         (PARMS): Do not use macros from bp-asm.h.
18182         (STR): Likewise.
18183         (CHR): Likewise.
18184         (strrchr): Likewise.  Do not use BP_SYM.
18185         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18186         (PARMS): Do not use macros from bp-asm.h.
18187         (SKIP): Likewise.
18188         (strspn): Do not use BP_SYM.
18189         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18190         (PARMS): Do not use macros from bp-asm.h.
18191         (STR): Likewise.
18192         (DELIM): Likewise.
18193         (SAVE): Likewise.
18194         (FUNCTION): Likewise.  Do not use BP_SYM.
18195         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18196         aliases.
18197         (strtok_r): Likewise.
18198         (__GI___strtok_r): Likewise.
18199         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18200         (PARMS): Do not use macros from bp-asm.h.
18201         (S1): Likewise.
18202         (S2): Likewise.
18203         (SIZE): Likewise.
18204         (__mpn_sub_n): Do not use BP_SYM.
18205         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18206         "bp-asm.h".
18207         (PARMS): Do not use macros from bp-asm.h.
18208         (S1): Likewise.
18209         (SIZE): Likewise.
18210         (__mpn_submul_1): Do not use BP_SYM.
18211         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18212         <bp-sym.h>.
18213         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18214         and <bp-asm.h>.
18215         (PARMS): Do not use macros from bp-asm.h.
18216         (FLAGS): Likewise.
18217         (PTID): Likewise.
18218         (TLS): Likewise.
18219         (CTID): Likewise.
18220         (__clone): Do not use BP_SYM.
18221         (clone): Do not use BP_SYM in weak_alias.
18222         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18223         and <bp-asm.h>.
18224         (PARMS): Do not use macros from bp-asm.h.
18225         (LEN): Likewise.
18226         (__mmap64): Do not use BP_SYM.
18227         (mmap64): Do not use BP_SYM in weak_alias.
18228         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18229         <bp-sym.h> and <bp-asm.h>.
18230         (PARMS): Do not use macros from bp-asm.h.
18231         (__posix_fadvise64_l64): Do not use BP_SYM.
18232         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18233         (PARMS): Do not use macros from bp-asm.h.
18234         (NSOPS): Likewise.
18235         (semtimedop): Do not use BP_SYM.
18236         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18237         and <bp-asm.h>.
18239 2013-02-21  Allan McRae  <allan@archlinux.org>
18241         * manual/message.texi (Charset conversion in gettext):
18242         Move @end statement to beginning of line.
18244 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18247         static.
18248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18249         Likewise.
18251         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18252         (denorm): Likewise.
18253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18256 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18258         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18259         tail-call to the resolved function if pltexit isn't needed.
18261 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18264         or Y being zero as being unlikely.
18265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18266         Likewise.
18268 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
18270         * manual/nss.texi (System Databases and Name Service Switch):
18271         Remove frobnicate @pxref.
18273 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18275         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18276         __attribute__ ((unused)) to __attribute__ ((__unused__)).
18278 2013-02-20  Petr Machata  <pmachata@redhat.com>
18280         * elf/elf.h (R_ARM_TARGET1): New macro.
18281         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18282         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18283         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18284         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18285         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18286         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18287         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18288         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18289         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18290         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18291         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18292         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18293         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18294         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18295         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18296         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18297         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18298         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18299         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18300         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18301         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18302         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18303         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18304         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18305         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18306         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18307         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18308         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18309         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18310         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18311         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18312         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18313         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18314         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18315         (R_ARM_THM_GOT_BREL12): Likewise.
18316         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18317         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18318         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18319         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18320         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18321         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18322         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18323         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18324         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18326 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18328         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18329         __attribute_used__ to __attribute__ ((unused)).
18331 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18333         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18334         powerpc mpa.c.
18335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18336         comment formatting.
18337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18339 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
18341         [BZ #13550]
18342         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18343         Remove macro.
18344         (ENTER): Remove both macro definitions.
18345         (LEAVE): Likewise.
18346         (CHECK_BOUNDS_LOW): Likewise.
18347         (CHECK_BOUNDS_HIGH): Likewise.
18348         (CHECK_BOUNDS_BOTH): Likewise.
18349         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18350         (RETURN_BOUNDED_POINTER): Likewise.
18351         (RETURN_NULL_BOUNDED_POINTER): Likewise.
18352         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18353         (POP_ERRNO_LOCATION_RETURN): Likewise.
18354         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18355         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18356         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18357         macros.
18358         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18359         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18360         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18361         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18362         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18363         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18364         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18365         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18366         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18367         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18368         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18369         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18370         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18371         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18372         removed macros.
18373         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18374         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18375         macros.
18376         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18377         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18378         * sysdeps/i386/i586/memset.S (memset): Likewise.
18379         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18380         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18381         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18382         macros.
18383         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18384         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18385         Change uses of L(2) to L(out).
18386         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18387         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18388         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18389         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18390         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18391         removed macros.
18392         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18393         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18394         macros.
18395         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18396         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18397         (RETURN): Do not use macro LEAVE.
18398         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18399         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18400         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18401         * sysdeps/i386/i686/memset.S (memset): Likewise.
18402         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18403         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18404         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18405         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18406         Likewise.
18407         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18408         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
18409         L(1_2) and L(1_3) into L(1).
18410         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18411         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18412         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18413         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18414         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18415         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18416         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18417         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18418         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18419         macros.
18420         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18421         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18422         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18423         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18424         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18425         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18426         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18427         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18428         * sysdeps/i386/strcspn.S (strcspn): Likewise.
18429         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18430         * sysdeps/i386/strrchr.S (strrchr): Likewise.
18431         * sysdeps/i386/strspn.S (strspn): Likewise.
18432         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18433         conditional code.
18434         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18435         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18436         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18437         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
18438         L(1_3) into L(1_1).
18439         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18440         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18441         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18442         macros.
18443         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18445 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
18447         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18448         macro.
18450 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18452         * math/atest-exp.c (exp_mpn): Remove ROUND.
18453         * math/atest-exp2.c (exp_mpn): Likewise.
18454         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18456         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18457         * stdlib/tst-tls-atexit-lib.c: Likewise.
18458         * stdlib/tst-tls-atexit.c: Likewise.
18460 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18462         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18463         and __attribute_alloc_size__.
18465 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18467         * include/programs/xmalloc.h: Change __attribute_alloc_size to
18468         __attribute_alloc_size__.
18469         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18470         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18472 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18474         * include/programs/xmalloc.h: New file.
18475         * catgets/gencat.c: Include it.
18476         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18477         * elf/pldd.c: Likewise.
18478         * iconv/iconv_charmap.c: Likewise.
18479         * iconv/iconvconfig.c: Likewise.
18480         * iconv/strtab.c: Likewise.
18481         * locale/programs/locale.c: Likewise.
18482         * locale/programs/localedef.h: Likewise.
18483         * locale/programs/simple-hash.c: Likewise.
18484         * nscd/nscd.h: Likewise.
18485         * nss/makedb.c: Likewise.
18486         * sysdeps/generic/ldconfig.h: Likewise.
18488 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18490         * Versions.def: Add GLIBC_2.18.
18491         * include/link.h (struct link_map): New member l_tls_dtor_count.
18492         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18493         (__call_tls_dtors): Likewise.
18494         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18495         __cxa_thread_atexit_impl.
18496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18497         Likewise.
18498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18499         Likewise.
18500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18501         Likewise.
18502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18503         Likewise.
18504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18506         Likewise.
18507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18508         Likewise.
18509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18511         Likewise.
18512         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18513         (tests): Add test case tst-tls-atexit.
18514         (modules-names): Add shared library for tst-tls-atexit.
18515         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18516         (GLIBC_PRIVATE): Add __call_tls_dtors.
18517         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18518         for libstdc++.
18519         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18520         * stdlib/tst-tls-atexit.c: New test case.
18521         * stdlib/tst-tls-atexit-lib.c: New test case.
18523         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18525         * elf/Versions (ld): Add _dl_find_dso_for_object.
18526         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18527         * elf/dl-open.c (_dl_find_dso_for_object): New function.
18528         (dl_open_worker): Use _dl_find_dso_for_object.
18529         * elf/dl-sym.c (do_sym): Likewise.
18530         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18532 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18534         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18535         Syntactic changes only.
18536         (_dl_runtime_profile): Do a tail-call to the resolved function.
18538 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
18540         [BZ #13550]
18541         * sysdeps/x86_64/bp-asm.h: Remove file.
18542         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18543         <bp-sym.h> and <bp-asm.h>.
18544         (__clone): Do not use BP_SYM.
18545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18546         <bp-sym.h> and <bp-asm.h>.
18547         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18548         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18549         "bp-asm.h".
18550         (_setjmp): Do not use BP_SYM.
18551         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18552         "bp-asm.h".
18553         (setjmp): Do not use BP_SYM.
18554         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18555         libc_hidden_def.
18556         (mempcpy): Do not use BP_SYM in weak_alias.
18557         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18558         "bp-asm.h".
18559         (strchr): Do not use BP_SYM.
18560         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18561         "bp-asm.h".
18562         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18563         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18564         (_start): Do not use BP_SYM.
18565         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18566         "bp-asm.h".
18567         (strcat): Do not use BP_SYM.
18568         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18569         "bp-asm.h".
18570         (STRCMP): Do not use BP_SYM.
18571         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18572         "bp-asm.h".
18573         (STRCPY): Do not use BP_SYM.
18574         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18575         "bp-asm.h".
18576         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18577         "bp-asm.h".
18578         (FUNCTION): Do not use BP_SYM.
18579         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18580         weak_alias.
18581         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18583 2013-02-17  Andreas Jaeger  <aj@suse.de>
18585         * time/Versions: Sort entries.
18586         * string/Versions: Likewise.
18587         * resolv/Versions: Likewise.
18588         * posix/Versions: Likewise.
18589         * iconv/Versions: Likewise.
18590         * elf/Versions: Likewise.
18591         * wcsmbs/Versions: Likewise.
18593 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18595         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18596         loop termination condition.
18598         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18599         variable to calculate EZ.
18600         (__sqr): Likewise.
18602         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18603         the lower precision input.
18605 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
18607         [BZ #13550]
18608         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18609         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18610         (run-via-rtld-prefix): Do not handle %-bp tests.
18611         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18612         (all-object-suffixes): Remove .ob.
18613         (bppfx): Remove variable.
18614         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18615         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18616         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18617         [$(build-bounded) = yes] (libtype.ob): Likewise.
18618         * Makerules (elide-routines.ob): Remove variable.
18619         (do-tests-clean): Do not handle *-bp.out.
18620         (common-mostlyclean): Do not handle *-bp and *-bp.out.
18621         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18622         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18623         (tests): Do not include $(tests-bp.out).
18624         (xtests): Do not include $(xtests-bp.out).
18625         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18626         [$(build-bounded) = yes] ($(addprefix
18627         $(objpfx),$(binaries-bounded))): Remove rule.
18628         ($(objpfx)%-bp.out): Remove rule.
18629         * config.make.in (build-bounded): Remove variable.
18630         * crypt/Makefile [$(build-bounded) = yes]
18631         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18632         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18633         append to variable.
18634         [$(build-bounded) = yes] (install-lib): Likewise.
18635         [$(build-bounded) = yes] (generated): Likewise.
18636         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18637         Remove rule.
18638         * intl/Makefile [$(build-bounded) = yes]
18639         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18640         * math/Makefile [$(build-bounded) = yes]
18641         ($(tests:%=$(objpfx)%-bp): Likewise.
18642         * misc/Makefile [$(build-bounded) = yes]
18643         ($(objpfx)tst-tsearch-bp): Likewise.
18644         * nptl/Makeconfig (bounded-thread-library): Remove variable.
18645         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18646         Remove dependency.
18647         * string/Makefile (o-objects.ob): Remove variable.
18648         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18649         (CFLAGS-.ob): Remove variable.
18650         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18651         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18652         both definitions of variable.
18653         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18654         (ASFLAGS-.ob): Remove variable.
18656 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
18658         [BZ #13550]
18659         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18660         Remove __BOUNDED_POINTERS__ from condition.
18661         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18662         * string/bits/string2.h [!__NO_STRING_INLINES &&
18663         !__BOUNDED_POINTERS__]: Likewise.
18664         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18665         Likewise.
18666         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18667         Remove conditional code.
18668         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18669         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18670         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18671         condition.
18673         [BZ #13550]
18674         * csu/libc-start.c: Do not include <bp-sym.h>.
18675         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18676         * elf/dl-open.c: Do not include <bp-sym.h>.
18677         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18678         * math/fegetenv.c: Do not include <bp-sym.h>.
18679         (fegetenv): Do not use BP_SYM in versioned symbols.
18680         * nptl/sysdeps/pthread/bits/libc-lockP.h
18681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18682         <bp-sym.h>.
18683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18684         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18686         (__pthread_mutex_destroy): Likewise.
18687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18688         (__pthread_mutex_lock): Likewise.
18689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18690         (__pthread_mutex_trylock): Likewise.
18691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18692         (__pthread_mutex_unlock): Likewise.
18693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18694         (__pthread_mutexattr_init): Likewise.
18695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18696         (__pthread_mutexattr_destroy): Likewise.
18697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18698         (__pthread_mutexattr_settype): Likewise.
18699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18700         (__pthread_rwlock_init): Likewise.
18701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18702         (__pthread_rwlock_destroy): Likewise.
18703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18704         (__pthread_rwlock_rdlock): Likewise.
18705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18706         (__pthread_rwlock_tryrdlock): Likewise.
18707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18708         (__pthread_rwlock_wrlock): Likewise.
18709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18710         (__pthread_rwlock_trywrlock): Likewise.
18711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18712         (__pthread_rwlock_unlock): Likewise.
18713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18714         (__pthread_key_create): Likewise.
18715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18716         (__pthread_setspecific): Likewise.
18717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18718         (__pthread_getspecific): Likewise.
18719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18720         Likewise.
18721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18722         (_pthread_cleanup_push_defer): Likewise.
18723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18724         (_pthread_cleanup_pop_restore): Likewise.
18725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18726         (pthread_setcancelstate): Likewise.
18727         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18728         <bp-sym.h>.
18729         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18730         (memchr): Do not use BP_SYM in weak_alias.
18731         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18732         (fegetenv): Do not use BP_SYM in versioned symbols.
18733         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18734         (fesetenv): Do not use BP_SYM in versioned symbols.
18735         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18736         (feupdateenv): Do not use BP_SYM in versioned symbols.
18737         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18738         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18739         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18740         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18741         (open64): Do not use BP_SYM in weak_alias.
18742         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18743         (fegetenv): Do not use BP_SYM in versioned symbols.
18744         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18745         (fesetenv): Do not use BP_SYM in versioned symbols.
18746         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18747         (feupdateenv): Do not use BP_SYM in versioned symbols.
18748         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18749         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18750         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18751         (feraiseexcept): Do not use BP_SYM in versioned symbols.
18752         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18753         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18754         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18755         <bp-sym.h>.
18756         (__libc_start_main): Do not use BP_SYM.
18758 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18761         redundant return line.
18762         (norm): Likewise.
18763         (denorm): Likewise.
18764         (dbl_mp): Likewise.
18765         (sub_magnitudes): Likewise.
18766         (__add): Likewise.
18767         (__sub): Likewise.
18768         (__mul): Likewise.
18769         (__inv): Likewise.
18770         (__dvd): Likewise.
18771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18772         (norm): Likewise.
18773         (denorm): Likewise.
18774         (dbl_mp): Likewise.
18775         (sub_magnitudes): Likewise.
18776         (__add): Likewise.
18777         (__sub): Likewise.
18778         (__mul): Likewise.
18779         (__inv): Likewise.
18780         (__dvd): Likewise.
18782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18783         instead of __mul.
18784         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18785         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18786         (cc32): Likewise.
18788         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18789         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18791         of __mul for squares.
18792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18793         function
18794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18795         Likewise.
18796         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18797         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18799 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
18801         [BZ #13550]
18802         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18803         code.
18804         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18805         prototype or function definition.  Rename ubp_* variables and
18806         parameters.  Remove argv definitions conditional on
18807         [__BOUNDED_POINTERS__].
18808         * debug/backtrace.c (__backtrace): Do not use __unbounded.
18809         * elf/dl-runtime.c (_dl_fixup): Likewise.
18810         * include/set-hooks.h (RUN_HOOK): Likewise.
18811         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18812         definition.
18813         * string/strcpy.c (strcpy): Do not use __unbounded.
18814         * sysdeps/generic/frame.h (struct layout): Likewise.
18815         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18816         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18817         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18818         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18819         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18820         (__backtrace): Likewise.
18821         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18822         use __ptrvalue.
18823         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18824         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18825         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18826         Likewise.
18827         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18828         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18829         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18830         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18831         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18832         Do not use __unbounded.
18833         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18834         Rename __unboundedrlimits parameter to rlimits in prototype.
18835         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18836         Do not use __unbounded.
18837         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18838         not use __ptrvalue.
18839         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18840         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18841         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18842         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18843         __ptrvalue or __unbounded.
18844         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18845         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18846         use __unbounded.
18847         (__new_msgctl): Do not use __ptrvalue.
18848         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18849         __unbounded.
18850         (__libc_msgrcv): Do not use __ptrvalue.
18851         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18852         startup_info): Do not use __unbounded.
18853         (__libc_start_main): Likewise.  Rename ubp_* variables and
18854         parameters.  Remove argv definitions conditional on
18855         [__BOUNDED_POINTERS__].
18856         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18857         __ptrvalue.
18858         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18859         use __unbounded.
18860         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18861         or __ptrvalue.
18862         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18863         use __unbounded.
18864         (__new_shmctl): Do not use __ptrvalue.
18865         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18866         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18867         Likewise.
18868         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18870         (__libc_sigaction): Likewise.
18871         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18872         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18873         Likewise.
18874         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18876 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
18878         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18880         * string/mempcpy.c: Implement by calling memcpy.
18882 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18884         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18887         evaluation.
18889         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18890         values in the mantissa.
18892         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18893         minimize writes to Z.
18894         (sub_magnitudes): Simplify code a bit.
18896 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18898         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18899         from the message.  The linker prefixes all warnings with that already.
18901 2013-02-12  Andreas Schwab  <schwab@suse.de>
18903         [BZ #15078]
18904         * posix/regexec.c (extend_buffers): Add parameter min_len.
18905         (check_matching): Pass minimum needed length.
18906         (clean_state_log_if_needed): Likewise.
18907         (get_subexp): Likewise.
18908         * posix/Makefile (tests): Add bug-regex34.
18909         (bug-regex34-ENV): Define.
18910         * posix/bug-regex34.c: New file.
18912         [BZ #11561]
18913         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18914         elements compare against the byte sequence of it, not its name.
18915         * posix/Makefile (tests): Add bug-regex35.
18916         (bug-regex35-ENV): Define.
18917         * posix/bug-regex35.c: New file.
18919 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18921         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18922         comment.
18923         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18924         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18925         (CHECK_EOL): Add undef.
18927 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18929         * bits/stdlib-bsearch.h: New file.
18930         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18931         * stdlib/stdlib.h: Likewise.
18933 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18935         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18936         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18937         declaration.
18938         * manual/search.texi (Array Search Function): Add missing const in
18939         lfind prototype.
18940         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18941         declaration to use rlim_t.
18942         (Basic Scheduling Functions): Remove erroneous const from
18943         sched_getparam prototype.  Remove erroneous * from
18944         sched_get_priority_max and sched_get_priority_min prototypes.
18945         (Resource Usage): Fix summary @comment on vtimes to refer to
18946         sys/vtimes.h rather than vtimes.h.
18947         Add missing *s in vtimes prototype.
18948         (Limits on Resources): Fix ulimit prototype to return long int.
18949         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18950         prototypes to use long int rather than double.
18951         (BSD Random): Fix initstate and setstate to use char *, not void *.
18952         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18953         prototype to make second argument 'struct aiocb64 *const[]'.
18954         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18955         (Status of AIO Operations): Remove erroneous const in aio_return and
18956         aio_return64 prototypes.
18957         (Synchronizing I/O): Fix sync prototype to return void.
18958         * manual/startup.texi (Suboptions): Remove an erroneous const in
18959         getsubopt prototype.
18960         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18961         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18962         use size_t rather than int.
18963         (Scanning All Users): Likewise for getpwent_r.
18964         (Setting Groups): Add missing const to setgroups prototype.
18965         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18966         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18967         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18968         'const void *' rather than 'const char *'.
18969         (Host Address Functions): Likewise for inet_ntop.
18970         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18971         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18972         ssize_t for return value.
18973         (Sending Data): Likewise for send, sendto, sendmsg.
18974         (Socket Option Functions): Add a missing const in setsockopt prototype.
18975         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18976         use wchar_t for the argument.
18977         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18978         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18979         take no arguments.
18980         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18981         double/float/long double for second argument.
18982         Fix return types of significand, significandf, significandl.
18983         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18984         argument in fchmod prototype.
18985         (File Owner): Use uid_t and gid_t in fchown prototype.
18986         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18987         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18988         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18989         use 'const struct dirent **' as argument types to CMP function pointer
18990         argument.
18991         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18992         (File Times): Fix summary magic @comment for struct utimbuf and utime
18993         to refer to utime.h, not time.h.
18994         * manual/string.texi (Argz Functions): Add missing const in
18995         argz_extract and argz_next prototypes.
18996         (Finding Tokens in a String): Likewise for basename.
18997         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18998         (Copying and Concatenation): Fix typo in wmemmove prototype.
18999         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19000         (Signal Stack): Remove erroneous const in sigstack prototype.
19001         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19002         prototype.
19003         (Simple Calendar Time): Likewise for stime.
19004         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19005         prototype.
19006         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19007         say sys/sysctl.h instead.
19008         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19009         and vsyslog prototypes.
19011 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19013         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19014         Remove.
19016 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19018         * misc/sys/mman.h: Fix typo in mremap comment.
19020 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19022         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19023         the '\0' terminator.
19025 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19027         [BZ #13550]
19028         * debug/segfault.c: Don't include <bp-checks.h>.
19029         * sysdeps/generic/bp-checks.h: Remove file.
19030         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19031         (__GETDENTS): Don't use CHECK_N.
19032         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19033         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19034         (__getgroups): Don't use CHECK_N.
19035         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19036         (setgroups): Don't use CHECK_N.
19037         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19038         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19039         (__libc_msgrcv): Don't use CHECK_N.
19040         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19041         (__libc_msgsnd): Don't use CHECK_N.
19042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19043         <bp-checks.h>.
19044         (__libc_pread): Don't use CHECK_N.
19045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19046         include <bp-checks.h>.
19047         (__libc_pread64): Don't use CHECK_N.
19048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19049         include <bp-checks.h>.
19050         (__libc_pwrite): Don't use CHECK_N.
19051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19052         include <bp-checks.h>.
19053         (__libc_pwrite64): Don't use CHECK_N.
19054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19055         <bp-checks.h>.
19056         (__libc_pread): Don't use CHECK_N.
19057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19058         include <bp-checks.h>.
19059         (__libc_pread64): Don't use CHECK_N.
19060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19061         include <bp-checks.h>.
19062         (__libc_pwrite): Don't use CHECK_N.
19063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19064         include <bp-checks.h>.
19065         (__libc_pwrite64): Don't use CHECK_N.
19066         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19067         (do_pread): Don't use CHECK_N.
19068         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19069         (do_pread64): Don't use CHECK_N.
19070         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19071         (do_pwrite): Don't use CHECK_N.
19072         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19073         (do_pwrite64): Don't use CHECK_N.
19074         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19075         (__libc_readv): Don't use CHECK_N.
19076         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19077         (semop): Don't use CHECK_N.
19078         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19079         <bp-checks.h>.
19080         (semtimedop): Don't use CHECK_N.
19081         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19082         (__libc_pread): Don't use CHECK_N.
19083         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19084         <bp-checks.h>.
19085         (__libc_pread64): Don't use CHECK_N.
19086         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19087         <bp-checks.h>.
19088         (__libc_pwrite): Don't use CHECK_N.
19089         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19090         <bp-checks.h>.
19091         (__libc_pwrite64): Don't use CHECK_N.
19092         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19093         <bp-checks.h>.
19094         (__libc_msgrcv): Don't use CHECK_N.
19095         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19096         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19097         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19098         (__libc_writev): Don't use CHECK_N.
19100 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19102         * string/strcpy.c: Removed unused variable.
19104         * Makeconfig (+sysdep-includes): Define with := rather than =.
19105         Use an existing include/ subdir of each sysdeps dir before it.
19107 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19109         * nscd/connection.c (register_traced_file): Comment function.
19110         [HAVE_INOTIFY] (union __inev): Define.
19111         [HAVE_INOTIFY] (inotify_check_files): New function.
19112         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19113         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19114         clear_db_cache.
19115         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19117 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19119         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19120         loaded if not already and that a failure is permanent.
19122 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19124         [BZ #15006]
19125         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19126         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19128 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19130         [BZ #13550]
19131         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19132         (CHECK_1_NULL_OK): Likewise.
19133         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19134         (__fxstat): Do not use CHECK_1.
19135         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19136         <bp-checks.h>.
19137         (___fxstat64): Do not use CHECK_1.
19138         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19139         <bp-checks.h>.
19140         (__fxstatat): Do not use CHECK_1.
19141         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19142         <bp-checks.h>.
19143         (__fxstatat64): Do not use CHECK_1.
19144         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19145         <bp-checks.h>.
19146         (__fxstat): Do not use CHECK_1.
19147         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19148         <bp-checks.h>.
19149         (__fxstatat): Do not use CHECK_1.
19150         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19151         <bp-checks.h>.
19152         (__getresgid): Do not use CHECK_1.
19153         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19154         <bp-checks.h>.
19155         (__getresuid): Do not use CHECK_1.
19156         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19157         <bp-checks.h>.
19158         (__lxstat): Do not use CHECK_1.
19159         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19160         <bp-checks.h>.
19161         (__old_msgctl): Do not use CHECK_1.
19162         (__new_msgctl): Likewise.
19163         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19164         <bp-checks.h>.
19165         (__new_setrlimit): Do not use CHECK_1.
19166         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19167         <bp-checks.h>.
19168         (__old_shmctl): Do not use CHECK_1.
19169         (__new_shmctl): Likewise.
19170         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19171         <bp-checks.h>.
19172         (__xstat): Do not use CHECK_1.
19173         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19174         (__lxstat): Do not use CHECK_1.
19175         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19176         <bp-checks.h>.
19177         (___lxstat64): Do not use CHECK_1.
19178         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19179         (__old_msgctl): Do not use CHECK_1.
19180         (__new_msgctl): Likewise.
19181         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19182         <bp-checks.h>.
19183         (__gettimeofday): Do not use CHECK_1.
19184         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19185         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19186         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19187         <bp-checks.h>.
19188         (__gettimeofday): Do not use CHECK_1.
19189         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19190         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19191         (__new_shmctl): Do not use CHECK_1.
19192         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19193         <bp-checks.h>.
19194         (do_sigtimedwait): Do not use CHECK_1.
19195         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19196         <bp-checks.h>.
19197         (do_sigwaitinfo): Do not use CHECK_1.
19198         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19199         <bp-checks.h>.
19200         (msgctl): Do not use CHECK_1.
19201         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19202         <bp-checks.h>.
19203         (shmctl): Do not use CHECK_1.
19204         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19205         (ustat): Do not use CHECK_1.
19206         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19207         <bp-checks.h>.
19208         (__fxstat): Do not use CHECK_1.
19209         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19210         <bp-checks.h>.
19211         (__fxstatat): Do not use CHECK_1.
19212         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19213         <bp-checks.h>.
19214         (__lxstat): Do not use CHECK_1.
19215         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19216         <bp-checks.h>.
19217         (__xstat): Do not use CHECK_1.
19218         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19219         (__xstat): Do not use CHECK_1.
19220         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19221         (___xstat64): Do not use CHECK_1.
19223         [BZ #13550]
19224         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19225         definitions.
19226         (CHECK_BOUNDS_HIGH): Likewise.
19227         * string/strcpy.c: Do not include <bp-checks.h>.
19228         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19230 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19232         * nscd/nscd-client.h (__nscd_drop_map_ref):
19233         Add __attribute__ ((unused)).
19234         * nis/nss-nisplus.h (niserr2nss): Likewise.
19236         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19237         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19239         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19240         Remove inline keyword.
19241         * include/rounding-mode.h (round_away): Likewise.
19242         * libio/wfileops.c (adjust_wide_data): Likewise.
19243         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19244         (__m128i_strloadu_tolower): Likewise.
19245         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19246         (__m128i_strloadu_tolower): Likewise.
19247         * time/mktime.c (ydhms_diff): Likewise.
19248         * locale/elem-hash.h (elem_hash): Likewise.
19249         * locale/setlocale.c (setdata): Likewise.
19250         * posix/regex_internal.h (re_string_char_size_at): Likewise.
19251         (re_string_wchar_at): Likewise.
19252         (bitset_not, bitset_merge, bitset_mask): Likewise.
19253         [!(__GNUC__ > 3)] (inline): Remove macro.
19254         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19255         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19256         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19257         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19258         * string/memcmp.c (memcmp_bytes): Likewise.
19259         * locale/programs/locarchive.c (compute_hashval): Likewise.
19260         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19261         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19262         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19263         * nss/getent.c (print_rpc, print_protocols): Likewise.
19264         (print_passwd, print_group, print_aliases): Likewise.
19265         * nis/nss-nisplus.h (niserr2nss): Likewise.
19266         * nscd/connections.c (restart_p): Likewise.
19267         Change return type to bool.
19269 2013-02-05  Roland McGrath  <roland@hack.frob.com>
19271         * Makeconfig (all-Depend-files): Add existing
19272         $(sorted-subdirs:=/Depend) files.
19273         (all-subdirs): Remove nss.
19274         * sysdeps/unix/inet/Subdirs: Add it here instead.
19275         * hesiod/Depend: New file.
19277         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19278         instead of calling alloca.
19280         * io/lseek.c (__lseek): Rename to __libc_lseek.
19281         Define __lseek as an alias.
19283         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19285 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
19287         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19288         else clause and remove check for non-standard endianness.
19290 2013-02-04  David S. Miller  <davem@davemloft.net>
19292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19294 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
19296         [BZ #13550]
19297         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19298         (__ubp_memchr): Remove prototype.
19299         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19300         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19301         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19302         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19303         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19304         Remove alias.
19305         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19306         (__ubp_memchr): Likewise.
19307         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19308         (__ubp_memchr): Likewise.
19309         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19310         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19311         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19312         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19313         CHECK_STRING.
19314         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19315         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19316         (__getcwd): Do not use CHECK_STRING.
19317         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19318         <bp-checks.h>.
19319         (__real_chown): Do not use CHECK_STRING.
19320         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19321         <bp-checks.h>.
19322         (fchownat): Do not use CHECK_STRING.
19323         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19324         CHECK_STRING.
19325         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19326         <bp-checks.h>.
19327         (__lchown): Do not use CHECK_STRING.
19328         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19329         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19330         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19331         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19333         include <bp-checks.h>.
19334         (truncate64): Do not use CHECK_STRING.
19335         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19336         <bp-checks.h>.
19337         (__real_chown): Do not use CHECK_STRING.
19338         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19339         <bp-checks.h>.
19340         (__lchown): Do not use CHECK_STRING.
19341         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19342         <bp-checks.h>.
19343         (__chown): Do not use CHECK_STRING.
19344         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19345         <bp-checks.h>.
19346         (truncate64): Do not use CHECK_STRING.
19347         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19348         Likewise.
19349         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19350         (__xmknod): Do not use CHECK_STRING.
19351         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19352         <bp-checks.h>.
19353         (__xmknodat): Do not use CHECK_STRING.
19354         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19355         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19357 2013-02-04  Andreas Schwab  <schwab@suse.de>
19359         [BZ #14142]
19360         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19361         * include/netdb.h: Likewise for h_errno.
19362         * elf/tst-stackguard1.c: Include <tls.h>.
19364 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
19366         * elf/link.h (struct link_map): Extend the l_addr comment.
19367         * include/link.h (struct link_map): Likewise.
19369 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
19371         [BZ #13550]
19372         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19373         (BOUNDED_1): Remove macro.
19374         * debug/backtrace.c: Don't include <bp-checks.h>.
19375         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19376         (__backtrace): Likewise.
19377         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19378         <bp-checks.h>.
19379         (__backtrace): Don't use BOUNDED_1.
19380         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19381         <bp-checks.h>.
19382         (__backtrace): Don't use BOUNDED_1.
19383         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19384         (__backtrace): Don't use BOUNDED_1.
19385         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19386         (shmat): Don't use BOUNDED_N.
19388 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
19390         [BZ #13550]
19391         * sysdeps/generic/bp-start.h: Remove file.
19392         * csu/libc-start.c: Don't include <bp-start.h>.
19393         (LIBC_START_MAIN): Set up __environ directly instead of using
19394         INIT_ARGV_and_ENVIRON.
19395         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19396         <bp-start.h>.
19398         [BZ #13550]
19399         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19400         definitions.
19401         (CHECK_FCNTL): Likewise.
19402         (CHECK_N_PAGES): Likewise.
19404         [BZ #13550]
19405         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19406         definitions.
19407         (CHECK_SIGSET_NULL_OK): Likewise.
19408         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19409         <bp-checks.h>.
19410         (sigpending): Don't use CHECK_SIGSET.
19411         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19412         <bp-checks.h>.
19413         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19414         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19415         <bp-checks.h>.
19416         (do_sigsuspend): Don't use CHECK_SIGSET.
19417         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19418         use CHECK_SIGSET.
19419         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19420         (do_sigwait): Don't use CHECK_SIGSET.
19421         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19422         use CHECK_SIGSET.
19423         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19424         include <bp-checks.h>.
19425         (sigpending): Don't use CHECK_SIGSET.
19426         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19427         include <bp-checks.h>.
19428         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19429         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19430         <bp-checks.h>.
19431         (sigpending): Don't use CHECK_SIGSET.
19432         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19433         <bp-checks.h>.
19434         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19436         [BZ #13550]
19437         * sysdeps/generic/bp-semctl.h: Remove file.
19438         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19439         <bp-checks.h> and <bp-semctl.h>.
19440         (__old_semctl): Don't use CHECK_SEMCTL.
19441         (__new_semctl): Likewise.
19442         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19443         and <bp-semctl.h>.
19444         (__old_semctl): Don't use CHECK_SEMCTL.
19445         (__new_semctl): Likewise.
19446         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19447         <bp-checks.h> and <bp-semctl.h>.
19448         (__old_semctl): Don't use CHECK_SEMCTL.
19449         (__new_semctl): Likewise.
19450         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19451         <bp-checks.h> and <bp-semctl.h>.
19452         (semctl): Don't use CHECK_SEMCTL.
19454         [BZ #13550]
19455         * Makerules (elide-bp-thunks): Remove variable.
19456         (elide-routines.oS): Don't use $(elide-bp-thunks).
19457         (elide-routines.os): Likewise.
19458         (elide-routines.o): Likewise.
19459         (elide-routines.op): Likewise.
19460         (elide-routines.og): Likewise.
19461         (objects): Don't use $(bp-thunks).
19462         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19463         include.
19464         (common-generated): Do not add s-proto-bp.d.
19465         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19466         (int): Likewise.
19467         (typ): Likewise.
19468         Do not generate makefile rules for bounded-pointer thunks.
19469         * sysdeps/generic/bp-thunks.h: Remove file.
19470         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19471         * sysdeps/unix/s-proto-bp.S: Likewise.
19473         [BZ #15062]
19474         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19475         parts of result separately when argument is not close to line from
19476         -i to i and one part of argument is small.
19477         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19478         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19479         * math/libm-test.inc (cacos_test): Add more tests.
19480         (casin_test): Likewise.
19481         (casinh_test): Likewise.
19482         * sysdeps/i386/fpu/libm-test-ulps: Update.
19483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19485 2013-01-31  David S. Miller  <davem@davemloft.net>
19487         * po/de.po: Update from translation team.
19489 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
19491         * time/tzfile.c: Include stdint.h for SIZE_MAX.
19493 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
19495         * configure.in (_AC_PROG_CC_C89): New definition.
19496         * configure: Regenerate.
19498         * configure.in (AC_PROG_CPP): New definition.
19499         * configure: Regenerate.
19501 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19503         * debug/tst-backtrace.h: New file.
19504         * debug/tst-backtrace2.c: Include tst-backtrace.h.
19505         (ret): Remove variable.
19506         (x): Likewise.
19507         (FAIL): Remove macro.
19508         (NO_INLINE): Likewise.
19509         (fn1): Use match function instead of strstr.
19510         * debug/tst-backtrace3.c: Include tst-backtrace.h.
19511         (ret): Remove variable.
19512         (x): Likewise.
19513         (FAIL): Remove macro.
19514         (NO_INLINE): Likewise.
19515         (fn): Use match function instead of strstr.
19516         * debug/tst-backtrace4.c: Include tst-backtrace.h.
19517         (ret): Remove variable.
19518         (x): Likewise.
19519         (FAIL): Remove macro.
19520         (NO_INLINE): Likewise.
19521         (handle_signal): Use match function instead of strstr.
19522         * debug/tst-backtrace5.c: Include tst-backtrace.h.
19523         (ret): Remove variable.
19524         (x): Likewise.
19525         (FAIL): Remove macro.
19526         (NO_INLINE): Likewise.
19527         (handle_signal): Use match function instead of strstr.
19529 2013-01-23  Roland McGrath  <roland@hack.frob.com>
19531         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19533 2013-01-23  David S. Miller  <davem@davemloft.net>
19535         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19536         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19537         argument of CAS if possible.
19538         * sysdeps/sparc/sparc64/bits/atomic.h
19539         (__arch_compare_and_exchange_val_32_acq): Likewise.
19540         (__arch_compare_and_exchange_val_64_acq): Likewise.
19542 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
19544         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19545         * sysdeps/posix/ulimit.c: ... this.
19546         Include <limits.h>.
19547         * sysdeps/unix/bsd/ulimit.c: Remove file.
19549 2013-01-23  Adam Conrad  <adconrad@0c3.net>
19551         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19552         (LDFLAGS-tst-array5): Likewise.
19554 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19556         [BZ #15036]
19557         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19558         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19559         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19560         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19562 2013-01-21  David S. Miller  <davem@davemloft.net>
19564         * sysdeps/sparc/backtrace.c: New file.
19565         * sysdeps/sparc/sparc32/backtrace.h: New file.
19566         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19567         * sysdeps/sparc/sparc64/backtrace.h: New file.
19568         * sysdeps/sparc/sparc64/backtrace.c: Delete.
19569         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19570         -funwind-tables.
19572 2013-01-21  Andreas Schwab  <schwab@suse.de>
19574         [BZ #15020]
19575         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19576         closed its stdout.
19578 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
19580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19581         "mpa2.h".
19582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19584 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
19585             Mark Mitchell  <mark@codesourcery.com>
19586             Tom de Vries  <tom@codesourcery.com>
19587             Paul Pluzhnikov  <ppluzhnikov@google.com>
19589         * debug/tst-backtrace2.c: New file.
19590         * debug/tst-backtrace3.c: Likewise.
19591         * debug/tst-backtrace4.c: Likewise.
19592         * debug/tst-backtrace5.c: Likewise.
19593         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19594         (CFLAGS-tst-backtrace3.c): Likewise.
19595         (CFLAGS-tst-backtrace4.c): Likewise.
19596         (CFLAGS-tst-backtrace5.c): Likewise.
19597         (LDFLAGS-tst-backtrace2): Likewise.
19598         (LDFLAGS-tst-backtrace3): Likewise.
19599         (LDFLAGS-tst-backtrace4): Likewise.
19600         (LDFLAGS-tst-backtrace5): Likewise.
19601         (tests): Add new tests tst-backtrace2, tst-backtrace3,
19602         tst-backtrace4 and tst-backtrace5.
19604 2013-01-18  Anton Blanchard  <anton@samba.org>
19605             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19607         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19608         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19610         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19612         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19613         "+r" and remove output regs list as redundant.  Add explicit inline
19614         asm to specify register of return val to work around compiler codegen
19615         bug.  Remove (int) cast on return value.  Add return type parameter to
19616         use in macro so that this macro does not truncate return value for
19617         64-bit values.
19618         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19619         pass to INTERNAL_VSYSCALL_NCS.
19620         (INLINE_VSYSCALL): Add 'long int' as return type to
19621         INTERNAL_VSYSCALL_NCS macro invocation.
19622         (INTERNAL_VSYSCALL): Add 'long int' as return type to
19623         INTERNAL_VSYSCALL_NCS macro invocation.
19624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19626 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19628         [BZ #14496]
19629         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19630         Fix application of SIMD FP exception mask.
19632         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19633         mp_no from a power of two.
19634         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19635         __mpexp_twomm1.  Use __pow_mp.
19637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19638         multiplication.
19640 2013-01-17  David S. Miller  <davem@davemloft.net>
19642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19644 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19646         [BZ #15023]
19647         * include/complex.h: Condition contents on [!_COMPLEX_H].
19648         (__kernel_casinhf): New prototype.
19649         (__kernel_casinh): Likewise.
19650         (__kernel_casinhl): Likewise.
19651         * math/Makefile (libm_calls): Add k_casinh.
19652         * math/k_casinh.c: New file.
19653         * math/k_casinhf.c: Likewise.
19654         * math/k_casinhl.c: Likewise.
19655         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19656         finite nonzero arguments.
19657         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19658         finite nonzero arguments.
19659         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19660         finite nonzero arguments.
19661         * math/s_casinh.c: Do not include <float.h>.
19662         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19663         * math/s_casinhf.c: Do not include <float.h>.
19664         (__casinhf): Move code for finite nonzero arguments to
19665         k_casinhf.c.
19666         * math/s_casinhl.c: Do not include <float.h>.
19667         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19668         redefine.
19669         (__casinhl): Move code for finite nonzero arguments to
19670         k_casinhl.c.
19671         * math/libm-test.inc (cacos_test): Add more tests.
19672         * sysdeps/i386/fpu/libm-test-ulps: Update.
19673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19675 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
19677         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19678         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19679         [!HAVE_MREMAP]: Remove [defined linux] case.
19680         * malloc/arena.c: Do not include <malloc-sysdep.h>.
19682 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19684         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19686 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
19688         * elf/elf.h (R_386_SIZE32): New relocation.
19689         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19690         R_386_SIZE32.
19691         (elf_machine_rela): Likewise.
19692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19693         R_X86_64_SIZE64 and R_X86_64_SIZE32.
19695 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19697         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19698         (FP_FAST_FMA): Do not define.
19699         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19700         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19701         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19702         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19703         !_SOFT_FLOAT]: Likewise.
19704         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19705         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19706         value.
19707         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19708         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19709         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19710         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19711         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19712         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19713         file.
19715 2013-01-16  Andreas Schwab  <schwab@suse.de>
19717         [BZ #14327]
19718         * include/stdlib.h (__mktemp): Add declaration.
19719         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19720         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19722 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19724         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19725         definitions.
19726         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19727         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19728         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19729         definitions here.
19730         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19731         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19732         definitions.
19733         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19734         and ONE.
19735         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19736         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19737         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19738         definitions.
19739         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19740         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19741         definitions.
19742         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19744         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19746 2013-01-15  David S. Miller  <davem@davemloft.net>
19748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19749         trunc{,f} to libm-sysdep_routes.
19750         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19752         file.
19753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19755         file.
19756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19757         file.
19758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19760         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19761         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19762         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19763         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19764         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19765         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19768         nearbyint{,f} to libm-sysdep_routes.
19769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19771         New file.
19772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19773         file.
19774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19775         New file.
19776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19777         file.
19778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19780         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19781         file.
19782         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19783         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19784         file.
19785         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19786         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19787         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19789         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19790         libc_feholdexcept and libc_fesetenv.
19792 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
19794         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19796 2013-01-14  David S. Miller  <davem@davemloft.net>
19798         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19799         (SPARC_ASM_VIS2_IFUNC): Likewise.
19800         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19802         use of 'siam' instruction.
19803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19804         Likewise.
19805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19806         Likewise.
19807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19808         Likewise.
19809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19814         file.
19815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19816         file.
19817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19818         file.
19819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19820         file.
19821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19826         new VIS2 routines.
19827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19830         Likewise.
19831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19836         routines to libm-sysdep_routines.
19837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19840         fdim/fdimf to libm-sysdep_routines.
19841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19842         file.
19843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19845         file.
19846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19849         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19850         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19851         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19852         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19854 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19856         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19857         to optimize copies.
19859         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19864         local variable MPTWO.
19865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19866         Likewise.
19868 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19870         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19871         GLOB_NOESCAPE.
19873 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19875         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19877 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19879         * manual/pattern.texi (glob_t): Document gl_flags.
19880         (glob64_t): Likewise.
19882 2013-01-11  David S. Miller  <davem@davemloft.net>
19884         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19885         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19886         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
19887         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19888         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19889         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19890         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19891         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19892         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19893         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19894         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19895         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19896         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19898         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19899         sparc V9 rather than using V8 code.
19900         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19901         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19903         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19904         Move to...
19905         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19906         Here.
19908 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19910         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19911         not in the main loop.
19912         * configure: Regenerated.
19914 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19916         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19917         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19918         to just #else.
19919         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19920         [!__GLIBC_HAVE_LONG_LONG] case.
19921         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19922         condition to just #else.
19923         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19924         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19925         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19926         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19927         unconditional.
19928         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19929         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19930         #elif condition to just #else.
19931         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19932         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19933         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19934         #elif condition to just #else.
19936 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19938         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19939         (EF_MIPS_ARCH_64): Fix value.
19940         (EF_MIPS_ARCH_32R2): New.
19941         (EF_MIPS_ARCH_64R2): New.
19943 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19945         * Makeconfig (+link-pie-before-libc): New.
19946         (+link-pie-after-libc): Likewise.
19947         (+link-pie-tests): Likewise.
19948         (+link-pie): Rewritten.
19949         (link-before-libc): Remove $(config-LDFLAGS).
19950         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19951         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19952         (config-LDFLAGS): Renamed to ...
19953         (rtld-LDFLAGS): This.
19954         (rtld-tests-LDFLAGS): New macro.
19955         (link-libc-rpath-link): Likewise.
19956         (link-libc-tests-rpath-link): Likewise.
19957         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19958         (link-libc): Prepand $(link-libc-rpath-link).
19959         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19960         (test-program-prefix): New macro.
19961         (test-via-rtld-prefix): Likewise.
19962         (test-program-cmd): Likewise.
19963         (host-test-program-cmd): Likewise.
19964         * Makefile ($(common-objpfx)testrun.sh): Replace
19965         $(run-program-prefix) with $(test-program-prefix).
19966         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19967         $(rtld-LDFLAGS).
19968         ($(common-objpfx)shlib.lds): Likewise.
19969         (build-module-helper): Likewise.
19970         ($(common-objpfx)format.lds): Likewise.
19971         * Rules (binaries-pie-tests): New.
19972         (binaries-pie-notests): Likewise.
19973         (binaries-pie): Rewritten.
19974         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19975         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19976         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19977         (make-test-out): Replace $(host-built-program-cmd) with
19978         $(host-test-program-cmd).
19979         * config.make.in (build-hardcoded-path-in-tests): New variable.
19980         * configure.in (--enable-hardcoded-path-in-tests): New configure
19981         option.
19982         (hardcoded_path_in_tests): New AC_SUBST.
19983         * configure: Regenerated.
19984         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19985         $(built-program-cmd) with $(test-program-cmd).
19986         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19987         (test_program_cmd): This.
19988         * elf/Makefile ($(objpfx)order.out): Run test with
19989         $(test-program-prefix).
19990         ($(objpfx)order2.out): Likewise.
19991         ($(objpfx)tst-initorder.out): Likewise.
19992         ($(objpfx)tst-initorder2.out): Likewise.
19993         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19994         $(test-program-cmd).
19995         ($(objpfx)tst-array1-static.out): Likewise.
19996         ($(objpfx)tst-array2.out): Likewise.
19997         ($(objpfx)tst-array3.out): Likewise.
19998         ($(objpfx)tst-array4.out): Likewise.
19999         ($(objpfx)tst-array5.out): Likewise.
20000         ($(objpfx)tst-array5-static.out): Likewise.
20001         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20002         $(test-program-cmd).
20003         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20004         $(run-program-prefix) with $(test-program-prefix).
20005         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20006         (test_program_prefix): This.
20007         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20008         $(run-program-prefix) with $(test-program-prefix).
20009         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20010         (test_program_prefix): This.
20011         * iconvdata/tst-tables.sh: Likewise.
20012         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20013         $(run-program-prefix) with $(test-program-prefix).
20014         ($(objpfx)tst-translit.out): Likewise.
20015         ($(objpfx)tst-gettext2.out): Likewise.
20016         ($(objpfx)tst-gettext4.out): Likewise.
20017         ($(objpfx)tst-gettext6.out): Likewise.
20018         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20019         (test_program_prefix): This.
20020         * intl/tst-gettext2.sh: Likewise.
20021         * intl/tst-gettext4.sh  Likewise.
20022         * intl/tst-gettext6.sh: Likewise.
20023         * intl/tst-translit.sh: Likewise.
20024         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20025         with $(test-program-cmd).
20026         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20027         $(run-program-prefix) with $(test-program-prefix).
20028         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20029         (test_program_prefix): This.
20030         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20031         $(run-program-prefix) with $(test-program-prefix).
20032         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20033         (test_program_prefix): This.
20034         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20035         * posix/Makefile ($(objpfx)globtest.out): Replace
20036         $(run-via-rtld-prefix) and $(test-wrapper) with
20037         $(test-program-prefix) and $(test-via-rtld-prefix).
20038         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20039         $(test-program-prefix).
20040         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20041         $(host-test-program-cmd).
20042         (tst-spawn-ARGS): Likewise.
20043         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20044         $(test-program-prefix).
20045         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20046         (test_via_rtld_prefix): This.
20047         (test_wrapper): Renamed to ...
20048         (test_program_prefix): This.
20049         (run_program_prefix): Replaced by test_program_prefix.
20050         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20051         (test_program_prefix): This.
20052         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20053         with $(host-test-program-cmd).
20054         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20055         $(run-program-prefix) with $(test-program-prefix).
20056         ($(objpfx)tst-printf.out): Likewise.
20057         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20058         $(test-program-cmd).
20059         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20060         (test_program_prefix): This.
20061         * stdio-common/tst-unbputc.sh: Likewise.
20062         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20063         $(run-program-prefix) with $(test-program-prefix).
20064         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20065         (test_program_prefix): This.
20066         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20067         $(built-program-cmd) with $(test-program-cmd).
20069 2013-01-11  Andreas Jaeger  <aj@suse.de>
20071         [BZ #15003]
20072         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20073         value. Sync with Linux 3.7.
20075 2013-01-10  David S. Miller  <davem@davemloft.net>
20077         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20078         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20079         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20081 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20083         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20084         never set.
20085         * configure: Regenerated.
20087 2013-01-10  David S. Miller  <davem@davemloft.net>
20089         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20090         sparc V9 rather than using V8 code.
20091         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20092         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20094 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20096         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20097         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20098         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20099         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20100         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20101         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20102         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20103         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20104         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20105         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20106         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20107         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20108         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20109         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20110         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20111         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20112         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20113         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20114         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20115         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20116         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20117         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20118         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20119         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20120         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20121         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20122         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20124 2013-01-10  David S. Miller  <davem@davemloft.net>
20126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20128 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20130         * posix/Makefile (tests-static): New variable.
20131         (tests): Add $(tests-static).
20132         (tst-exec-static-ARGS): New variable.
20133         (tst-spawn-static-ARGS): Likewise.
20134         * posix/tst-exec-static.c: New file.
20135         * posix/tst-spawn-static.c: Likewise.
20136         * posix/tst-exec.c: Support run directly.
20137         * posix/tst-spawn.c: Likewise.
20139 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20141         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20142         long.
20143         * math/bits/mathcalls.h (llrint): Likewise.
20144         (llround): Likewise.
20145         * stdlib/stdlib.h (struct drand48_data): Likewise.
20146         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20147         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20148         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20149         Likewise.
20150         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20151         Likewise.
20152         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20153         (elf_greg_t): Likewise.
20154         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20155         (__jmp_buf): Likewise.
20156         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20157         definitions.
20158         (llrint): Likewise, for all definitions.
20159         (llrintl): Likewise.
20161         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20162         Remove [__GNUC__] condition.
20163         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20164         condition to just [__USE_ISOC99].
20165         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20167 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20169         [BZ #14200]
20170         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20171         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20172         defined.
20173         (_POSIX_V6_ILP32_OFF32): Likewise.
20174         (_XBS5_ILP32_OFF32): Likewise.
20175         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20176         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20178 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20180         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20183         doubles __mpexp_twomm1.  Adjust usage.
20184         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20185         Remove.
20187 2013-01-10  Andreas Schwab  <schwab@suse.de>
20189         [BZ #14964]
20190         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20191         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20193 2013-01-09  David S. Miller  <davem@davemloft.net>
20195         [BZ #15003]
20196         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20197         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20198         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20199         (TCP_FASTOPEN): Define.
20200         (tcp_repair_opt): New structure.
20201         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20202         enum values.
20203         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20204         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20205         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20206         (tcp_cookie_transactions): New structure.
20208 2013-01-09  Anton Blanchard  <anton@samba.org>
20210         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20211         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20213         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20215 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20217         * include/features.h (__USE_ANSI): Remove.
20219 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20221         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20223         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20225 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20227         * sysdeps/s390/fpu/libm-test-ulps: Update.
20229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20231         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20232         (__acr): Likewise.
20233         (__cpy): Likewise.
20234         (norm): Likewise.
20235         (denorm): Likewise.
20236         (__mp_dbl): Likewise.
20237         (__dbl_mp): Likewise.
20238         (add_magnitudes): Likewise.
20239         (sub_magnitudes): Likewise.
20240         (__add): Likewise.
20241         (__sub): Likewise.
20242         (__mul): Likewise.
20243         (__inv): Likewise.
20244         (__dvd): Likewise.
20245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20246         (__acr): Likewise.
20247         (__cpy): Likewise.
20248         (norm): Likewise.
20249         (denorm): Likewise.
20250         (__mp_dbl): Likewise.
20251         (__dbl_mp): Likewise.
20252         (add_magnitudes): Likewise.
20253         (sub_magnitudes): Likewise.
20254         (__add): Likewise.
20255         (__sub): Likewise.
20256         (__mul): Likewise.
20257         (__inv): Likewise.
20258         (__dvd): Likewise.
20259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20260         (__acr): Likewise.
20261         (__cpy): Likewise.
20262         (norm): Likewise.
20263         (denorm): Likewise.
20264         (__mp_dbl): Likewise.
20265         (__dbl_mp): Likewise.
20266         (add_magnitudes): Likewise.
20267         (sub_magnitudes): Likewise.
20268         (__add): Likewise.
20269         (__sub): Likewise.
20270         (__mul): Likewise.
20271         (__inv): Likewise.
20272         (__dvd): Likewise.
20274 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
20276         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20277         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20278         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20279         2 && __USE_EXTERN_INLINES]: Likewise.
20281 2013-01-08  Andreas Jaeger  <aj@suse.de>
20283         [BZ# 14985]
20284         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20285         Remove.
20286         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20287         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20289 2013-01-07  Anton Blanchard  <anton@samba.org>
20291         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20292         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20293         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20294         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20295         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20296         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20297         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20298         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20300         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20301         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20302         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20304         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20305         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20306         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20307         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20308         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20309         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20310         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20311         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20312         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20314         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20315         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20316         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20317         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20318         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20320         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20321         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20323         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20324         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20325         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20326         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20327         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20328         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20329         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20330         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20331         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20332         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20333         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20335 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
20337         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20338         (__MALLOC_PMT): Likewise.
20339         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20340         [__GNUC__], only on [_LIBC].
20341         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20342         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20343         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20344         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20345         forward declaration.
20346         (realloc_hook_ini): Likewise.
20347         (memalign_hook_ini): Likewise.
20348         (__libc_memalign): Do not use __MALLOC_PMT in variable
20349         declaration.
20350         (__libc_valloc): Likewise.
20351         (__libc_pvalloc): Likewise.
20352         (__libc_calloc): Likewise.
20353         (__posix_memalign): Likewise.
20355         [BZ #14996]
20356         * math/s_casinh.c: Include <float.h>.
20357         (__casinh): Do not do computation with squaring and square root
20358         for large arguments.
20359         * math/s_casinhf.c: Include <float.h>.
20360         (__casinhf): Do not do computation with squaring and square root
20361         for large arguments.
20362         * math/s_casinhl.c: Include <float.h>.
20363         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20364         (__casinhl): Do not do computation with squaring and square root
20365         for large arguments.
20366         * math/libm-test.inc (casin_test): Add more tests.
20367         (casinh_test): Likewise.
20368         * sysdeps/i386/fpu/libm-test-ulps: Update.
20369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20371 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
20373         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20374         (__x86_64_raw_data_cache_size): Likewise.
20375         (__x86_64_data_cache_size_half): Likewise.
20376         (__x86_64_raw_data_cache_size_half): Likewise.
20377         (__x86_64_shared_cache_size): Likewise.
20378         (__x86_64_raw_shared_cache_size): Likewise.
20379         (__x86_64_shared_cache_size_half): Likewise.
20380         (__x86_64_raw_shared_cache_size_half): Likewise.
20381         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20382         to ...
20383         (__x86_data_cache_size): This.
20384         (__x86_64_raw_data_cache_size): Renamed to ...
20385         (__x86_raw_data_cache_size): This.
20386         (__x86_64_data_cache_size_half): Renamed to ...
20387         (__x86_data_cache_size_half): This.
20388         (__x86_64_raw_data_cache_size_half): Renamed to ...
20389         (__x86_raw_data_cache_size_half): This.
20390         (__x86_64_shared_cache_size): Renamed to ...
20391         (__x86_shared_cache_size): This.
20392         (__x86_64_raw_shared_cache_size): Renamed to ...
20393         (__x86_raw_shared_cache_size): This.
20394         (__x86_64_shared_cache_size_half): Renamed to ...
20395         (__x86_shared_cache_size_half): This.
20396         (__x86_64_raw_shared_cache_size_half): Renamed to ...
20397         (__x86_raw_shared_cache_size_half): This.
20398         * sysdeps/x86_64/memcpy.S: Updated.
20399         * sysdeps/x86_64/memset.S: Likewise.
20400         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20404 2013-01-04  David S. Miller  <davem@davemloft.net>
20406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20408 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
20410         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20411         1 to avoid redefinition warning.
20412         (__USE_GNU): Don't define.
20413         (init_signaling_nan): Protoize.
20415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20417 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20421         (__cpymn): Likewise.
20422         (norm): Remove commented code.
20423         (denorm): Likewise.
20424         (__mp_dbl): Likewise.
20425         (__inv): Likewise.
20426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20427         (__cpymn): Likewise.
20428         (norm): Remove commented code.
20429         (denorm): Likewise.
20430         (__mp_dbl): Likewise.
20431         (__inv): Likewise.
20433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20434         mp_no value for 1.0 and 2.0.
20435         (norm): Use RADIXI instead of radixi.d.
20436         (denorm): Likewise.
20437         (__mul): Use 0.0 instead of zero.d.
20438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20439         mp_no value for 1.0 and 2.0.
20440         (norm): Use RADIXI instead of radixi.d.
20441         (denorm): Likewise.
20442         (__mul): Use 0.0 instead of zero.d.
20444 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
20446         [BZ #14994]
20447         * math/s_casinh.c (__casinh): Reduce finite argument to first
20448         quadrant then set signs of results at the end.
20449         * math/s_casinhf.c (__casinhf): Likewise.
20450         * math/s_casinhl.c (__casinhl): Likewise.
20451         * math/libm-test.inc (casin_test): Add more tests.
20452         (casinh_test): Likewise.
20453         * sysdeps/i386/fpu/libm-test-ulps: Update.
20454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20456 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20458         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20460         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20462         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20463         declarations.
20464         (denorm): Likewise.
20465         (__mp_dbl): Likewise.
20466         (__inv): Likewise.
20468         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20469         and adjust the header comment.
20471         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20472         variable name from declaration.
20474 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
20476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20477         Initialize COMMON_CPUID_INDEX_7 element.
20478         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20479         (CPUID_RTM): Likewise.
20480         (HAS_RTM): Likewise.
20481         (COMMON_CPUID_INDEX_7): New enum.
20483 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
20485         [BZ #14981]
20486         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20487         size is zero, record memory as freed.
20489 2013-01-03  Andreas Jaeger  <aj@suse.de>
20491         * po/ia.po: Add new Interlingua translation.
20493 2012-01-03  Allan McRae  <allan@archlinux.org>
20495         * locale/programs/localedef.c: Fix description of '--posix' flag.
20497 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
20499         * NEWS: Update dates in second copyright notice.
20500         * README: Update copyright dates in example.
20501         * manual/libc.texinfo: Update copyright dates.
20502         * scripts/test-installation.pl: Update copyright date in --version
20503         output.
20505         * hurd/ctty-input.c: Fix copyright notice formatting.
20506         * hurd/ctty-output.c: Likewise.
20507         * hurd/dtable.c: Likewise.
20508         * hurd/hurd-raise.c: Likewise.
20509         * hurd/hurdprio.c: Likewise.
20510         * hurd/msgportdemux.c: Likewise.
20511         * misc/sys/file.h: Likewise.
20512         * misc/sys/ioctl.h: Likewise.
20513         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20514         * sysdeps/mach/hurd/chdir.c: Likewise.
20515         * sysdeps/mach/hurd/fchdir.c: Likewise.
20516         * sysdeps/mach/hurd/rename.c: Likewise.
20517         * sysdeps/mach/hurd/rmdir.c: Likewise.
20518         * sysdeps/mach/hurd/seekdir.c: Likewise.
20519         * sysdeps/mach/hurd/setsid.c: Likewise.
20520         * sysdeps/posix/wait3.c: Likewise.
20522         * All files with FSF copyright notices: Update copyright dates
20523         using scripts/update-copyrights.
20524         * intl/plural.c: Regenerated.
20525         * locale/programs/charmap-kw.h: Likewise.
20526         * locale/programs/locfile-kw.h: Likewise.
20528 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20530         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20531         four values.
20533         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20534         calculation loop and add branch prediction.
20536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20537         check access beyond bounds of m1np.
20539         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20540         MPTWO.
20541         (__inv): Remove local variable MPTWO to use the global
20542         constant.
20543         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20544         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20545         variable MPTWO.
20546         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20547         MP3HALFS static const.
20549 2013-01-01  David S. Miller  <davem@davemloft.net>
20551         * po/ca.po: Update from translation team.
20553 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
20555         * scripts/update-copyrights: New file.
20556         * Makeconfig: Reformat copyright notice.
20557         * ctype/ctype.h: Likewise.
20558         * debug/swprintf_chk.c: Likewise.
20559         * elf/dl-cache.c: Likewise.
20560         * elf/dl-debug.c: Likewise.
20561         * elf/dl-object.c: Likewise.
20562         * grp/initgroups.c: Likewise.
20563         * hurd/Makefile: Likewise.
20564         * hurd/hurd/signal.h: Likewise.
20565         * hurd/hurdfault.c: Likewise.
20566         * hurd/hurdioctl.c: Likewise.
20567         * hurd/hurdlookup.c: Likewise.
20568         * hurd/intr-msg.c: Likewise.
20569         * iconv/gconv_open.c: Likewise.
20570         * libio/swprintf.c: Likewise.
20571         * locale/lc-ctype.c: Likewise.
20572         * locale/nl_langinfo.c: Likewise.
20573         * mach/Machrules: Likewise.
20574         * mach/Makefile: Likewise.
20575         * malloc/obstack.h: Likewise.
20576         * manual/Makefile: Likewise.
20577         * manual/tsort.awk: Likewise.
20578         * misc/bits/stab.def: Likewise.
20579         * nis/nis_print_group_entry.c: Likewise.
20580         * nis/nis_table.c: Likewise.
20581         * nis/nss_compat/compat-pwd.c: Likewise.
20582         * nis/nss_compat/compat-spwd.c: Likewise.
20583         * po/Makefile: Likewise.
20584         * posix/fnmatch.c: Likewise.
20585         * posix/regex.h: Likewise.
20586         * resolv/Makefile: Likewise.
20587         * resolv/nss_dns/dns-network.c: Likewise.
20588         * resolv/res_hconf.c: Likewise.
20589         * scripts/gen-sorted.awk: Likewise.
20590         * soft-fp/soft-fp.h: Likewise.
20591         * stdio-common/printf.h: Likewise.
20592         * stdlib/monetary.h: Likewise.
20593         * stdlib/random.c: Likewise.
20594         * stdlib/random_r.c: Likewise.
20595         * sysdeps/generic/Makefile: Likewise.
20596         * sysdeps/gnu/Makefile: Likewise.
20597         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20599         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20604         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20605         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20606         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20607         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20608         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20609         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20610         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20611         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20612         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20613         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20614         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20620         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20621         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20622         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20623         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20624         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20625         * sysdeps/mach/hurd/errnos.awk: Likewise.
20626         * sysdeps/mach/hurd/fork.c: Likewise.
20627         * sysdeps/mach/hurd/getcwd.c: Likewise.
20628         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20629         * sysdeps/mach/hurd/mmap.c: Likewise.
20630         * sysdeps/mach/hurd/utimes.c: Likewise.
20631         * sysdeps/mach/hurd/xmknod.c: Likewise.
20632         * sysdeps/posix/profil.c: Likewise.
20633         * sysdeps/posix/readdir_r.c: Likewise.
20634         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20635         * sysdeps/powerpc/bits/setjmp.h: Likewise.
20636         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20637         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20639         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20643         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20644         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20645         * sysdeps/pthread/lio_listio.c: Likewise.
20646         * sysdeps/sparc/dl-procinfo.h: Likewise.
20647         * sysdeps/unix/i386/sysdep.S: Likewise.
20648         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20649         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20650         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20651         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20653         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20654         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20655         * sysdeps/unix/sysv/linux/speed.c: Likewise.
20656         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20657         * sysdeps/wordsize-32/divdi3.c: Likewise.
20658         * time/sys/time.h: Likewise.
20659         * wcsmbs/Makefile: Likewise.
20661 2013-01-01  David S. Miller  <davem@davemloft.net>
20663         * po/fr.po: Update from translation team.
20665         * catgets/gencat.c: Update copyright year.
20666         * csu/version.c: Likewise.
20667         * debug/catchsegv.sh: Likewise.
20668         * debug/pcprofiledump.c: Likewise.
20669         * debug/xtrace.sh: Likewise.
20670         * elf/ldconfig.c: Likewise.
20671         * elf/ldd.bash.in: Likewise.
20672         * elf/pldd.c: Likewise.
20673         * elf/sotruss.ksh: Likewise.
20674         * elf/sprof.c: Likewise.
20675         * iconv/iconv_prog.c: Likewise.
20676         * iconv/iconvconfig.c: Likewise.
20677         * locale/programs/locale.c: Likewise.
20678         * locale/programs/localedef.c: Likewise.
20679         * login/programs/pt_chown.c: Likewise.
20680         * malloc/memusage.sh: Likewise.
20681         * malloc/memusagestat.c: Likewise.
20682         * malloc/mtrace.pl: Likewise.
20683         * nscd/nscd.c: Likewise.
20684         * nss/getent.c: Likewise.
20685         * nss/makedb.c: Likewise.
20686         * posix/getconf.c: Likewise.
20688 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20690         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20691         numbers.
20693 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
20695         * math/bits/mathcalls.h (modf): Use __nonnull.
20697 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20699         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20700         (split): Use macro CN instead of the bare value.
20701         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20702         could be used.
20703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20704         instead of the bare value.
20705         (power1): Likewise.
20707 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20710         __ATAN_TWOM.
20711         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20713         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20714         their values.
20715         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20716         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20717         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20718         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20720 2012-12-28  Andreas Jaeger  <aj@suse.de>
20722         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
20723         values are from Linux 3.7.
20725         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20726         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
20728 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20730         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20731         TRUE case.
20733         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20734         (norm): Likewise.
20735         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20736         variables with preprocessor constants.
20737         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20738         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20739         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20741 2012-12-27  Bruno Haible  <bruno@clisp.org>
20743         [BZ #14317]
20744         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20745         only if needed.
20747 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20750         and use variable directly.
20751         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20753         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20754         MPONE.
20755         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20757         variable MPONE.
20758         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20759         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20760         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20761         include directive.  Remove local variable MPONE.
20762         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20763         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20764         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20766 2012-12-25  David S. Miller  <davem@davemloft.net>
20768         * version.h (RELEASE): Set to "development".
20769         (VERSION): Set to "2.17.90".
20770         * NEWS: Add 2.18 section.
20772 2012-12-21  David S. Miller  <davem@davemloft.net>
20774         * po/hr.po: Update from translation team.
20776 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20778         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20780 2012-12-19  Steve Ellcey  <sellcey@mips.com>
20782         * NEWS:  Mention new memcpy for MIPS.
20784 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20786         * manual/contrib.texi (Contributors): Spelling correction.
20788 2012-12-15  David S. Miller  <davem@davemloft.net>
20790         * po/ru.po: Update from translation team.
20792 2012-12-13  David S. Miller  <davem@davemloft.net>
20794         * NEWS: Mention IFUNC testsuite enhancements.
20796         * po/pl.po: Update from translation team.
20797         * po/bg.po: Likewise.
20799         * manual/contrib.texi (Contributors): Update entries for Hongjiu
20800         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
20802 2012-12-11  David S. Miller  <davem@davemloft.net>
20804         * po/sv.po: Update from translation team.
20806         * po/vi.po: Update from translation team.
20808         * po/cs.po: Update from translation team.
20810         * po/de.po: Update from translation team.
20811         * po/eo.po: Likewise.
20812         * po/nl.po: Likewise.
20814 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20816         [BZ #14246]
20817         * manual/argp.texi (Argp Helper Functions): Move node to follow
20818         Argp Parsing State.
20820         [BZ #14872]
20821         * manual/conf.texi (Limits on File System Capacity): Mention if
20822         terminating null is included in the max size.
20824 2012-12-10  Andreas Jaeger  <aj@suse.de>
20826         * po/cs.po: Update from translation team.
20828 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20830         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20831         void pointer and cast to uintptr_t.
20832         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20833         path.
20834         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20835         * sysdeps/s390/s390-64/memset.S: Likewise.
20837 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
20839         [BZ #14833]
20840         * menual/message.texi (Message Translation): Fix typos.
20841         (Helper programs for gettext): Likewise.
20843 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
20845         [BZ #14898]
20846         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20847         Change to -1.
20849 2012-12-07  David S. Miller  <davem@davemloft.net>
20851         * po/libc.pot: Update.
20853 2012-12-07  Richard Henderson  <rth@redhat.com>
20855         [BZ #10114]
20856         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20857         normal/normal case to before the switch.
20858         (_FP_DIV): Likewise.
20860 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
20861             Mike Frysinger  <vapier@gentoo.org>
20863         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20864         check for __NR_fadvise64_64.
20866 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
20868         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20869         0, not just to plain "0" as a statement.
20870         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20871         with cw.
20873 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
20875         * NEWS: Use sourceware.org in Bugzilla URL.
20877 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20880         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20882         * stdio-common/tst-put-error.c (do_test): Add newline to the
20883         padded test to ensure flush.
20885 2012-12-05  Jeff Law  <law@redhat.com>
20887         * sunrpc/etc.rpc (fedfs_admin): Add entry.
20889 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
20891         * README: Don't refer to ports add-on as distributed separately.
20892         Mention AArch64 in list of systems supported in the ports add-on.
20894         * LICENSES: Add more non-FSF copyright and license notices.
20896         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20897         ((unused)).
20899         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20901         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20902         10000 as width of padded output.
20904 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20906         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20908         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20909         variable LX with __attribute__ ((unused)).
20910         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20911         Likewise.
20912         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20913         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20914         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20915         with __attribute__ ((unused)).
20917 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20919         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20921 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20923         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20924         (CFLAGS-nldbl-acos.c): New variable.
20925         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20926         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20927         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20928         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20929         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20930         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20931         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20932         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20933         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20934         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20935         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20936         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20937         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20938         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20939         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20940         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20941         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20942         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20943         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20944         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20945         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20946         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20947         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20948         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20949         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20950         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20951         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20952         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20953         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20954         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20955         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20956         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20957         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20958         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20959         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20960         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20961         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20962         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20963         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20964         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20965         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20966         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20967         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20968         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20969         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20970         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20971         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20972         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20973         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20974         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20975         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20976         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20977         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20978         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20979         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20980         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20981         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20982         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20983         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20984         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20985         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20986         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20987         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20988         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20989         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20990         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20991         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20992         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20993         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20994         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20995         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20996         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20997         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20998         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20999         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21000         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21001         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21002         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21003         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21004         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21005         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21006         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21007         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21008         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21009         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21010         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21011         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21012         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21013         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21014         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21015         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21016         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21017         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21018         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21019         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21020         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21021         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21024         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21026         [BZ #14914]
21027         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21028         whole low double instead of just low 47 bits when splitting values
21029         into two parts.
21031 2012-12-03  Allan McRae  <allan@archlinux.org>
21033         * manual/stdio.texi (Predefined Printf Handlers): Remove
21034         @hsep and @vsep usage.
21036 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21038         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21039         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21041 2012-12-03  Jeff Law  <law@redhat.com>
21043         * time/sys/time.h (settimeofday): Do not mark TV argument
21044         as __nonnull.
21046 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21048         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21049         when currently writing and seek to current position when not.
21050         * libio/Makefile (tests): Remove bug-fclose1.
21051         * libio/bug-fclose1.c: Delete.
21053 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21055         * manual/arith.texi (feenableexcept): Fix typo.
21056         (fedisableexcept): Likewise.
21058 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21060         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21061         second, differently-typed declaration, rather than a cast.
21063 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21065         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21066         * include/rpc/svc.h: ... here.
21068 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21070         [BZ #13013]
21071         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21072         depending n and resplen2 to catch cases where answer
21073         equals answerp2.
21075 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21077         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21078         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21080 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21084 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21086         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21088 2012-11-28  Jeff Law  <law@redhat.com>
21090         [BZ #13761]
21091         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21092         dataset_temporary.  Track alloca usage into alloca_used.
21093         If dataset is large allocate and release it via malloc/free.
21095 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21097         [BZ #14197]
21098         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21100 2012-11-28  David S. Miller  <davem@davemloft.net>
21102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21104 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21106         [BZ #14803]
21107         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21108         of pi/2 rounded to nearest to 64 bits.
21109         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21110         nearest to 64 bits.
21111         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21112         bits.
21114 2012-11-28  Jeff Law <law@redhat.com>
21115             Martin Osvald <mosvald@redhat.com>
21117         [BZ #14889]
21118         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21119         * sunrpc/svc.c: Include time.h.
21120         (__svc_accept_failed): New function.
21121         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21122         any reason other than EINTR, call __svc_accept_failed.
21123         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21124         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21126 2012-11-28  Andreas Schwab  <schwab@suse.de>
21128         * scripts/abilist.awk: Also handle indirect functions in .opd
21129         section.
21131 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21133         [BZ #13881]
21134         * sysdeps/x86/fpu/powl_helper.c: New file.
21135         * sysdeps/x86/fpu/Makefile: Likewise.
21136         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21137         (p3): New object.
21138         (__ieee754_powl): Use __powl_helper for finite arguments except
21139         integer exponents below 8.
21140         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21141         (p3): New object.
21142         (__ieee754_powl): Use __powl_helper for finite arguments except
21143         integer exponents below 8.
21144         * math/libm-test.inc (pow_test): Add more tests and enable some
21145         previously disabled tests.
21146         * sysdeps/i386/fpu/libm-test-ulps: Update.
21147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21149 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21150             Carlos O'Donell  <carlos_odonell@mentor.com>
21152         * nss/makedb.c (is_prime): Assert that input is odd and greater
21153         than 4.  Note that fact in a comment too.
21154         (next_prime): Add 4 to input.
21156 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158         [BZ #11741]
21159         * libio/Makefile (tests): Add test case tst-fwrite-error.
21160         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21161         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21162         * libio/tst-fwrite-error.c: New test case.
21164 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21166         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21167         before casting to void *.
21168         * include/libc-internal.h (__pointer_type): New macro.
21169         (__integer_if_pointer_type_sub): Likewise.
21170         (__integer_if_pointer_type): Likewise.
21171         (cast_to_integer): Likewise.
21172         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21173         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21174         before casting to atomic64_t.
21175         (atomic_exchange_acq): Likewise.
21176         (__arch_exchange_and_add_body): Likewise.
21177         (__arch_add_body): Likewise.
21178         (atomic_add_negative): Likewise.
21179         (atomic_add_zero): Likewise.
21181 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21183         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21184         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21185         (add_fdes): Likewise.
21186         (linear_search_fdes): Likewise.
21187         (binary_search_unencoded_fdes): Likewise.
21189 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21191         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21193 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21195         * configure.in: Autodetect C++ header directories.
21196         * configure: Regenerated.
21198 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21200         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21202 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21206 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21208         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21209         LDBL_MANT_DIG == 106]: Disable some tests.
21210         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21211         Likewise.
21212         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21213         Likewise.
21215         [BZ #14871]
21216         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21217         input for small inputs.  Return +/- pi/2 for large inputs.
21218         * math/libm-test.inc (atan_test): Add more tests.
21220         * sysdeps/generic/unwind-dw2-fde-glibc.c
21221         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21222         __attribute__ ((unused)).
21224         [BZ #14645]
21225         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21226         x * y if x and y are nonzero and z is zero.
21228         [BZ #14811]
21229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21230         nonzero exponents with absolute value below 0x1p-117 to +/-
21231         0x1p-117.
21233         [BZ #14869]
21234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21235         up arguments below 2**-450, not just those below 2**-500.
21236         * math/libm-test.inc (hypot_test): Add another test.
21238         [BZ #14868]
21239         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21240         Return a+b for ratio over 2**120, not 2**60.
21241         * math/libm-test.inc (hypot_test): Add another test.
21243         * math/libm-test.inc (clog_test): Use
21244         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21245         (clog10_test): Likewise.
21247         [BZ #6778]
21248         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21250 2012-11-22  Andreas Schwab  <schwab@suse.de>
21252         * sysdeps/i386/fpu/libm-test-ulps: Update.
21254 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
21256         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21257         printf output with newline.
21259 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
21261         [BZ #14865]
21262         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21263         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21264         -z nodlopen, -z initfirst and -z execstack support.
21265         * configure: Regenerated.
21267         * elf/elf.h (DF_1_NODIRECT): New macro.
21268         (DF_1_IGNMULDEF): Likewise.
21269         (DF_1_NOKSYMS): Likewise.
21270         (DF_1_NOHDR): Likewise.
21271         (DF_1_EDITED): Likewise.
21272         (DF_1_NORELOC): Likewise.
21273         (DF_1_SYMINTPOSE): Likewise.
21274         (DF_1_GLOBAUDIT): Likewise.
21275         (DF_1_SINGLETON): Likewise.
21276         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21277         DT_1_SUPPORTED_MASK bits.
21278         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21280 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
21282         * sysdeps/unix/make-syscalls.sh: Document prefixes.
21284 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
21286         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21287         macro.
21289         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21290         (sendmmsg): Move declarations...
21291         * socket/sys/socket.h: ... here.
21292         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21293         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21294         include it from...
21295         * socket/recvmmsg.c: ... this new file.
21296         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21297         (sendmmsg): Rename to __sendmmsg, create weak alias and make
21298         definition of __sendmmsg hidden.
21299         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21300         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21301         Move ENOSYS stub into and include it from...
21302         * socket/sendmmsg.c: ... this new file.
21303         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21304         (sysdep_routines): Move recvmmsg and sendmmsg...
21305         * socket/Makefile (routines): ... here.
21306         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21307         (GLIBC_PRIVATE): Add __sendmmsg.
21308         * include/sys/socket.h (__sendmmsg): Add declarations.
21309         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21310         sendmmsg.
21312 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
21314         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21315         variable I1 with __attribute__ ((unused)).
21316         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21318 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21320         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21321         DUMMY variables with __attribute__ ((unused)).
21323         * bits/byteswap.h: Include <bits/types.h>.
21324         (__bswap_64): Use __uint64_t instead of unsigned long long int.
21326 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21328         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21329         string_t.  Do not manually set errno.
21330         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21331         length with __strnlen.  Make sure to both set errno and return it on
21332         failure.
21334 2012-11-19  David S. Miller  <davem@davemloft.net>
21336         With help from Joseph Myers.
21337         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21338         very large arguments properly.
21339         * math/libm-test.inc (atan_test): New tests.
21340         (atan2_test): New tests.
21341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21344 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21346         [BZ #14856]
21347         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21348         Define to 3.
21350         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21351         [POSIX] (EADDRNOTAVAIL): Likewise.
21352         [POSIX] (EAFNOSUPPORT): Likewise.
21353         [POSIX] (EALREADY): Likewise.
21354         [POSIX] (ECONNABORTED): Likewise.
21355         [POSIX] (ECONNREFUSED): Likewise.
21356         [POSIX] (ECONNRESET): Likewise.
21357         [POSIX] (EDESTADDRREQ): Likewise.
21358         [POSIX] (EDQUOT): Likewise.
21359         [POSIX] (EHOSTUNREACH): Likewise.
21360         [POSIX] (EIDRM): Likewise.
21361         [POSIX] (EISCONN): Likewise.
21362         [POSIX] (ELOOP): Likewise.
21363         [POSIX] (EMULTIHOP): Likewise.
21364         [POSIX] (ENETDOWN): Likewise.
21365         [POSIX] (ENETUNREACH): Likewise.
21366         [POSIX] (ENOBUFS): Likewise.
21367         [POSIX] (ENODATA): Likewise.
21368         [POSIX] (ENOLINK): Likewise.
21369         [POSIX] (ENOMSG): Likewise.
21370         [POSIX] (ENOPROTOOPT): Likewise.
21371         [POSIX] (ENOSR): Likewise.
21372         [POSIX] (ENOSTR): Likewise.
21373         [POSIX] (ENOTCONN): Likewise.
21374         [POSIX] (ENOTSOCK): Likewise.
21375         [POSIX] (EOPNOTSUPP): Likewise.
21376         [POSIX] (EOVERFLOW): Likewise.
21377         [POSIX] (EPROTO): Likewise.
21378         [POSIX] (EPROTONOSUPPORT): Likewise.
21379         [POSIX] (EPROTOTYPE): Likewise.
21380         [POSIX] (ESTALE): Likewise.
21381         [POSIX] (ETIME): Likewise.
21382         [POSIX] (ETXTBSY): Likewise.
21383         [POSIX] (EWOULDBLOCK): Likewise.
21384         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21385         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21386         [POSIX] (SEEK_CUR): Likewise.
21387         [POSIX] (SEEK_END): Likewise.
21388         [POSIX || UNIX98] (mode_t): Do not require.
21389         [POSIX] (off_t): Likewise.
21390         [POSIX] (pid_t): Likewise.
21391         [POSIX] (sys/stat.h): Do not allow header.
21392         [POSIX] (unistd.h): Likewise.
21393         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21394         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21395         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21396         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21397         require.
21398         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21399         sigevent): Specify elements.
21400         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21401         entry.
21402         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21403         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21405         * conform/data/cpio.h-data [POSIX]: Disable whole file.
21406         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21407         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21408         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21409         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21410         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21411         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21412         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21413         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21414         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21415         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21416         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21417         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21418         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21419         Likewise.
21420         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21421         Likewise.
21422         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21423         Likewise.
21424         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21425         Likewise.
21426         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21427         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21428         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21429         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21430         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21431         Specify lower bound on value.
21432         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21433         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21434         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21435         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21436         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21437         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21438         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21439         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21440         value.
21441         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21442         as optional.
21443         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21444         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21445         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21446         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21447         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21448         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21449         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21450         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21451         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21452         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21453         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21454         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21455         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21456         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21457         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21458         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21459         entry.
21460         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21461         optional.
21462         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21463         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21464         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21465         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21466         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21467         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21468         Likewise.
21469         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21470         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21471         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21472         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21473         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
21474         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21475         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21476         as optional.
21477         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21478         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21479         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21480         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21481         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21482         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21483         specify as optional.
21484         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21485         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21486         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21487         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21488         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21489         [XPG3] (NL_LANGMAX): Likewise.
21490         [POSIX || XPG3] (NL_MSGMAX): Likewise.
21491         [POSIX || XPG3] (NL_NMAX): Likewise.
21492         [POSIX || XPG3] (NL_SETMAX): Likewise.
21493         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21494         [XPG3] (NZERO): Likewise.
21495         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21496         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21497         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21498         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21499         (REG_ERANGE): Expect.
21500         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21501         optional-constant.
21502         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21503         Use (void) in prototype.
21504         [POSIX] (*_t): Allow.
21505         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21506         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21507         (WRDE_BADVAL): Expect.
21509         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21510         expect.
21511         [XPG3 || XPG4] (O_RSYNC): Likewise.
21512         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21513         Likewise.
21514         [XPG3 || XPG4] (pthread_sigmask): Likewise.
21515         [XPG3 || XPG4] (sigqueue): Likewise.
21516         [XPG3 || XPG4] (sigtimedwait): Likewise.
21517         [XPG3 || XPG4] (sigwaitinfo): Likewise.
21518         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21519         [XPG3 || XPG4] (vsnprintf): Likewise.
21520         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21521         Likewise.
21522         [XPG3 || XPG4] (blksize_t): Likewise.
21523         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21524         Likewise.
21525         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21526         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21527         [XPG3 || XPG4] (struct itimerspec): Likewise.
21528         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21529         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21530         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21531         [XPG3 || XPG4] (clockid_t): Likewise.
21532         [XPG3 || XPG4] (timer_t): Likewise.
21533         [XPG3 || XPG4] (clock_getres): Likewise.
21534         [XPG3 || XPG4] (clock_gettime): Likewise.
21535         [XPG3 || XPG4] (clock_settime): Likewise.
21536         [XPG3 || XPG4] (nanosleep): Likewise.
21537         [XPG3 || XPG4] (timer_create): Likewise.
21538         [XPG3 || XPG4] (timer_delete): Likewise.
21539         [XPG3 || XPG4] (timer_gettime): Likewise.
21540         [XPG3 || XPG4] (timer_getoverrun): Likewise.
21541         [XPG3 || XPG4] (timer_settime): Likewise.
21542         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21543         [XPG3 || XPG4] (getlogin_r): Likewise.
21544         [XPG3 || XPG4] (pread): Likewise.
21545         [XPG3 || XPG4] (pthread_atfork): Likewise.
21546         [XPG3 || XPG4] (pwrite): Likewise.
21548         [BZ #14835]
21549         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21550         <bits/siginfo.h>.
21552 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21554         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21555         finalizing MALLSTREAM.
21557         * sysdeps/mach/hurd/syncfs.c: New file.
21559 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561         [BZ #14719]
21562         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21563         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21564         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21565         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21566         (_nss_dns_gethostbyname4_r): Likewise.
21567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21568         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21570 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
21572         [BZ #13763]
21573         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21575 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
21577         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21578         * elf/cache.c (print_entry): Print ",AArch64" for
21579         FLAG_AARCH64_LIB64
21581         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21582         * elf/cache.c (print_entry): Print ",hard-float" for
21583         FLAG_ARM_LIBHF.
21585 2012-11-18  David S. Miller  <davem@davemloft.net>
21587         With help from Joseph Myers.
21588         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21589         cutoff to 2**-13.
21590         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21591         cutoff to 2**-25.
21592         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21593         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21594         small.
21595         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21596         * math/libm-test.inc (y0_test): New tests.
21597         (y1_test): New tests.
21598         * sysdeps/i386/fpu/libm-test-ulps: Update.
21599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21602 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
21604         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21605         64-bit targets.
21606         * configure: Regenerated.
21608 2012-11-17  David S. Miller  <davem@davemloft.net>
21610         [BZ #14811]
21611         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21612         nonzero exponents with absolute value below 0x1p-128 to +/-
21613         0x1p-128.
21615 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
21617         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21619         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21621         * posix/getconf-speclist.c: New file.
21622         * posix/posix-envs.def: Likewise.
21623         * posix/confstr.c (START_ENV_GROUP): New macro.
21624         (END_ENV_GROUP): Likewise.
21625         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21626         (KNOWN_PRESENT_ENV_STRING): Likewise.
21627         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21628         (UNKNOWN_ENVIRONMENT): Likewise.
21629         (confstr): Include posix-envs.def instead of handling
21630         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21631         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21632         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21633         (END_ENV_GROUP): Likewise.
21634         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21635         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21636         (UNKNOWN_ENVIRONMENT): Likewise.
21637         (__sysconf): Include posix-envs.def instead of handling associated
21638         cases directly here.
21639         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21640         preprocessing getconf-speclist.c rather than running getconf or
21641         generating empty file.
21643 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
21645         * scripts/check-local-headers.sh: Ignore 'mach' headers.
21647 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
21649         [BZ #14672]
21650         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21652 2012-11-16  David S. Miller  <davem@davemloft.net>
21654         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21655         smaller than LDBL_EPSILON/2.0L, just return xm1.
21657 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
21659         * elf/tst-array1.c (init): Set constructor priority to 1000.
21660         (fini): Set destructor priority to 1000.
21661         * elf/tst-array2dep.c: Likewise.
21663 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21665         [BZ #11741]
21666         * libio/fileops.c (_IO_new_file_write): Correctly return error.
21667         (_IO_new_file_xsputn): Also return EOF if none of the input
21668         data was written when overflow failed.
21669         * libio/iopadn.c (_IO_padn): Likewise.
21670         * libio/iowpadn.c (_IO_wpadn): Likewise.
21671         * stdio-common/tst-put-error.c: Add copyright notice.
21672         (do_test): Add case for printing padded string.
21673         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21674         _IO_padn returned error.
21675         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21676         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21677         return EOF.
21679 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21681         * libio/libioP.h: Add comment note that the references to C++
21682         bits are now obsolete.
21684 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21686         * math/libm-test.inc (check_complex): Use asprintf.
21688 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
21690         * debug/pcprofiledump.c (print_version): Update copyright year.
21691         * malloc/memusagestat.c (print_version): Likewise.
21693 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21695         [BZ #14831]
21696         * elf/Makefile (tests): Add tst-audit8.
21697         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21698         ($(objpfx)tst-audit8.out): New target.
21699         (tst-audit8-ENV): New variable.
21700         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21701         audit if l_reloc_result is NULL.
21702         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21703         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21704         * elf/tst-audit8.c: New file.
21706 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21708         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21709         * misc/Makefile (CFLAGS-select.c): Define.
21710         * posix/Makefile (CFLAGS-pause.c): Define.
21712 2012-11-13  David S. Miller  <davem@davemloft.net>
21714         * crypt/Makefile: Move test targets after toplevel Rules
21715         inclusion.  Grab any necessary sysdep routines when linking.
21716         * crypt/md5.c (md5_process_block): Remove define, we will always
21717         name it __md5_process_block.
21718         (md5_finish_ctx): Update md5_process_block call.
21719         (md5_stream): Likewise.
21720         (md5_process_bytes): Likewise.
21721         (md5_process_block): Rename to __md5_process_block and move to ...
21722         * crypt/md5-block.c: ... here.
21723         * crypt/sha256.c (sha256_process_block): Move to ...
21724         * crypt/sha256-block.c: ... here.
21725         * crypt/sha512.c (sha512_process_block): Move to ...
21726         * crypt/sha512-block.c: ... here.
21727         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21728         path.
21729         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21730         * sysdeps/sparc/sparc64/multiarch/Makefile
21731         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21732         crypt subdir.
21733         (localedef-aux): Add md5 crypto assembler when in locale subdir.
21734         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21735         multiarch changes.
21736         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21737         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21738         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21739         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21740         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21741         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21742         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21743         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21744         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21745         file.
21746         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21747         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21748         file.
21749         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21751 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
21753         * timezone/tzselect.ksh: Update from tzcode git revision
21754         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21755         * timezone/zdump.c: Likewise.
21756         * timezone/zic.c: Likewise.
21757         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21758         in TZVERSION setting, not $(PKGVERSION).
21759         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
21760         REPORT_BUGS_TO settings.
21762         [BZ #14838]
21763         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21764         macro.
21766 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21768         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21769         detection to immediately after _FP_ROUND().
21770         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21771         bits are 0.
21773 2012-11-11  David S. Miller  <davem@davemloft.net>
21775         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21776         inttypes.h
21777         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21778         __close rather than their public counterparts.
21780 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
21782         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21783         file.
21784         [UNIX98] (sem_timedwait): Do not expect.
21785         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21786         [XPG4 || UNIX98] (sockatmark): Do not expect.
21787         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21788         (clock_getcpuclockid): Do not expect.
21789         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21790         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21791         Do not expect.
21792         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21793         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21794         [UNIX98] (vwscanf): Likewise.
21795         [UNIX98] (vswscanf): Likewise.
21797 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
21799         * timezone/version.h: Remove file.
21800         * timezone/README: Do not refer to version.h.
21801         * timezone/Makefile ($(objpfx)zic.o): New dependency on
21802         $(objpfx)version.h.
21803         ($(objpfx)zdump.o): Likewise.
21804         ($(objpfx)version.h): New target.
21806         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21807         2012i.
21808         * timezone/README: Don't mention modification to tzselect.ksh.
21809         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21810         work on unmodified tzselect.ksh.  Substitute version numbers in
21811         tzselect.ksh.
21813         * Makefile (format-me): Remove.
21814         (INSTALL): Adjust indentation.  Use commands directly instead of
21815         using $(format-me).
21817         * aclocal.m4 (ACX_PKGVERSION): New macro.
21818         (ACX_BUGURL): Likewise.
21819         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21820         (PKGVERSION): New AC_DEFINE_UNQUOTED.
21821         (REPORT_BUGS_TO): Likewise.
21822         * configure: Regenerated.
21823         * config.h.in (PKGVERSION): New macro.
21824         (REPORT_BUGS_TO): Likewise.
21825         * config.make.in (PKGVERSION): New variable.
21826         (PKGVERSION_TEXI): Likewise.
21827         (REPORT_BUGS_TO): Likewise.
21828         (REPORT_BUGS_TEXI): Likewise.
21829         * Makefile (format-me): Use -I$(common-objpfx)manual.
21830         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21831         ($(common-objpfx)manual/%): New target.
21832         (manual/%): Remove target.
21833         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21834         (print_version): Use PKGVERSION.
21835         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21836         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21837         and REPORT_BUGS_TO.
21838         ($(objpfx)xtrace): Likewise.
21839         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21840         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21841         (print_version): Use PKGVERSION.
21842         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21843         (do_version): Use PKGVERSION.
21844         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21845         REPORT_BUGS_TO.
21846         (common-ldd-rewrite): Likewise.
21847         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21848         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21849         (print_version): Use PKGVERSION.
21850         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21851         * elf/pldd.c (argp_program_bug_address): Remove variable.
21852         (more_help): New function.
21853         (argp): Use more_help.
21854         (print_version): Use PKGVERSION.
21855         * elf/sln.c (main): Use PKGVERSION.
21856         (usage): Use REPORT_BUGS_TO.
21857         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21858         (top level): Use PKGVERSION.
21859         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21860         (print_version): Use PKGVERSION.
21861         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21862         (print_version): Use PKGVERSION.
21863         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21864         (print_version): Use PKGVERSION.
21865         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21866         (print_version): Use PKGVERSION.
21867         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21868         (print_version): Use PKGVERSION.
21869         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21870         (print_version): Use PKGVERSION.
21871         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21872         and BUGURL.
21873         ($(objpfx)memusage): Likewise.
21874         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21875         (do_version): Use PKGVERSION.
21876         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21877         (print_version): Use PKGVERSION.
21878         * malloc/mtrace.pl ($PACKAGE): Remove variable.
21879         ($PKGVERSION): New variable.
21880         ($REPORT_BUGS_TO): Likewise.
21881         (usage): Use $REPORT_BUGS_TO.
21882         (top level): Use $PKGVERSION.
21883         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21884         ($(objpfx)pkgvers.texi): New rule.
21885         ($(objpfx)stamp-pkgvers): Likewise.
21886         * manual/install.texi: Include pkgvers.texi.
21887         (--with-pkgversion): Document new configure option.
21888         (--with-bugurl): Likewise.
21889         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21890         than necessarily for this particular distribution.  Use
21891         REPORT_BUGS_TO for where to report bugs.
21892         * INSTALL: Regenerated.
21893         * manual/libc.texinfo: Include pkgvers.texi.
21894         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21895         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21896         (print_version): Use PKGVERSION.
21897         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21898         (print_version): Use PKGVERSION.
21899         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21900         (print_version): Use PKGVERSION.
21901         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21902         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21903         macro.
21904         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21905         (print_version): Use PKGVERSION.
21906         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21907         (print_version): Use PKGVERSION.
21908         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21909         and PKGVERSION.
21911         * timezone/checktab.awk: Update from tzcode 2012i.
21912         * timezone/ialloc.c: Likewise.
21913         * timezone/private.h: Likewise.
21914         * timezone/scheck.c: Likewise.
21915         * timezone/tzfile.h: Likewise.
21916         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21917         (TZVERSION): Hardcode tzcode version number.
21918         * timezone/zdump.c: Update from tzcode 2012i.
21919         * timezone/zic.c: Likewise.
21920         * timezone/version.h: New file.
21921         * timezone/README: Describe version.h.  Update upstream location.
21923         [BZ #14824]
21924         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21925         (mktemp): Enable declaration.
21926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21927         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21930         Likewise.
21931         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21932         Likewise.
21933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21934         Likewise.
21935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21936         Likewise.
21937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21938         Likewise.
21939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21940         Likewise.
21942         [BZ #14821]
21943         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21944         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21945         for copies of such integer values.
21946         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21947         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21949 2012-11-09  Andreas Jaeger  <aj@suse.de>
21951         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21952         definitions and declarations that are provided by
21953         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21955 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21957         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21958         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21959         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21960         definition.
21962 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21964         * elf/elf.h: Update comment before AArch64 relocations.
21966 2012-11-07  David S. Miller  <davem@davemloft.net>
21968         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21969         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21970         (__start_context): Declare.
21971         (__makecontext_ret): Delete.
21972         (__makecontext): Hook up __start_context instead of
21973         __makecontext_ret.
21974         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21975         (sysdep_routines): Add __start_context when in stdlib.
21977 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21979         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21980         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21981         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21982         hardcoded "nm".
21983         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21984         (READELF): New variable.  Use it instead of hardcoded "readelf".
21986 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21988         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21989         * sysdeps/x86/Makefile: Here.
21990         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21991         * sysdeps/x86/tst-xmmymm.sh: This.
21993 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21995         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21996         expectations.
21997         [UNIX98] (pthread_barrier_t): Do not expect.
21998         [UNIX98] (pthread_barrierattr_t): Likewise.
21999         [UNIX98] (pthread_spinlock_t): Likewise.
22000         [UNIX98] (pthread_barrier_destroy): Likewise.
22001         [UNIX98] (pthread_barrier_init): Likewise.
22002         [UNIX98] (pthread_barrier_wait): Likewise.
22003         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22004         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22005         [UNIX98] (pthread_barrierattr_init): Likewise.
22006         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22007         [UNIX98] (pthread_getcpuclockid): Likewise.
22008         [UNIX98] (pthread_mutex_timedlock): Likewise.
22009         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22010         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22011         [UNIX98] (pthread_sigmask): Likewise.
22012         [UNIX98] (pthread_spin_destroy): Likewise.
22013         [UNIX98] (pthread_spin_init): Likewise.
22014         [UNIX98] (pthread_spin_lock): Likewise.
22015         [UNIX98] (pthread_spin_trylock): Likewise.
22016         [UNIX98] (pthread_spin_unlock): Likewise.
22017         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22018         Do not expect.
22019         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22020         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22021         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22022         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22023         [XPG3 || XPG4] (pthread_key_t): Likewise.
22024         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22025         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22026         [XPG3 || XPG4] (pthread_once_t): Likewise.
22027         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22028         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22029         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22030         [XPG3 || XPG4] (pthread_t): Likewise.
22032         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22033         not expect.
22034         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22036         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22037         Change function return type to int.
22039         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22040         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22041         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22042         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22043         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22044         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22045         [!POSIX] (posix_madvise): Likewise.
22046         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22047         && !UNIX98].
22048         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22049         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22050         (mode_t): Likewise.
22051         (posix_mem_offset): Likewise.
22052         (posix_typed_mem_get_info): Likewise.
22053         (posix_typed_mem_open): Likewise.
22055         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22056         Change condition to [XOPEN2K8].
22058         * conform/conformtest.pl: Preprocess allow-header data with -x c
22059         instead of from stdin.
22060         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22061         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22062         [C99-based standards] (cerfc): Likewise.
22063         [C99-based standards] (cexp2): Likewise.
22064         [C99-based standards] (cexpm1): Likewise.
22065         [C99-based standards] (clog10): Likewise.
22066         [C99-based standards] (clog1p): Likewise.
22067         [C99-based standards] (clog2): Likewise.
22068         [C99-based standards] (clgamma): Likewise.
22069         [C99-based standards] (ctgamma): Likewise.
22070         [C99-based standards] (cerff): Likewise.
22071         [C99-based standards] (cerfcf): Likewise.
22072         [C99-based standards] (cexp2f): Likewise.
22073         [C99-based standards] (cexpm1f): Likewise.
22074         [C99-based standards] (clog10f): Likewise.
22075         [C99-based standards] (clog1pf): Likewise.
22076         [C99-based standards] (clog2f): Likewise.
22077         [C99-based standards] (clgammaf): Likewise.
22078         [C99-based standards] (ctgammaf): Likewise.
22079         [C99-based standards] (cerfl): Likewise.
22080         [C99-based standards] (cerfcl): Likewise.
22081         [C99-based standards] (cexp2l): Likewise.
22082         [C99-based standards] (cexpm1l): Likewise.
22083         [C99-based standards] (clog10l): Likewise.
22084         [C99-based standards] (clog1pl): Likewise.
22085         [C99-based standards] (clog2l): Likewise.
22086         [C99-based standards] (clgammal): Likewise.
22087         [C99-based standards] (ctgammal): Likewise.
22088         * conform/data/inttypes.h-data [C99-based standards]: Include
22089         stdint.h-data.  Remove all expectations for stdint.h contents.
22090         [C99-based standards] (PRI*): Do not allow.
22091         [C99-based standards] (SCN*): Likewise.
22092         [C99-based standards] (*_t): Likewise.
22093         [C99-based-standards] (PRId8): Expect macro.
22094         [C99-based-standards] (PRIi8): Likewise.
22095         [C99-based-standards] (PRIo8): Likewise.
22096         [C99-based-standards] (PRIu8): Likewise.
22097         [C99-based-standards] (PRIx8): Likewise.
22098         [C99-based-standards] (PRIX8): Likewise.
22099         [C99-based-standards] (SCNd8): Likewise.
22100         [C99-based-standards] (SCNi8): Likewise.
22101         [C99-based-standards] (SCNo8): Likewise.
22102         [C99-based-standards] (SCNu8): Likewise.
22103         [C99-based-standards] (SCNx8): Likewise.
22104         [C99-based-standards] (PRIdLEAST8): Likewise.
22105         [C99-based-standards] (PRIiLEAST8): Likewise.
22106         [C99-based-standards] (PRIoLEAST8): Likewise.
22107         [C99-based-standards] (PRIuLEAST8): Likewise.
22108         [C99-based-standards] (PRIxLEAST8): Likewise.
22109         [C99-based-standards] (PRIXLEAST8): Likewise.
22110         [C99-based-standards] (SCNdLEAST8): Likewise.
22111         [C99-based-standards] (SCNiLEAST8): Likewise.
22112         [C99-based-standards] (SCNoLEAST8): Likewise.
22113         [C99-based-standards] (SCNuLEAST8): Likewise.
22114         [C99-based-standards] (SCNxLEAST8): Likewise.
22115         [C99-based-standards] (PRIdFAST8): Likewise.
22116         [C99-based-standards] (PRIiFAST8): Likewise.
22117         [C99-based-standards] (PRIoFAST8): Likewise.
22118         [C99-based-standards] (PRIuFAST8): Likewise.
22119         [C99-based-standards] (PRIxFAST8): Likewise.
22120         [C99-based-standards] (PRIXFAST8): Likewise.
22121         [C99-based-standards] (SCNdFAST8): Likewise.
22122         [C99-based-standards] (SCNiFAST8): Likewise.
22123         [C99-based-standards] (SCNoFAST8): Likewise.
22124         [C99-based-standards] (SCNuFAST8): Likewise.
22125         [C99-based-standards] (SCNxFAST8): Likewise.
22126         [C99-based-standards] (PRId16): Likewise.
22127         [C99-based-standards] (PRIi16): Likewise.
22128         [C99-based-standards] (PRIo16): Likewise.
22129         [C99-based-standards] (PRIu16): Likewise.
22130         [C99-based-standards] (PRIx16): Likewise.
22131         [C99-based-standards] (PRIX16): Likewise.
22132         [C99-based-standards] (SCNd16): Likewise.
22133         [C99-based-standards] (SCNi16): Likewise.
22134         [C99-based-standards] (SCNo16): Likewise.
22135         [C99-based-standards] (SCNu16): Likewise.
22136         [C99-based-standards] (SCNx16): Likewise.
22137         [C99-based-standards] (PRIdLEAST16): Likewise.
22138         [C99-based-standards] (PRIiLEAST16): Likewise.
22139         [C99-based-standards] (PRIoLEAST16): Likewise.
22140         [C99-based-standards] (PRIuLEAST16): Likewise.
22141         [C99-based-standards] (PRIxLEAST16): Likewise.
22142         [C99-based-standards] (PRIXLEAST16): Likewise.
22143         [C99-based-standards] (SCNdLEAST16): Likewise.
22144         [C99-based-standards] (SCNiLEAST16): Likewise.
22145         [C99-based-standards] (SCNoLEAST16): Likewise.
22146         [C99-based-standards] (SCNuLEAST16): Likewise.
22147         [C99-based-standards] (SCNxLEAST16): Likewise.
22148         [C99-based-standards] (PRIdFAST16): Likewise.
22149         [C99-based-standards] (PRIiFAST16): Likewise.
22150         [C99-based-standards] (PRIoFAST16): Likewise.
22151         [C99-based-standards] (PRIuFAST16): Likewise.
22152         [C99-based-standards] (PRIxFAST16): Likewise.
22153         [C99-based-standards] (PRIXFAST16): Likewise.
22154         [C99-based-standards] (SCNdFAST16): Likewise.
22155         [C99-based-standards] (SCNiFAST16): Likewise.
22156         [C99-based-standards] (SCNoFAST16): Likewise.
22157         [C99-based-standards] (SCNuFAST16): Likewise.
22158         [C99-based-standards] (SCNxFAST16): Likewise.
22159         [C99-based-standards] (PRId32): Likewise.
22160         [C99-based-standards] (PRIi32): Likewise.
22161         [C99-based-standards] (PRIo32): Likewise.
22162         [C99-based-standards] (PRIu32): Likewise.
22163         [C99-based-standards] (PRIx32): Likewise.
22164         [C99-based-standards] (PRIX32): Likewise.
22165         [C99-based-standards] (SCNd32): Likewise.
22166         [C99-based-standards] (SCNi32): Likewise.
22167         [C99-based-standards] (SCNo32): Likewise.
22168         [C99-based-standards] (SCNu32): Likewise.
22169         [C99-based-standards] (SCNx32): Likewise.
22170         [C99-based-standards] (PRIdLEAST32): Likewise.
22171         [C99-based-standards] (PRIiLEAST32): Likewise.
22172         [C99-based-standards] (PRIoLEAST32): Likewise.
22173         [C99-based-standards] (PRIuLEAST32): Likewise.
22174         [C99-based-standards] (PRIxLEAST32): Likewise.
22175         [C99-based-standards] (PRIXLEAST32): Likewise.
22176         [C99-based-standards] (SCNdLEAST32): Likewise.
22177         [C99-based-standards] (SCNiLEAST32): Likewise.
22178         [C99-based-standards] (SCNoLEAST32): Likewise.
22179         [C99-based-standards] (SCNuLEAST32): Likewise.
22180         [C99-based-standards] (SCNxLEAST32): Likewise.
22181         [C99-based-standards] (PRIdFAST32): Likewise.
22182         [C99-based-standards] (PRIiFAST32): Likewise.
22183         [C99-based-standards] (PRIoFAST32): Likewise.
22184         [C99-based-standards] (PRIuFAST32): Likewise.
22185         [C99-based-standards] (PRIxFAST32): Likewise.
22186         [C99-based-standards] (PRIXFAST32): Likewise.
22187         [C99-based-standards] (SCNdFAST32): Likewise.
22188         [C99-based-standards] (SCNiFAST32): Likewise.
22189         [C99-based-standards] (SCNoFAST32): Likewise.
22190         [C99-based-standards] (SCNuFAST32): Likewise.
22191         [C99-based-standards] (SCNxFAST32): Likewise.
22192         [C99-based-standards] (PRId64): Likewise.
22193         [C99-based-standards] (PRIi64): Likewise.
22194         [C99-based-standards] (PRIo64): Likewise.
22195         [C99-based-standards] (PRIu64): Likewise.
22196         [C99-based-standards] (PRIx64): Likewise.
22197         [C99-based-standards] (PRIX64): Likewise.
22198         [C99-based-standards] (SCNd64): Likewise.
22199         [C99-based-standards] (SCNi64): Likewise.
22200         [C99-based-standards] (SCNo64): Likewise.
22201         [C99-based-standards] (SCNu64): Likewise.
22202         [C99-based-standards] (SCNx64): Likewise.
22203         [C99-based-standards] (PRIdLEAST64): Likewise.
22204         [C99-based-standards] (PRIiLEAST64): Likewise.
22205         [C99-based-standards] (PRIoLEAST64): Likewise.
22206         [C99-based-standards] (PRIuLEAST64): Likewise.
22207         [C99-based-standards] (PRIxLEAST64): Likewise.
22208         [C99-based-standards] (PRIXLEAST64): Likewise.
22209         [C99-based-standards] (SCNdLEAST64): Likewise.
22210         [C99-based-standards] (SCNiLEAST64): Likewise.
22211         [C99-based-standards] (SCNoLEAST64): Likewise.
22212         [C99-based-standards] (SCNuLEAST64): Likewise.
22213         [C99-based-standards] (SCNxLEAST64): Likewise.
22214         [C99-based-standards] (PRIdFAST64): Likewise.
22215         [C99-based-standards] (PRIiFAST64): Likewise.
22216         [C99-based-standards] (PRIoFAST64): Likewise.
22217         [C99-based-standards] (PRIuFAST64): Likewise.
22218         [C99-based-standards] (PRIxFAST64): Likewise.
22219         [C99-based-standards] (PRIXFAST64): Likewise.
22220         [C99-based-standards] (SCNdFAST64): Likewise.
22221         [C99-based-standards] (SCNiFAST64): Likewise.
22222         [C99-based-standards] (SCNoFAST64): Likewise.
22223         [C99-based-standards] (SCNuFAST64): Likewise.
22224         [C99-based-standards] (SCNxFAST64): Likewise.
22225         [C99-based-standards] (PRIdMAX): Likewise.
22226         [C99-based-standards] (PRIiMAX): Likewise.
22227         [C99-based-standards] (PRIoMAX): Likewise.
22228         [C99-based-standards] (PRIuMAX): Likewise.
22229         [C99-based-standards] (PRIxMAX): Likewise.
22230         [C99-based-standards] (PRIXMAX): Likewise.
22231         [C99-based-standards] (SCNdMAX): Likewise.
22232         [C99-based-standards] (SCNiMAX): Likewise.
22233         [C99-based-standards] (SCNoMAX): Likewise.
22234         [C99-based-standards] (SCNuMAX): Likewise.
22235         [C99-based-standards] (SCNxMAX): Likewise.
22236         [C99-based-standards] (PRIdPTR): Likewise.
22237         [C99-based-standards] (PRIiPTR): Likewise.
22238         [C99-based-standards] (PRIoPTR): Likewise.
22239         [C99-based-standards] (PRIuPTR): Likewise.
22240         [C99-based-standards] (PRIxPTR): Likewise.
22241         [C99-based-standards] (PRIXPTR): Likewise.
22242         [C99-based-standards] (SCNdPTR): Likewise.
22243         [C99-based-standards] (SCNiPTR): Likewise.
22244         [C99-based-standards] (SCNoPTR): Likewise.
22245         [C99-based-standards] (SCNuPTR): Likewise.
22246         [C99-based-standards] (SCNxPTR): Likewise.
22247         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22248         allow.
22249         * conform/data/stdint.h-data: Update comments to clarify
22250         requirements.
22251         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
22252         type.
22253         [C99-based standards] (INT8_MAX): Likewise.
22254         [C99-based standards] (INT16_MIN): Likewise.
22255         [C99-based standards] (INT16_MAX): Likewise.
22256         [C99-based standards] (INT32_MIN): Likewise.
22257         [C99-based standards] (INT32_MAX): Likewise.
22258         [C99-based standards] (INT64_MIN): Likewise.
22259         [C99-based standards] (INT64_MAX): Likewise.
22260         [C99-based standards] (UINT8_MAX): Likewise.
22261         [C99-based standards] (UINT16_MAX): Likewise.
22262         [C99-based standards] (UINT32_MAX): Likewise.
22263         [C99-based standards] (UINT64_MAX): Likewise.
22264         [C99-based standards] (INT_LEAST8_MIN): Likewise.
22265         [C99-based standards] (INT_LEAST8_MAX): Likewise.
22266         [C99-based standards] (INT_LEAST16_MIN): Likewise.
22267         [C99-based standards] (INT_LEAST16_MAX): Likewise.
22268         [C99-based standards] (INT_LEAST32_MIN): Likewise.
22269         [C99-based standards] (INT_LEAST32_MAX): Likewise.
22270         [C99-based standards] (INT_LEAST64_MIN): Likewise.
22271         [C99-based standards] (INT_LEAST64_MAX): Likewise.
22272         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22273         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22274         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22275         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22276         [C99-based standards] (INT_FAST8_MIN): Likewise.
22277         [C99-based standards] (INT_FAST8_MAX): Likewise.
22278         [C99-based standards] (INT_FAST16_MIN): Likewise.
22279         [C99-based standards] (INT_FAST16_MAX): Likewise.
22280         [C99-based standards] (INT_FAST32_MIN): Likewise.
22281         [C99-based standards] (INT_FAST32_MAX): Likewise.
22282         [C99-based standards] (INT_FAST64_MIN): Likewise.
22283         [C99-based standards] (INT_FAST64_MAX): Likewise.
22284         [C99-based standards] (UINT_FAST8_MAX): Likewise.
22285         [C99-based standards] (UINT_FAST16_MAX): Likewise.
22286         [C99-based standards] (UINT_FAST32_MAX): Likewise.
22287         [C99-based standards] (UINT_FAST64_MAX): Likewise.
22288         [C99-based standards] (INTPTR_MIN): Likewise.
22289         [C99-based standards] (INTPTR_MAX): Likewise.
22290         [C99-based standards] (UINTPTR_MAX): Likewise.
22291         [C99-based standards] (INTMAX_MIN): Likewise.
22292         [C99-based standards] (INTMAX_MAX): Likewise.
22293         [C99-based standards] (UINTMAX_MAX): Likewise.
22294         [C99-based standards] (PTRDIFF_MIN): Likewise.
22295         [C99-based standards] (PTRDIFF_MAX): Likewise.
22296         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22297         [C99-based standards] (SIZE_MAX): Likewise.
22298         [C99-based standards] (WCHAR_MAX): Likewise.
22299         [C99-based standards] (WINT_MAX): Likewise.
22300         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
22301         constraint on value.
22302         [C99-based standards] (WCHAR_MIN): Likewise.
22303         [C99-based standards] (WINT_MIN): Likewise.
22304         [C99-based standards] (*_t): Allow.
22305         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22306         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22307         Include math.h-data and complex.h-data.  Remove all expectations
22308         of math.h and complex.h contents.
22309         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22310         at end of line.
22311         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22312         (struct tm): Expect tag.
22313         [C99-based-standards] (wcstof): Expect function.
22314         [C99-based-standards] (wcstold): Likewise.
22315         [C99-based-standards] (wcstoll): Likewise.
22316         [C99-based-standards] (wcstoull): Likewise.
22317         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22318         macro-int-constant.  Specify type.
22319         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
22320         constraint on value.
22321         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22322         Specify type.
22323         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22324         Specify value.
22325         [ISO C standards]: Do not allow headers.
22326         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22327         wcs[abcdefghijklmnopqrstuvwxyz]*.
22328         [ISO C standards] (*_t): Do not allow.
22329         * conform/data/wctype.h-data [C99-based standards] (iswblank):
22330         Expect function.
22331         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22332         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22333         Specify type.
22334         [ISO C standards]: Do not allow headers.
22335         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22336         is[abcdefghijklmnopqrstuvwxyz]*.
22337         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22338         to[abcdefghijklmnopqrstuvwxyz]*.
22339         [ISO C standards] (*_t): Do not allow.
22340         * conform/data/stdalign.h-data: New file.
22341         * conform/data/stdbool.h-data: Likewise.
22342         * conform/data/stdnoreturn.h-data: Likewise.
22344 2012-11-07  Roland McGrath  <roland@hack.frob.com>
22346         [BZ #14815]
22347         * manual/filesys.texi (Directory Entries): Typo fix.
22348         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22350 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22352         * elf/elf.h (EM_AARCH64): New macro.
22353         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22354         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22355         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22356         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22357         (R_AARCH64_TLSDESC): Likewise.
22358         (NT_ARM_TLS): Likewise.
22359         (NT_ARM_HW_BREAK): Likewise.
22360         (NT_ARM_HW_WATCH): Likewise.
22362 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22364         [BZ #14811]
22365         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22366         (__ieee754_powl): Saturate nonzero exponents with absolute value
22367         below 0x1p-79 to +/- 0x1p-79.
22368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22369         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22370         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22371         nonzero exponents with absolute value below 0x1p-32 to +/-
22372         0x1p-32.
22373         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22374         (__ieee754_powl): Saturate nonzero exponents with absolute value
22375         below 0x1p-79 to +/- 0x1p-79.
22376         * math/libm-test.inc (pow_test): Add more tests.
22378 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22380         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22381         _dl_s390_cap_flags with kernel. Increase string length.
22382         (_dl_s390_platforms): Add z196 and zEC12.
22384 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22386         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22387         Change XOPEN21K to XOPEN2K.
22389 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
22391         * string/memmove.c: Use memcpy when possible.
22393 2012-11-06  Andreas Jaeger  <aj@suse.de>
22395         * po/eo.po: Update from translation team.
22397 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
22399         [BZ #14793]
22400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22401         exponent and small x and y exponents, scale x or y up.  Increase
22402         by 2 the exponent used in scaling up.
22403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22405         * math/libm-test.inc (fma_test): Add more tests.
22406         (fma_test_towardzero): Likewise.
22407         (fma_test_downward): Likewise.
22408         (fma_test_upward): Likewise.
22410 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
22412         [BZ #14805]
22413         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22414         fenv_t *.
22416         [BZ #14801]
22417         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22418         namespace for names of struct fields.
22419         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22420         fenv_t fields.
22421         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22422         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22424 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22426         [BZ #3665]
22427         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22429 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22431         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22432         PTR_DEMANGLE.
22434         [BZ #5246]
22435         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22436         PTR_DEMANGLE.
22438 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
22440         [BZ #14797]
22441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22442         definitely overflow as x * y not x * y + z.
22443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22445         * math/libm-test.inc (fma_test): Add more tests.
22446         (fma_test_towardzero): Likewise.
22447         (fma_test_downward): Likewise.
22448         (fma_test_upward): Likewise.
22450 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22452         [BZ #157]
22454         * include/stub-tag.h: Remove file.
22455         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22456         '#include' of it.
22457         * manual/maint.texi (Porting): Don't reference it.
22458         * Makerules ($(objpfx)stubs): Likewise.
22459         * dirent/closedir.c: Don't include <stub-tag.h>.
22460         * dirent/dirfd.c: Likewise.
22461         * dirent/fdopendir.c: Likewise.
22462         * dirent/getdents.c: Likewise.
22463         * dirent/getdents64.c: Likewise.
22464         * dirent/opendir.c: Likewise.
22465         * dirent/readdir.c: Likewise.
22466         * dirent/readdir64.c: Likewise.
22467         * dirent/readdir64_r.c: Likewise.
22468         * dirent/readdir_r.c: Likewise.
22469         * dirent/rewinddir.c: Likewise.
22470         * dirent/seekdir.c: Likewise.
22471         * dirent/telldir.c: Likewise.
22472         * gmon/profil.c: Likewise.
22473         * grp/setgroups.c: Likewise.
22474         * inet/if_index.c: Likewise.
22475         * io/access.c: Likewise.
22476         * io/chdir.c: Likewise.
22477         * io/chmod.c: Likewise.
22478         * io/chown.c: Likewise.
22479         * io/close.c: Likewise.
22480         * io/dup.c: Likewise.
22481         * io/dup2.c: Likewise.
22482         * io/dup3.c: Likewise.
22483         * io/euidaccess.c: Likewise.
22484         * io/faccessat.c: Likewise.
22485         * io/fchdir.c: Likewise.
22486         * io/fchmod.c: Likewise.
22487         * io/fchmodat.c: Likewise.
22488         * io/fchown.c: Likewise.
22489         * io/fchownat.c: Likewise.
22490         * io/fcntl.c: Likewise.
22491         * io/flock.c: Likewise.
22492         * io/fstatfs.c: Likewise.
22493         * io/fstatfs64.c: Likewise.
22494         * io/fstatvfs.c: Likewise.
22495         * io/fstatvfs64.c: Likewise.
22496         * io/futimens.c: Likewise.
22497         * io/fxstat.c: Likewise.
22498         * io/fxstat64.c: Likewise.
22499         * io/fxstatat.c: Likewise.
22500         * io/fxstatat64.c: Likewise.
22501         * io/getcwd.c: Likewise.
22502         * io/isatty.c: Likewise.
22503         * io/lchmod.c: Likewise.
22504         * io/lchown.c: Likewise.
22505         * io/link.c: Likewise.
22506         * io/linkat.c: Likewise.
22507         * io/lseek.c: Likewise.
22508         * io/lseek64.c: Likewise.
22509         * io/lxstat64.c: Likewise.
22510         * io/mkdir.c: Likewise.
22511         * io/mkdirat.c: Likewise.
22512         * io/mkfifo.c: Likewise.
22513         * io/mkfifoat.c: Likewise.
22514         * io/open.c: Likewise.
22515         * io/open64.c: Likewise.
22516         * io/openat.c: Likewise.
22517         * io/openat64.c: Likewise.
22518         * io/pipe.c: Likewise.
22519         * io/pipe2.c: Likewise.
22520         * io/poll.c: Likewise.
22521         * io/posix_fadvise.c: Likewise.
22522         * io/posix_fadvise64.c: Likewise.
22523         * io/posix_fallocate.c: Likewise.
22524         * io/posix_fallocate64.c: Likewise.
22525         * io/read.c: Likewise.
22526         * io/readlink.c: Likewise.
22527         * io/readlinkat.c: Likewise.
22528         * io/rmdir.c: Likewise.
22529         * io/sendfile.c: Likewise.
22530         * io/sendfile64.c: Likewise.
22531         * io/statfs.c: Likewise.
22532         * io/statfs64.c: Likewise.
22533         * io/statvfs.c: Likewise.
22534         * io/statvfs64.c: Likewise.
22535         * io/symlink.c: Likewise.
22536         * io/symlinkat.c: Likewise.
22537         * io/ttyname.c: Likewise.
22538         * io/ttyname_r.c: Likewise.
22539         * io/umask.c: Likewise.
22540         * io/unlink.c: Likewise.
22541         * io/unlinkat.c: Likewise.
22542         * io/utime.c: Likewise.
22543         * io/utimensat.c: Likewise.
22544         * io/write.c: Likewise.
22545         * io/xmknod.c: Likewise.
22546         * io/xmknodat.c: Likewise.
22547         * io/xstat.c: Likewise.
22548         * io/xstat64.c: Likewise.
22549         * login/getpt.c: Likewise.
22550         * login/grantpt.c: Likewise.
22551         * login/unlockpt.c: Likewise.
22552         * math/e_acoshl.c: Likewise.
22553         * math/e_acosl.c: Likewise.
22554         * math/e_asinl.c: Likewise.
22555         * math/e_atan2l.c: Likewise.
22556         * math/e_atanhl.c: Likewise.
22557         * math/e_coshl.c: Likewise.
22558         * math/e_expl.c: Likewise.
22559         * math/e_fmodl.c: Likewise.
22560         * math/e_gammal_r.c: Likewise.
22561         * math/e_hypotl.c: Likewise.
22562         * math/e_j0l.c: Likewise.
22563         * math/e_j1l.c: Likewise.
22564         * math/e_jnl.c: Likewise.
22565         * math/e_lgammal_r.c: Likewise.
22566         * math/e_log10l.c: Likewise.
22567         * math/e_log2l.c: Likewise.
22568         * math/e_logl.c: Likewise.
22569         * math/e_powl.c: Likewise.
22570         * math/e_rem_pio2l.c: Likewise.
22571         * math/e_sinhl.c: Likewise.
22572         * math/e_sqrtl.c: Likewise.
22573         * math/fclrexcpt.c: Likewise.
22574         * math/fedisblxcpt.c: Likewise.
22575         * math/feenablxcpt.c: Likewise.
22576         * math/fegetenv.c: Likewise.
22577         * math/fegetexcept.c: Likewise.
22578         * math/fegetround.c: Likewise.
22579         * math/feholdexcpt.c: Likewise.
22580         * math/fesetenv.c: Likewise.
22581         * math/fesetround.c: Likewise.
22582         * math/feupdateenv.c: Likewise.
22583         * math/fgetexcptflg.c: Likewise.
22584         * math/fraiseexcpt.c: Likewise.
22585         * math/fsetexcptflg.c: Likewise.
22586         * math/ftestexcept.c: Likewise.
22587         * math/k_cosl.c: Likewise.
22588         * math/k_rem_pio2l.c: Likewise.
22589         * math/k_sinl.c: Likewise.
22590         * math/k_tanl.c: Likewise.
22591         * math/s_asinhl.c: Likewise.
22592         * math/s_atanl.c: Likewise.
22593         * math/s_cbrtl.c: Likewise.
22594         * math/s_erfl.c: Likewise.
22595         * math/s_expm1l.c: Likewise.
22596         * math/s_log1pl.c: Likewise.
22597         * math/s_tanhl.c: Likewise.
22598         * misc/acct.c: Likewise.
22599         * misc/brk.c: Likewise.
22600         * misc/chflags.c: Likewise.
22601         * misc/chroot.c: Likewise.
22602         * misc/fchflags.c: Likewise.
22603         * misc/fgetxattr.c: Likewise.
22604         * misc/flistxattr.c: Likewise.
22605         * misc/fremovexattr.c: Likewise.
22606         * misc/fsetxattr.c: Likewise.
22607         * misc/fsync.c: Likewise.
22608         * misc/ftruncate.c: Likewise.
22609         * misc/futimes.c: Likewise.
22610         * misc/futimesat.c: Likewise.
22611         * misc/getdomain.c: Likewise.
22612         * misc/getdtsz.c: Likewise.
22613         * misc/gethostid.c: Likewise.
22614         * misc/gethostname.c: Likewise.
22615         * misc/getloadavg.c: Likewise.
22616         * misc/getpagesize.c: Likewise.
22617         * misc/getsysstats.c: Likewise.
22618         * misc/getxattr.c: Likewise.
22619         * misc/gtty.c: Likewise.
22620         * misc/ioctl.c: Likewise.
22621         * misc/lgetxattr.c: Likewise.
22622         * misc/listxattr.c: Likewise.
22623         * misc/llistxattr.c: Likewise.
22624         * misc/lremovexattr.c: Likewise.
22625         * misc/lsetxattr.c: Likewise.
22626         * misc/lutimes.c: Likewise.
22627         * misc/madvise.c: Likewise.
22628         * misc/mincore.c: Likewise.
22629         * misc/mlock.c: Likewise.
22630         * misc/mlockall.c: Likewise.
22631         * misc/mmap.c: Likewise.
22632         * misc/mprotect.c: Likewise.
22633         * misc/msync.c: Likewise.
22634         * misc/munlock.c: Likewise.
22635         * misc/munlockall.c: Likewise.
22636         * misc/munmap.c: Likewise.
22637         * misc/preadv.c: Likewise.
22638         * misc/preadv64.c: Likewise.
22639         * misc/ptrace.c: Likewise.
22640         * misc/pwritev.c: Likewise.
22641         * misc/pwritev64.c: Likewise.
22642         * misc/readv.c: Likewise.
22643         * misc/reboot.c: Likewise.
22644         * misc/remap_file_pages.c: Likewise.
22645         * misc/removexattr.c: Likewise.
22646         * misc/revoke.c: Likewise.
22647         * misc/select.c: Likewise.
22648         * misc/setdomain.c: Likewise.
22649         * misc/setegid.c: Likewise.
22650         * misc/seteuid.c: Likewise.
22651         * misc/sethostid.c: Likewise.
22652         * misc/sethostname.c: Likewise.
22653         * misc/setregid.c: Likewise.
22654         * misc/setreuid.c: Likewise.
22655         * misc/setxattr.c: Likewise.
22656         * misc/sstk.c: Likewise.
22657         * misc/stty.c: Likewise.
22658         * misc/swapoff.c: Likewise.
22659         * misc/swapon.c: Likewise.
22660         * misc/sync.c: Likewise.
22661         * misc/syncfs.c: Likewise.
22662         * misc/syscall.c: Likewise.
22663         * misc/truncate.c: Likewise.
22664         * misc/ualarm.c: Likewise.
22665         * misc/usleep.c: Likewise.
22666         * misc/ustat.c: Likewise.
22667         * misc/utimes.c: Likewise.
22668         * misc/vhangup.c: Likewise.
22669         * misc/writev.c: Likewise.
22670         * posix/_exit.c: Likewise.
22671         * posix/alarm.c: Likewise.
22672         * posix/execve.c: Likewise.
22673         * posix/fexecve.c: Likewise.
22674         * posix/fork.c: Likewise.
22675         * posix/fpathconf.c: Likewise.
22676         * posix/getaddrinfo.c: Likewise.
22677         * posix/getegid.c: Likewise.
22678         * posix/geteuid.c: Likewise.
22679         * posix/getgid.c: Likewise.
22680         * posix/getgroups.c: Likewise.
22681         * posix/getlogin.c: Likewise.
22682         * posix/getlogin_r.c: Likewise.
22683         * posix/getpgid.c: Likewise.
22684         * posix/getpid.c: Likewise.
22685         * posix/getppid.c: Likewise.
22686         * posix/getresgid.c: Likewise.
22687         * posix/getresuid.c: Likewise.
22688         * posix/getsid.c: Likewise.
22689         * posix/getuid.c: Likewise.
22690         * posix/glob64.c: Likewise.
22691         * posix/nanosleep.c: Likewise.
22692         * posix/pathconf.c: Likewise.
22693         * posix/pause.c: Likewise.
22694         * posix/posix_madvise.c: Likewise.
22695         * posix/pread.c: Likewise.
22696         * posix/pread64.c: Likewise.
22697         * posix/pwrite.c: Likewise.
22698         * posix/pwrite64.c: Likewise.
22699         * posix/sched_getaffinity.c: Likewise.
22700         * posix/sched_getp.c: Likewise.
22701         * posix/sched_gets.c: Likewise.
22702         * posix/sched_primax.c: Likewise.
22703         * posix/sched_primin.c: Likewise.
22704         * posix/sched_rr_gi.c: Likewise.
22705         * posix/sched_setaffinity.c: Likewise.
22706         * posix/sched_setp.c: Likewise.
22707         * posix/sched_sets.c: Likewise.
22708         * posix/sched_yield.c: Likewise.
22709         * posix/setgid.c: Likewise.
22710         * posix/setlogin.c: Likewise.
22711         * posix/setpgid.c: Likewise.
22712         * posix/setresgid.c: Likewise.
22713         * posix/setresuid.c: Likewise.
22714         * posix/setsid.c: Likewise.
22715         * posix/setuid.c: Likewise.
22716         * posix/sleep.c: Likewise.
22717         * posix/spawni.c: Likewise.
22718         * posix/sysconf.c: Likewise.
22719         * posix/times.c: Likewise.
22720         * posix/wait.c: Likewise.
22721         * posix/wait3.c: Likewise.
22722         * posix/wait4.c: Likewise.
22723         * posix/waitpid.c: Likewise.
22724         * resolv/gai_sigqueue.c: Likewise.
22725         * resource/getpriority.c: Likewise.
22726         * resource/getrlimit.c: Likewise.
22727         * resource/getrusage.c: Likewise.
22728         * resource/nice.c: Likewise.
22729         * resource/setpriority.c: Likewise.
22730         * resource/setrlimit.c: Likewise.
22731         * resource/ulimit.c: Likewise.
22732         * rt/aio_cancel.c: Likewise.
22733         * rt/aio_fsync.c: Likewise.
22734         * rt/aio_read.c: Likewise.
22735         * rt/aio_sigqueue.c: Likewise.
22736         * rt/aio_suspend.c: Likewise.
22737         * rt/aio_write.c: Likewise.
22738         * rt/clock_getres.c: Likewise.
22739         * rt/clock_gettime.c: Likewise.
22740         * rt/clock_nanosleep.c: Likewise.
22741         * rt/clock_settime.c: Likewise.
22742         * rt/lio_listio.c: Likewise.
22743         * rt/mq_close.c: Likewise.
22744         * rt/mq_getattr.c: Likewise.
22745         * rt/mq_notify.c: Likewise.
22746         * rt/mq_open.c: Likewise.
22747         * rt/mq_receive.c: Likewise.
22748         * rt/mq_send.c: Likewise.
22749         * rt/mq_setattr.c: Likewise.
22750         * rt/mq_timedreceive.c: Likewise.
22751         * rt/mq_timedsend.c: Likewise.
22752         * rt/mq_unlink.c: Likewise.
22753         * rt/shm_open.c: Likewise.
22754         * rt/shm_unlink.c: Likewise.
22755         * rt/timer_create.c: Likewise.
22756         * rt/timer_delete.c: Likewise.
22757         * rt/timer_getoverr.c: Likewise.
22758         * rt/timer_gettime.c: Likewise.
22759         * rt/timer_settime.c: Likewise.
22760         * setjmp/__longjmp.c: Likewise.
22761         * setjmp/setjmp.c: Likewise.
22762         * signal/kill.c: Likewise.
22763         * signal/killpg.c: Likewise.
22764         * signal/raise.c: Likewise.
22765         * signal/sigaction.c: Likewise.
22766         * signal/sigaltstack.c: Likewise.
22767         * signal/sigblock.c: Likewise.
22768         * signal/sigignore.c: Likewise.
22769         * signal/sigintr.c: Likewise.
22770         * signal/signal.c: Likewise.
22771         * signal/sigpause.c: Likewise.
22772         * signal/sigpending.c: Likewise.
22773         * signal/sigqueue.c: Likewise.
22774         * signal/sigreturn.c: Likewise.
22775         * signal/sigset.c: Likewise.
22776         * signal/sigsetmask.c: Likewise.
22777         * signal/sigstack.c: Likewise.
22778         * signal/sigsuspend.c: Likewise.
22779         * signal/sigtimedwait.c: Likewise.
22780         * signal/sigvec.c: Likewise.
22781         * signal/sigwait.c: Likewise.
22782         * signal/sigwaitinfo.c: Likewise.
22783         * signal/sysv_signal.c: Likewise.
22784         * socket/accept.c: Likewise.
22785         * socket/accept4.c: Likewise.
22786         * socket/bind.c: Likewise.
22787         * socket/connect.c: Likewise.
22788         * socket/getpeername.c: Likewise.
22789         * socket/getsockname.c: Likewise.
22790         * socket/getsockopt.c: Likewise.
22791         * socket/isfdtype.c: Likewise.
22792         * socket/listen.c: Likewise.
22793         * socket/recv.c: Likewise.
22794         * socket/recvfrom.c: Likewise.
22795         * socket/recvmsg.c: Likewise.
22796         * socket/send.c: Likewise.
22797         * socket/sendmsg.c: Likewise.
22798         * socket/sendto.c: Likewise.
22799         * socket/setsockopt.c: Likewise.
22800         * socket/shutdown.c: Likewise.
22801         * socket/sockatmark.c: Likewise.
22802         * socket/socket.c: Likewise.
22803         * socket/socketpair.c: Likewise.
22804         * stdio-common/ctermid.c: Likewise.
22805         * stdio-common/cuserid.c: Likewise.
22806         * stdio-common/remove.c: Likewise.
22807         * stdio-common/rename.c: Likewise.
22808         * stdio-common/renameat.c: Likewise.
22809         * stdio-common/tempname.c: Likewise.
22810         * stdlib/getcontext.c: Likewise.
22811         * stdlib/makecontext.c: Likewise.
22812         * stdlib/setcontext.c: Likewise.
22813         * stdlib/swapcontext.c: Likewise.
22814         * stdlib/system.c: Likewise.
22815         * streams/fattach.c: Likewise.
22816         * streams/fdetach.c: Likewise.
22817         * streams/getmsg.c: Likewise.
22818         * streams/getpmsg.c: Likewise.
22819         * streams/putmsg.c: Likewise.
22820         * streams/putpmsg.c: Likewise.
22821         * sysdeps/unix/bsd/getpt.c: Likewise.
22822         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22823         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22824         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22826         Likewise.
22827         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22828         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22829         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22830         * sysvipc/msgctl.c: Likewise.
22831         * sysvipc/msgget.c: Likewise.
22832         * sysvipc/msgrcv.c: Likewise.
22833         * sysvipc/msgsnd.c: Likewise.
22834         * sysvipc/semctl.c: Likewise.
22835         * sysvipc/semget.c: Likewise.
22836         * sysvipc/semop.c: Likewise.
22837         * sysvipc/semtimedop.c: Likewise.
22838         * sysvipc/shmat.c: Likewise.
22839         * sysvipc/shmctl.c: Likewise.
22840         * sysvipc/shmdt.c: Likewise.
22841         * sysvipc/shmget.c: Likewise.
22842         * termios/tcdrain.c: Likewise.
22843         * termios/tcflow.c: Likewise.
22844         * termios/tcflush.c: Likewise.
22845         * termios/tcgetattr.c: Likewise.
22846         * termios/tcgetpgrp.c: Likewise.
22847         * termios/tcsendbrk.c: Likewise.
22848         * termios/tcsetattr.c: Likewise.
22849         * termios/tcsetpgrp.c: Likewise.
22850         * time/adjtime.c: Likewise.
22851         * time/clock.c: Likewise.
22852         * time/getitimer.c: Likewise.
22853         * time/gettimeofday.c: Likewise.
22854         * time/setitimer.c: Likewise.
22855         * time/settimeofday.c: Likewise.
22856         * time/stime.c: Likewise.
22857         * time/time.c: Likewise.
22859 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
22861         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22862         /usr/old/bin.
22864         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22865         instead of spaces.
22866         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22868 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
22870         [BZ #14796]
22871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22872         FE_TONEAREST before applying Dekker multiplication and Knuth
22873         addition.  Clear inexact exceptions and check for exact zero
22874         results afterwards.
22875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22878         * math/libm-test.inc (fma_test): Add more tests.
22879         (fma_test_towardzero): Likewise.
22880         (fma_test_downward): Likewise.
22881         (fma_test_upward): Likewise.
22882         * sysdeps/generic/math_private.h (default_libc_fesetround): New
22883         function.
22884         (libc_fesetround): New macro.
22885         (libc_fesetroundf): Likewise.
22886         (libc_fesetroundl): Likewise.
22887         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22888         function.
22889         (libc_fesetround_387): Likewise.
22890         (libc_fesetroundf): New macro.
22891         (libc_fesetround): Likewise.
22892         (libc_fesetroundl): Likewise.
22893         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22894         function.
22895         (libc_fesetroundf): New macro.
22896         (libc_fesetround): Likewise.
22897         (libc_fesetroundl): Likewise.
22898         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22899         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22900         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22901         libm_hidden_ver.
22902         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22903         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22904         libm_hidden_def.
22905         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22906         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22907         libm_hidden_ver.
22908         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22909         libm_hidden_def.
22911         [BZ #3439]
22912         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22913         integer constant usable in #if and use that to give value to enum
22914         constant.
22915         (FE_DIVBYZERO): Likewise.
22916         (FE_UNDERFLOW): Likewise.
22917         (FE_OVERFLOW): Likewise.
22918         (FE_INVALID): Likewise.
22919         (FE_INVALID_SNAN): Likewise.
22920         (FE_INVALID_ISI): Likewise.
22921         (FE_INVALID_IDI): Likewise.
22922         (FE_INVALID_ZDZ): Likewise.
22923         (FE_INVALID_IMZ): Likewise.
22924         (FE_INVALID_COMPARE): Likewise.
22925         (FE_INVALID_SOFTWARE): Likewise.
22926         (FE_INVALID_SQRT): Likewise.
22927         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22928         (FE_TONEAREST): Likewise.
22929         (FE_TOWARDZERO): Likewise.
22930         (FE_UPWARD): Likewise.
22931         (FE_DOWNWARD): Likewise.
22932         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22933         (FE_DIVBYZERO): Likewise.
22934         (FE_OVERFLOW): Likewise.
22935         (FE_UNDERFLOW): Likewise.
22936         (FE_INEXACT): Likewise.
22937         (FE_TONEAREST): Likewise.
22938         (FE_DOWNWARD): Likewise.
22939         (FE_UPWARD): Likewise.
22940         (FE_TOWARDZERO): Likewise.
22941         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22942         (FE_UNDERFLOW): Likewise.
22943         (FE_OVERFLOW): Likewise.
22944         (FE_DIVBYZERO): Likewise.
22945         (FE_INVALID): Likewise.
22946         (FE_TONEAREST): Likewise.
22947         (FE_TOWARDZERO): Likewise.
22948         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22949         (FE_OVERFLOW): Likewise.
22950         (FE_UNDERFLOW): Likewise.
22951         (FE_DIVBYZERO): Likewise.
22952         (FE_INEXACT): Likewise.
22953         (FE_TONEAREST): Likewise.
22954         (FE_TOWARDZERO): Likewise.
22955         (FE_UPWARD): Likewise.
22956         (FE_DOWNWARD): Likewise.
22957         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22958         (FE_DIVBYZERO): Likewise.
22959         (FE_OVERFLOW): Likewise.
22960         (FE_UNDERFLOW): Likewise.
22961         (FE_INEXACT): Likewise.
22962         (FE_TONEAREST): Likewise.
22963         (FE_DOWNWARD): Likewise.
22964         (FE_UPWARD): Likewise.
22965         (FE_TOWARDZERO): Likewise.
22967 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22969         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22971 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22973         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22974         commands.  Quote $PWD.
22975         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22976         -x" by "export".
22977         (remove_newlines): Remove.
22979 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22981         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22982         * stdlib/stdlib.h (atof): Moved to ...
22983         * include/bits/stdlib-float.h: Here.  New file.
22984         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22985         * stdlib/bits/stdlib-float.h: New file.
22986         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22987         -mno-sse -mno-mmx.
22988         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22989         <xmmintrin.h>.
22991 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22993         * conform/conformtest.pl (@headers): Add fenv.h.
22994         * conform/data/fenv.h-data: New file.
22995         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22996         include of <math/fenv.h>.
22998         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22999         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23000         && !UNIX98].  Enables tests for XOPEN2K8.
23001         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23002         POSIX2008]: Likewise.
23004         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23005         (struct rusage): Do not expect type or its members.
23007         [BZ #3439]
23008         * math/math.h (FP_NAN): Define macro to integer constant usable in
23009         #if and use that to give value to enum constant.
23010         (FP_INFINITE): Likewise.
23011         (FP_ZERO): Likewise.
23012         (FP_SUBNORMAL): Likewise.
23013         (FP_NORMAL): Likewise.
23015 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23017         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23018         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23019         arguments.
23021 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23023         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23024         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23025         autoconf-time if not.
23026         * configure.in: Remove AC_PREREQ.
23028 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23030         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23031         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23032         of the internal implementation.
23034 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23036         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23037         except include of <misc/sys/syslog.h>.
23039 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23042         function returns with a NULL context exit with zero.
23044 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23046         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23048 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23050         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23051         (run_program_cmd): This.
23052         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23053         (tst_langinfo): New variable.  Use it.
23055 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23057         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23058         floating point opcodes.
23060 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23062         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23063         variable.
23065         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23067         * sysdeps/mach/hurd/powerpc: Remove directory.
23068         * sysdeps/mach/powerpc: Likewise.
23070 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23072         * scripts/check-local-headers.sh: Ignore c++ headers.
23074 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23076         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23077         __libc_cleanup_region_start argument.
23079 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23081         [BZ #14784]
23082         [BZ #14785]
23083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23084         x * y using scaling, not as x * y + z.
23085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23087         * math/libm-test.inc (fma_test): Add more tests.
23088         (fma_test_towardzero): Likewise.
23089         (fma_test_downward): Likewise.
23090         (fma_test_upward): Likewise.
23092 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23094         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23096 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23098         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23099         New variable.
23101 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23103         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23105 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23108         Fix sort order.
23109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23110         Likewise.
23112 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23115         Fix the order of the list for glibc 2.17.
23116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23117         Likewise.
23119 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23123 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23125         [BZ #14610]
23126         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23127         for low part of x being zero before using __atanl (y).
23128         * math/libm-test.inc (atan2_test): Add another test.
23130         * manual/install.texi (Configuring and compiling): Document
23131         general use of test-wrapper and test-wrapper-env.
23132         * INSTALL: Regenerated.
23134         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23135         (__fma): Do not extract and scale down low bits on after-rounding
23136         systems when result rounded to normal precision would have normal
23137         exponent.
23138         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23139         (__fmal): Do not extract and scale down low bits on after-rounding
23140         systems when result rounded to normal precision would have normal
23141         exponent.
23142         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23143         (__fmal): Do not extract and scale down low bits on after-rounding
23144         systems when result rounded to normal precision would have normal
23145         exponent.
23146         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23147         macro.
23148         (fma_test): Add more tests.
23149         (fma_test_towardzero): Likewise.
23150         (fma_test_downward): Likewise.
23151         (fma_test_upward): Likewise.
23153 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23155         * sysdeps/i386/tininess.h: Renamed to ...
23156         * sysdeps/x86/tininess.h: This.
23157         * sysdeps/x86_64/tininess.h: Removed.
23159 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23161         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23162         input.  Use $(build-program-cmd).
23163         ($(objpfx)tst-array1-static.out): Likewise.
23164         ($(objpfx)tst-array2.out): Likewise.
23165         ($(objpfx)tst-array3.out): Likewise.
23166         ($(objpfx)tst-array4.out): Likewise.
23167         ($(objpfx)tst-array5.out): Likewise.
23168         ($(objpfx)tst-array5-static.out): Likewise.
23170 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23172         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23173         if defined.
23175         * nss/nsswitch.h (nss_interface_function): Provide new
23176         macro for use with NSS functions.
23177         * grp/initgroups.c: Use new macro.
23178         * nss/getXXbyYY.c: Likewise.
23179         * nss/getXXbyYY_r.c: Likewise.
23180         * nss/getXXent.c: Likewise.
23181         * nss/getXXent_r.c: Likewise.
23182         * sysdeps/posix/getaddrinfo.c: Likewise.
23184 2012-10-30  Andreas Jaeger  <aj@suse.de>
23186         * po/ru.po: Update Russion translation from translation project.
23188 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23190         [BZ #14152]
23191         [BZ #14783]
23192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23193         result and shift together with sticky bit instead of replicating
23194         round-to-nearest rounding.
23195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23197         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23198         missing underflow exceptions.
23199         (fma_test_towardzero): Add more tests.
23200         (fma_test_downward): Likewise.
23201         (fma_test_upward): Likewise.
23203         [BZ #14047]
23204         * sysdeps/generic/tininess.h: New file.
23205         * sysdeps/i386/tininess.h: Likewise.
23206         * sysdeps/sh/tininess.h: Likewise.
23207         * sysdeps/x86_64/tininess.h: Likewise.
23208         * stdlib/tst-strtod-underflow.c: Likewise.
23209         * stdlib/tst-tininess.c: Likewise.
23210         * stdlib/strtod_l.c: Include <tininess.h>.
23211         (round_and_return): Do not set errno for exact underflow cases.
23212         Force an underflow exception when setting errno for underflow.
23213         Determine underflow based on rounding to normal precision if
23214         TININESS_AFTER_ROUNDING.
23215         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23216         ERANGE for exact underflow cases.
23217         * stdlib/Makefile (tests): Add tst-tininess and
23218         tst-strtod-underflow.
23219         ($(objpfx)tst-tininess): Use $(link-libm).
23220         ($(objpfx)tst-strtod-underflow): Likewise.
23222 2012-10-30  Andreas Jaeger  <aj@suse.de>
23224         [BZ#14767]
23225         * elf/Makefile (tests): Remove conditional for have-initfini-array
23226         since this is now always required and the variable does not exist
23227         anymore.
23228         (tests-static): Likewise.
23229         (modules-names): Likewise.
23231         * po/eo.po: Add Esperanto translation from translation project.
23233         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23234         merged with constructor/destructor.
23235         (init_array): Likewise.
23236         * elf/tst-array2dep.c (fini_array): Likewise.
23237         (init_array): Likewise.
23239 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23241         * manual/message.texi: Delete @cartouche tags.
23243 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23245         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23246         EOPNOTSUPP.
23247         * sysdeps/mach/hurd/fsync.c: Likewise.
23249         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23250         [_POSIX_REALTIME_SIGNALS]: Change condition to
23251         [_POSIX_REALTIME_SIGNALS > 0].
23253 2012-10-27  Andreas Jaeger  <aj@suse.de>
23255         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23256         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23258         [__WORDSIZE != 64]: Likewise.
23260 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
23262         *  iconvdata/tst-table.sh: Remove ${SHELL}.
23263         *  iconvdata/tst-tables.sh: Likewise.
23265 2012-10-25  David S. Miller  <davem@davemloft.net>
23267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23268         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23269         of strtoull.
23271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23272         ifunc-impl-list.c
23273         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23274         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23275         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23276         file.
23278 2012-10-25  Roland McGrath  <roland@hack.frob.com>
23280         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23281         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23282         __getdirentries.
23284 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23285             Jim Blandy  <jimb@codesourcery.com>
23287         * scripts/cross-test-ssh.sh: New file.
23288         * manual/install.texi (Configuring and compiling): Document use of
23289         cross-test-ssh.sh.
23290         * INSTALL: Regenerated.
23292 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
23294         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23295         EOPNOTSUPP.
23297 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23299         * Makeconfig (run-program-prefix): Fix comment.
23301 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23302             Jim Blandy  <jimb@codesourcery.com>
23304         * Makeconfig (test-wrapper): New variable,
23305         (test-wrapper-env): Likewise.
23306         [$(cross-compiling) = yes && $(test-wrapper) != ""]
23307         (run-built-tests): Define to yes.
23308         (run-program-prefix): Use $(test-wrapper).
23309         (built-program-cmd): Likewise.
23310         * Rules (make-test-out): Use $(test-wrapper-env) and
23311         $(host-built-program-cmd).
23312         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23313         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23314         tst-pathopt.sh.
23315         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23316         $(test-wrapper-env) to tst-rtld-load-self.sh.
23317         ($(objpfx)order2.out): Use $(test-wrapper).
23318         ($(objpfx)tst-initorder.out): Likewise.
23319         ($(objpfx)tst-initorder2.out): Likewise.
23320         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23321         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23322         (test_wrapper_env): New variable.  Use it to run ld.so.
23323         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23324         Use it to run ld.so.
23325         (test_wrapper_env): Likewise.
23326         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23327         $(test-wrapper) to run-iconv-test.sh.
23328         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23329         (ICONV): Use $test_wrapper.
23330         * posix/Makefile ($(objpfx)globtest.out): Pass
23331         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23332         globtest.sh, not $(run-program-prefix).
23333         * posix/globtest.sh (run_via_rtld_prefix): New variable.
23334         (test_wrapper): Likewise.
23335         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
23336         set together with run_via_rtld_prefix.
23337         (run_program_prefix): Define in terms of test_wrapper and
23338         run_via_rtld_prefix.
23340 2012-10-24  Roland McGrath  <roland@hack.frob.com>
23342         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23343         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23344         Targets removed.
23346         [BZ #14743]
23347         * include/time.h: Remove librt_hidden_proto (clock_gettime).
23348         Declare __clock_getres, __clock_gettime, __clock_settime,
23349         __clock_nanosleep, and __clock_getcpuclockid.
23350         * rt/clock_gettime.c: Define __clock_gettime as an alias.
23351         Remove librt_hidden_def (clock_gettime).
23352         * sysdeps/unix/clock_gettime.c: Likewise.
23353         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23354         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23355         * rt/clock_getres.c: Define __clock_getres as an alias.
23356         * sysdeps/posix/clock_getres.c: Likewise.
23357         * rt/clock_settime.c: Define __clock_settime as an alias.
23358         * sysdeps/unix/clock_settime.c: Likewise.
23359         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23360         * sysdeps/unix/clock_nanosleep.c: Likewise.
23361         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23362         * rt/clock-compat.c: New file.
23363         * rt/Makefile (librt-routines): Add clock-compat and move
23364         $(clock-routines) to ...
23365         (routines): ... here, new variable.
23366         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23367         Don't add get_clockfreq here.
23368         * rt/Versions (libc: GLIBC_2.17): New version set.
23369         Add clock_* symbols here.
23370         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
23371         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23372         (GLIBC_2.17): Add clock_* symbols.
23373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23377         Likewise.
23378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23379         Likewise.
23380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23384         * NEWS: Mention the move.
23386         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23387         Use __open, __read, __close rather than their public counterparts.
23388         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23389         (__get_clockfreq_via_cpuinfo): Likewise.
23390         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23391         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23393         * config.h.in (HAVE_IFUNC): New #undef.
23394         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23395         was successful.
23396         * configure: Regenerated.
23398 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23400         * configure.in: Move READELF check to start of file.
23401         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23402         libc_cv_asm_gnu_indirect_function in the process.
23403         * configure: Regenerated.
23405 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23407         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23408         send the output to /dev/null.
23409         (libc_cv_cc_with_libunwind): Likewise.
23410         (libc_cv_as_noexecstack): Likewise.
23411         * configure: Regenerate.
23413 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23415         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23417         * posix/globtest.sh (TMPDIR): Do not set.
23418         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23419         (testout): Likewise.
23421 2012-10-24  Andreas Jaeger  <aj@suse.de>
23423         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23424         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23425         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23426         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23427         posix_fadvise64, posix_fallocate64.
23429         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23430         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23431         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23432         Likewise.
23433         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23434         Likewise.
23435         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23438         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23439         <bits/fcntl-linux.h>.
23440         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23443         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23444         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23445         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23446         [__WORDSIZE != 64]: Likewise.
23448 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23450         * Makeconfig (run-built-tests): New variable.
23451         * Rules [$(cross-compiling) = yes]: Change condition to
23452         [$(run-built-tests) = no].
23453         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23454         to [$(run-built-tests) = yes].
23455         * elf/Makefile [$(cross-compiling) = no]: Likewise
23456         * grp/Makefile [$(cross-compiling) = no]: Likewise.
23457         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23458         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23459         * intl/Makefile [$(cross-compiling) = no]: Likewise.
23460         * io/Makefile [$(cross-compiling) = no]: Likewise.
23461         * libio/Makefile [$(cross-compiling) = no]: Likewise.
23462         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23463         * misc/Makefile [$(cross-compiling) = no]: Likewise.
23464         * posix/Makefile [$(cross-compiling) = no]: Likewise.
23465         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23466         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23467         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23468         * string/Makefile [$(cross-compiling) = no]: Likewise.
23470         * posix/Makefile ($(objpfx)globtest.out): Pass
23471         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23472         $(rtld-installed-name).
23473         * posix/globtest.sh (elf_objpfx): Remove variable.
23474         (rtld_installed_name): Likewise.
23475         (library_path): Likewise.
23476         (run_program_prefix): New variable.  Use for running globtest
23477         binary.
23479 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
23480             Joseph Myers  <joseph@codesourcery.com>
23482         * Makeconfig (host-built-program-cmd): New variable.
23483         * elf/Makefile (tst-stackguard1-ARGS): Use
23484         $(host-built-program-cmd).
23485         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23486         (tst-spawn-ARGS): Likewise.
23487         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23489 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23490             Jim Blandy  <jimb@codesourcery.com>
23492         * Makeconfig (run-via-rtld-prefix): New variable.
23493         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23494         (built-program-cmd): Likewise.
23496 2012-10-22  Andreas Jaeger  <aj@suse.de>
23498         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23499         __O_RSYNC if it exists, otherwise to O_SYNC.
23501 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
23502             Joseph Myers  <joseph@codesourcery.com>
23504         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23505         /dev/null.
23506         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23507         from /dev/null
23508         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23509         /dev/null.
23511 2012-10-22  Andreas Jaeger  <aj@suse.de>
23513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23514         Define always.
23515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23518         bits/fcntl-linux.h.
23520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23521         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23524         to __O_LARGEFILE.
23525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23526         to __O_LARGEFILE.
23528 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
23529             Joseph Myers  <joseph@codesourcery.com>
23531         * config.make.in (NM): New variable.
23533 2012-10-21  Andreas Jaeger  <aj@suse.de>
23535         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23536         definitions and declarations that are provided by
23537         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23539 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23541         [BZ #14683]
23542         * elf/Makefile (tests-static): Add tst-leaks1-static.
23543         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23544         ($(objpfx)tst-leaks1-static): New rule.
23545         ($(objpfx)tst-leaks1-static-mem): Likewise.
23546         (tst-leaks1-static-ENV): New macro.
23547         * elf/dl-open.c (dl_open_worker): Check the main application
23548         only if SHARED is defined.
23549         * elf/tst-leaks1-static.c: New file.
23551 2012-10-20  Andreas Jaeger  <aj@suse.de>
23553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23554         generic values for Linux.
23555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23556         and declarations that are provided by <bits/fcntl-linux.h> and
23557         include <bits/fcntl-linux.h>.
23558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23561 2012-10-20  Roland McGrath  <roland@hack.frob.com>
23563         * io/fcntl.h: Move include of <bits/types.h> to the top and
23564         include it unconditionally.
23566 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23568         * wcsmbs/Makefile (tests-ifunc): New variable.
23569         (tests): Add $(tests-ifunc).
23570         * wcsmbs/test-wcschr-ifunc.c: New file.
23571         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23572         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23573         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23574         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23575         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23577         * string/Makefile (tests-ifunc): New variable.
23578         (tests): Add $(tests-ifunc).
23579         * string/test-memccpy.c (TEST_NAME): New macro.
23580         * string/test-memchr.c (TEST_NAME): Likewise.
23581         * string/test-memcmp.c (TEST_NAME): Likewise.
23582         * string/test-memcpy.c (TEST_NAME): Likewise.
23583         * string/test-memmem.c (TEST_NAME): Likewise.
23584         * string/test-memmove.c (TEST_NAME): Likewise.
23585         * string/test-memset.c (TEST_NAME): Likewise.
23586         * string/test-rawmemchr.c (TEST_NAME): Likewise.
23587         * string/test-stpcpy.c (TEST_NAME): Likewise.
23588         * string/test-stpncpy.c (TEST_NAME): Likewise.
23589         * string/test-strcasecmp.c (TEST_NAME): Likewise.
23590         * string/test-strcasestr.c (TEST_NAME): Likewise.
23591         * string/test-strcat.c (TEST_NAME): Likewise.
23592         * string/test-strchr.c (TEST_NAME): Likewise.
23593         * string/test-strcmp.c(TEST_NAME): Likewise.
23594         * string/test-strcpy.c (TEST_NAME): Likewise.
23595         * string/test-strcspn.c (TEST_NAME): Likewise.
23596         * string/test-strlen.c (TEST_NAME): Likewise.
23597         * string/test-strncasecmp.c (TEST_NAME): Likewise.
23598         * string/test-strncmp.c (TEST_NAME): Likewise.
23599         * string/test-strncpy.c (TEST_NAME): Likewise.
23600         * string/test-strnlen.c (TEST_NAME): Likewise.
23601         * string/test-strpbrk.c (TEST_NAME): Likewise.
23602         * string/test-strrchr.c (TEST_NAME): Likewise.
23603         * string/test-strspn.c (TEST_NAME): Likewise.
23604         * string/test-strstr.c (TEST_NAME): Likewise.
23605         * string/test-bcopy-ifunc.c: New file.
23606         * string/test-bzero-ifunc.c: Likewise.
23607         * string/test-memccpy-ifunc.c: Likewise.
23608         * string/test-memchr-ifunc.c: Likewise.
23609         * string/test-memcmp-ifunc.c: Likewise.
23610         * string/test-memcpy-ifunc.c: Likewise.
23611         * string/test-memmem-ifunc.c: Likewise.
23612         * string/test-memmove-ifunc.c: Likewise.
23613         * string/test-mempcpy-ifunc.c: Likewise.
23614         * string/test-memset-ifunc.c: Likewise.
23615         * string/test-rawmemchr-ifunc.c: Likewise.
23616         * string/test-stpcpy-ifunc.c: Likewise.
23617         * string/test-stpncpy-ifunc.c: Likewise.
23618         * string/test-strcasecmp-ifunc.c: Likewise.
23619         * string/test-strcasestr-ifunc.c: Likewise.
23620         * string/test-strcat-ifunc.c: Likewise.
23621         * string/test-strchr-ifunc.c: Likewise.
23622         * string/test-strchrnul-ifunc.c: Likewise.
23623         * string/test-strcmp-ifunc.c: Likewise.
23624         * string/test-strcpy-ifunc.c: Likewise.
23625         * string/test-strcspn-ifunc.c: Likewise.
23626         * string/test-strlen-ifunc.c: Likewise.
23627         * string/test-strncasecmp-ifunc.c: Likewise.
23628         * string/test-strncat-ifunc.c: Likewise.
23629         * string/test-strncmp-ifunc.c: Likewise.
23630         * string/test-strncpy-ifunc.c: Likewise.
23631         * string/test-strnlen-ifunc.c: Likewise.
23632         * string/test-strpbrk-ifunc.c: Likewise.
23633         * string/test-strrchr-ifunc.c: Likewise.
23634         * string/test-strspn-ifunc.c: Likewise.
23635         * string/test-strstr-ifunc.c: Likewise.
23637         * debug/Makefile (tests-ifunc): New variable.
23638         (tests): Add $(tests-ifunc).
23639         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23640         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23641         * debug/test-stpcpy_chk-ifunc.c: New file.
23642         * debug/test-strcpy_chk-ifunc.c: Likewise.
23644 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23646         [BZ #13601]
23647         * elf/dl-load.c (open_verify): Retry read if the entire ELF
23648         header is not read in.
23650 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
23652         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
23653         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
23654         directly.  Pass built executable to script as
23655         $(built-program-cmd).
23656         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
23657         $testprogram without using LD_LIBRARY_PATH and $ldso.
23659         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23660         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23661         $(rtld-installed-name).
23662         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23663         (rtld_installed_name): Likewise.
23664         (library_path): Likewise.
23665         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
23666         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23667         $(run-program-prefix) to tst-tables.sh.
23668         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
23669         it to run tst-table-from and tst-table-to.
23670         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23671         Pass it to tst-table.sh.
23672         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23673         $(run-program-prefix) to tst-gettext.sh.
23674         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23675         tst-translit.sh.
23676         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23677         tst-gettext2.sh.
23678         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
23679         to run tst-gettext.
23680         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
23681         to run tst-gettext2.
23682         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
23683         to run tst-translit.
23684         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23685         $(run-program-prefix) to tst-mtrace.sh.
23686         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
23687         to run tst-mtrace.
23688         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23689         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23690         $(rtld-installed-name).
23691         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23692         (rtld_installed_name): Likewise.
23693         (run_program_prefix): New variable.  Use it to run wordexp-test.
23695         * Makeconfig (ARCH): Remove all definitions.
23696         (machine): Likewise.
23697         [ARCH]: Remove conditional code.
23698         [!objdir]: Give error.
23699         [!objdir] (objpfx): Remove.
23700         [!objdir] (common-objpfx): Likewise.
23701         [!objdir] (common-objdir): Likewise.
23702         * configure.in (config_makefile): Remove.  Hardcode Makefile in
23703         AC_CONFIG_FILES call.
23704         * configure: Regenerated.
23706         [BZ #13888]
23707         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23708         or TMPDIR.
23709         (testout): Likewise.
23711         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23712         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23713         $(rtld-installed-name).
23714         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23715         (rtld_installed_name): Likwise.
23716         (runit): Remove function.
23717         (run_getconf): New variable,  Use it for running getconf binary.
23719 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
23721         [BZ #14716]
23722         * string/test-memmem.c (check_result): New function.
23723         (do_one_test): Use it.
23724         (check1): New function.
23725         (test_main): Use it.
23727 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
23729         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23731 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
23733         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23734         (_G_LSEEK64): Likewise.
23735         (_G_MMAP64): Likewise.
23736         (_G_FSTAT64): Likewise.
23737         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23738         (_G_LSEEK64): Likewise.
23739         (_G_MMAP64): Likewise.
23740         (_G_FSTAT64): Likewise.
23741         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23742         unconditional.  Call __mmap64 directly.
23743         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23744         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
23745         __lseek64 directly.
23746         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23747         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
23748         __mmap64 directly.
23749         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23750         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23751         __lseek64 directly.
23752         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23753         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23754         __lseek64 directly.
23755         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23756         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
23757         __lseek64 directly.
23758         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23759         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
23760         __fxstat64 directly.
23761         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23762         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23763         unconditional.
23764         (freopen64) [!_G_OPEN64]: Remove conditional code.
23765         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23766         unconditional.
23767         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23768         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23769         unconditional.
23770         (ftello64) [!_G_LSEEK64]: Remove conditional code.
23771         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23772         unconditional.
23773         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23774         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23775         unconditional.
23776         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23777         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23778         unconditional.
23779         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23780         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23781         unconditional.
23782         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23783         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23784         unconditional.
23785         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23787 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23789         [BZ #12140]
23790         * manual/memory.texi (Malloc Tunable Parameters): Add note
23791         about free list pointers overwriting some perturb bytes.
23792         Wording suggested by Roland McGrath.
23794 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
23796         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23797         (lgamma_test): Likewise.
23798         (tgamma_test): Likewise.
23800 2012-10-16  Florian Weimer  <fweimer@redhat.com>
23802         [BZ #14700]
23803         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23804         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23806 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
23808         * NEWS: Mention BZ #14716.
23809         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23810         when removing AVAILABLE1_USES_J macro.
23812 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
23814         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23815         (__bswap_64): __uint64_t for unsigned 64-bit int.
23817 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
23819         * include/string.h (memmem): Declare libc hidden alias.
23820         * string/memmem.c (memmem): Define libc hidden alias.
23821         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23822         __read, __close instead of open, read, close.
23824 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
23826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23827         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23828         global and hidden.
23829         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23830         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23831         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23832         Likewise.
23833         (__rawmemchr_sse2): Likewise.
23834         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23835         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23836         (__strchr_sse2): Likewise.
23837         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23838         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23839         (__strcasecmp_sse2): Likewise.
23840         (__strncasecmp_sse2): Likewise.
23841         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23842         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23843         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23844         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23845         (__strrchr_sse2): Likewise.
23846         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23847         ifunc-impl-list.c.
23848         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23849         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23850         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23851         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23852         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23853         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23856         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23857         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23858         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23859         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23860         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23861         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23862         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23863         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23864         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23865         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23866         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23867         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23868         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23869         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23870         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23871         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23872         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23873         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23874         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23875         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23876         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23877         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23879         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23880         global and hidden.
23881         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23882         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23883         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23884         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23885         Likewise.
23886         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23887         Likewise.
23888         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23889         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23890         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23891         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23892         ifunc-impl-list.c.
23893         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23894         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23895         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23896         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23897         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23898         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23899         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23900         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23902         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23903         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23904         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23905         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23906         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23907         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23908         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23909         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23910         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23911         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23912         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23913         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23914         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23915         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23916         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23917         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23918         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23919         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23920         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23921         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23922         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23923         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23924         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23925         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23926         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23927         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23928         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23929         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23930         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23931         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23932         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23933         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23935         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23936         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23937         * include/ifunc-impl-list.h: New file.
23938         * misc/ifunc-impl-list.c: Likewise.
23939         * misc/Makefile (routines): Add ifunc-impl-list.
23940         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23941         * string/test-string.h: Include <ifunc-impl-list.h>.
23942         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23943         TEST_NAME]: New variables.
23944         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23945         are defined.
23946         (test_init): Call __libc_ifunc_impl_list to initialize
23947         func_list if TEST_IFUNC and TEST_NAME are defined.
23949         * string/Makefile (strop-tests): Add bcopy and bzero.
23950         * string/test-bcopy.c: New file.
23951         * string/test-bzero.c: Likewise.
23952         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23953         defined.
23954         * string/test-memset.c: Support bzero test if TEST_BZERO is
23955         defined.
23956         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23957         __libc_memmove.
23958         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23959         __libc_memset.
23960         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23961         of memset.
23963 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23965         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23966         * configure: Regenerated.
23968         * Makeconfig (+link-static-before-libc): Don't include
23969         $(link-static-libc).
23971         * libio/libio.h (_IO_pos_t): Remove.
23973 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23975         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23976         McGrath.
23978 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23980         * crypt/crypt-entry.c: Include fips-private.h.
23981         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23982         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23983         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23984         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23986 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23988         * crypt/crypt-private.h: Include stdbool.h.
23989         (_ufc_setup_salt_r): Return bool.
23990         * crypt/crypt-entry.c: Include errno.h.
23991         (__crypt_r): Return NULL with EINVAL for bad salt.
23992         * crypt/crypt_util.c (bad_for_salt): New.
23993         (_ufc_setup_salt_r): Check that salt is long enough and within
23994         the specified alphabet.
23995         * crypt/badsalttest.c: New file.
23996         * crypt/Makefile (tests): Add it.
23997         ($(objpfx)badsalttest): New.
23999 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24001         * NEWS: Add entry for BZ #14602.
24003 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24005         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24006         type-generic.
24007         * math/libm-test.inc: Update comment listing what functions and
24008         macros are tested.
24009         (isgreater_test): New function.
24010         (isgreaterequal_test): Likewise.
24011         (isless_test): Likewise.
24012         (islessequal_test): Likewise.
24013         (islessgreater_test): Likewise.
24014         (isunordered_test): Likewise.
24015         (main): Call the new functions.
24017 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24019         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24020         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24021         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24022         * sysdeps/i386/configure: Regenerated.
24023         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24024         * sysdeps/mach/configure: Regenerated.
24025         * sysdeps/mach/hurd/configure: Regenerated.
24026         * sysdeps/powerpc/configure: Regenerated.
24027         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24028         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24029         * sysdeps/s390/s390-32/configure: Regenerated.
24030         * sysdeps/s390/s390-64/configure: Regenerated.
24031         * sysdeps/sh/configure: Regenerated.
24032         * sysdeps/sparc/configure: Regenerated.
24033         * sysdeps/unix/sysv/linux/configure: Regenerated.
24034         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24035         * sysdeps/x86_64/configure: Regenerated.
24037         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24038         defined.  Don't check if MAP is NULL.
24040 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24042         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24043         (_G_stat64): Likewise.
24044         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24045         (_G_stat64): Likewise.
24046         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24047         instead of struct _G_stat64.
24048         * libio/fileops.c (mmap_remap_check): Likewise.
24049         (decide_maybe_mmap): Likewise.
24050         (_IO_new_file_seekoff): Likewise.
24051         (_IO_file_stat): Likewise.
24052         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24053         _G_off64_t.
24054         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24055         instead of struct _G_stat64.
24056         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24058 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24060         [BZ #14602]
24061         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24062         Replace with ...
24063         (CHECK_EOL): New macro.
24064         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24065         CHECK_EOL.
24066         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24067         Replace with CHECK_EOL.
24068         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24069         Replace with CHECK_EOL.
24071 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24073         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24074         type-generic.
24075         * math/libm-test.inc: Update comment listing what functions and
24076         macros are tested.
24077         (finite_test): New function.
24078         (isinf_test): Likewise.
24079         (isnan_test): Likewise.
24080         (fpclassify_test): Test subnormal input.
24081         (isfinite_test): Likewise.
24082         (isnormal_test): Likewise.
24083         (main): Call the new functions.
24085 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24087         [BZ #14660]
24088         * Makerules (%.dynsym): Force C locale when running
24089         $(OBJDUMP) --dynamic-syms.
24091 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24093         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24094         <stdint.h>.
24096 2012-10-06  David S. Miller  <davem@davemloft.net>
24098         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24099         upper 32-bits of the length value in %o2 since we use branch-on-register
24100         tests which consider the entire 64-bit register.
24102 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24104         * string/test-strstr.c (check2): Add a test for page boundary.
24106 2012-10-05  David S. Miller  <davem@davemloft.net>
24108         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24109         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24110         file.
24111         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24112         sysdep_routines.
24113         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24114         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24115         and bzero when HWCAP_SPARC_CRYPTO is present.
24117 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24119         [BZ #14602]
24120         * string/test-strstr.c (check2): New function.
24121         (test_main): Call check2.
24123         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24124         and bug-strchr1.
24125         * string/bug-strcasestr1.c (do_test): Moved to ...
24126         * string/test-strcasestr.c (check1): Here.  New function.
24127         (do_one_test): Break out result checking code into ...
24128         (check_result): This.  New function.
24129         (do_one_test): Call check_result.
24130         (test_main): Call check1.
24131         * string/bug-strchr1.c (do_test): Moved to ...
24132         * string/test-strchr.c (check1): Here.  New function.
24133         (do_one_test): Break out result checking code into ...
24134         (check_result): This.  New function.
24135         (do_one_test): Call check_result.
24136         (test_main): Call check1.
24137         * string/bug-strstr1.c (main): Moved to ...
24138         * string/test-strstr.c (check1): Here.  New function.
24139         (do_one_test): Break out result checking code into ...
24140         (check_result): This.  New function.
24141         (do_one_test): Call check_result.
24142         (test_main): Call check1.
24143         * string/bug-strcasestr1.c: Removed.
24144         * string/bug-strchr1.c: Likewise.
24145         * string/bug-strstr1.c: Likewise.
24147         * elf/Makefile (dl-routines): Add hwcaps.
24148         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24149         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24150         (_dl_important_hwcaps): Moved to ...
24151         * elf/dl-hwcaps.c: Here.  New file.
24152         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24154         [BZ #14557]
24155         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24156         if IS_IN_rtld isn't defined.
24158         * elf/dl-support.c (_dl_sysinfo_map): New.
24159         Include "get-dynamic-info.h" and "setup-vdso.h".
24160         (_dl_non_dynamic_init): Call setup_vdso.
24161         * elf/dynamic-link.h: Don't include <assert.h>.
24162         (elf_get_dynamic_info): Moved to ...
24163         * elf/get-dynamic-info.h: Here.  New file.
24164         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24165         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24166         * elf/setup-vdso.h: Here.  New file.
24167         * elf/rtld.c: Include "setup-vdso.h".
24168         (dl_main): Call setup_vdso.
24170 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24172         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24173         creal in comment listing functions tested.  List finite, isinf,
24174         isnan, isless, islessequal, isgreater, isgreaterequal,
24175         islessgreater, isunordered, lgamma_r and pow10 as functions and
24176         macros not tested.  Mention which functions not tested are aliases
24177         for other functions.  Fix typo.  Note that signs of NaNs are not
24178         tested.
24180         * scripts/config.guess: Update from config.git.
24181         * scripts/config.sub: Likewise.
24183 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24185         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24186         * misc/madvise.c (madvise): Renamed to __madvise.
24187         Make madvise a weak alias.
24188         * include/sys/mman.h: Declare __madvise.
24189         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24190         * sysdeps/unix/syscalls.list
24191         (madvise): Make __madvise the strong name, and madvise a weak alias.
24192         * sysdeps/unix/sysv/linux/syscalls.list
24193         (madvise, mmap): Remove redundant entries.
24194         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24195         * malloc/malloc.c (mtrim): Likewise.
24196         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24198 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24200         * sysdeps/mach/hurd/dl-cache.c: File removed.
24201         * config.h.in (USE_LDCONFIG): New #undef.
24202         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24203         * configure: Regenerated.
24204         * elf/Makefile (dl-routines): Add dl-cache only under
24205         [$(use-ldconfig) = yes].
24206         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24207         cache on [USE_LDCONFIG].
24208         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24209         [USE_LDCONFIG].
24210         * elf/rtld.c (dl_main): Likewise.
24212 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24214         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24215         _SC_LEVEL4_CACHE_LINESIZE.
24217 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24219         * sysdeps/unix/bsd/confstr.h: File removed.
24221 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24223         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24224         sys/sdt-config.h.
24226 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24228         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24229         Make 'mapoff' field ElfW(Off) rather than off_t.
24231 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24233         * nscd/Makefile: Remove nscd-cflags and all its users.
24234         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24235         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24237         [BZ #10631]
24238         * malloc.c (malloc_printerr): Clarify error message.
24240 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24242         [BZ #14648]
24243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24244         Set bit_FMA_Usable if FMA is supported.
24245         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24246         macro.
24247         (bit_FMA4_Usable): Updated.
24248         (index_FMA_Usable): New macro.
24249         (CPUID_FMA): Likewise
24250         (HAS_FMA): Defined with bit_FMA_Usable.
24252 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24254         * bits/types.h (__swblk_t): Type removed.
24255         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24256         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24257         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24258         (__SWBLK_T_TYPE): Likewise.
24259         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24260         (__SWBLK_T_TYPE): Likewise.
24261         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24262         (__SWBLK_T_TYPE): Likewise.
24263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24264         (__SWBLK_T_TYPE): Likewise.
24266 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
24267             Honza Horak <hhorak@redhat.com>
24269         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24270         (xdr_mapname): Use YPMAXMAP as maxsize.
24271         (xdr_peername): Use YPMAXPEER as maxsize.
24272         (xdr_keydat): Use YPAXRECORD as maxsize.
24273         (xdr_valdat): Use YPMAXRECORD as maxsize.
24275 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24277         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24279         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24280         * csu/init-first.c: ... here.
24281         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24282         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24283         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24284         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24285         * sysdeps/i386/init-first.c: File removed.
24286         * sysdeps/sh/init-first.c: File removed.
24288 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
24290         [BZ #14645]
24291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24292         if x * y might underflow to zero and z is zero.
24293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24295         * math/libm-test.inc (min_subnorm_value): New variable.
24296         (fma_test): Add more tests.
24297         (fma_test_towardzero): Likewise.
24298         (fma_test_downward): Likewise
24299         (fma_test_upward): Likewise.
24300         (initialize): Set min_subnorm_value.
24302 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
24304         [BZ #14638]
24305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24306         0 + 0.
24307         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24308         mode for addition resulting in exact zero.
24309         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24311         exact 0 + 0.
24312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24314         * math/libm-test.inc (fma_test): Add more tests.
24315         (fma_test_towardzero): New function.
24316         (fma_test_downward): Likewise.
24317         (fma_test_upward): Likewise.
24318         (main): Call the new functions.
24320 2012-09-28  David S. Miller  <davem@davemloft.net>
24322         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24324 2012-09-28  Roland McGrath  <roland@hack.frob.com>
24326         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24327         instead of SIGALRM.
24329         * sysdeps/gnu/_G_config.h: Moved to ...
24330         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24331         * sysdeps/mach/hurd/_G_config.h: Moved to ...
24332         * sysdeps/generic/_G_config.h: ... here.
24334         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
24336         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24338         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24339         Conditionalize target on [libnss_test1.so-version].
24341         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24343         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24344         (elfobjdir): Move out of conditionals.
24346         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24347         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24348         (__nss_lookup_function): Conditionalize label remove_from_tree on
24349         [!DO_STATIC_NSS || SHARED], matching its only use.
24351 2012-09-28  David S. Miller  <davem@davemloft.net>
24353         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24354         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24355         file.
24356         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24357         sysdep_routines.
24358         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24359         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24360         when HWCAP_SPARC_CRYPTO is present.
24362 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24364         * io/tst-mknodat.c: Create a FIFO instead of a socket.
24366 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
24368         [BZ #6530]
24369         * stdio-common/vfprintf.c (process_string_arg): Revert
24370         2000-07-22 change.
24372 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
24374         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24375         for testcase.
24376         * stdio-common/tst-sprintf.c: Include <locale.h>
24377         (main): Test sprintf's handling of incomplete multibyte
24378         characters.
24380 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
24382         * elf/dl-runtime.c (VERSYMIDX): Removed.
24383         * elf/dl-version.c (VERSYMIDX): Likewise.
24384         * elf/do-rel.h (VERSYMIDX): Likewise.
24385         (VALIDX): Likewise.
24386         * elf/dynamic-link.h (VERSYMIDX): Likewise.
24387         * elf/rtld.c (VALIDX): Likewise.
24388         (ADDRIDX): Likewise.
24389         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24390         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24391         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24392         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24393         (VALIDX): Likewise.
24394         (ADDRIDX): Likewise.
24396 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24398         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24400 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
24402         [BZ #11438]
24403         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24404         to global scope.
24405         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24406         addresses are in the same scope as 192.0.2/24.
24407         * posix/gai.conf: Document new scope table defaults.
24409 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24411         [BZ #5298]
24412         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24413         for ftell.  Compute offsets from write pointers instead.
24414         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24416 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24418         [BZ #14543]
24419         * libio/Makefile (tests): New test case tst-fseek.
24420         * libio/tst-fseek.c: New test case to verify that fseek/ftell
24421         combination works in wide mode.
24422         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24423         state when the external buffer state changes.
24425 2012-09-27  David S. Miller  <davem@davemloft.net>
24427         [BZ #14376]
24428         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24429         pass reloc->r_addend in as the 'high' argument to
24430         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24434 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24436         * rt/tst-aio2.c: Include <pthread.h>.
24437         * rt/tst-aio3.c: Likewise.
24439 2012-09-27  Steve Ellcey  <sellcey@mips.com>
24441         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24443 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
24445         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24446         contents on [SHARED].
24448 2012-09-26  Marek Polacek  <polacek@redhat.com>
24450         [BZ #14530]
24451         [BZ #13741]
24452         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24453         for C++ and GCC <4.3 as well as for non GCC compilers.
24455 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24459 2012-09-25  Roland McGrath  <roland@hack.frob.com>
24461         * Makefile.in (all, install): Declare with .PHONY.
24462         Reported by Michael Hope <michael.hope@linaro.org>.
24464 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24466         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24467         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24468         system header.
24469         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24470         Likewise.
24471         (sydep_routines): Add the new and the internal functions.
24472         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24473         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24475         (GLIBC_2.17): Add the new function.
24476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24477         (GLIBC_2.17): Likewise.
24478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24479         (GLIBC_2.17): Likewise.
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24481         (GLIBC_2.17): Likewise.
24482         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24484 2012-09-25  Alan Modra  <amodra@gmail.com>
24486         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24487         Add release barrier before setting once_control to say
24488         initialisation is done.  Add hints on lwarx.  Use macro in
24489         place of isync.
24490         (clear_once_control): Add release barrier.
24492 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24494         [BZ #13629]
24495         * math/s_clog.c (__clog): Handle more values close to |z| = 1
24496         specially.
24497         * math/s_clog10.c (__clog10): Likewise.
24498         * math/s_clog10f.c (__clog10f): Likewise.
24499         * math/s_clog10l.c (__clog10l): Likewise.
24500         * math/s_clogf.c (__clogf): Likewise.
24501         * math/s_clogl.c (__clogl): Likewise.
24502         * math/Makefile (libm-calls): Add x2y2m1.
24503         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24504         (__x2y2m1): Likewise.
24505         (__x2y2m1l): Likewise.
24506         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24507         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24508         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24509         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24510         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24511         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24512         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24513         * sysdeps/i386/fpu/libm-test-ulps: Update.
24514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24516         [BZ #14621]
24517         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24518         int as type of variable DEPTH.
24519         (glob): Use size_t instead of int as type of variables NEWCOUNT
24520         and OLD_PATHC.
24522 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24524         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24525         Add s_sincosf-sse2.
24526         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24527         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24528         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24529         macros for using routine as __sincosf_ia32.
24530         Use macro for function declaration and weak_alias.
24531         * sysdeps/i386/fpu/libm-test-ulps: Update.
24533         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24536         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24537         subnormal argument.
24538         * math/s_cexpf.c (__cexpf): Likewise.
24539         * math/s_csinf.c (__csinf): Likewise.
24540         * math/s_csinhf.c (__csinhf): Likewise.
24541         * math/s_ctanf.c (__ctanf): Likewise.
24542         * math/s_ctanhf.c (__ctanhf): Likewise.
24543         * math/s_ccosh.c (__ccoshf): Likewise.
24544         * math/s_cexp.c (__cexpl): Likewise.
24545         * math/s_csin.c (__csin): Likewise.
24546         * math/s_csinh.c (__csinh): Likewise.
24547         * math/s_ctan.c (__ctan): Likewise.
24548         * math/s_ctanh.c (ctanh): Likewise.
24549         * math/s_ccoshl.c (__ccoshl): Likewise.
24550         * math/s_cexpl.c (__cexpl): Likewise.
24551         * math/s_csinl.c (__csinl): Likewise.
24552         * math/s_csinhl.c (__csinhl): Likewise.
24553         * math/s_ctanl.c (__ctanl): Likewise.
24554         * math/s_ctanhl.c (__ctanhl): Likewise.
24556 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24558         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24559         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24560         (_IO_off_t): Define to __off_t, not _G_off_t.
24561         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24562         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24563         (_IO_wint_t): Define to wint_t, not _G_wint_t.
24564         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24565         type of __dummy and __dummy2 fields.
24566         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24567         (_G_ssize_t): Likewise.
24568         (_G_off_t): Likewise.
24569         (_G_pid_t): Likewise.
24570         (_G_uid_t): Likewise.
24571         (_G_wchar_t): Likewise.
24572         (_G_wint_t): Likewise.
24573         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24574         (_G_ssize_t): Likewise.
24575         (_G_off_t): Likewise.
24576         (_G_pid_t): Likewise.
24577         (_G_uid_t): Likewise.
24578         (_G_wchar_t): Likewise.
24579         (_G_wint_t): Likewise.
24580         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24581         (_G_ssize_t): Likewise.
24582         (_G_off_t): Likewise.
24583         (_G_pid_t): Likewise.
24584         (_G_uid_t): Likewise.
24585         (_G_wchar_t): Likewise.
24586         (_G_wint_t): Likewise.
24588 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24590         * malloc/arena.c: Include malloc-sysdep.h.
24591         (shrink_heap): Use check_may_shrink_heap to decide if madvise
24592         is sufficient to shrink the heap or an unmap is needed.
24593         * sysdeps/generic/malloc-sysdep.h: New file.  Define
24594         new function check_may_shrink_heap.
24595         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
24596         new function check_may_shrink_heap.
24598 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24600         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24601         comments.
24603 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
24605         * catgets/test-gencat.sh: Add "set -e".
24606         * elf/tst-pathopt.sh: Likewise.
24607         * grp/tst_fgetgrent.sh: Likewise.
24608         * iconvdata/run-iconv-test.sh: Likewise.
24609         * intl/tst-gettext.sh: Likewise.
24610         * intl/tst-gettext2.sh: Likewise.
24611         * intl/tst-gettext4.sh: Likewise.
24612         * intl/tst-gettext6.sh: Likewise.
24613         * intl/tst-translit.sh: Likewise.
24614         * io/ftwtest-sh: Likewise.
24615         * libio/test-freopen.sh: Likewise.
24616         * malloc/tst-mtrace.sh: Likewise.
24617         * posix/globtest.sh: Likewise.
24618         * posix/tst-getconf.sh: Likewise.
24619         * posix/wordexp-tst.sh: Likewise.
24620         * stdio-common/tst-printf.sh: Likewise.
24621         * stdio-common/tst-unbputc.sh: Likewise.
24622         * stdlib/tst-fmtmsg.sh: Likewise.
24623         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24624         * catgets/Makefile: Do not specify -e option when running
24625         testsuite shell scripts.
24626         * elf/Makefile: Likewise.
24627         * grp/Makefile: Likewise.
24628         * iconvdata/Makefile: Likewise.
24629         * intl/Makefile: Likewise.
24630         * io/Makefile: Likewise.
24631         * libio/Makefile: Likewise.
24632         * malloc/Makefile: Likewise.
24633         * posix/Makefile: Likewise.
24634         * stdio-common/Makefile: Likewise.
24635         * stdlib/Makefile: Likewise.
24636         * sysdeps/x86_64/Makefile: Likewise.
24638         * io/ftwtest-sh: Add copyright header.
24639         * posix/globtest.sh: Likewise.
24640         * posix/tst-getconf.sh: Likewise.
24641         * posix/wordexp-tst.sh: Likewise.
24642         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24644 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
24646         [BZ #13679]
24647         * Makeconfig (+link): Defined as $(+link-static) if
24648         $(build-shared) isn't yes.
24649         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24650         isn't yes.
24651         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24653         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24655         [BZ #14562]
24656         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24657         new chunk size with MALLOC_ALIGN_MASK.
24659 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
24661         [BZ #5044]
24662         * stdio-common/printf_fphex.c: Include <stdbool.h> and
24663         <rounding-mode.h>.
24664         (__printf_fphex): Determine rounding using get_rounding_mode and
24665         round_away.
24666         * stdio-common/tst-printf-round.c (struct hex_test): New
24667         structure.
24668         (hex_tests): New variable.
24669         (test_hex_in_one_mode): New function.
24670         (do_test): Also run tests for hex float output.
24672 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
24674         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24675         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24676         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24677         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24678         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24679         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24680         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24681         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24683 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
24685         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24686         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24687         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24688         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24690 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
24692         [BZ #14579]
24693         * elf/rtld.c (dl_main): Limit the check for self loading to normal
24694         mode only.
24695         * elf/tst-rtld-load-self.sh: New test.
24696         * elf/Makefile: Run it.
24698 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
24700         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24701         (tst-writev-ENV): Remove.
24702         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24704 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
24706         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24708 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
24710         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24711         unconditional.
24712         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24713         Likewise.
24714         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24715         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24716         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24717         Likewise.
24719 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
24721         [BZ #14587]
24722         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24723         * config.make.in (have-cpp-asm-debuginfo): Removed.
24724         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24725         * configure: Regenerated.
24727 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
24729         [BZ #5044]
24730         * stdio-common/printf_fp.c: Include <stdbool.h> and
24731         <rounding-mode.h>.
24732         (___printf_fp): Determine rounding using get_rounding_mode and
24733         round_away.
24734         * stdio-common/tst-printf-round.c: New file.
24735         * stdio-common/Makefile (tests): Add tst-printf-round.
24736         (link-libm): New variable.
24737         ($(objpfx)tst-printf-round): Depend in $(link-libm).
24739 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
24741         [BZ #14576]
24742         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24743         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24744         Likewise.
24745         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24746         Likewise.
24748 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
24750         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24751         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24752         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24753         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24755 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
24757         [BZ #14518]
24758         * include/rounding-mode.h: New file.
24759         * sysdeps/generic/get-rounding-mode.h: Likewise.
24760         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24761         * stdlib/strtod_l.c: Include <rounding-mode.h>.
24762         (MAX_VALUE): New macro.
24763         (MIN_VALUE): Likewise.
24764         (overflow_value): New function.
24765         (underflow_value): Likewise.
24766         (round_and_return): Use overflow_value and underflow_value to
24767         determine return values in overflow and underflow cases.  Use
24768         round_away to determine rounding depending on rounding mode.
24769         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24770         determine return values in overflow and underflow cases.
24771         * stdlib/tst-strtod-round.c: Include <fenv.h>.
24772         (struct test_results): New structure.
24773         (struct test): Use struct test_results to store expected results
24774         for all rounding modes.
24775         (TEST): Include expected results for all rounding modes.
24776         (test_in_one_mode): New function.
24777         (do_test): Use test_in_one_mode to compute and check results.
24778         Check results for all rounding modes.
24779         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24780         $(link-libm).
24782 2012-12-09  Allan McRae  <allan@archlinux.org>
24784         * sysdeps/i386/fpu/libm-test-ulps: Update
24786 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
24788         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24789         (_G_int32_t): Likewise.
24790         (_G_uint16_t): Likewise.
24791         (_G_uint32_t): Likewise.
24792         (_G_HAVE_BOOL): Likewise.
24793         (_G_HAVE_ATEXIT): Likewise.
24794         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24795         (_G_HAVE_IO_FILE_OPEN): Likewise.
24796         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24797         (_G_int32_t): Likewise.
24798         (_G_uint16_t): Likewise.
24799         (_G_uint32_t): Likewise.
24800         (_G_HAVE_BOOL): Likewise.
24801         (_G_HAVE_ATEXIT): Likewise.
24802         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24803         (_G_HAVE_IO_FILE_OPEN): Likewise.
24804         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24805         (_G_int32_t): Likewise.
24806         (_G_uint16_t): Likewise.
24807         (_G_uint32_t): Likewise.
24808         (_G_HAVE_BOOL): Likewise.
24809         (_G_HAVE_ATEXIT): Likewise.
24810         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24811         (_G_HAVE_IO_FILE_OPEN): Likewise.
24813 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
24815         * csu/libc-tls.c: Update copyright years.
24817 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
24819         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24820         [!_G_USING_THUNKS]: Remove conditional code.
24821         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24822         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24824         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24825         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24826         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24827         (_G_VTABLE_LABEL_PREFIX): Likewise.
24828         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24829         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24830         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24831         (_G_VTABLE_LABEL_PREFIX): Likewise.
24832         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24833         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24834         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24835         (_G_VTABLE_LABEL_PREFIX): Likewise.
24836         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24838 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
24840         * libio/Makefile: Include ../Makeconfig before tests.
24841         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24842         only if $(build-shared) is yes.
24844         * iconv/gconv_db.c: Update copyright years.
24846 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24848         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24849         unwind info if defined PIC. Fix special cases description.
24850         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24852         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24853         DP_HI_MASK entry.
24854         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24856 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
24858         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24860         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24861         is NULL.
24863         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24864         (LDLIBS-tst-chk4): This.
24865         (LDFLAGS-tst-chk5): Renamed to ...
24866         (LDLIBS-tst-chk5): This.
24867         (LDFLAGS-tst-chk6): Renamed to ...
24868         (LDLIBS-tst-chk6): This.
24869         (LDFLAGS-tst-lfschk4): Renamed to ...
24870         (LDLIBS-tst-lfschk4): This.
24871         (LDFLAGS-tst-lfschk5): Renamed to ...
24872         (LDLIBS-tst-lfschk5): This.
24873         (LDFLAGS-tst-lfschk6): Renamed to ...
24874         (LDLIBS-tst-lfschk6): This.
24876         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24877         on $(common-objpfx)soversions.mk.
24879 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
24881         [BZ #10014]
24882         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24883         example host name.
24885 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24887         * malloc/arena.c (arena_get_retry): New function that gets
24888         another arena for the caller to try its request on.
24889         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24890         current arena cannot fulfill the request.
24891         (__libc_memalign): Likewise.
24892         (__libc_memalign): Likewise.
24893         (__libc_pvalloc): Likewise.
24894         (__libc_calloc): Likewise.
24896 2012-09-05  John Tobey  <john.tobey@gmail.com>
24898         [BZ #13542]
24899         * manual/arith.texi (Operations on Complex): Fix description
24900         of carg branch cut.
24902 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24904         [BZ #10014]
24905         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24906         host name.
24908         [BZ #10038]
24909         * manual/memory.texi (Memory): Make order of menu items match
24910         order of sections.
24912 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24914         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24915         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24916         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24918 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24920         * csu/libc-tls.c (static_dtv): Renamed to ...
24921         (_dl_static_dtv): This.  Make it global.
24922         (_dl_initial_dtv): Removed.
24923         (__libc_setup_tls): Updated.
24924         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24925         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24926         DL_INITIAL_DTV.
24928 2012-09-06  Petr Machata  <pmachata@redhat.com>
24930         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24931         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24932         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24933         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24935 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24937         [BZ #14545]
24938         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24939         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24940         freeing dtv[-1].
24942 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24944         [BZ #14544]
24945         * Makeconfig (link-static-before-libc): Replace $(+prector)
24946         with $(+prectorT).
24947         (link-static-after-libc): Replace $(+postctor) with
24948         $(+postctorT).
24949         (link-bounded): Replace $(+prector)/$(+postctor) with
24950         $(+prectorT)/$(+postctorT).
24951         (+prectorT): New macro.
24952         (+postctorT): Likewise.
24954 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24956         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24957         (round_str): Handle values above the maximum for IBM long double
24958         as inexact.
24959         * stdlib/tst-strtod-round.c (tests): Regenerated.
24961 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24963         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24964         assembler flag.
24965         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24966         zarch_nohighgprs around the zarch optimized routines.
24967         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24968         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24969         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24970         for zarch.
24972 2012-09-05  David S. Miller  <davem@davemloft.net>
24974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24976         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24977         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24978         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24979         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24980         entries.
24982 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24984         * malloc/arena.c: Fold copyright years.
24985         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24987 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24989         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24991 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24993         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24995 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24997         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24998         change internal state upon failure.
25000 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25002         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25003         * malloc/memusage.c (mmap): Likewise.
25004         (mmap64, mremap): Likewise.  Adjust name in comment.
25006 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25008         * libio/fileops.c: Fix typos in comments.
25009         * libio/oldfileops.c: Likewise.
25010         * libio/wfileops.c: Likewise.
25012 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25014         [BZ #1349]
25015         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25016         (tst-malloc-usable-ENV): Set environment for test case.
25017         * malloc/hooks.c (malloc_check_get_size): New function to get
25018         requested size.
25019         * malloc/malloc.c (musable): Use malloc_check_get_size.
25020         * malloc/tst-malloc-usable.c: New test case.
25022 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25024         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25026 2012-09-05  Allan McRae  <allan@archlinux.org>
25028         [BZ #13966]
25029         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25030         determine header location.
25031         * configure: Regenerated.
25033 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25035         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25036         float format.
25037         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25038         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25039         format.
25040         (test): Regenerate.
25042 2012-09-04  David S. Miller  <davem@davemloft.net>
25044         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25045         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25046         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25048 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25050         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25051         failures.
25053         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25055 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25057         [BZ #9914]
25058         * libio/iogetdelim.c: Include <limits.h>.
25059         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25060         + len + 1 would overflow.
25062 2012-09-03  Andreas Jaeger  <aj@suse.de>
25064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25065         * sysdeps/i386/fpu/libm-test-ulps: Update.
25067 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25069         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25070         Add s_sinf-sse2, s_conf-sse2.
25072         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25073         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25074         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25075         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25077         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25078         for using routine as __sinf_ia32.
25079         Use macro for function declaration and weak_alias.
25080         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25081         for using routine as __cosf_ia32.
25082         Use macro for function declaration and weak_alias.
25084         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25085         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25087         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25088         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25091         * math/libm-test.inc (cos_test): Add more test cases.
25092         (sin_test): Likewise.
25093         (sincos_test): Likewise.
25095 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25097         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25098         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25099         hidden.
25100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25102 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25104         [BZ #14538]
25105         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25106         first element of the GOT.
25107         (elf_machine_load_address): Return the difference between
25108         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25110 2012-09-01  Allan McRae  <allan@archlinux.org>
25112         [BZ #13412]
25113         * configure.in (AWK): Require gawk version 3.0 or later.
25114         * configure: Regenerated.
25116 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25118         * sysdeps/unix/sysv/linux/kernel-features.h
25119         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25120         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25121         [__NR_clock_getres]: Make code unconditional.
25122         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25123         (clock_getcpuclockid): Remove code left unreachable by removal of
25124         conditionals.
25125         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25126         code unconditional.
25127         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25128         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25129         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25130         Make code unconditional.
25131         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25132         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25133         * sysdeps/unix/sysv/linux/clock_settime.c
25134         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25135         conditional code.
25136         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25137         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25139 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25141         [BZ #14476]
25142         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25143         scripts/test-installation.pl.
25145         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25146         and $ld_so_version if it is set.
25148 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25150         [BZ #14516]
25151         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25152         failure if reading from procfs failed.
25153         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25155 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25157         * sysdeps/unix/sysv/linux/kernel-features.h
25158         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25159         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25160         Remove conditional code.
25161         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25162         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25163         Remove conditional code.
25164         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25165         * sysdeps/unix/sysv/linux/i386/fxstat.c
25166         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25168         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25169         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25171         * sysdeps/unix/sysv/linux/i386/lxstat.c
25172         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25174         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25175         Remove conditional code.
25176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25177         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25178         Remove conditional code.
25179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25180         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25181         <kernel-features.h>.
25182         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25183         Remove.
25184         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25185         Remove conditional code.
25186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25187         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25188         Remove conditional.
25190 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25192         [BZ #5400]
25193         * NEWS: Add fixed bug number.
25195 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25197         [BZ #14519]
25198         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25199         underflowing exponent in case of negative sign.
25200         * stdlib/tst-strtod-round-data: Add more tests.
25201         * stdlib/tst-strtod-round.c (tests): Regenerated.
25203         [BZ #3479]
25204         * stdlib/strtod_l.c (NDIG): Remove.
25205         (HEXNDIG): Likewise.
25206         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25207         smallest representable value.
25208         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25209         lie within an exact representation of 1/2 ulp of the result.
25210         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25211         unconditionally.
25212         (TENS_P9_IDX): Define unconditionally.
25213         (TENS_P9_SIZE): Likewise.
25214         (TENS_P10_IDX): Likewise.
25215         (TENS_P10_SIZE): Likewise.
25216         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25217         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25218         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25219         entries for 10^2^13 and 10^2^14.
25220         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25221         (TENS_P13_IDX): Define.
25222         (TENS_P13_SIZE): Likewise.
25223         (TENS_P14_IDX): Likewise.
25224         (TENS_P14_SIZE): Likewise.
25225         (_fpioconst_pow10): Change array size to
25226         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25227         unconditional.
25228         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25229         1024]: Add entries for 10^2^13 and 10^2^14.
25230         [LAST_POW10 > _LAST_POW10]: Remove #error.
25231         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25232         (_fpioconst_pow10): Change array size to
25233         FPIOCONST_POW10_ARRAY_SIZE.
25234         * stdlib/gen-fpioconst.c: New file.
25235         * stdlib/gen-tst-strtod-round.c: Likewise.
25236         * stdlib/tst-strtod-round-data: Likewise.
25237         * stdlib/tst-strtod-round.c: Likewise.
25238         * stdlib/Makefile (tests): Add tst-strtod-round.
25240         [BZ #14459]
25241         * stdlib/strtod_l.c: Include <stdint.h>.
25242         (NDEBUG): Do not define.
25243         (round_and_return): Change EXPONENT parameter to type intmax_t.
25244         Rearrange calculations to avoid internal overflow possibilities.
25245         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25246         Rearrange calculations to avoid internal overflow possibilities.
25247         Assert that number fits inside MPNSIZE limbs.
25248         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25249         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
25250         calculations and add assertions to avoid internal overflow
25251         possibilities.  Add casts to avoid signed/unsigned operations.
25252         * stdlib/tst-strtod-overflow.c: New file.
25253         * stdlib/Makefile (tests): Add tst-strtod-overflow.
25255 2012-08-25  Marek Polacek  <polacek@redhat.com>
25257         * time/time.h: Fix some typos in comments.
25259 2012-08-23  Roland McGrath  <roland@hack.frob.com>
25261         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25262         * posix/tst-rfc3484-2.c: Likewise.
25263         * posix/tst-rfc3484-3.c: Likewise.
25265 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
25267         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25268         (EF_ARM_ABI_FLOAT_HARD): Likewise.
25270 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
25272         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25273         #include of fxstatat64.c.
25275 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25277         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25278         * shadow/getspent_r.c: Likewise.
25279         * shadow/getspnam.c: Likewise.
25280         * shadow/getspnam_r.c: Likewise.
25281         * gshadow/getsgent.c: Likewise.
25282         * gshadow/getsgent_r.c: Likewise.
25283         * gshadow/getsgnam.c: Likewise.
25284         * gshadow/getsgnam_r.c: Likewise.
25285         * inet/getnetbyad.c: Likewise.
25286         * inet/getnetbyad_r.c: Likewise.
25287         * inet/getnetbynm.c: Likewise.
25288         * inet/getnetbynm_r.c: Likewise.
25289         * inet/getnetent.c: Likewise.
25290         * inet/getnetent_r.c: Likewise.
25291         * inet/getproto.c: Likewise.
25292         * inet/getproto_r.c: Likewise.
25293         * inet/getprtent.c: Likewise.
25294         * inet/getprtent_r.c: Likewise.
25295         * inet/getprtname.c: Likewise.
25296         * inet/getprtname_r.c: Likewise.
25297         * inet/getrpcbyname.c: Likewise.
25298         * inet/getrpcbyname_r.c: Likewise.
25299         * inet/getrpcbynumber.c: Likewise.
25300         * inet/getrpcbynumber_r.c: Likewise.
25301         * inet/getrpcent.c: Likewise.
25302         * inet/getrpcent_r.c: Likewise.
25303         * inet/getaliasent.c: Likewise.
25304         * inet/getaliasent_r.c: Likewise.
25305         * inet/getaliasname.c: Likewise.
25306         * inet/getaliasname_r.c: Likewise.
25307         * nscd/getgrgid_r.c: Likewise.
25308         * nscd/getgrnam_r.c: Likewise.
25309         * nscd/gethstbyad_r.c: Likewise.
25310         * nscd/gethstbynm3_r.c: Likewise.
25311         * nscd/getpwnam_r.c: Likewise.
25312         * nscd/getpwuid_r.c: Likewise.
25313         * nscd/getsrvbynm_r.c: Likewise.
25314         * nscd/getsrvbypt_r.c: Likewise.
25315         * nscd/gai.c: Likewise.
25317         * configure.in (build_nscd): New substituted variable, set
25318         by --disable-build-nscd and defaults to $use_nscd.
25319         * configure: Regenerated.
25320         * config.make.in (build-nscd): New substituted variable.
25321         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25322         Change conditional to require [$(build-nscd) = yes] as well.
25323         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25325         [BZ# 13696]
25326         * configure.in (use_nscd): New substituted variable, set by
25327         --disable-nscd.  If enabled, define USE_NSCD.
25328         * configure: Regenerated.
25329         * config.h.in: Add USE_NSCD.
25330         * config.make.in (use-nscd): New substituted variable.
25331         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25332         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25333         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25334         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25335         (CFLAGS-getgrnam_r.c): Likewise.
25336         (CFLAGS-initgroups.c): Likewise.
25337         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25338         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25339         Variables removed.
25340         * inet/getnetgrent_r.c
25341         (nscd_setnetgrent): New function, broken out of ...
25342         (setnetgrent): ... here.  Call it.
25343         (innetgr): Conditionalize nscd bits on [USE_NSCD].
25344         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25345         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25346         * nscd/Makefile (routines, aux): Move definitions after include of
25347         Makeconfig.  Conditionalize on [$(use-nscd) != no].
25348         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25349         Conditionalize on [USE_NSCD].
25350         (is_nscd, nscd_init_cb): Likewise.
25351         (nss_load_library): Conditionalize init callback on [USE_NSCD].
25352         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25353         * nss/nss_db/db-init.c: Likewise.
25354         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25355         [USE_NSCD].
25356         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25357         (make_request): Use it.
25358         (cache_valid_p): New function.
25359         (__check_pf): Use it.
25360         * NEWS: Add item for --disable-nscd.
25362 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
25364         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25365         to support sed >= 4.2.1-20-ga9bf076.
25366         * configure: Regenerated.
25368 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25370         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25371         Conditionalize whole body on [IREL].
25373 2012-08-22  Jeff Law <law@redhat.com>
25375         [BZ #14505]
25376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25377         if the family is PF_UNSPEC.
25379 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
25381         * Makerules (lib-version): Rename from V.
25382         (install-lib-nosubdir): Change V to lib-version.
25384 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
25386         [BZ #14252]
25387         * powerpc32/power6/wcschr.c: New file.
25388         * powerpc32/power6/wcscpy.c: New file.
25389         * powerpc32/power6/wcsrchr.c: New file.
25390         * powerpc64/power6/wcschr.c: New file.
25391         * powerpc64/power6/wcscpy.c: New file.
25392         * powerpc64/power6/wcsrchr.c: New file.
25394 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25396         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25397         (two_way_short_needle): Use it.
25398         * string/strstr.c (AVAILABLE1_USES_J): Define.
25399         * string/strcasestr.c: Likewise.
25401         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25402         array references.
25403         * string/strcasestr.c (TOLOWER): Make side-effect safe.
25405         [BZ #11607]
25406         * NEWS: Add an entry.
25407         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25408         define their defaults.
25409         (two_way_short_needle): Detect end-of-string on-the-fly.
25410         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25411         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25412         * string/bug-strcasestr1.c: New test.
25413         * string/Makefile: Run it.
25415 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25417         [BZ #11607]
25418         * string/str-two-way.h (two_way_short_needle): Optimize matching of
25419         the first character.
25421 2012-08-21  Roland McGrath  <roland@hack.frob.com>
25423         * csu/elf-init.c (__libc_csu_irel): Function removed.
25424         * csu/libc-start.c (apply_irel): New function.
25425         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25427 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
25429         * sysdeps/unix/sysv/linux/kernel-features.h
25430         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25431         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25432         <kernel-features.h>.
25433         [__NR_fadvise64_64]: Make code unconditional.
25434         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25435         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25436         !__NR_fadvise64_64)]: Likewise.
25437         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25438         !__NR_fadvise64_64))]: Likewise.
25439         [__NR_fadvise64]: Make code unconditional.
25440         [!__NR_fadvise64]: Remove conditional code.
25441         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25442         <kernel-features.h>.
25443         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25444         unconditional.
25445         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25446         conditional code.
25447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25448         not include <kernel-features.h>.
25449         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25450         unconditional.
25451         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25452         conditional code.
25453         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25454         include <kernel-features.h>.
25455         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25456         unconditional.
25457         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25458         conditional code.
25460 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25462         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25463         slight instruction rearrangements per scrollpipe analysis.
25464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25466 2012-08-20  Roland McGrath  <roland@hack.frob.com>
25468         * manual/syslog.texi (syslog; vsyslog, closelog):
25469         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25470         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25472         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25473         DSOCAPS to match condition on defining it.
25475 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
25477         * sysdeps/unix/sysv/linux/kernel-features.h
25478         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25480         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25481         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25483         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25484         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25486         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25487         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25489         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25490         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25492         * sysdeps/unix/sysv/linux/kernel-features.h
25493         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25494         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25495         unconditional.
25496         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25497         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25498         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25499         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25500         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25501         Make code unconditional.
25502         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25503         (__mmap64) [!__NR_mmap2]: Likewise.
25504         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25505         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25506         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25507         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25508         [__NR_mmap2]: Make code unconditional.
25509         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25510         (__mmap64) [!__NR_mmap2]: Likewise.
25512 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25514         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25516 2012-08-18  Andreas Jaeger  <aj@suse.de>
25518         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25520 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25522         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25523         * include/unistd.h (__have_sock_cloexec): Likewise.
25524         (__have_pipe2): Likewise.
25525         (__have_dup3): Likewise.
25527 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25529         [BZ #9685]
25530         * include/unistd.h (__have_pipe2): Change define into an extern int.
25531         (__have_dup3): Likewise.
25532         * socket/have_sock_cloexec.c: Include fcntl.h.
25533         (__have_pipe2): New variable.
25534         (__have_dup3): Likewise.
25536 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
25538         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25540 2012-08-17  Marek Polacek  <polacek@redhat.com>
25542         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25543         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25545 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25547         * configure.in: Add AC_SUBST for sysheaders.
25548         * configure: Regenerated.
25549         * config.make.in (sysheaders): New substituted variable.
25551         * sysdeps/unix/mkfifo.c: Moved ...
25552         * sysdeps/posix/mkfifo.c: ... here.
25553         * sysdeps/unix/mkfifoat.c: Moved ...
25554         * sysdeps/posix/mkfifoat.c: ... here.
25556         * sysdeps/unix/utime.c: Moved ...
25557         * sysdeps/posix/utime.c: ... here.
25559         * sysdeps/unix/time.c: Moved ...
25560         * sysdeps/posix/time.c: ... here.
25561         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25562         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25564         * sysdeps/unix/nice.c: Moved ...
25565         * sysdeps/posix/nice.c: ... here.
25567         * sysdeps/unix/alarm.c: Moved ...
25568         * sysdeps/posix/alarm.c: ... here.
25570         * intl/Makefile ($(codeset_mo)): Depend on the input file.
25572 2012-08-17  Jeff Law <law@redhat.com>
25574         * intl/Makefile (codeset_mo): New variable.
25575         ($(codeset_mo)): New target.
25576         (tst-codeset.out): Depend on that.  Remove explicit rule.
25577         (tst-gettext3.out, tst-gettext5.out): Likewise.
25578         (LOCPATH-ENV, tst-codeset-ENV): New variables.
25579         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25580         * intl/tst-codeset.sh: Remove.
25581         * intl/tst-gettext3.sh: Likewise.
25582         * intl/tst-gettext5.sh: Likewise.
25584 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25586         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
25587         * sysdeps/unix/syscalls.list: ... here.
25589         * sysdeps/posix/getaddrinfo.c
25590         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25591         (gaiconf_init, gaiconf_reload): Use them.
25592         [!_STATBUF_ST_NSEC]
25593         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25594         Define using time_t rather than struct timespec.
25596         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25597         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25598         Macros removed.
25599         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25600         [!NO_THREADS].
25601         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25602         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25603         Likewise.
25605         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25606         __libc_cleanup_push argument.
25608         * bits/param.h: New file.
25609         * misc/sys/param.h: New file.
25610         * include/sys/param.h: New file.
25611         * misc/Makefile (headers): Add bits/param.h.
25612         * sysdeps/generic/sys/param.h: File removed.
25613         * sysdeps/unix/sysv/linux/bits/param.h: New file.
25614         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25615         * sysdeps/mach/hurd/bits/param.h: New file.
25616         * sysdeps/mach/hurd/sys/param.h: File removed.
25618         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25619         last change.
25621         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25622         [_IO_MTSAFE_IO].
25623         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25624         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25625         New macros.
25627         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25628         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25629         rather than -D_IO_MTSAFE_IO conditionally.
25630         * stdio-common/Makefile (CPPFLAGS): Likewise.
25631         * wcsmbs/Makefile (CPPFLAGS): Likewise.
25632         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25633         Use $(libio-mtsafe).
25634         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25635         of -D_IO_MTSAFE_IO.
25636         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25637         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25638         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25639         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25640         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25641         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25642         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25643         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25644         (CFLAGS-fread_u_chk.c): Likewise.
25645         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25646         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25647         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25648         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25649         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25650         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25651         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25652         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25653         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25655         * libio/Makefile: Test [$(libc-reentrant) = yes]
25656         instead of [$(filter %REENTRANT, $(defines)) nonempty].
25658         * Makeconfig
25659         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25660         * sysdeps/pthread/configure: File removed.
25661         * sysdeps/pthread/Makeconfig: New file.
25662         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25663         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25665 2012-08-16  Gary Benson  <gbenson@redhat.com>
25667         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25668         unmapping the first object in a namespace.
25670 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25672         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25673         (__internal_setnetgrent): ... this.  Add internal_function to
25674         definition.  Add libc_hidden_def.
25675         (setnetgrent): Update caller.
25676         (internal_endnetgrent): Renamed to ...
25677         (__internal_endnetgrent): ... this.  Add internal_function to
25678         definition.  Add libc_hidden_def.
25679         (endnetgrent): Update caller.
25680         (internal_getnetgrent_r): Renamed to ...
25681         (__internal_getnetgrent_r): ... this.  Add internal_function to
25682         definition.  Add libc_hidden_def.
25683         (__getnetgrent_r): Update caller.
25684         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
25686 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25688         * stdlib/longlong.h: Update from GCC.
25690 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25692         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25693         on _QL, which is set by umul_ppmm but never used.
25694         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25695         variables, which are set by GMP macros but never used.
25696         * stdio-common/_itowa.c (_itowa): Likewise.
25697         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25698         * stdlib/mod_1.c (mpn_mod_1): Likewise.
25700 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
25702         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25703         struct La_sh_regs is not constant.
25704         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25705         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25706         and struct La_sparc64_regs are not constant.
25708 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25710         * sysdeps/unix/sysv/linux/kernel-features.h
25711         (__ASSUME_POSIX_TIMERS): Remove.
25712         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25713         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25714         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25715         Make code unconditional.
25716         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25717         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25718         Make code unconditional.
25719         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25720         * sysdeps/unix/sysv/linux/clock_nanosleep.c
25721         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25722         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25723         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25724         Make code unconditional.
25725         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25726         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25727         (__libc_missing_posix_timers): Remove.
25729 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25731         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25732         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25734         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25736         * elf/dl-sym.c: Include <stdlib.h>.
25738         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25739         constants, which avoids warnings in 32-bit builds.
25741         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25742         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25744         * misc/lseek.c: File moved to ...
25745         * io/lseek.c: ... here.
25747         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25749         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25750         shifting LEN more than 31 bits at once.
25752 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25754         [BZ #14195]
25755         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25756         segmentation fault for a case of two empty input strings.
25757         * string/test-strncasecmp.c (check1): Renamed to...
25758         (bz12205): ...this.
25759         (bz14195): Add new testcase for two empty input strings and N > 0.
25760         (test_main): Call new testcase, adapt for renamed function.
25762 2012-08-15  Andreas Jaeger  <aj@suse.de>
25764         [BZ #14090]
25765         * crypt/md5test2.c: New test, based on test supplied by Serge
25766         Belyshev <belyshev@depni.sinp.msu.ru>.
25767         * crypt/Makefile (xtests): Add md5test-giant..
25768         * crypt/Makefile ($(objpfx)md5test-giant): Add.
25770 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
25772         [BZ #14090]
25773         * crypt/md5.c (md5_process_block): Don't assume the buffer
25774         length is less than 2**32.
25775         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25776         length is less than 2**64.
25778 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25780         * string/str-two-way.h: Include <sys/param.h>.
25781         (MAX): Macro removed.
25783         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25784         Move #define and #undef of memmove to just before and after
25785         including <string.h>.
25787         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25788         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25789         and after including <string.h>.  Move declarations of
25790         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25791         to before #include "string/memmove.c".
25793         * include/dirent.h: Declare __getdirentries.
25795         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25796         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25798 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
25800         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25801         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25802         * sysdeps/i386/configure: Regenerated.
25803         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25804         STABS_CURRENT_FILE, and STABS_FUN.
25805         (END): Remove call to STABS_FUN_END.
25806         (STABS_CURRENT_FILE1): Delete.
25807         (STABS_CURRENT_FILE): Likewise.
25808         (STABS_FUN): Likewise.
25809         (STABS_FUN_END): Likewise.
25810         (STABS_FUN2): Likewise.
25811         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25812         * sysdeps/x86_64/configure: Regenerated.
25814 2012-08-14  Roland McGrath  <roland@hack.frob.com>
25816         * elf/dl-open.c: Include <atomic.h>.
25817         * elf/dl-lookup.c: Likewise.
25819 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
25821         * sysdeps/unix/sysv/linux/kernel-features.h
25822         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25823         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25824         unconditionally.
25825         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25826         unconditionally.
25827         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25828         condition on __ASSUME_CLONE_THREAD_FLAGS.
25830 2012-08-14  Andreas Jaeger  <aj@suse.de>
25832         * sysdeps/i386/fpu/libm-test-ulps: Update.
25834 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
25836         * include/atomic.h (atomic_exchange_and_add): Split into ...
25837         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25838         New atomic macros.
25840 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
25842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25844 2012-08-13  Jeff Law <law@redhat.com>
25846         * manual/stdio.texi (snprintf): Clarify handling of the trailing
25847         null byte in the output string.
25849 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
25851         * sysdeps/unix/sysv/linux/kernel-features.h
25852         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25853         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25854         (__ASSUME_ARG_MAX_STACK_BASED): Define.
25855         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25856         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25857         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
25858         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25860 2012-08-09  Jeff Law <law@redhat.com>
25862         [BZ #13939]
25863         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25864         When avoid_arena is set, don't retry in the that arena.  Pick the
25865         next one, whatever it might be.
25866         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25867         (arena_lock): Pass in new parameter to arena_get2.
25868         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25869         arena_get2.
25870         (__libc_malloc): Unify retrying after main arena failure with
25871         __libc_memalign version.
25872         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25874 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25876         [BZ #14166]
25877         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25878         to __redirect_strstr.
25879         (__strstr_sse42): Use typeof __redirect_strstr.
25880         (__strstr_ia32): Likewise.
25881         (__libc_strstr): New prototype.
25882         (strstr): Renamed to ...
25883         (__libc_strstr): This.
25884         (strstr): New strong alias of __libc_strstr.
25885         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25886         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25887         __redirect_time.
25888         Include <time.h>.
25889         (__libc_time): New prototype.
25890         (time_ifunc): Replace time with __libc_time.
25891         (time): New strong alias and hidden definition of __libc_time.
25892         (__GI_time): Remove strong alias.
25893         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25894         Include <stddef.h>.
25895         (memmove): Redefined to __redirect_memmove.
25896         (__memmove_sse2): Use typeof __redirect_memmove.
25897         (__memmove_ssse3): Likewise.
25898         (__memmove_ssse3_back): Likewise.
25899         (__libc_memmove): New prototype.
25900         (memmove): Renamed to ...
25901         (__libc_memmove): This.
25902         (memmove): New strong alias of __libc_memmove.
25904 2012-08-08  Mark Salter  <msalter@redhat.com>
25906         * elf/elf.h
25907         (R_MN10300_TLS_GD): Define.
25908         (R_MN10300_TLS_LD): Likewise.
25909         (R_MN10300_TLS_LDO): Likewise.
25910         (R_MN10300_TLS_GOTIE): Likewise.
25911         (R_MN10300_TLS_IE): Likewise.
25912         (R_MN10300_TLS_LE): Likewise.
25913         (R_MN10300_TLS_DTPMOD): Likewise.
25914         (R_MN10300_TLS_DTPOFF): Likewise.
25915         (R_MN10300_TLS_TPOFF): Likewise.
25916         (R_MN10300_SYM_DIFF): Likewise.
25917         (R_MN10300_ALIGN): Likewise.
25918         (R_MN10300_NUM): Update.
25920 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25923         Remove.
25925 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25927         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25929         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25930         sysdeps/unix -> sysdeps/posix move.
25931         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25933 2012-08-07      Allan McRae     <allan@archlinux.org>
25935         [BZ #14303]
25936         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25937         (SUNOS_CPP): Likewise.
25938         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25939         not found.
25940         (open_input): Call CPP using execvp.
25942 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25944         * sysdeps/unix/sysv/linux/kernel-features.h
25945         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25946         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25947         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25948         (__ASSUME_WAITID_SYSCALL): Likewise.
25949         * sysdeps/unix/sysv/linux/dl-execstack.c
25950         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25951         code unconditional.
25952         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25953         conditional code.
25954         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25955         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25956         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25957         code.
25958         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25959         unconditional.
25960         [__ASSUME_WAITID_SYSCALL]: Likewise.
25961         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25963 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25965         * sysdeps/unix/closedir.c: Renamed to ...
25966         * sysdeps/posix/closedir.c: ... here.
25967         * sysdeps/unix/dirfd.c: Renamed to ...
25968         * sysdeps/posix/dirfd.c: ... here.
25969         * sysdeps/unix/dirstream.h: Renamed to ...
25970         * sysdeps/posix/dirstream.h: ... here.
25971         * sysdeps/unix/fdopendir.c: Renamed to ...
25972         * sysdeps/posix/fdopendir.c: ... here.
25973         * sysdeps/unix/opendir.c: Renamed to ...
25974         * sysdeps/posix/opendir.c: ... here.
25975         * sysdeps/unix/readdir.c: Renamed to ...
25976         * sysdeps/posix/readdir.c: ... here.
25977         * sysdeps/unix/readdir_r.c: Renamed to ...
25978         * sysdeps/posix/readdir_r.c: ... here.
25979         * sysdeps/unix/rewinddir.c: Renamed to ...
25980         * sysdeps/posix/rewinddir.c: ... here.
25981         * sysdeps/unix/seekdir.c: Renamed to ...
25982         * sysdeps/posix/seekdir.c: ... here.
25983         * sysdeps/unix/telldir.c: Renamed to ...
25984         * sysdeps/posix/telldir.c: ... here.
25985         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25986         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25987         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25988         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25990         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25991         * bits/fcntl.h: ... here.
25993         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25994         not 0.
25995         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25996         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25997         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25998         (struct flock): Move l_start, l_len to the beginning.
25999         Use __pid_t for l_pid.
26000         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26001         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26002         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26003         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26004         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26005         [__USE_LARGEFILE64] (struct flock64): New type.
26006         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26008         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26009         * bits/dirent.h: ... here.
26011         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26012         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26014 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26016         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26017         Change from 2.6.0 to 2.6.16.
26018         * sysdeps/unix/sysv/linux/configure: Regenerated.
26019         * sysdeps/unix/sysv/linux/kernel-features.h
26020         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26021         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26022         version.
26023         (__ASSUME_UTIMES): Likewise.
26024         (__ASSUME_CLONE_STOPPED): Remove.
26025         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26026         architectures, not kernel version.
26027         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26028         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26029         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26030         (__ASSUME_WAITID_SYSCALL): Likewise.
26031         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26032         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26033         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26034         refer to older versions.
26036 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26038         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26039         Define alphasort64 as an alias.
26040         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26041         Define versionsort64 as an alias.
26042         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26043         Define scandir64 as an alias.
26044         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26045         Define scandirat64 as an alias.
26046         * dirent/alphasort64.c (alphasort64):
26047         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26048         * dirent/versionsort64.c: Likewise.
26049         * dirent/scandir64.c: Likewise.
26050         * dirent/scandirat64.c: Likewise.
26051         * sysdeps/wordsize-64/alphasort.c: File removed.
26052         * sysdeps/wordsize-64/alphasort64.c: File removed.
26053         * sysdeps/wordsize-64/scandir.c: File removed.
26054         * sysdeps/wordsize-64/scandir64.c: File removed.
26055         * sysdeps/wordsize-64/scandirat.c: File removed.
26056         * sysdeps/wordsize-64/scandirat64.c: File removed.
26057         * sysdeps/wordsize-64/versionsort.c: File removed.
26058         * sysdeps/wordsize-64/versionsort64.c: File removed.
26059         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26060         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26061         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26062         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26063         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26064         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26065         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26068         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26069         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26070         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26071         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26072         [defined __arch64__ || defined __sparcv9]
26073         (__INO_T_MATCHES_INO64_T): New macro.
26074         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26075         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26076         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26077         * sysdeps/unix/sysv/linux/bits/dirent.h
26078         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26079         (_DIRENT_MATCHES_DIRENT64): New macro.
26081         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26082         Define lockf64 as an alias.
26083         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26084         Define fseeko64 as an alias.
26085         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26086         Define ftello64 as an alias.
26087         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26088         Define _IO_fgetpos64 and fgetpos64 as aliases.
26089         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26090         Define _IO_fsetpos64 and fsetpos64 as aliases.
26091         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26092         Conditionalize body on this.
26093         * libio/fseeko64.c: Likewise.
26094         * libio/ftello64.c: Likewise.
26095         * libio/iofgetpos64.c: Likewise.
26096         * libio/iofsetpos64.c: Likewise.
26097         * sysdeps/wordsize-64/lockf.c: File removed.
26098         * sysdeps/wordsize-64/lockf64.c: File removed.
26099         * sysdeps/wordsize-64/fseeko.c: File removed.
26100         * sysdeps/wordsize-64/fseeko64.c: File removed.
26101         * sysdeps/wordsize-64/ftello.c: File removed.
26102         * sysdeps/wordsize-64/ftello64.c: File removed.
26103         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26104         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26105         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26106         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26107         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26108         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26109         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26110         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26111         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26112         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26113         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26114         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26115         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26116         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26118         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26119         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26120         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26122         [defined __arch64__ || defined __sparcv9]
26123         (__OFF_T_MATCHES_OFF64_T): New macro.
26124         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26125         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26126         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26127         (__OFF_T_MATCHES_OFF64_T): New macro.
26129 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26131         * stdlib/secure-getenv.c (__secure_getenv): Replace
26132         GLIBC_2_16 with GLIBC_2_17.
26134 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26136         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26139 2012-08-03  David S. Miller  <davem@davemloft.net>
26141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26143 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26146         Remove.
26147         (__ASSUME_CORRECT_SI_PID): Likewise.
26148         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26149         (__ASSUME_TMPFS_NAME): Likewise.
26150         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26151         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26152         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26153         (HAVE_AUX_SECURE): Make definition unconditional.
26154         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26155         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26157 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26159         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26160         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26161         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26162         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26163         __eloop_threshold instead of SYMLOOP_MAX.
26165         * sysdeps/generic/eloop-threshold.h: New file.
26166         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26167         of MAXSYMLINKS.
26168         * elf/chroot_canon.c (chroot_canon): Likewise.
26170 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26172         [BZ #13717]
26173         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26174         Change to 2.6.0 everywhere.
26175         * sysdeps/unix/sysv/linux/configure: Regenerated.
26176         * sysdeps/unix/sysv/linux/kernel-features.h
26177         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26178         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26179         kernel versions.
26180         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26181         (__ASSUME_FUTEX_REQUEUE): Remove.
26182         (__ASSUME_STATFS64): Define unconditionally.
26183         (__ASSUME_AT_SECURE): Likewise.
26184         (__ASSUME_CORRECT_SI_PID): Likewise.
26185         (__ASSUME_TGKILL): Define without depending on kernel version for
26186         i386.
26187         (__ASSUME_UTIMES): Likewise.
26188         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26189         kernel version.
26190         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26191         (__ASSUME_TMPFS_NAME): Likewise.
26192         * README: Update reference to Linux kernel versions.
26194 2012-08-02  Marek Polacek  <polacek@redhat.com>
26196         [BZ# 14150]
26197         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26198         libc_cv_asm_type_prefix with %.
26199         * configure: Regenerated.
26200         * include/libc-symbols.h: Remove comment about
26201         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26202         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26203         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26204         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26205         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26206         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26207         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26208         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26209         * elf/tst-unique2mod1.c: Likewise.
26210         * elf/tst-unique1mod2.c: Likewise.
26211         * elf/tst-unique1mod1.c: Likewise.
26212         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26213         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26214         Replace ASM_TYPE_DIRECTIVE with .type.
26215         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26216         * sysdeps/i386/sysdep.h: Likewise.
26217         * sysdeps/x86_64/sysdep.h: Likewise.
26218         * sysdeps/sh/sysdep.h: Likewise.
26219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26220         Do not define ASM_TYPE_DIRECTIVE.
26221         * sysdeps/powerpc/sysdep.h: Likewise.
26222         * sysdeps/powerpc/powerpc32/sysdep.h:
26223         Replace ASM_TYPE_DIRECTIVE with .type.
26224         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26225         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26226         * sysdeps/i386/fpu/e_powf.S: Likewise.
26227         * sysdeps/i386/fpu/e_expl.S: Likewise.
26228         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26229         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26230         * sysdeps/i386/fpu/e_pow.S: Likewise.
26231         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26232         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26233         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26234         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26235         * sysdeps/i386/fpu/e_log2.S: Likewise.
26236         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26237         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26238         * sysdeps/i386/fpu/e_powl.S: Likewise.
26239         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26240         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26241         * sysdeps/i386/fpu/e_logl.S: Likewise.
26242         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26243         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26244         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26245         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26246         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26247         * sysdeps/i386/fpu/e_log.S: Likewise.
26248         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26249         * sysdeps/i386/fpu/e_logf.S: Likewise.
26250         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26251         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26252         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26253         * sysdeps/i386/fpu/e_log10.S: Likewise.
26254         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26255         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26256         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26257         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26258         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26259         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26260         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26261         * sysdeps/i386/i686/strtok.S: Likewise.
26262         * sysdeps/i386/i386-mcount.S: Likewise.
26263         * sysdeps/i386/strtok.S: Likewise.
26264         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26265         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26266         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26267         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26268         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26269         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26270         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26271         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26272         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26273         * sysdeps/x86_64/_mcount.S: Likewise.
26274         * sysdeps/x86_64/strtok.S: Likewise.
26275         * sysdeps/sh/_mcount.S: Likewise.
26277 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26279         * libio/iofopen.c: Include <fcntl.h>.
26280         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26281         (_IO_fopen64, fopen64): Define as aliases.
26282         * libio/iofopen64.c: Include <fcntl.h>.
26283         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26284         Conditionalize body on this.
26285         * sysdeps/wordsize-64/iofopen.c: File removed.
26286         * sysdeps/wordsize-64/iofopen64.c: File removed.
26288 2012-08-01  Marek Polacek  <polacek@redhat.com>
26290         * libc/Makeconfig: Use elf in place of binfmt-subdir.
26291         Use dlfcn directly instead of a variable.
26292         (binfmt-subdir): Do not define.
26293         (dlfcn): Likewise.
26295 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
26297         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26298         Remove all definitions.
26299         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26300         <kernel-features.h>.
26301         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26302         (miss_F_GETOWN_EX): Remove all definitions.
26303         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26304         macro definition.
26305         [!__ASSUME_FCNTL64]: Remove conditional code.
26306         [__ASSUME_FCNTL64]: Make code unconditional.
26307         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26308         <kernel-features.h>.
26309         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26310         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26311         (lockf64) [__NR_fcntl64]: Make code unconditional.
26312         (lockf64) [__ASSUME_FCNTL64]: Likewise.
26314         * sysdeps/unix/sysv/linux/kernel-features.h
26315         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26316         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26317         Make code unconditional.
26318         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26319         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26321         [__NR_vfork]: Make code unconditional.
26322         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26323         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26325         [__NR_vfork]: Make code unconditional.
26326         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26327         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26329 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26331         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26332         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26334         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26335         Define mkstemp64 as an alias.
26336         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26337         Define mkstemps64 as an alias.
26338         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26339         Define mkostemp64 as an alias.
26340         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26341         Define mkostemps64 as an alias.
26342         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26343         Conditionalize body on this.
26344         * misc/mkostemp64.c: Likewise.
26345         * misc/mkostemps64.c: Likewise.
26346         * misc/mkstemps64.c: Likewise.
26347         * sysdeps/wordsize-64/mkstemp64.c: File removed.
26348         * sysdeps/wordsize-64/mkostemp64.c: File removed.
26349         * sysdeps/wordsize-64/mkostemp.c: File removed.
26350         * sysdeps/wordsize-64/mkstemp.c: File removed.
26351         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26352         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26353         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26354         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26356         [BZ #14138]
26357         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26358         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26359         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26360         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26362         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26363         compat_symbol macros from <shlib-compat.h> rather than the underlying
26364         default_symbol_version and symbol_version macros, so that DEFAULT
26365         lines in shlib-versions are respected.
26366         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26368 2012-08-01  Florian Weimer  <fweimer@redhat.com>
26370         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26371         Declare with warn_unused_result.
26372         (setgid, setregid, setegid, setresgid): Likewise.
26373         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26374         Likewise.
26375         * WUR-REPORT: Remove set*id functions.
26377 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
26379         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26381 2012-07-31  Roland McGrath  <roland@hack.frob.com>
26383         [BZ #10191]
26384         * include/sys/socket.h (__libc_accept, __libc_accept4):
26385         Add attribute_hidden.
26386         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26388         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26389         use of PTR_MANGLE.
26390         * inet/getnetgrent_r.c (setup): Likewise.
26392         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26394 2012-07-31  David S. Miller  <davem@davemloft.net>
26396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26398 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
26400         [BZ #13629]
26401         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26402         value between 1.0 and 2.0 and smaller part has absolute value less
26403         than 1.0.
26404         * math/s_clog10.c (__clog10): Likewise.
26405         * math/s_clog10f.c (__clog10f): Likewise.
26406         * math/s_clog10l.c (__clog10l): Likewise.
26407         * math/s_clogf.c (__clogf): Likewise.
26408         * math/s_clogl.c (__clogl): Likewise.
26409         * math/libm-test.inc (clog_test): Add more tests.
26410         (clog10_test): Likewise.
26411         * sysdeps/i386/fpu/libm-test-ulps: Update.
26412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26414 2012-07-31  Florian Weimer  <fweimer@redhat.com>
26416         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26417         Exit with zero in case no suitable GID is found, and write a
26418         message to standard error.
26420 2012-07-30  Roland McGrath  <roland@hack.frob.com>
26422         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26423         rather than to 1.
26424         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26425         (MAXPATHLEN): Removed.
26426         (NOGROUP, NODEV): New macros.
26427         (setbit, clrbit, isset, isclr): New macros.
26428         (howmany, roundup, powerof2): New macros.
26429         (DEV_BSIZE): New macro.
26431         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26432         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26434         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26435         definition on [!__NO_LONG_DOUBLE_MATH].
26437         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26438         PTR_MANGLE and PTR_DEMANGLE.
26440         * socket/accept4.c (accept4): Rename to __libc_accept4.
26441         Define accept4 as a weak alias.
26443         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26444         on [_DIRENT_HAVE_D_TYPE].
26445         * io/ftw.c (ftw_dir): Likewise.
26447         * io/xmknod.c (__xmknod): Don't check PATH for being null.
26449         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26451         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26452         Use the BSD numbers rather than the arbitrary ones we had.
26453         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26454         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26455         (SIGXCPU, SIGXFSZ): New macros.
26456         (_NSIG): Now 32.
26458         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26459         initializer on [_LIBC_REENTRANT].
26461         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26462         definitions inside [_POSIX_MAPPED_FILES].
26464         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26466         * dirent/opendir.c: Include <fcntl.h>.
26468         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26469         (__libc_getspecific): Likewise.
26470         (__libc_key_create): Likewise.
26472         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26473         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26474         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26475         (tmpfile64): Define as alias.
26476         * sysdeps/wordsize-64/tmpfile.c: File removed.
26477         * sysdeps/wordsize-64/tmpfile64.c: File removed.
26478         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26479         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26481         * stdio-common/vfscanf.c: Include <stdbool.h>.
26482         * nss/makedb.c: Likewise.
26483         * stdio-common/_i18n_number.h: Likewise.
26484         * argp/argp-help.c: Likewise.
26485         * posix/wordexp.c: Likewise.
26486         * sysdeps/posix/spawni.c: Likewise.
26487         * nss/nss_files/files-initgroups.c: Likewise.
26488         * stdio-common/reg-modifier.c: Include <stdlib.h>.
26489         * nss/nss_files/files-initgroups.c: Likewise.
26490         * nss/nss_db/db-netgrp.c: Likewise.
26491         * nss/nss_db/db-initgroups.c: Likewise.
26492         * io/fchmodat.c: Include <sys/stat.h>.
26494         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26495         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26497         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26498         [HAVE_MMAP].
26500         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26501         Add multiple inclusion protection.
26503 2012-07-27  David S. Miller  <davem@davemloft.net>
26505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26507 2012-07-27  Gary Benson  <gbenson@redhat.com>
26509         [BZ #14298]
26510         * elf/rtld.c: Include <stap-probe.h>.
26511         (dl_main): Added static probes "init_start" and "init_complete".
26512         * elf/dl-load.c: Include <stap-probe.h>.
26513         (lose): Take new parameter "nsid".
26514         Added static probe "map_failed".
26515         (_dl_map_object_from_fd): Pass namespace id to lose.
26516         Added static probe "map_start".
26517         (open_verify): Pass namespace id to lose.
26518         * elf/dl-open.c: Include <stap-probe.h>.
26519         (dl_open_worker) Added static probes "map_complete", "reloc_start"
26520         and "reloc_complete".
26521         * elf/dl-close.c: Include <stap-probe.h>.
26522         (_dl_close_worker): Added static probes "unmap_start" and
26523         "unmap_complete".
26524         * elf/rtld-debugger-interface.txt: New file documenting the above.
26526 2012-07-26  Roland McGrath  <roland@hack.frob.com>
26528         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26529         rather than a string variable.
26530         * sunrpc/rpc_main.c (h_output): Likewise.
26531         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26533 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
26535         * inet/check_native.c: New file.
26537 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
26539         [BZ #13629]
26540         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26541         if larger part has absolute value 1.0.
26542         * math/s_clog10.c (__clog10): Likewise.
26543         * math/s_clog10f.c (__clog10f): Likewise.
26544         * math/s_clog10l.c (__clog10l): Likewise.
26545         * math/s_clogf.c (__clogf): Likewise.
26546         * math/s_clogl.c (__clogl): Likewise.
26547         * math/libm-test.inc (clog_test): Add more tests.
26548         (clog10_test): Likewise.
26549         * sysdeps/i386/fpu/libm-test-ulps: Update.
26550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26552         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26553         (pltexit): Likewise.
26554         (La_regs): Likewise.
26555         (La_retval): Likewise.
26556         (int_retval): Likewise.
26557         Update #error for removed macros to refer only to definitions in
26558         tst-audit.h.
26559         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26560         macro.
26561         (pltexit): Likewise.
26562         (La_regs): Likewise.
26563         (La_retval): Likewise.
26564         (int_retval): Likewise.
26565         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26566         macro.
26567         (pltexit): Likewise.
26568         (La_regs): Likewise.
26569         (La_retval): Likewise.
26570         (int_retval): Likewise.
26571         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26572         macro.
26573         (pltexit): Likewise.
26574         (La_regs): Likewise.
26575         (La_retval): Likewise.
26576         (int_retval): Likewise.
26577         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26578         macro.
26579         (pltexit): Likewise.
26580         (La_regs): Likewise.
26581         (La_retval): Likewise.
26582         (int_retval): Likewise.
26583         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26584         macro.
26585         (pltexit): Likewise.
26586         (La_regs): Likewise.
26587         (La_retval): Likewise.
26588         (int_retval): Likewise.
26589         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26590         macro.
26591         (pltexit): Likewise.
26592         (La_regs): Likewise.
26593         (La_retval): Likewise.
26594         (int_retval): Likewise.
26595         * sysdeps/generic/tst-audit.h: Update comment to refer only to
26596         macro definitions in tst-audit.h.
26597         * sysdeps/i386/tst-audit.h: New file.
26598         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26599         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26600         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26601         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26602         * sysdeps/sh/tst-audit.h: Likewise.
26603         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26604         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26605         * sysdeps/x86_64/tst-audit.h: Likewise.
26607 2012-07-26  Andreas Jaeger  <aj@suse.de>
26609         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26610         ptrace.
26612         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26613         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26614         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26615         PTRACE_O_MASK.
26616         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26617         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26618         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26620         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26621         value.
26623         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26624         _sigsys.
26625         (si_call_addr, si_syscall, si_arch): Define new macro.
26626         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26627         _sigsys.
26628         (si_call_addr, si_syscall, si_arch): Define new marcro.
26629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26630         _sigsys.
26631         (si_call_addr, si_syscall, si_arch): Define new macro.
26632         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26633         _sigsys.
26634         (si_call_addr, si_syscall, si_arch): Define new macro.
26636 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26638         [BZ #13717]
26639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26640         Change to 2.4.21 where previously 2.4.1.
26641         * sysdeps/unix/sysv/linux/configure: Regenerated.
26642         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26643         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26644         Linux kernel version.
26645         (__ASSUME_STD_AUXV): Remove.
26646         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26647         kernel version.
26648         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26649         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26650         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26651         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26652         (__ASSUME_NETLINK_SUPPORT): Likewise.
26653         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26654         (__no_netlink_support): Remove conditional definition.
26655         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26656         Remove.
26657         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26658         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26659         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26660         (if_nameindex_ioctl): Remove.
26661         (if_nameindex_netlink): Do not handle __no_netlink_support.
26662         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26663         code.
26664         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26665         Remove conditional code.
26666         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26667         code.
26668         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26669         unconditional.
26670         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26671         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26672         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26673         Remove.
26674         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26675         [!__ASSUME_STD_AUXV]: Remove conditional code.
26676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26677         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26678         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26680         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26681         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26682         code.
26683         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26685         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26686         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26687         conditional code.
26688         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26690         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26691         code.
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26693         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26694         conditional code.
26695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26696         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26697         code unconditional.
26698         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26699         conditional code.
26700         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26701         unconditional.
26702         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26703         conditional code.
26704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26705         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26706         unconditional.
26707         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26708         conditional code.
26709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26710         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26711         code unconditional.
26712         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26713         conditional code.
26714         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26715         unconditional.
26716         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26717         conditional code.
26718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26719         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26720         code unconditional.
26721         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26722         conditional code.
26723         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26724         unconditional.
26725         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26726         conditional code.
26728 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
26730         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26731         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26732         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26733         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26734         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26735         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26736         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26737         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26738         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26739         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26740         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26741         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26742         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26743         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26745         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26746         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26747         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26748         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26750         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26751         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26752         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26754 2012-07-25  Florian Weimer  <fweimer@redhat.com>
26756         * Versions.def: Add GLIBC_2.17.
26757         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26758         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26759         Introduce __libc_secure_getenv.
26760         * stdlib/Versions (2.17): Add secure_getenv
26761         (GLIBC_PRIVATE): Add __libc_secure_getenv.
26762         * stdlib/secure-getenv.c: Rename __secure_getenv to
26763         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
26764         symbol __secure_getenv for GLIBC_2.0.
26765         * stdlib/tst-secure-getenv.c: New.
26766         * stdlib/Makefile (tests): Add testcase.
26767         * manual/startup.texi (Environment Access): Document
26768         secure_getenv.
26769         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26770         __libc_secure_getenv.
26771         * inet/ruserpass.c (ruserpass): Likewise.
26772         * malloc/mtrace.c (mtrace): Likewise.
26773         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26774         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26775         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26776         * sysdeps/posix/tempname.c: Likewise.  Evaluate
26777         HAVE_SECURE_GETENV.
26778         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26779         __secure_getenv to __libc_secure_getenv.
26780         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26782         Likewise.
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26784         Likewise.
26785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26793 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26795         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26796         (struct La_i86_retval): Likewise.
26797         (struct La_x86_64_regs): Likewise.
26798         (struct La_x86_64_retval): Likewise.
26799         (struct La_x32_regs): Likewise.
26800         (struct La_x32_retval): Likewise.
26801         (struct La_ppc32_regs): Likewise.
26802         (struct La_ppc32_retval): Likewise.
26803         (struct La_ppc64_regs): Likewise.
26804         (struct La_ppc64_retval): Likewise.
26805         (struct La_sh_regs): Likewise.
26806         (struct La_sh_retval): Likewise.
26807         (struct La_s390_32_regs): Likewise.
26808         (struct La_s390_32_retval): Likewise.
26809         (struct La_s390_64_regs): Likewise.
26810         (struct La_s390_64_retval): Likewise.
26811         (struct La_sparc32_regs): Likewise.
26812         (struct La_sparc32_retval): Likewise.
26813         (struct La_sparc64_regs): Likewise.
26814         (struct La_sparc64_retval): Likewise.
26815         (struct audit_ifaces): Remove architecture-specific pltenter and
26816         pltexit members.
26817         * sysdeps/i386/ldsodefs.h: New file.
26818         * sysdeps/powerpc/ldsodefs.h: Likewise.
26819         * sysdeps/s390/ldsodefs.h: Likewise.
26820         * sysdeps/sh/ldsodefs.h: Likewise.
26821         * sysdeps/sparc/ldsodefs.h: Likewise.
26822         * sysdeps/x86_64/ldsodefs.h: Likewise.
26824 2012-07-25  Marek Polacek  <polacek@redhat.com>
26826         [BZ #6808]
26827         * math/libm-test.inc (yn_test): Add another test.
26828         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26829         to ERANGE when the result is +-Inf.
26830         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26831         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26832         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26835 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
26837         * conform/data/time.h-data (NULL): Use macro-constant.  Require
26838         equal to 0.
26839         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
26840         clock_t.
26841         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
26843 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
26845         * configure.in <sysdeps resolving>: Correct printing
26846         Implies_before.
26847         * configure: Regenerate.
26849 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
26851         * math/w_ilogb.c: Include <limits.h>.
26852         * math/w_ilogbl.c: Likewise.
26854 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26856         * manual/lang.texi (__va_copy): Document primarily as ISO C99
26857         va_copy.  Document allowing for unavailable va_copy only as
26858         pre-C99 compatibility.
26859         * manual/string.texi (Copying and Concatenation): Use va_copy
26860         instead of __va_copy in concat example.
26862 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
26864         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26865         (__sendto): Use create_address_port.  Initialize APORT and deallocate
26866         it if not null.
26868         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26869         with O_NOLINK passed to __file_name_lookup.
26871         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26872         with O_NOLINK passed to __file_name_lookup.
26874         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26875         negative N or less than NGIDS.
26877         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26878         type to string_t.  Set ERANGE as errno and return it if NAME is not big
26879         enough.  Use memcpy instead of strncpy.
26881 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26883         * elf/Makefile (check-data): Remove.
26884         (localplt.data): New vpath directive.
26885         ($(objpfx)check-localplt.out): Use localplt.data from vpath
26886         instead of $(check-data).
26887         * scripts/data/localplt-generic.data: Move to ...
26888         * sysdeps/generic/localplt.data: ... here.
26889         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26890         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26891         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26893         ... here.
26894         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26896         ... here.
26897         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26899         ... here.
26900         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26902         ... here.
26903         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26905         ... here.
26906         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26908         ... here.
26910 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26912         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26913         PPC32 and PPC64 files.
26914         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26915         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26917 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26919         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26920         __makecontext_ret to ...
26921         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26922         ... here and call exit if uc_link is NULL.  New file.
26923         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26924         __makecontext_ret.S.
26925         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26926         __makecontext_ret to ...
26927         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26928         ... here and call exit if uc_link is NULL.  New file.
26929         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26930         __makecontext_ret.S.
26932 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26934         * elf/elf.h (R_390_IRELATIVE): New definition.
26935         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26936         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26937         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26938         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26939         (elf_machine_lazy_rel): Likewise.
26940         * sysdeps/s390/dl-irel.h: New file.
26941         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26942         * sysdeps/s390/s390-64/memset.S: New asm code.
26943         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26944         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26945         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26946         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26947         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26948         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26949         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26950         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26951         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26952         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26953         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26954         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26955         * sysdeps/s390/s390-32/memset.S: New asm code.
26956         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26958 2012-07-17  Marek Polacek  <polacek@redhat.com>
26960         [BZ #14349]
26961         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26962         * sysdeps/s390/s390-64/configure.in: Likewise.
26963         * sysdeps/sparc/configure.in: Likewise.
26964         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26965         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26966         * sysdeps/i386/configure.in: Likewise.
26967         * sysdeps/x86_64/configure.in: Likewise.
26968         * sysdeps/sh/configure.in: Likewise.
26969         * sysdeps/s390/s390-32/configure: Regenerated.
26970         * sysdeps/s390/s390-64/configure: Likewise.
26971         * sysdeps/x86_64/configure: Likewise.
26972         * sysdeps/sh/configure: Likewise.
26973         * sysdeps/powerpc/powerpc64/configure: Likewise.
26974         * sysdeps/powerpc/powerpc32/configure: Likewise.
26975         * sysdeps/sparc/configure: Likwise.
26976         * sysdeps/i386/configure: Likewise.
26978         * elf/dl-open.c: Comment fixes.
26980 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26982         * Makefile [CXX] (check-data): Remove.
26983         [CXX] (c++-types.data): New vpath directive.
26984         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26985         vpath.  Do not allow for C++ type data being missing.
26986         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26987         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26988         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26989         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26990         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26991         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26992         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26994         ... here.
26995         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26997         ... here.
26998         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27000         ... here.
27001         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27003         ... here.
27004         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27006         ... here.
27007         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27009         ... here.
27010         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27012         ... here.
27013         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27016         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27017         definitions to architecture-specific files.
27018         (TLS_IE): Likewise.
27019         (TLS_LD): Likewise.
27020         (TLS_GD): Likewise.
27021         * sysdeps/i386/tls-macros.h: New file.
27022         * sysdeps/powerpc/tls-macros.h: Likewise.
27023         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27024         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27025         * sysdeps/sh/tls-macros.h: Likewise.
27026         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27027         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27028         * sysdeps/x86_64/tls-macros.h: Likewise.
27030 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27032         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27033         zero value for regular exit case.
27035         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27036         (__start_context): Preserve zero value for regular exit case.
27038 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27039             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27041         * manual/setjmp.texi (setcontext): Clarify normal process
27042         termination when uc_link is the null pointer.
27043         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27044         exit call.
27046 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27048         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27049         preprocessor.  Test for each exception mask separately.
27051 2012-07-16  Andreas Jaeger  <aj@suse.de>
27053         * po/ru.po: Update from translation team.
27055 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27057         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27058         equal to 0.
27059         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27060         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27061         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27062         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27063         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27065 2012-07-13  Andreas Jaeger  <aj@suse.de>
27067         * po/fr.po: Update from translation team.
27069 2012-07-12  Marek Polacek  <polacek@redhat.com>
27071         [BZ #14173]
27072         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27073         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27074         loop condition.
27076 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27078         [BZ #13717]
27079         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27080         Change to 2.4.1 where previously 2.4.0.
27081         * sysdeps/unix/sysv/linux/configure: Regenerated.
27082         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27083         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27084         version.
27085         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27086         (__ASSUME_AT_CLKTCK): Remove.
27087         (__ASSUME_AT_PAGESIZE): Likewise.
27088         (__ASSUME_AT_XID): Likewise.
27089         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27090         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27091         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27092         unconditionally.
27093         (HAVE_AUX_PAGESIZE): Likewise.
27094         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27095         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27096         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27098 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27100         [BZ #14307]
27101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27102         the temporary buffer used to invoke __gethostbyname2_r,
27103         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27104         host_data / struct gaih_addrtuple.
27105         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27106         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27107         header file nss/nsswitch.h.
27108         * nss/nsswitch.h (global scope): Add definition of implementation
27109         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27110         resolv/nss_dns/dns-host.c).
27112 2012-07-11  Andreas Jaeger  <aj@suse.de>
27114         * po/fr.po: Update from translation team.
27116         * po/sv.po: Update from translation team
27117         * po/fr.po: Another update from translation team.
27119 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27121         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27122         for subnormals or multiply small sinh result by itself.
27123         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27126 2012-07-11  David S. Miller  <davem@davemloft.net>
27128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27130 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27132         [BZ #14347]
27133         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27134         (INTERNAL_MARK): Shift it here.
27136 2012-07-10  Marek Polacek  <polacek@redhat.com>
27138         [BZ #14151]
27139         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27140         libc_cv_asm_global_directive with .globl.
27141         * configure: Regenerated.
27142         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27143         with .globl.
27144         * sysdeps/i386/configure: Regenerated.
27145         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27146         with .globl.
27147         * sysdeps/x86_64/configure: Regenerated.
27148         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27149         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27150         * elf/tst-unique2mod2.c: Likewise.
27151         * elf/tst-unique2mod1.c: Likewise.
27152         * elf/tst-unique1mod2.c: Likewise.
27153         * elf/tst-unique1mod1.c: Likewise.
27154         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27155         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27156         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27157         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27158         * sysdeps/mach/sysdep.h: Likewise.
27159         * sysdeps/i386/sysdep.h: Likewise.
27160         * sysdeps/i386/i386-mcount.S: Likewise.
27161         * sysdeps/x86_64/_mcount.S: Likewise.
27162         * sysdeps/x86_64/sysdep.h: Likewise.
27163         * sysdeps/sh/_mcount.S: Likewise.
27164         * sysdeps/sh/sysdep.h: Likewise.
27165         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27166         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27167         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27168         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27169         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27170         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27171         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27172         * locale/localeinfo.h: Likewise.
27173         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27174         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27176 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27178         [BZ #14336]
27179         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27180         system".
27181         * manual/message.texi (The Uniforum approach): Likewise.
27182         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27183         (glibc iconv Implementation): Likewise.
27185 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27187         [BZ #14337]
27188         * math/s_clog.c (__clog): Avoid scaling a value down where that
27189         could result in underflow.
27190         * math/s_clog10.c (__clog10): Likewise.
27191         * math/s_clog10f.c (__clog10f): Likewise.
27192         * math/s_clog10l.c (__clog10l): Likewise.
27193         * math/s_clogf.c (__clogf): Likewise.
27194         * math/s_clogl.c (__clogl): Likewise.
27195         * math/libm-test.inc (clog_test): Add more tests.
27196         (clog10_test): Likewise.
27197         * sysdeps/i386/fpu/libm-test-ulps: Update.
27198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27200 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27202         [BZ #14283]
27203         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27204         by 7 not 8 to examine high bit of fractional part.
27206         [BZ #14042]
27207         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27208         for call to __mcount_internal.
27209         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27210         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27211         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27213 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27215         [BZ #14154]
27216         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27217         approximation for values within 0x1p-13f of an odd multiple of
27218         pi/4.
27219         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27220         exception.  Add more tests.
27221         * sysdeps/i386/fpu/libm-test-ulps: Update.
27223         [BZ #6778]
27224         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27225         inputs and return -1 for them.  Do not check for +Inf in case not
27226         reachable for +Inf.
27227         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27228         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27229         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27230         and return -1 for them.  Do not check for +Inf in case not
27231         reachable for +Inf.
27232         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27233         define.
27234         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27235         and return -1 for them.  Do not check for +Inf in case not
27236         reachable for +Inf.
27237         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27238         spurious underflow.
27239         * sysdeps/i386/fpu/libm-test-ulps: Update.
27240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27242 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27244         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27246 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
27248         [BZ #14157]
27249         [BZ #14331]
27250         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27251         could result in spurious underflow.  Scale down values above
27252         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27253         * math/s_csqrtf.c (__csqrtf): Likewise.
27254         * math/s_csqrtl.c (__csqrtl): Likewise.
27255         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
27256         spurious underflow.
27257         * sysdeps/i386/fpu/libm-test-ulps: Update.
27258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27260 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
27262         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27263         xopen-msg.sed.
27264         * catgets/xopen-msg.awk: New file.
27265         * catgets/xopen-msg.sed: Removed.
27267         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27268         po2text.sed.
27269         * intl/po2test.awk: New file.
27270         * intl/po2test.sed: Removed.
27272 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
27274         [BZ #14328]
27275         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27276         or multiply small sinh result by itself.
27277         * math/s_ctanf.c (__ctanf): Likewise.
27278         * math/s_ctanh.c (__ctanh): Likewise.
27279         * math/s_ctanhf.c (__ctanhf): Likewise.
27280         * math/s_ctanhl.c (__ctanhl): Likewise.
27281         * math/s_ctanl.c (__ctanl): Likewise.
27282         * math/libm-test.inc (ctan_test_tonearest): New function.
27283         (ctan_test_towardzero): Likewise.
27284         (ctan_test_downward): Likewise.
27285         (ctan_test_upward): Likewise.
27286         (ctanh_test_tonearest): Likewise.
27287         (ctanh_test_towardzero): Likewise.
27288         (ctanh_test_downward): Likewise.
27289         (ctanh_test_upward): Likewise.
27290         (main): Call these new functions.
27291         * sysdeps/i386/fpu/libm-test-ulps: Update.
27292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27294 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
27296         * .gitignore: Delete /ports entry.
27298 2012-07-03  Andreas Jaeger  <aj@suse.de>
27300         * po/bg.po: Update from translation team.
27301         * po/cs.po: Likewise.
27302         * po/de.po: Likewise.
27303         * po/hr.po: Likewise.
27304         * po/nl.pl: Likewise.
27305         * po/pl.po: Likewise.
27306         * po/vi.po: Likewise.
27308 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
27310         * Makeconfig [!+link] (+link-before-libc): New variable.
27311         [!+link] (+link-after-libc): Likewise.
27312         [!+link] (+link-tests): Likewise.
27313         [!+link] (+link): Define in terms of $(+link-before-libc) and
27314         $(+link-after-libc).
27315         [!+link-static] (+link-static-before-libc): New variable.
27316         [!+link-static] (+link-static-after-libc): Likewise.
27317         [!+link-static] (+link-static-tests): Likewise.
27318         [!+link-static] (+link-static): Define in terms of
27319         $(+link-static-before-libc) and $(+link-static-after-libc).
27320         [build-shared] (link-libc-before-gnulib): New variable.
27321         [build-shared] (link-libc-tests): Likewise.
27322         [build-shared] (link-libc): Define in terms of
27323         $(link-libc-before-gnulib).
27324         [!build-shared] (link-libc-tests): New variable.
27325         (link-libc-static-tests): New variable.
27326         [!gnulib] (gnulib-arch): New variable.
27327         [!gnulib] (gnulib-tests): Likewise.
27328         [!gnulib] (static-gnulib-arch): Likewise.
27329         [!gnulib] (static-gnulib-tests): Likewise.
27330         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
27331         Define with "=" instead of ":=".
27332         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
27333         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
27334         * Rules (binaries-all-notests): New variable.
27335         (binaries-all-tests): Likewise.
27336         (binaries-static-notests): Likewise.
27337         (binaries-static-tests): Likewise.
27338         (binaries-all): Define using $(binaries-all-notests) and
27339         $(binaries-all-tests).
27340         (binaries-static): Define using $(binaries-static-notests) and
27341         $(binaries-static-tests).
27342         (binaries-shared-tests): New variable.
27343         (binaries-shared-notests): Likewise.
27344         (binaries-shared): Remove variable.
27345         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27346         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27347         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27348         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27349         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27350         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27351         * elf/Makefile (sln-modules): New variable.
27352         (extra-objs): Add $(sln-modules:=.o).
27353         (ldconfig-modules): Add static-stubs.
27354         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27355         * elf/static-stubs.c: New file.
27357         [BZ #14283]
27358         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27359         by 7 not 8 to examine high bit of fractional part.  Use volatile
27360         variables when splitting into final array of floats if
27361         __FLT_EVAL_METHOD__ != 0.
27362         * math/libm-test.inc (cos_test): Add another test.
27363         (sin_test): Likewise.
27364         * sysdeps/i386/fpu/libm-test-ulps: Update.
27366         [BZ #14273]
27367         * math/libm-test.inc (cosh_test): Add more tests.
27369         * version.h (RELEASE): Set to "development".
27370         (VERSION): Set to "2.16.90".
27372 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
27374         * NEWS: Update copyright. Remove last-updated date.
27375         Mention math library bug fixes and timezone data changes.
27376         * README: Mention GNU/Hurd, x32, and HPPA support status.
27378 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
27380         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27382 2012-06-27  Andreas Jaeger  <aj@suse.de>
27384         * manual/contrib.texi (Contributors): Add Samuel Thibault.
27386 2012-06-25  Andreas Jaeger  <aj@suse.de>
27388         * sysdeps/s390/fpu/libm-test-ulps: Update.
27390 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
27391             Thomas Schwinge  <thomas@codesourcery.com>
27393         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27394         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27396         fanotify_mark.
27398 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
27400         * sysdeps/mach/start.c: Remove file.
27401         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27402         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27403         * sysdeps/sh/init-first.c: Likewise.
27405         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27406         registers for frame unwinding purposes, add CFI directives.
27407         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27408         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27409         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27410         Likewise.
27412         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27413         __fortify_fail returning.
27414         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27416         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27417         sysdeps/sh/____longjmp_chk.S.
27418         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27419         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27420         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27421         (gen-as-const-headers): Append sigaltstack-offsets.sym.
27423         * sysdeps/sh/abort-instr.h: New file.
27424         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27425         process in case exit returns.
27427         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27428         initialize the GOT register before use.
27430         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27431         calculation of ARGC > 4.
27433         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27434         meaningful names to some local labels.
27436 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27437             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27439         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27440         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27441         (__arch_compare_and_exchange_val_16_acq): Likewise.
27442         (__arch_compare_and_exchange_val_32_acq): Likewise.
27443         (atomic_exchange_and_add): Fix gUSA sequence.
27444         (atomic_add): Likewise.
27445         (atomic_add_negative): Likewise.
27446         (atomic_add_zero): Likewise.
27447         (atomic_bit_test_set): Likewise.
27449 2012-06-22  Andreas Schwab  <schwab@redhat.com>
27451         [BZ #13579]
27452         * include/link.h (struct link_map): Add l_free_initfini.
27453         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27454         l_initfini.
27455         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27456         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27457         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27458         set.
27460 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
27462         * configure.in: Use AC_LANG_SOURCE.
27463         * configure: Regenerate.
27465 2012-06-22  Roland McGrath  <roland@hack.frob.com>
27467         * configure.in (libc_cv_localstatedir): New substituted variable.
27468         * configure: Regenerated.
27469         * config.make.in (localstatedir): New variable, substituted from
27470         libc_cv_localstatedir.
27471         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27472         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27473         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27474         * sysdeps/gnu/configure: Regenerated.
27476 2012-06-21  Jeff Law  <law@redhat.com>
27478         [BZ #14277]
27479         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27480         free.  Simplify list management for _LIBC case.
27482 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
27484         [BZ #14273]
27485         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27486         Clear sign bit of 64-bit integer value before comparing against
27487         overflow value.
27489         * sysdeps/mach/configure: Regenerated.
27491 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
27493         [BZ #14278]
27494         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27496 2012-06-21  Jeff Law  <law@redhat.com>
27498         [BZ #13882]
27499         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
27500         uint16_t for elements in the "seen" array to avoid char overflows.
27501         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27502         * elf/dl-open.c (dl_open_worker): Likewise.
27504 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
27506         * scripts/list-sources.sh: Scan PORTS for translations.
27507         * po/libc.pot: Regenerated.
27509 2012-06-21  Andreas Jaeger  <aj@suse.de>
27511         [BZ #12194]
27512         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27513         warning.
27514         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27515         * bits/byteswap-16.h (__bswap_16): Likewise.
27516         * bits/byteswap.h (__bswap_constant_16): Likewise.
27518 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
27520         [BZ #14117]
27521         * sysdeps/i386/fpu_control.h: Removed.
27522         * sysdeps/x86_64/fpu_control.h: Moved to ...
27523         * sysdeps/x86/fpu_control.h: Here.
27525         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27526         (_FPU_SETCW): Likewise.
27528 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
27530         [BZ #14117]
27531         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27532         * sysdeps/x86/fpu/bits/mathinline.h: This.
27533         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27535         [BZ #14050]
27536         [BZ #14117]
27537         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27538         functions if __x86_64__ is defined.
27540 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
27542         * string/endian.h: Add !__ASSEMBLER__ condition for including
27543         conversion interfaces.
27545 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
27547         [BZ #14241]
27548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27549         of ABS(x) in calculating zero to negative powers other than odd
27550         integers.
27551         * math/libm-test.inc (pow_test): Add more tests.
27553 2012-06-15  Andreas Jaeger  <aj@suse.de>
27555         * manual/contrib.texi (Contributors): Update entry of Liubov
27556         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27557         Machado Filho.
27559 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
27561         * string/string.h: Add __wur to GNU version of strerror_r.
27563 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
27565         [BZ #14229]
27566         * string/Makefile (tests): Add tst-strtok_r.
27567         * string/tst-strtok_r.c: New file.
27568         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27569         RAX_LP/RDX_LP on SAVE_PTR.
27571 2012-06-14  Roland McGrath  <roland@hack.frob.com>
27573         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27575 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
27577         * libm_test.inc (csqrt_test): Allow more spurious underflow
27578         exceptions.
27579         (j0_test): Likewise.
27580         (j1_test): Likewise.
27581         (y0_test): Likewise.
27582         (y1_test): Likewise.
27584 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
27586         * po/Makefile (libc.pot): Use UTF-8 charset.
27588 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
27590         [BZ #14210]
27591         Suppress sign-conversion warning from FD_SET.
27592         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27593         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27594         not unsigned long int.
27595         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27597 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
27599         [BZ #14050]
27600         [BZ #14117]
27601         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27602         __extern_always_inline instead of __extern_inline.
27603         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27604         (__signbit): Likewise.
27605         (__signbitl): Support C++ namespace.
27606         (lrintf): New inline function.
27607         (lrint): Likewise.
27608         (llrintf): Likewise.
27609         (llrint): Likewise.
27610         (fmaxf): Likewise.
27611         (fmax): Likewise.
27612         (fminf): Likewise.
27613         (fmin): Likewise.
27614         (rint): Likewise.
27615         (rintf): Likewise.
27616         (ceil): Likewise.
27617         (ceilf): Likewise.
27618         (floor): Likewise.
27619         (floorf): Likewise.
27620         (nearbyint): Likewise.
27621         (nearbyintf): Likewise.
27623 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
27625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27626         non-default versions.
27628 2012-06-11  Roland McGrath  <roland@hack.frob.com>
27630         [BZ #14218]
27631         * manual/argp.texi (Argp): Reword argp_parse description slightly.
27633 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
27635         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27636         (FE_UPWARD, FE_DOWNWARD): Don't define.
27637         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27638         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27640         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27641         reading it.
27642         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27643         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27645 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27647         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27649         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27650         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27652 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
27654         [BZ #14117]
27655         * sysdeps/i386/fpu/bits/fenv.h: Removed.
27656         * sysdeps/i386/fpu/Implies: New file.
27657         * sysdeps/x86_64/fpu/Implies: Likewise.
27658         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27659         * sysdeps/x86/fpu/bits/fenv.h: This.
27661         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27662         __SSE_MATH__.
27664 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27666         [BZ #14134]
27667         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27668         character 0xffff that matches the last element of the
27669         conversion table.
27671 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27673         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27674         fmodl commit.
27676 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27679         values higher than 25.6283.
27681 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27683         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27684         subnormal exponent extraction and add some __builtin_expect.
27685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27686         Fix for subnormal mantissa calculation.
27688 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
27690         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27691         cpu2 is -1 and errno is not ENOSYS.
27693 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
27695         [BZ #14117]
27696         * sysdeps/i386/i486/bits/string.h: Renamed to ...
27697         * sysdeps/x86/bits/string.h: This.
27698         * sysdeps/x86_64/bits/string.h: Removed.
27700         * sysdeps/i386/i486/bits/string.h: Define inline functions only
27701         if not compiling for x86-64, but compiling for >= i486.
27703         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27704         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27706         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27707         New macro from Linux kernel 3.4.0.
27708         (FP_XSTATE_MAGIC2): Likewise.
27709         (FP_XSTATE_MAGIC2_SIZE): Likewise.
27710         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27711         (struct _fpx_sw_bytes): New struct.
27712         (struct _xsave_hdr): Likewise.
27713         (struct _ymmh_state): Likewise.
27714         (struct _xstate): Likewise.
27716         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27717         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27718         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27719         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27720         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27721         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27723         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27724         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27725         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27726         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27727         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27728         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27730 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27732         [BZ #13743]
27733         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27734         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27735         (sysdep_headers): Include sys/platform/ppc.h.
27736         * sysdeps/powerpc/test-gettimebase.c: Test for
27737         __ppc_get_timebase() to catch future ISA opcode/insn changes.
27738         * manual/Makefile (appendices): Include platform.texi.
27739         * manual/contrib.texi (Contributors): Update @node pointers.
27740         * manual/maint.texi (Maintenance): Likewise.
27741         (Platform): New node.
27742         * manual/platform.texi: New file.  Document the new features.
27744 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27745             Jakub Jelinek  <jakub@redhat.com>
27747         [BZ #14188]
27748         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27749         where __builtin_expect is unavailable.
27751 2012-06-03  David S. Miller  <davem@davemloft.net>
27753         * stdlib/longlong.h: Updated from GCC.
27755 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
27757         [BZ #14042]
27758         * sysdeps/powerpc/powerpc32/mcount.c: New file.
27759         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27760         __mcount_internal.
27761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27762         (GLIBC_2.16): Likewise.
27764 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27766         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27768 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27771         (default-abi): New variable.
27772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27773         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27774         variable.
27775         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27776         Likewise.
27777         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27778         Likewise.
27779         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27780         Likewise.
27782         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27783         definition.  Document in comment.
27785 2012-06-01  David S. Miller  <davem@davemloft.net>
27787         * stdlib/longlong.h: Updated from GCC.
27789 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27791         [BZ #14117]
27792         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27793         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27794         sys/debugreg.h sys/io.h here.
27795         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27796         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27797         sys/io.h.
27798         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27799         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27800         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27801         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27802         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27803         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27805         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27806         Define only if __x86_64__ is defined.
27808 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27810         [BZ #14048]
27811         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27812         Use int64_t for variable i.
27813         * math/libm-test.inc (fmod_test): Add more tests.
27815         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27816         z computation is not scheduled after fetestexcept.
27817         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27818         Use math_force_eval instead of asm to ensure calculation scheduled
27819         before exception test.
27820         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27821         Ensure a1 + u.d computation is not scheduled after fetestexcept.
27823 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
27825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27826         computation is not scheduled after fetestexcept.
27828 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27830         [BZ #14117]
27831         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27832         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27834 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27836         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27837         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27839 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27841         [BZ #14117]
27842         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27843         <bits/wordsize.h>.
27844         (__WCHAR_MIN): Support __WORDSIZE == 64.
27845         (__WCHAR_MAX): Likewise.
27847         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27848         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27850         [BZ #14183]
27851         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27852         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27854         [BZ #14117]
27855         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27856         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27858         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27859         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27861         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27862         Defined to 1 if __x86_64__ isn't defined.
27863         (_STAT_VER_LINUX_OLD): New.
27864         (st_atime): Remove duplicate.
27865         (st_mtime): Likewise.
27866         (st_ctime): Likewise.
27868 2012-05-31  David S. Miller  <davem@davemloft.net>
27870         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27871         entries.
27873 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
27875         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27876         gen-libm-test.pl.
27878         [BZ #14132]
27879         * elf/dl-reloc.c: Include <_itoa.h>.
27880         (_dl_reloc_bad_type): Remove use of INTUSE.
27881         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27882         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27883         * stdio-common/psiginfo.c (psiginfo): Likewise.
27884         * stdio-common/psignal.c (psignal): Likewise.
27885         * string/strsignal.c (strsignal): Likewise.
27886         * include/signal.h (_sys_siglist): Declare hidden proto.
27887         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
27888         INTVARDEF with libc_hidden_data_def.
27889         * stdio-common/itoa-udigits.c: Likewise.
27890         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27891         (_itoa_lower_digits_internal): Remove declaration.
27892         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27893         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27894         (_sys_sigabbrev_internal): Remove aliases.
27895         (_sys_siglist): Define hidden alias.
27897 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27900         bits/sysctl.h.
27902 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27904         [BZ #14117]
27905         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27906         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27908         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27909         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27910         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27911         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27912         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27913         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27915         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27916         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27917         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27919         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27920         with __addr.
27921         (insw): Likewise.
27922         (insl): Likewise.
27923         (outsb): Likewise.
27924         (outsw): Likewise.
27925         (outsl): Likewise.
27927         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27928         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27929         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27931         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27932         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27933         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27934         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27935         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27936         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27938         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27939         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27941         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27942         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27944         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27945         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27946         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27948         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27949         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27950         to ...
27951         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27953         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27954         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27955         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27957         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27958         for x86-64.
27959         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27961 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27963         * math/math.h (M_El): Use two more decimal places.
27964         (M_LOG2El): Likewise.
27965         (M_LOG10El): Likewise.
27966         (M_LN2l): Likewise.
27967         (M_LN10l): Likewise.
27968         (M_PIl): Likewise.
27969         (M_PI_2l): Likewise.
27970         (M_PI_4l): Likewise.
27971         (M_1_PIl): Likewise.
27972         (M_2_PIl): Likewise.
27973         (M_2_SQRTPIl): Likewise.
27974         (M_SQRT2l): Likewise.
27975         (M_SQRT1_2l): Likewise.
27977 2012-05-31  David S. Miller  <davem@davemloft.net>
27979         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27980         values between float registers.
27981         * sysdeps/sparc/sparc64/memset.S: Likewise.
27982         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27984 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27986         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27987         -D_FORTIFY_SOURCE=1.
27988         (CPPFLAGS-tst-longjmp_chk.c): Define.
27989         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27990         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27991         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27992         CFLAGS-tst-wchar-h.c.
27994 2012-05-31  Marek Polacek  <polacek@redhat.com>
27996         [BZ #14132]
27997         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27998         __endmntent_internal): Remove declaration.
27999         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28000         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28001         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28003 2012-05-30  David S. Miller  <davem@davemloft.net>
28005         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28006         (___Q_simulate_exceptions): Use real FP ops rather than writing
28007         into the %fsr.
28008         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28009         Likewise.
28011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28013         [BZ #14117]
28014         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28015         * sysdeps/x86/bits/xtitypes.h: This.
28017         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28018         * sysdeps/x86/bits/wordsize.h: This.
28020         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28021         * sysdeps/x86/bits/huge_vall.h: This.
28023         * sysdeps/i386/bits/select.h: Removed.
28024         * sysdeps/x86_64/bits/select.h: Renamed to ...
28025         * sysdeps/x86/bits/select.h: This.
28027         * sysdeps/i386/bits/setjmp.h: Removed.
28028         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28029         * sysdeps/x86/bits/setjmp.h: This.
28031         * sysdeps/i386/bits/mathdef.h: Removed.
28032         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28033         * sysdeps/x86/bits/mathdef.h: This.
28035 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28037         [BZ #14132]
28038         * include/sys/socket.h (__connect_internal)
28039         (__libc_sa_len_internal): Remove declaration.
28040         (__connect, __libc_sa_len): Declare hidden_proto.
28041         (SA_LEN): Remove use of INTUSE.
28042         * socket/connect.c: Add libc_hidden_def.
28043         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28044         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28045         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28046         alias.
28047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28048         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28049         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28050         of adding _internal alias.
28052 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28054         [BZ #14117]
28055         * sysdeps/i386/bits/link.h: Removed.
28056         * sysdeps/i386/bits/linkmap.h: Likewise.
28057         * sysdeps/x86_64/bits/link.h: Renamed to ...
28058         * sysdeps/x86/bits/link.h: This.
28059         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28060         * sysdeps/x86/bits/linkmap.h: This.
28062         * sysdeps/i386/bits/endian.h: Removed.
28063         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28064         * sysdeps/x86/bits/endian.h: This.
28066         * sysdeps/i386/bits/byteswap.h: Removed.
28067         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28068         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28069         * sysdeps/x86/bits/byteswap.h: This.
28070         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28071         * sysdeps/x86/bits/byteswap-16.h: This.
28072         * sysdeps/i386/Implies: Add x86.
28073         * sysdeps/x86_64/Implies: Likewise.
28075 2012-05-30  David S. Miller  <davem@davemloft.net>
28077         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28078         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28079         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28080         (FP_TRAPPING_EXCEPTIONS): Define.
28081         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28082         (FP_TRAPPING_EXCEPTIONS): Define.
28083         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28084         subnormals only when inexact has been signalled or underflow
28085         exceptions are enabled.
28086         (_FP_PACK_CANONICAL): Likewise.
28088 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28090         [BZ #14183]
28091         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28092         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28094 2012-05-30  Richard Henderson  <rth@twiddle.net>
28096         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28097         with #ifndef NOT_IN_libc.
28099         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28100         marked to avoid plt entry.
28102 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28104         [BZ #14112]
28105         * Makeconfig (default-abi): New macro.
28106         (abi-includes): Likewise.
28107         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28108         $(abi-$(default-abi)-lib-soname) for soname if defined.
28109         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28110         abi-variants.
28111         * Makefile (installed-stubs): Likewise.
28112         * include/stubs-biarch.h: Removed.
28113         * scripts/lib-names.awk: Only handle one library at a time.
28114         * scripts/soversions.awk: Remove WORDSIZE support.
28115         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28116         entries.
28117         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28118         Removed.
28119         (syscall-list-default-condition): Likewise.
28120         (syscall-list-default-condition): Likewise.
28121         (syscall-list-includes): Likewise.
28122         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28123         syscall-list-* with abi-*.  Handle undefined abi-variants.
28124         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28125         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28126         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28127         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28128         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28129         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28130         Removed.
28131         (syscall-list-32-options): Likewise.
28132         (syscall-list-32-condition): Likewise.
28133         (syscall-list-64-options): Likewise.
28134         (syscall-list-64-condition): Likewise.
28135         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28136         macro.
28137         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28138         Renamed to ...
28139         (abi-*): This.
28140         (abi-64-ld-soname): New macro.
28141         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28142         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28143         Renamed to ...
28144         (abi-*): This.
28145         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28146         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28148 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28150         * sysdeps/unix/sysv/linux/kernel-features.h
28151         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28152         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28153         include <kernel-features.h>.
28154         [!__NR_ftruncate64]: Remove conditional code.
28155         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28156         [__NR_ftruncate64]: Make code unconditional.
28157         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28158         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28159         include <kernel-features.h>.
28160         [!__NR_ftruncate64]: Remove conditional code.
28161         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28162         [__NR_ftruncate64]: Make code unconditional.
28163         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28165         include <kernel-features.h>.
28166         [!__NR_ftruncate64]: Remove conditional code.
28167         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28168         [__NR_ftruncate64]: Make code unconditional.
28169         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28171         include <kernel-features.h>.
28172         [!__NR_ftruncate64]: Remove conditional code.
28173         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28174         [__NR_ftruncate64]: Make code unconditional.
28175         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28177         * configure.in (libc_cv_fpie): Weaken to a compile test using
28178         LIBC_TRY_CC_OPTION.
28179         * configure: Regenerated.
28181 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28187         Refreshed.
28188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28194         Refreshed.
28196 2012-05-27  David S. Miller  <davem@davemloft.net>
28198         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28199         (___Q_zero): New.
28200         (__Q_simulate_exceptions): Return void.  Change to simulate
28201         exceptions by writing into the %fsr.
28202         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28203         (__Qp_handle_exceptions): Likewise.
28204         (numbers): Delete.
28205         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28206         __Qp_handle_exceptions.
28207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28208         __Qp_handle_exceptions.
28209         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28210         as unused and give dummy FP_RND_NEAREST initializer.
28211         (FP_INHIBIT_RESULTS): Define.
28212         (___Q_simulate_exceptions): Update declaration.
28213         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28214         formatting.
28215         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28216         as unused and give dummy FP_RND_NEAREST initializer.
28217         (__Qp_handle_exceptions): Update declaration.
28218         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28219         formatting.
28221 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28223         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28224         the temporary FPU control word.
28225         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28226         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28227         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28228         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28229         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28230         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28231         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28232         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28233         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28234         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28235         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28237 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28239         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28240         fields.
28242 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28244         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28245         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28246         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28247         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28248         Likewise.
28249         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28250         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28251         Likewise.
28253 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
28255         * po/h.po: Update from translation team.
28257 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
28259         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28261         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28262         handling of denormals.
28263         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28264         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28265         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28266         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28267         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28268         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28269         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28270         Likewise.
28272 2012-05-26  Marek Polacek  <polacek@redhat.com>
28274         [BZ #14152]
28275         * math/libm-test.inc (fma_test): Don't always expect underflow
28276         exception.
28278 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28280         [BZ #12416]
28281         * elf/tst-execstack.c: Include stackinfo.h.
28282         (do_test): Adjust test case to ensure that pthread_getattr_np
28283         behaviour remains the same after marking stack executable.
28285 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28287         * sysdeps/unix/sysv/linux/kernel-features.h
28288         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28289         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28290         kernel-features.h.
28291         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28292         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28293         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28294         kernel-features.h.
28295         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28296         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28298 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
28300         * configure.in: Define the default includes to being none.
28301         * configure: Regenerated.
28303 2012-05-25  Roland McGrath  <roland@hack.frob.com>
28305         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28306         * sysdeps/x86_64/setjmp.S: Likewise.
28307         * sysdeps/i386/bsd-setjmp.S: Likewise.
28308         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28309         * sysdeps/i386/setjmp.S: Likewise.
28310         * sysdeps/i386/__longjmp.S: Likewise.
28311         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28312         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28314         * include/stap-probe.h: New file.
28315         * configure.in: Handle --enable-systemtap.
28316         * configure: Regenerated.
28317         * config.h.in (USE_STAP_PROBE): New #undef.
28318         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28319         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28320         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28322 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28324         [BZ #13717]
28325         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28326         to 2.4.0 where earlier.
28327         * sysdeps/unix/sysv/linux/configure: Regenerated.
28328         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28329         <kernel-features.h>.
28330         [__ASSUME_32BITUIDS]: Make code unconditional.
28331         [!__ASSUME_32BITUIDS]: Remove conditional code.
28332         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28333         <kernel-features.h>.
28334         [__ASSUME_32BITUIDS]: Make code unconditional.
28335         [!__ASSUME_32BITUIDS]: Remove conditional code.
28336         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28337         [__ASSUME_32BITUIDS]: Make code unconditional.
28338         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28339         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28340         <kernel-features.h>.
28341         [__ASSUME_32BITUIDS]: Make code unconditional.
28342         [!__ASSUME_32BITUIDS]: Remove conditional code.
28343         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28344         <kernel-features.h>.
28345         [__ASSUME_32BITUIDS]: Make code unconditional.
28346         [!__ASSUME_32BITUIDS]: Remove conditional code.
28347         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28348         <kernel-features.h>.
28349         [__ASSUME_32BITUIDS]: Make code unconditional.
28350         [!__ASSUME_32BITUIDS]: Remove conditional code.
28351         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28352         <kernel-features.h>.
28353         [__ASSUME_32BITUIDS]: Make code unconditional.
28354         [!__ASSUME_32BITUIDS]: Remove conditional code.
28355         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28356         <kernel-features.h>.
28357         [__ASSUME_32BITUIDS]: Make code unconditional.
28358         [!__ASSUME_32BITUIDS]: Remove conditional code.
28359         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28360         <kernel-features.h>.
28361         [__ASSUME_32BITUIDS]: Make code unconditional.
28362         [!__ASSUME_32BITUIDS]: Remove conditional code.
28363         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28364         <kernel-features.h>.
28365         [__ASSUME_32BITUIDS]: Make code unconditional.
28366         [!__ASSUME_32BITUIDS]: Remove conditional code.
28367         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28368         <kernel-features.h>.
28369         [__ASSUME_32BITUIDS]: Make code unconditional.
28370         [!__ASSUME_32BITUIDS]: Remove conditional code.
28371         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28372         <kernel-features.h>.
28373         [__ASSUME_32BITUIDS]: Make code unconditional.
28374         [!__ASSUME_32BITUIDS]: Remove conditional code.
28375         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28376         <kernel-features.h>.
28377         [__ASSUME_32BITUIDS]: Make code unconditional.
28378         [!__ASSUME_32BITUIDS]: Remove conditional code.
28379         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28380         <kernel-features.h>.
28381         [__NR_setresgid] (__setresgid): Do not declare.
28382         [__ASSUME_32BITUIDS]: Make code unconditional.
28383         [!__ASSUME_32BITUIDS]: Remove conditional code.
28384         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28385         <kernel-features.h>.
28386         [__NR_setresuid] (__setresuid): Do not declare.
28387         [__ASSUME_32BITUIDS]: Make code unconditional.
28388         [!__ASSUME_32BITUIDS]: Remove conditional code.
28389         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28390         <kernel-features.h>.
28391         [__ASSUME_32BITUIDS]: Make code unconditional.
28392         [!__ASSUME_32BITUIDS]: Remove conditional code.
28393         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28394         <kernel-features.h>.
28395         [__ASSUME_32BITUIDS]: Make code unconditional.
28396         [!__ASSUME_32BITUIDS]: Remove conditional code.
28397         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28398         <kernel-features.h>.
28399         [__ASSUME_32BITUIDS]: Make code unconditional.
28400         [!__ASSUME_32BITUIDS]: Remove conditional code.
28401         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28402         <kernel-features.h>.
28403         [__ASSUME_32BITUIDS]: Make code unconditional.
28404         [!__ASSUME_32BITUIDS]: Remove conditional code.
28405         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28406         <kernel-features.h>.
28407         [__ASSUME_32BITUIDS]: Make code unconditional.
28408         [!__ASSUME_32BITUIDS]: Remove conditional code.
28409         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28410         <kernel-features.h>.
28411         [__ASSUME_32BITUIDS]: Make code unconditional.
28412         [!__ASSUME_32BITUIDS]: Remove conditional code.
28413         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28414         <kernel-features.h>.
28415         [__ASSUME_32BITUIDS]: Make code unconditional.
28416         [!__ASSUME_32BITUIDS]: Remove conditional code.
28417         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28418         <kernel-features.h>.
28419         [__ASSUME_32BITUIDS]: Make code unconditional.
28420         [!__ASSUME_32BITUIDS]: Remove conditional code.
28421         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28422         <kernel-features.h>.
28423         [__ASSUME_32BITUIDS]: Make code unconditional.
28424         [!__ASSUME_32BITUIDS]: Remove conditional code.
28425         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28426         <kernel-features.h>.
28427         [__ASSUME_32BITUIDS]: Make code unconditional.
28428         [!__ASSUME_32BITUIDS]: Remove conditional code.
28429         * sysdeps/unix/sysv/linux/kernel-features.h
28430         (__ASSUME_SETRESUID_SYSCALL): Remove.
28431         (__ASSUME_SETRESGID_SYSCALL): Likewise.
28432         (__ASSUME_32BITUIDS): Likewise.
28433         (__ASSUME_LDT_WORKS): Likewise.
28434         (__ASSUME_O_DIRECTORY): Likewise.
28435         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28436         architecture but not kernel version.
28437         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28438         (__ASSUME_MMAP2_SYSCALL): Likewise.
28439         (__ASSUME_STAT64_SYSCALL): Likewise.
28440         (__ASSUME_IPC64): Likewise.
28441         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28442         <kernel-features.h>.
28443         [__ASSUME_32BITUIDS]: Make code unconditional.
28444         [!__ASSUME_32BITUIDS]: Remove conditional code.
28445         * sysdeps/unix/sysv/linux/opendir.c: Do not include
28446         <kernel-features.h>.
28447         [__ASSUME_O_DIRECTORY]: Make code unconditional.
28448         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28449         132096]: Remove conditional code.
28450         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28451         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28452         <kernel-features.h>.
28453         [__ASSUME_32BITUIDS]: Make code unconditional.
28454         [!__ASSUME_32BITUIDS]: Remove conditional code.
28455         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28456         <kernel-features.h>.
28457         [__ASSUME_32BITUIDS]: Make code unconditional.
28458         [!__ASSUME_32BITUIDS]: Remove conditional code.
28459         * sysdeps/unix/sysv/linux/setegid.c: Do not include
28460         <kernel-features.h>.
28461         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28462         unconditional.
28463         (__setresgid): Do not declare.
28464         [__ASSUME_32BITUIDS]: Make code unconditional.
28465         [!__ASSUME_32BITUIDS]: Remove conditional code.
28466         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28467         <kernel-features.h>.
28468         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28469         unconditional.
28470         (__setresuid): Do not declare.
28471         [__ASSUME_32BITUIDS]: Make code unconditional.
28472         [!__ASSUME_32BITUIDS]: Remove conditional code.
28473         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28474         <kernel-features.h>.
28475         [__ASSUME_32BITUIDS]: Make code unconditional.
28476         [!__ASSUME_32BITUIDS]: Remove conditional code.
28477         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28478         <kernel-features.h>.
28479         [__ASSUME_32BITUIDS]: Make code unconditional.
28480         [!__ASSUME_32BITUIDS]: Remove conditional code.
28482 2012-05-25  Richard Henderson  <rth@twiddle.net>
28484         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28485         dl_hwcap to ifunc resolver.
28486         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28487         elf_ifunc_invoke.
28488         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28489         dl_hwcap to ifunc resolver.
28490         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28492 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28494         [BZ #14153]
28495         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28496         for |x| <= 2**-26, not 2**-57.
28497         * math/libm-test.inc (acos_test): Do not allow spurious underflow
28498         exception.
28500 2012-05-24  Jeff Law  <law@redhat.com>
28502         * stdio-common/Makefile (tests): Add bug25.
28503         * stdio-common/bug25.c: New test.
28505 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28507         [BZ #13576]
28508         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28509         multiple of MALLOC_ALIGNMENT in size.
28510         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28512 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28514         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28515         Require >= 256.
28516         (FILENAME_MAX): Use macro-int-constant.
28517         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
28518         (_IOFBF): Use macro-int-constant.
28519         (_IOLBF): Likewise.
28520         (_IONBF): Likewise.
28521         (SEEK_CUR): Likewise.
28522         (SEEK_END): Likewise.
28523         (SEEK_SET): Likewise.
28524         (TMP_MAX): Likewise.
28525         (EOF): Use macro-int-constant.  Require < 0.
28526         (NULL): Use macro-constant.  Require == 0.
28527         (stdin): Require type to be FILE *.
28528         (stdout): Likewise.
28529         (stderr): Likewise.
28530         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28531         macro-int-constant.
28532         (EXIT_SUCCESS): Likewise.
28533         (NULL): Use macro-constant.  Require == 0.
28534         (RAND_MAX): Use macro-int-constant.
28535         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28536         [C99-based standards] (strtof): Require function.
28537         [C99-based standards] (strtold): Likewise.
28538         [C99-based standards] (strtoll): Likewise.
28539         [C99-based standards] (strtoull): Likewise.
28540         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28541         [ISO || ISO99 || ISO11] (limits.h): Likewise.
28542         [ISO || ISO99 || ISO11] (math.h): Likewise.
28543         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28544         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28547 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
28549         [BZ #14132]
28550         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28551         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28552         * intl/dgettext.c (DCGETTEXT): Likewise.
28553         * intl/gettext.c (DCGETTEXT): Likewise.
28554         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28555         * posix/regex_internal.h (gettext): Likewise.
28556         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28557         Remove declaration.
28558         * include/argz.h (__argz_count_internal)
28559         (__argz_stringify_internal): Remove declaration.
28560         (__argz_count, __argz_stringify): Declare hidden proto.
28561         * intl/dcgettext.c: Remove use of INTDEF.
28562         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28563         * string/argz-stringify.c: Likewise.
28564         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28565         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28566         Declare hidden proto.
28567         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28568         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28569         Declare hidden proto.
28570         * include/stdio.h (__asprintf_internal): Don't declare.
28571         (__asprintf): Don't define as macro.  Declare hidden proto.
28572         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28573         (__fsetlocking): Declare hidden proto.
28574         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28575         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28576         hidden proto.
28577         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28578         (_IO_setlinebuf): Remove use of INTUSE.
28579         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28580         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28581         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28582         Remove declaration.
28583         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28584         (_IO_do_flush): Remove use of INTUSE.
28585         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28586         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28587         (_IO_adjust_column, _IO_least_wmarker)
28588         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28589         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28590         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28591         (_IO_default_doallocate, _IO_wdefault_doallocate)
28592         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28593         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28594         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28595         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28596         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28597         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28598         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28599         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28600         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28601         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28602         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28603         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28604         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28605         proto.
28606         (_IO_flush_all_internal, _IO_adjust_column_internal)
28607         (_IO_default_uflow_internal, _IO_default_finish_internal)
28608         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28609         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28610         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28611         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28612         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28613         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28614         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28615         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28616         (_IO_file_close_internal, _IO_file_close_it_internal)
28617         (_IO_file_underflow_internal, _IO_file_overflow_internal)
28618         (_IO_file_init_internal, _IO_file_attach_internal)
28619         (_IO_file_fopen_internal, _IO_file_read_internal)
28620         (_IO_file_sync_internal, _IO_file_seek_internal)
28621         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28622         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28623         (_IO_str_underflow_internal, _IO_str_overflow_internal)
28624         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28625         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28626         (_IO_list_all_internal, _IO_link_in_internal)
28627         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28628         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28629         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28630         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28631         (_IO_do_write_internal, _IO_padn_internal)
28632         (_IO_getline_info_internal, _IO_getline_internal)
28633         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28634         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28635         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28636         (_IO_vfscanf_internal, _IO_vfprintf_internal)
28637         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28638         (_IO_init_internal, _IO_un_link_internal): Don't declare.
28639         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28640         with libc_hidden_ver, remove use of INTUSE.
28641         * libio/genops.c: Likewise.
28642         * libio/freopen.c: Likewise.
28643         * libio/freopen64.c: Likewise.
28644         * libio/iofclose.c: Likewise.
28645         * libio/iofdopen.c: Likewise.
28646         * libio/iofflush.c: Likewise.
28647         * libio/iofflush_u.c: Likewise.
28648         * libio/iofgets.c: Likewise.
28649         * libio/iofgets_u.c: Likewise.
28650         * libio/iofopen.c: Likewise.
28651         * libio/iofopncook.c: Likewise.
28652         * libio/iofread.c: Likewise.
28653         * libio/iofread_u.c: Likewise.
28654         * libio/ioftell.c: Likewise.
28655         * libio/iofwrite.c: Likewise.
28656         * libio/iogetline.c: Likewise.
28657         * libio/iogets.c: Likewise.
28658         * libio/iogetwline.c: Likewise.
28659         * libio/iopadn.c: Likewise.
28660         * libio/iopopen.c: Likewise.
28661         * libio/ioseekoff.c: Likewise.
28662         * libio/ioseekpos.c: Likewise.
28663         * libio/iosetbuffer.c: Likewise.
28664         * libio/iosetvbuf.c: Likewise.
28665         * libio/ioungetc.c: Likewise.
28666         * libio/ioungetwc.c: Likewise.
28667         * libio/iovdprintf.c: Likewise.
28668         * libio/iovsprintf.c: Likewise.
28669         * libio/iovsscanf.c: Likewise.
28670         * libio/memstream.c: Likewise.
28671         * libio/obprintf.c: Likewise.
28672         * libio/oldfileops.c: Likewise.
28673         * libio/oldiofclose.c: Likewise.
28674         * libio/oldiofdopen.c: Likewise.
28675         * libio/oldiofopen.c: Likewise.
28676         * libio/oldiopopen.c: Likewise.
28677         * libio/oldstdfiles.c: Likewise.
28678         * libio/putc.c: Likewise.
28679         * libio/setbuf.c: Likewise.
28680         * libio/setlinebuf.c: Likewise.
28681         * libio/stdfiles.c: Likewise.
28682         * libio/strops.c: Likewise.
28683         * libio/vasprintf.c: Likewise.
28684         * libio/vscanf.c: Likewise.
28685         * libio/vsnprintf.c: Likewise.
28686         * libio/vswprintf.c: Likewise.
28687         * libio/wfiledoalloc.c: Likewise.
28688         * libio/wfileops.c: Likewise.
28689         * libio/wgenops.c: Likewise.
28690         * libio/wmemstream.c: Likewise.
28691         * libio/wstrops.c: Likewise.
28692         * libio/__fpurge.c: Likewise.
28693         * libio/__fsetlocking.c: Likewise.
28694         * assert/assert.c: Likewise.
28695         * debug/fgets_chk.c: Likewise.
28696         * debug/fgets_u_chk.c: Likewise.
28697         * debug/fread_chk.c: Likewise.
28698         * debug/fread_u_chk.c: Likewise.
28699         * debug/gets_chk.c: Likewise.
28700         * debug/obprintf_chk.c: Likewise.
28701         * debug/vasprintf_chk.c: Likewise.
28702         * debug/vdprintf_chk.c: Likewise.
28703         * debug/vsnprintf_chk.c: Likewise.
28704         * debug/vsprintf_chk.c: Likewise.
28705         * malloc/mtrace.c: Likewise.
28706         * misc/error.c: Likewise.
28707         * misc/syslog.c: Likewise.
28708         * stdio-common/asprintf.c: Likewise.
28709         * stdio-common/fxprintf.c: Likewise.
28710         * stdio-common/getw.c: Likewise.
28711         * stdio-common/isoc99_fscanf.c: Likewise.
28712         * stdio-common/isoc99_scanf.c: Likewise.
28713         * stdio-common/isoc99_vfscanf.c: Likewise.
28714         * stdio-common/isoc99_vscanf.c: Likewise.
28715         * stdio-common/isoc99_vsscanf.c: Likewise.
28716         * stdio-common/printf-prs.c: Likewise.
28717         * stdio-common/printf_fp.c: Likewise.
28718         * stdio-common/printf_fphex.c: Likewise.
28719         * stdio-common/printf_size.c: Likewise.
28720         * stdio-common/putw.c: Likewise.
28721         * stdio-common/scanf.c: Likewise.
28722         * stdio-common/sprintf.c: Likewise.
28723         * stdio-common/tmpfile.c: Likewise.
28724         * stdio-common/vfprintf.c: Likewise.
28725         * stdio-common/vfscanf.c: Likewise.
28726         * stdlib/strfmon_l.c: Likewise.
28727         * sunrpc/openchild.c: Likewise.
28728         * sunrpc/xdr_stdio.c: Likewise.
28729         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28730         * sysdeps/mach/hurd/tmpfile.c: Likewise.
28732 2012-05-24  Roland McGrath  <roland@hack.frob.com>
28734         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28736         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28737         in the third column, to generate for the shared library an IFUNC
28738         that uses _dl_vdso_vsym.
28739         * Makerules (COMPILE.c, compile-stdin.c): New variables.
28740         * Makeconfig (object-suffixes-noshared): New variable.
28742         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28743         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28744         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28745         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28747         [BZ #14132]
28748         * include/sys/time.h (__gettimeofday): Remove macro.
28749         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28750         * time/gettimeofday.c (__gettimeofday): Remove #undef.
28751         Remove INTDEF.
28752         (__gettimeofday): Add libc_hidden_def.
28753         (gettimeofday): Add libc_hidden_weak.
28754         * sysdeps/mach/gettimeofday.c: Likewise.
28755         * sysdeps/posix/gettimeofday.c: Likewise.
28756         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28757         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28759         (__gettimeofday_internal): Remove strong_alias.
28760         (__gettimeofday): Add libc_hidden_def.
28761         (gettimeofday): Add libc_hidden_weak.
28762         * sysdeps/unix/syscalls.list (gettimeofday):
28763         Remove __gettimeofday_internal alias.
28765 2012-05-24  Daniel Jacobowitz  <drow@false.org>
28766             H.J. Lu  <hongjiu.lu@intel.com>
28768         [BZ #12495]
28769         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28770         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28771         (largebin_index_32_big): New.
28772         (largebin_index): Use it for 16-byte alignment.
28773         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
28774         correction with front_misalign.
28776 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28780         Likewise.
28781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28782         Likewise.
28783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28784         Likewise.
28785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28786         Likewise.
28787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28788         Likewise.
28789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28790         Likewise.
28791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28792         Likewise.
28793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28794         Likewise.
28795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28796         Likewise.
28797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28798         Likewise.
28799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28800         Likewise.
28801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28802         Likewise.
28804         * scripts/data/c++-types-x32-linux-gnu.data: New file.
28805         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28807 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28809         [BZ #10846]
28810         [BZ #14036]
28811         * math/libm-test.inc (exp_test): Add test from bug 14036.
28812         (pow_test): Add test from bug 10846.
28814         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28815         and other flags.
28816         (special_function): Do not include flags in test name.
28817         (parse_args): Likewise.
28818         * sysdeps/i386/fpu/libm-test-ulps: Update.
28819         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28820         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28821         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28824         * math/gen-libm-test.pl (%beautify): Add entries for underflow
28825         exceptions.
28826         * math/libm-test.inc ("Philosophy"): Update comment about
28827         exception testing.
28828         (UNDERFLOW_EXCEPTION): New macro.
28829         (UNDERFLOW_EXCEPTION_OK): Likewise.
28830         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28831         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28832         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28833         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28834         (INVALID_EXCEPTION_OK): Update value.
28835         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28836         (OVERFLOW_EXCEPTION_OK): Likewise.
28837         (IGNORE_ZERO_INF_SIGN): Likewise.
28838         (test_exceptions): Handle underflow exceptions.
28839         (acos_test): Update for underflow exception expectations.
28840         (cexp_test): Likewise.
28841         (clog_test): Likewise.
28842         (clog10_test): Likewise.
28843         (csqrt_test): Likewise.
28844         (ctan_test): Likewise.
28845         (ctanh_test): Likewise.
28846         (exp_test): Likewise.
28847         (exp10_test): Likewise.
28848         (exp2_test): Likewise.
28849         (expm1_test): Likewise.
28850         (fma_test): Likewise.
28851         (j0_test): Likewise.
28852         (jn_test): Likewise.
28853         (nexttoward_test): Likewise.
28854         (pow_test): Likewise.
28855         (scalbn_test): Likewise.
28856         (scalbln_test): Likewise.
28857         (tan_test): Likewise.
28858         (y1_test): Likewise.
28859         * sysdeps/i386/fpu/libm-test-ulps: Update.
28860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28862 2012-05-23  David S. Miller  <davem@davemloft.net>
28864         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28865         (__libc_sigaction): Remove unused local variables.
28867 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28869         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28871 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28873         mktime: avoid signed integer overflow
28874         * time/mktime.c (__mktime_internal): Do not mishandle the case
28875         where diff == INT_MIN.
28877         mktime: simplify computation of average
28878         * time/mktime.c (ranged_convert): Use new time_t_avg function
28879         instead of rolling our own (probably-slower) code.
28881         mktime: do not assume signed right shift propagates sign bit
28882         * time/mktime.c (isdst_differ): New static function.
28883         (__mktime_internal): No need to normalize tm_isdst now.
28884         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28885         tm_isdst values.
28887         mktime: merge another wrapv change from gnulib
28888         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28889         from some compilers.
28891         mktime: remove incorrect attempt at unusual arithmetics
28892         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28893         The code didn't really work on such machines anyway.
28894         (TYPE_MINIMUM): Assume two's complement.
28895         (twos_complement_arithmetic): Verify that long_int and time_t
28896         are two's complement (or unsigned, in the latter case).
28898         mktime: check signed shifts on long_int and time_t, too
28899         * time/mktime.c (SHR): Check that shifts work as desired
28900         on the types long_int and time_t too, as SHR is used on
28901         such types.
28903         mktime: do not assume 'long' is wide enough
28904         * time/mktime.c (verify): Move decl up.
28905         (long_int): New type.
28906         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28907         to remove assumption in the code that 'long' is wide enough to
28908         store year values.  This assumption is not true on x32 and on
28909         some non-glibc platforms.
28911         mktime: merge wrapv change from gnulib
28912         * time/mktime.c (WRAPV): New macro.
28913         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28914         (guess_time_tm, __mktime_internal): Do not assume that signed
28915         integer overflow wraps around; modern compilers generate code
28916         where this assumption is no longer valid.
28918 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28920         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28921         Replace "jmp L(pseudo_end)" with "ret".
28922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28923         Likewise.
28925 2012-05-23  Andreas Jaeger  <aj@suse.de>
28927         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28928         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28930 2012-05-23  Andreas Jaeger  <aj@suse.de>
28931             Maximilian Attems  <max@stro.at>
28933         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28934         New macros.
28936 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28938         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28939         code so that pseudo_end is just ret and the stack pointer is
28940         correct also for static library in error case.
28942 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28944         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28945         move to syscalls.list.
28946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28951         * manual/install.texi (Running make install): Do not mention Linux
28952         kernel version for which pt_chown is not needed.
28953         (Linux): Do not mention problems with nscd with 2.0 kernels.
28954         * INSTALL: Regenerated.
28956 2012-05-23  Andreas Jaeger  <aj@suse.de>
28958         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28959         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28960         macro.
28961         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28962         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28963         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28964         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28965         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28966         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28967         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28968         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28969         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28971         * sysdeps/unix/sysv/linux/bits/in.h
28972         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28974 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28976         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28977         (PREPARE_VERSION): Just use assert instead, it will be elided
28978         under [NDEBUG] anyway.
28980 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28982         * sysdeps/unix/sysv/linux/Makefile: Include
28983         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28984         (sysdep_routines): Remove sysctl.
28985         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28986         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28987         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28988         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28989         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28991 2012-05-22  Andreas Jaeger  <aj@suse.de>
28993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28994         that pseudo_end is just ret and the stack pointer is correct also
28995         for static library in error case.
28997 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28999         [BZ #14122]
29000         * nss/nsswitch.c (defconfig_entries): New variable.
29001         (__nss_database_lookup): Don't leak defconfig entries.
29002         (nss_parse_service_list): Don't leak on error paths.
29003         (free_database_entries): New function.
29004         (free_defconfig): New function.
29005         (free_mem): Move common code to free_database_entries.
29007 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29009         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29010         Add arch_prctl.
29011         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29013         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29014         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29016         New macro.
29017         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29018         (INTERNAL_SYSCALL_TYPES): Likewise.
29019         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29020         (LOAD_REGS_TYPES_[1-6]): Likewise.
29021         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29022         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29024 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29026         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29027         copysignl for GLIBC_2_0.
29028         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29029         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29031         logbl for GLIBC_2_0.
29032         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29033         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29035 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29037         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29038         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29040         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29041         Use "neg %eax".
29043         * time/mktime.c: Update copyright years.
29045 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29047         mktime: merge comment-quoting-style change from gnulib
29048         * time/mktime.c: Quote 'like this' in comments.
29049         The GNU coding standards suggest that we no longer quote `like this',
29050         as "`" and "'" are typically rendered asymmetrically nowadays.
29051         The typical gnulib style is to quote 'like this' when quoting
29052         code, and "like this" when quoting English.
29054         * time/mktime.c (compile-command): Add "-I.".
29056         mktime: merge mktime-internal.h change from gnulib
29057         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29059         mktime: merge time_r change from gnulib
29060         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29062         mktime: merge DEBUG change from gnulib
29063         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29064         case system <time.h> has a #define.
29066         mktime: merge <sys/types.h> change from gnulib
29067         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29068         since <time.t> is now guaranteed to define time_t.
29070         mktime: merge HAVE_CONFIG_H change from gnulib
29071         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29073 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29076         Use "neg %eax".
29078         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29079         __rlim_t cast.
29080         (struct rusage): Use anonymous union to pad each field to
29081         __syscall_slong_t.
29083 2012-05-21  David S. Miller  <davem@davemloft.net>
29085         * Makefules (o-iterator): Remove .s cases.
29086         (compile-command.s): Delete.
29087         (COMPILE.s): Delete.
29088         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29090 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29092         * configure.in (libc_cv_predef_stack_protector): Only consider
29093         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29094         * configure: Regenerated.
29096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29099         New macro.  Use R*LP on int and pointer.
29100         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29101         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29102         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29103         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29105         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29106         [__WORDSIZE_TIME64_COMPAT32] instead of
29107         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29108         (struct utmp): Likewise.
29109         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29110         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29111         Renamed to ...
29112         (__WORDSIZE_TIME64_COMPAT32): This.
29113         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29114         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29115         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29116         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29117         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29118         (__WORDSIZE_TIME64_COMPAT32): New macro.
29120 2012-05-21  Andreas Jaeger  <aj@suse.de>
29122         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29123         only if [SHARED]. Add prototype for __wcschr_ia32.
29125 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29127         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29128         of %rbp unmolested in the jmp_buf while mangling the low bits.
29129         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29130         unmolested high bits of %rbp while demangling the low bits.
29131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29133 2012-05-21  Andreas Jaeger  <aj@suse.de>
29135         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29136         * sunrpc/svc_simple.c: Use it for registerrpc.
29137         * sunrpc/xcrypt.c: Use it for passwd2des.
29139         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29141 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29143         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29144         Don't define if [__SYSCALL_WORDSIZE != 32].
29145         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29146         New macro.
29148 2012-05-21  Bruno Haible  <bruno@clisp.org>
29149             Andreas Jaeger  <aj@suse.de>
29151         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29152         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29153         inptr and inend for must_buffer_ch.
29154         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29155         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29156         * stdio-common/Makefile (tests): Remove bug15.
29157         (bug15-ENV): Remove macro.
29158         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29159         anymore.
29161 2012-05-19  Andreas Jaeger  <aj@suse.de>
29162             Roland McGrath  <roland@hack.frob.com>
29164         * manual/contrib.texi: Completely rewritten. It contains now an
29165         alphabetical list of contributors and their contributions.
29167 2012-05-21  Richard Henderson  <rth@twiddle.net>
29169         * misc/getauxval.c (__getauxval): Use unsigned long int.
29170         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29171         (getauxval): Use unsigned long int.
29173 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29175         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29177 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29179         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29180         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29181         __alignof__ (long double).
29183 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29187 2012-05-20  Richard Henderson  <rth@twiddle.net>
29189         * misc/getauxval.c: New file.
29190         * misc/sys/auxv.h: New file.
29191         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29192         (routines): Add getauxval.
29193         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29194         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29195         * elf/dl-sysdep.c (_dl_auxv): Remove.
29196         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29197         * elf/dl-support.c (_dl_auxv): New variable.
29198         (_dl_aux_init): Initialize it.
29199         * manual/startup.texi (Auxiliary Vector): New node.
29200         * sysdeps/generic/bits/hwcap.h: New file.
29201         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29202         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29203         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29204         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29205         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29208         Update.
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29212         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29218 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29222 2012-05-19  David S. Miller  <davem@davemloft.net>
29224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29226 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29228         [BZ #14123]
29229         * math/s_ccosh.c: Include <float.h>
29230         (__ccosh): Avoid internal overflow calculating sinh and cosh
29231         values before multiplying by sin and cos values.
29232         * math/s_ccoshf.c: Likewise.
29233         * math/s_ccoshl.c: Likewise.
29234         * math/s_csin.c: Likewise.
29235         * math/s_csinf.c: Likewise.
29236         * math/s_csinl.c: Likewise.
29237         * math/s_csinh.c: Likewise.
29238         * math/s_csinhf.c: Likewise.
29239         * math/s_csinhl.c: Likewise.
29240         * math/libm-test.inc (ccos_test): Add more tests.
29241         (ccosh_test): Likewise.
29242         (csin_test): Likewise.
29243         (csinh_test): Likewise.
29244         * sysdeps/i386/fpu/libm-test-ulps: Update.
29245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29247 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
29249         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29250         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29252         * sysdeps/x86_64/x32/_itoa.h: Add comment.
29254 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29256         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29257         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29258         * sysdeps/powerpc/soft-fp/Versions: Likewise.
29259         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29260         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29261         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29262         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29263         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29264         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29265         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29266         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29267         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29268         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29269         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29270         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29271         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29272         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29273         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29274         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29275         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29276         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29277         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29278         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29279         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29280         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29281         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29282         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29283         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29284         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29285         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29286         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29288 2012-05-18  Andreas Jaeger  <aj@suse.de>
29290         * csu/.gitignore: Delete.
29292 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29294         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29295         (timex): Use __syscall_slong_t.
29297 2012-05-18  Andreas Jaeger  <aj@suse.de>
29298             Carlos O'Donell  <carlos_odonell@mentor.com>
29300         * manual/install.texi (Configuring and compiling): Update
29301         description about files modified in the source directory.
29302         * INSTALL: Regenerated.
29304 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29306         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29307         value.  Use "or" to set return value to -1.
29308         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29309         negate return value.
29311 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29313         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29314         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29315         failure if the compiler has Graphite support disabled.
29316         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29317         Likewise.
29318         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29319         (CFLAGS-memmove.c): Likewise.
29320         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29321         Likewise.
29323 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29325         * sysdeps/x86_64/x32/_itoa.h: New file.
29327         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29328         getdents system call only if kernel and user dirents have the
29329         same d_ino and d_off.
29331         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29332         LLONG_MAX != LONG_MAX.
29333         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29334         (_fitoa_word): Likewise.
29336         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29337         years.
29338         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29339         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29340         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29342         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29343         include <bits/wordsize.h>.  Check __x86_64__ instead of
29344         __WORDSIZE.
29345         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29346         if __x86_64__ is defined.  Use anonymous union on fpstate.
29348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29349         anonymous union.
29351 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
29353         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29354         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29355         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29356         Refer to _rtld_local_ro instead of _rtld_global_ro.
29357         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29358         Likewise.
29359         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29360         Likewise.
29361         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29362         Likewise.
29363         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29364         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29365         of _rtld_global, and rtld_progname instead of _dl_argv[0].
29367         * sysdeps/powerpc/powerpc32/dl-machine.c
29368         (__elf_machine_runtime_setup) [PROF]: Don't reference
29369         _dl_prof_resolve.
29371 2012-05-18  Andreas Jaeger  <aj@suse.de>
29373         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29374         function only available for GCCs before 3.4 since GCC 3.4
29375         introduced a builtin.
29376         (lrint): Likewise.
29377         (llrintf): Likewise.
29378         (llrint): Likewise.
29379         (fmaxf): Likewise.
29380         (fmax): Likewise.
29381         (fminf): Likewise.
29382         (fmin): Likewise.
29383         (rint): Likewise.
29384         (rintf): Likewise.
29385         (nearbyint): Likewise.
29386         (nearbyintf): Likewise.
29387         (ceil): Likewise.
29388         (ceilf): Likewise.
29389         (floor): Likewise.
29390         (floorf): Likewise.
29392 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29394         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29395         on both fields and cast pointer to __syscall_ulong_t.
29397         * bits/types.h (__fsword_t): New type.
29398         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29399         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29400         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29401         (__FSWORD_T_TYPE): Likewise.
29402         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29403         (__FSWORD_T_TYPE): Likewise.
29404         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29405         (__FSWORD_T_TYPE): Likewise.
29406         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29407         (__FSWORD_T_TYPE): Likewise.
29408         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29409         __SWORD_TYPE with __fsword_t.
29410         (statfs64): Likewise.
29412 2012-05-17  David S. Miller  <davem@davemloft.net>
29414         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29416 2012-05-17  Andreas Jaeger  <aj@suse.de>
29418         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29419         warning.
29421 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29423         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29425 2012-05-17  Andreas Jaeger  <aj@suse.de>
29427         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29428         when it is used.
29430 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29432         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29434 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29436         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29437         * sysdeps/x86_64/tst-mallocalign1.c: New file.
29439 2012-05-17  Andreas Jaeger  <aj@suse.de>
29440             Carlos O'Donell  <carlos_odonell@mentor.com>
29442         [BZ #14059]
29443         * sysdeps/x86_64/multiarch/init-arch.h
29444         (bit_YMM_Usable): Rename to...
29445         (bit_AVX_Usable): ... this.
29446         (bit_FMA4_Usable): New macro.
29447         (bit_XMM_state): New macro.
29448         (bit_YMM_state): New macro.
29449         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29450         [__ASSEMBLER__] (index_AVX_Usable): ... this.
29451         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29452         (CPUID_OSXSAVE): New macro.
29453         (CPUID_AVX): New macro.
29454         (CPUID_FMA4): New macro.
29455         (index_YMM_Usable): Rename to...
29456         (index_AVX_Usable): ... this.
29457         (HAS_AVX): Use HAS_ARCH_FEATURE.
29458         (HAS_FMA4): Likewise.
29459         (HAS_YMM_USABLE): Remove.
29460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29461         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29462         are present.
29463         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29464         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29465         * sysdeps/x86_64/multiarch/Makefile: Likewise.
29466         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29467         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29469 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29471         * math/libm-test.c: Support platforms without multiple rounding modes.
29472         * math/bug-nextafter.c: Support platforms without FP exceptions.
29473         * math/bug-nexttoward.c: Likewise.
29474         * math/test-fenv.c: Likewise.
29475         * math/test-misc.c: Likewise.
29476         * stdlib/bug-getcontext.c: Likewise.
29478 2012-05-17  Andreas Jaeger  <aj@suse.de>
29480         * manual/examples/search.c (critter_cmp): Change signature to
29481         avoid warnings.
29482         * manual/string.texi (Collation Functions): Likewise.
29484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29486         * bits/types.h: Fold copyright years.
29487         * bits/typesizes.h: Likewise.
29488         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29489         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29490         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29492         * time/time.h: Likewise.
29494 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
29496         [BZ #208]
29497         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29498         in instead of returning them.  Return void.
29499         (__libc_mallinfo): Accumulate over all arenas.
29500         (__malloc_stats): Adjust for change in int_mallinfo interface.
29502 2012-05-16  Roland McGrath  <roland@hack.frob.com>
29504         [BZ #10375]
29505         * configure.in (NM): Add AC_CHECK_TOOL for it.
29506         (libc_extra_cflags): New substituted variable.
29507         Check for -fstack-protector being used implicitly.
29508         * configure: Regenerated.
29509         * config.make.in (config-extra-cflags): New variable,
29510         gets @libc_extra_cflags@.
29511         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29513         [BZ #10375]
29514         * configure.in: Check for _FORTIFY_SOURCE being predefined.
29515         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29516         * configure: Regenerated.
29517         * config.make.in (CPPUNDEFS): New substituted variable.
29518         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29519         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29520         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29522 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29524         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29525         (mq_attr): Use __syscall_slong_t.
29527 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29529         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29530         Check __x86_64__ instead of __WORDSIZE.
29531         (_STAT_VER_LINUX): Likewise.
29532         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
29533         __syscall_ulong_t and __syscall_slong_t.
29534         (stat64): Likewise.
29536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29538         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29540 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29542         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29544 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29546         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29547         __syscall_ulong_t.
29549         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29550         include <bits/wordsize.h>.  Check __x86_64__ instead of
29551         __WORDSIZE.
29552         (greg_t): Use "__extension__ long long int" if __x86_64__ is
29553         defined.
29554         (mcontext_t): Replace "unsigned long" with "unsigned long long".
29556         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29557         include <bits/wordsize.h>.  Check __x86_64__ instead of
29558         __WORDSIZE.
29559         (user_regs_struct): Use "__extension__ unsigned long long"
29560         instead of "unsigned long" if __x86_64__ is defined.
29561         (user): Likewise.  Pad after pointer field if __ILP32__ is
29562         defined.
29564 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
29566         * configure.in (makeinfo): Require version 4.5 or later.  Allow
29567         versions 5 to 9.
29568         * configure: Regenerated.
29569         * manual/install.texi (texinfo): Increase version requirement to
29570         4.5 or later.
29571         * INSTALL: Regenerated.
29573         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29577         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29579         * sysdeps/x86_64/x32/ffs.c: New file.
29581         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29582         __syscall_ulong_t.
29583         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29584         defined.  Use __syscall_ulong_t.
29585         (shminfo): Use __syscall_ulong_t.
29586         (shm_info): Likewise.
29588         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29589         __syscall_ulong_t.
29591         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29592         <bits/wordsize.h>.
29593         (msgqnum_t): Use __syscall_ulong_t.
29594         (msglen_t): Likewise.
29595         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
29596         __syscall_ulong_t.
29598         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29599         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29601         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29603         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29604         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29606         * sysvipc/sys/msg.h (msgbuf): Replace long int with
29607         __syscall_slong_t.
29609         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29610         include <bits/wordsize.h>.  Check __x86_64__ instead of
29611         __WORDSIZE.
29613         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29614         "unsigned long long int" if __x86_64__ is defined.
29615         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29617         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29618         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29619         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29621         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29622         <stdint.h>.
29623         (GET_PC): Cast to uintptr_t first.
29624         (GET_FRAME): Likewise.
29625         (GET_STACK): Likewise.
29627         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29628         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29629         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29630         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29631         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29632         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29633         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29634         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29635         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29636         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29637         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29638         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29639         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29640         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29641         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29642         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29643         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29644         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29645         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29646         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29647         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29648         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29649         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29650         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29651         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29652         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29653         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29654         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29655         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29657 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
29659         * Makerules (+depfiles): Also collect depfiles from .oS in
29660         $(extra-objs).
29661         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29662         .oS, $(libnldbl-routines)).
29664         * Makerules (native-compile-mkdep-flags): Define.
29665         * sunrpc/Makefile (extra-objs): Add $(addprefix
29666         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29667         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29668         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
29669         calling $(make-target-directory).
29671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29673         * bits/types.h (__snseconds_t): Removed.
29674         * time/time.h (struct timespec): Replace __snseconds_t with
29675         __syscall_slong_t.
29676         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29677         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29678         Likewise.
29679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29680         (__SNSECONDS_T_TYPE): Likewise.
29681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29682         (__SNSECONDS_T_TYPE): Likewise.
29683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29684         (__SNSECONDS_T_TYPE): Likewise.
29686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29688         * sysdeps/mach/hurd/bits/typesizes.h
29689         (__SYSCALL_SLONG_TYPE): New macro.
29690         (__SYSCALL_ULONG_TYPE): Likewise.
29692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29694         * bits/types.h (__syscall_slong_t): New type.
29695         (__syscall_ulong_t): Likewise.
29697         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29698         (__SYSCALL_ULONG_TYPE): Likewise.
29699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29700         (__SYSCALL_SLONG_TYPE): Likewise.
29701         (__SYSCALL_ULONG_TYPE): Likewise.
29702         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29703         (__SYSCALL_SLONG_TYPE): Likewise.
29704         (__SYSCALL_ULONG_TYPE): Likewise.
29705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29706         (__SYSCALL_SLONG_TYPE): Likewise.
29707         (__SYSCALL_ULONG_TYPE): Likewise.
29709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29711         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29712         Add sigaltstack-offsets.sym.
29713         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29714         <sigaltstack-offsets.h>.
29715         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
29716         longjmp_msg pointer.
29717         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
29718         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29719         signal stack.
29720         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29722 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29724         * elf/stackguard-macros.h: Remove file.
29725         * sysdeps/generic/stackguard-macros.h: New file.
29726         * sysdeps/i386/stackguard-macros.h: Likewise.
29727         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29728         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29729         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29730         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29731         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29732         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29733         * sysdeps/x86_64/stackguard-macros.h: Likewise.
29734         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29735         <elf/stackguard-macros.h>.
29737         [BZ #14109]
29738         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29739         __aligned__ in attribute.
29740         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29741         (gregset_t): Likewise.
29743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29745         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29746         * sysdeps/x86_64/64/Implies-after: Here.  New file.
29747         * sysdeps/x86_64/x32/Implies-after: New file.
29749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29751         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29752         and access return value for _dl_profile_fixup.  Use R10_LP to
29753         load frame size.
29755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29757         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29761         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29762         * sysdeps/x86_64/x32/sysdep.h: New file.
29764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29766         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29767         * sysdeps/x86_64/setjmp.S: Likewise.
29769 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29771         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29772         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29773         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29774         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29775         remove unused global constant.
29777 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
29779         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29780         include of <not-cancel.h>.
29782 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29784         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29786 2012-05-15  Jeff Law  <law@redhat.com>
29787             Andreas Jaeger  <aj@suse.de>
29789         [BZ #13594]
29790         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29791         out from...
29792         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29793         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29794         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29795         code changing __hst_map_handle.map.
29797 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29799         * configure.in (sysnames): Look for Implies-before and Implies-after
29800         files.
29801         * configure: Regenerated.
29803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29805         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29806         8-byte data alignment with LP_SIZE alignment.
29808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29810         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29811         into R10_LP.
29813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29815         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29819         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29820         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29821         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29822         Likewise.
29823         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29827         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29828         (stackinfo_sub_sp): Likewise.
29830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29832         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29833         RAX_LP.
29835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29837         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29838         into R*_LP.
29840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29842         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29843         sizes into R*_LP.
29845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29847         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29851         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29852         into R11_LP and load __x86_64_shared_cache_size_half into
29853         R8_LP.
29855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29857         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29858         R8_LP.
29860 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29862         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29863         logb for POWER7.
29864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29865         logbf for POWER7.
29866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29867         logbl for POWER7.
29868         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29869         powerpc32/power7/fpu/s_logb.c via #include.
29870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29871         powerpc32/power7/fpu/s_logbf.c via #include.
29872         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29873         powerpc32/power7/fpu/s_logbl.c via #include.
29875 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29877         * README.libm: Remove file.
29879 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29881         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29882         count for x32.  Use R*_LP and omit operand-size suffix.
29884 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29886         * shlib-versions: Move x86_64-.*-linux.* entries to ...
29887         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
29888         * sysdeps/x86_64/x32/shlib-versions: New file.
29890 2012-05-14  Roland McGrath  <roland@hack.frob.com>
29892         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29893         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29894         Use _dl_fatal_printf instead.
29896 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29898         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29899         set if not set by the user.  Do not allow for being unset.
29900         * sysdeps/unix/sysv/linux/configure: Regenerated.
29902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29904         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29905         the `q' suffix from lea and replace .quad with ASM_ADDR.
29907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29910         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29911         instead of $17.
29912         (PTR_DEMANGLE): Likewise.
29914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29916         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29917         (LP_OP): Likewise.
29918         (ASM_ADDR): Likewise.
29919         (RAX_LP): Likewise.
29920         (RBP_LP): Likewise.
29921         (RBX_LP): Likewise.
29922         (RCX_LP): Likewise.
29923         (RDI_LP): Likewise.
29924         (RSI_LP): Likewise.
29925         (RSP_LP): Likewise.
29926         (R8_LP): Likewise.
29927         (R9_LP): Likewise.
29928         (R10_LP): Likewise.
29929         (R10_LP): Likewise.
29930         (R11_LP): Likewise.
29931         (R12_LP): Likewise.
29932         (R13_LP): Likewise.
29933         (R14_LP): Likewise.
29934         (R15_LP): Likewise.
29936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29938         * sysdeps/x86_64/x32/dl-machine.h: New file.
29940 2012-05-14  Andreas Jaeger  <aj@suse.de>
29942         * manual/Makefile (subdir): Remove export of subdir.
29943         (all): Remove target.
29944         (.PHONY): Remove all from list.
29945         (mkinstalldirs): Remove.
29946         (.PHONY): Remove installdirs from list.
29947         ($(inst_infodir)/libc.info): Use make-target-directory.
29948         (installdirs): Remove.
29949         (subdir_%): Remove.
29950         (glibc-targets): Remove.
29951         (lib): Remove.
29952         (stubs): Remove.
29953         ($(objpfx)stubs ../po/manual.pot): Remove.
29954         ($(objpfx)stamp%): Remove.
29955         (make-target-directory): Remove.
29956         (subdir_install): Remove.
29957         (routines): Remove.
29958         (aux): Remove.
29959         (sources): Remove.
29960         (objects): Remove.
29961         (headers): Remove.
29963         [BZ #13750]
29964         * manual/.gitignore: Remove, it's not needed anymore.
29965         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29966         all files in it.
29967         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29968         directory.
29969         (texis): Renamed to $(objpfx)texis.
29970         (texis-path): New, contains path to generated files.
29971         (chapters.%): Use texis-path for complete path, add extra argument
29972         libc-texinfo.sh.
29973         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29974         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29975         (summary,texi, stamp-summary): Use complete path of
29976         files. Generate files in build dir.
29977         (dir-add.texi): Build in build dir.
29978         (libm-err.texi,stamp-libm-err): Likewise.
29979         (version.texi, stamp-version): Likewise.
29980         (.%c.texi): Likewise.
29981         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29982         (mostlyclean): Remove target.
29983         (realclean): Remove target.
29984         (generated): Add new variable with contents from mostlyclean and
29985         realclean, remove entries duplicated in common-mostlyclean, add
29986         stamp-libm-err and stamp-version.
29987         (generated-dirs): Add libc directory.
29988         ($(inst_infodir)/libc.info): Install files from build dir.
29990         * manual/install.texi (Configuring and compiling): Adjust since
29991         the info files are not part of the tar ball anymore.
29993 2012-05-14  Andreas Jaeger  <aj@suse.de>
29995         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29996         variable.
29998 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30000         [BZ #13717]
30001         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30002         to 2.2.0 where earlier.
30003         * sysdeps/unix/sysv/linux/configure: Regenerated.
30004         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30005         Remove conditional code.
30006         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30007         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30008         Remove conditional code.
30009         [!__NR_lchown]: Likewise.
30010         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30011         [__NR_lchown]: Likewise.
30012         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30013         comment referencing __ASSUME_LCHOWN_SYSCALL.
30014         * sysdeps/unix/sysv/linux/i386/sigaction.c
30015         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30016         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30017         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30018         Remove conditional code.
30019         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30020         (__protocol_available): Remove #if 0 code.
30021         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30022         conditional code.
30023         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30024         * sysdeps/unix/sysv/linux/kernel-features.h
30025         (__ASSUME_GETCWD_SYSCALL): Don't define.
30026         (__ASSUME_REALTIME_SIGNALS): Likewise.
30027         (__ASSUME_PREAD_SYSCALL): Likewise.
30028         (__ASSUME_PWRITE_SYSCALL): Likewise.
30029         (__ASSUME_POLL_SYSCALL): Likewise.
30030         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30031         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30032         non-SPARC.
30033         (__ASSUME_SIOCGIFNAME): Don't define.
30034         (__ASSUME_MSG_NOSIGNAL): Likewise.
30035         (__ASSUME_SENDFILE): Define unconditionally.
30036         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30037         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30038         conditional code.
30039         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30040         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30041         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30042         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30043         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30044         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30045         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30047         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30048         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30050         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30051         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30053         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30056         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30059         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30062         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30065         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30068         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30070         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30071         Remove conditional code.
30072         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30073         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30074         Remove conditional code.
30075         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30076         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30077         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30078         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30079         Remove conditional code.
30080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30081         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30082         Remove conditional code.
30083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30084         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30085         Remove conditional code.
30086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30087         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30088         Remove conditional code.
30089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30090         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30091         Remove conditional code.
30092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30093         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30096         * sysdeps/unix/sysv/linux/sigaction.c
30097         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30098         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30099         * sysdeps/unix/sysv/linux/sigpending.c
30100         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30101         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30102         * sysdeps/unix/sysv/linux/sigprocmask.c
30103         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30104         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30105         * sysdeps/unix/sysv/linux/sigsuspend.c
30106         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30107         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30108         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30109         (__libc_missing_rt_sigs): Remove.
30110         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30111         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30112         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30113         Remove conditional code.
30114         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30115         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30116         return 1.
30117         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30118         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30119         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30120         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30122 2012-05-14  Andreas Jaeger  <aj@suse.de>
30124         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30125         it's not used in glibc.
30126         (__coshm1): Likewise.
30127         (__acosh1p): Likewise.
30128         (__sgn): Likewise.
30130         * manual/string.texi (Copying and Concatenation): Add missing
30131         variable in concat example.
30132         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30134 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30136         [BZ #14103]
30137         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30138         __builtin_clzl with __builtin_clzll.
30140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30142         [BZ #14104]
30143         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30144         libc_freeres_ptr.
30146 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30148         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30149         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30150         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30151         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30153 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30155         * NEWS: Update ia64 info.
30157 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30159         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30160         used as bcopy.
30162 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30164         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30165         * sysdeps/unix/syscalls.list (dup3): Likewise.
30166         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30167         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30169 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30171         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30172         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30174 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30176         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30177         thread pointer.
30178         (TLS_IE): Use mov/add instead of movq/addq to load thread
30179         pointer.
30180         (TLS_GD_PREFIX): New.
30181         (TLS_GD): Use it.
30183 2012-05-11  David S. Miller  <davem@davemloft.net>
30185         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30186         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30187         (_FPU_SETCW): Likewise.
30189 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30191         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30192         is 32-byte aligned.
30194 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30196         [BZ #11837]
30197         * iconvdata/gb18030.c: Update tables.
30198         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30199         characters specially.
30200         (BODY for TO_LOOP): Add encoding of missing ranges.
30202 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30204         [BZ #13673]
30205         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30206         * sysdeps/mach/hurd/dup3.c: Likewise.
30207         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30208         * sysdeps/powerpc/memmove.c:: Likewise.
30210 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30213         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30215 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30217         * elf/elf.h (R_X86_64_RELATIVE64): New.
30218         (R_X86_64_NUM): Updated.
30219         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30220         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30221         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30222         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30223         tst-quad1pie tst-quad2pie
30224         (modules-names): Add tst-quadmod1 tst-quadmod2.
30225         ($(objpfx)tst-quad1): New dependency.
30226         ($(objpfx)tst-quad2): Likewise.
30227         ($(objpfx)tst-quad1pie): Likewise.
30228         ($(objpfx)tst-quad2pie): Likewise.
30229         * sysdeps/x86_64/tst-quad1.c: New file.
30230         * sysdeps/x86_64/tst-quad1pie.c: New file.
30231         * sysdeps/x86_64/tst-quad2.c: Likewise.
30232         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30233         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30234         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30235         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30236         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30240         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30241         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30242         * streams/stropts.h (t_scalar_t): Define type.
30244         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30245         (_PATH_PRESERVE): Set to "/var/lib".
30246         (_PATH_RWHODIR): Set to "/var/spool/rwho".
30248         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30249         instead of int.
30251         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30252         if __dir_mkfile succeeded.
30254         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30255         checking for _hurd_dtablesize.  Unlock it right after having
30256         finished _hurd_dtable allocation.
30258 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30260         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30261         * sysdeps/mach/hurd/configure: Regenerated.
30262         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30263         special-casing to...
30264         * sysdeps/gnu/configure.in: ... this new file.
30265         * sysdeps/unix/sysv/linux/configure: Regenerated.
30266         * sysdeps/gnu/configure: New generated file.
30268         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30269         for Linux: use nsec instead of usec, as well as:
30270         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30271         members of type struct timespec.
30272         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30273         New macros.
30274         (struct stat64): Likewise.
30275         (_STATBUF_ST_NSEC): New macro.
30276         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30278         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30279         __strtoul_internal rather than strtoul.
30281 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30283         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30284         and reject them.
30286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30288         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30289         which preserves existing values.
30290         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30292 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30294         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30295         TIMEOUT values.  Return EINVAL for NFDS values either negative or
30296         greater than FD_SETSIZE.
30298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30300         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30301         allocated, call __vm_protect to finish enabling the existing space, and
30302         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30303         allocate the remainder.
30305 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30307         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30308         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
30310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30312         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30313         sysdeps/mach/hurd/readlink.c.
30315         * posix/tst-sysconf.c (posix_options): Only use
30316         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30317         _POSIX_SYNCHRONIZED_IO when they are defined
30318         * sysdeps/mach/hurd/bits/posix_opt.h:
30319         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30320         (_XOPEN_REALTIME): Undefine macro.
30321         (_XOPEN_REALTIME_THREADS): Undefine macro.
30322         (_XOPEN_SHM): Undefine macro.
30323         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30324         macro to -1.
30325         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30326         macro to -1.
30327         (_POSIX_ASYNC_IO): Undefine macro.
30328         (_POSIX_PRIORITIZED_IO): Undefine macro.
30329         (_POSIX_SPIN_LOCKS): Define macro to -1.
30331         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30332         SA_NODEFER, SA_RESETHAND.
30333         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30334         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30335         F_DUPFD_CLOEXEC.
30337 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30339         * elf/Makefile (pldd-modules): Define unconditionally.
30341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30343         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30347         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30348         Return ENOENT when name is empty.
30349         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30353         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30355         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30359         Fix mlock in all cases except non-readable pages.
30360         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30361         instead of VM_PROT_ALL as parameter to __vm_wire function.
30363         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30364         (__mkdir): When path is `/', just fail with EEXIST.
30365         * sysdeps/mach/hurd/mkdirat.c: Likewise.
30367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30369         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30370         <sys/uio.h> (for writev).
30371         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30372         and <sys/param.h> (for MIN).
30374 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30376         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30377         REQUESTED_TIME.  Properly set the remaining time and return EINTR
30378         if interrupted.
30380 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30382         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30383         Depend on against $(link-rpcuserlibs).
30385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30387         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30388         (__libc_stack_end): Do not use attribute_relro.
30389         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30390         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30391         to libthread-provided value.
30392         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30393         attribute_relro.
30395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30397         [BZ #3748]
30398         * bits/libc-lock.h (__libc_once_get): New macro.
30399         * sysdeps/mach/bits/libc-lock.h: Likewise.
30400         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30401         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30402         instead of using implementation details.
30404         * libio/fileops.c: Unconditionally include <kernel-features.h>.
30405         * libio/freopen.c: Likewise.
30406         * libio/freopen64.c: Likewise.
30407         * misc/syslog.c: Likewise.
30408         * nscd/connections.c: Likewise.
30409         * nscd/netgroupcache.c: Likewise.
30410         * sysdeps/posix/getcwd.c: Likewise.
30412 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30414         * math/w_ilogbf.c: Add #include <limits.h>.
30416 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30418         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30419         path instead of returning without unlocking.
30421         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30422         immediate-write ioctls.
30423         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30427         * sysdeps/mach/hurd/i386/init-first.c (init): Use
30428         __builtin_frame_address instead of making assumptions about the
30429         location of the return address relative to DATA.  Force early load of
30430         the return address.
30431         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30432         __builtin_frame_address.
30434         dup3 for GNU Hurd.
30435         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30436         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
30437         implement dup3 and do some further code clean-ups.
30438         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30439         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30443         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30445         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30446         HURD_CRITICAL_END around holding _hurd_dtable_lock.
30447         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30448         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30449         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30450         d->port.lock.
30452         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30453         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
30454         when handler == SIG_ERR, not when handler != SIG_ERR.
30456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30458         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30459         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30460         definitions.
30462         accept4 for GNU Hurd.
30463         * include/sys/socket.h (__libc_accept4): New prototype.
30464         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
30465         to implement __libc_accept4.
30466         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30467         __libc_accept4.
30468         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30470         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30471         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30472         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30473         signal-defines.sym.
30475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30477         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30481         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30482         assertion on O_CLOEXEC flag.
30483         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30484         * hurd/intern-fd.c: Likewise.
30485         * hurd/port2fd.c: Likewise.
30487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30489         [BZ #3906]
30490         * bits/in.h (IPV6_PKTINFO): Define new macro.
30491         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30493 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30495         [BZ #13954]
30496         [BZ #13955]
30497         [BZ #13956]
30498         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30499         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30500         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30501         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30502         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30503         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30504         * math/libm-test.inc (logb_test) : Additional logb tests.
30506 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
30507             Andreas Jaeger  <aj@suse.de>
30509         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30510         * configure: Regenerated.
30511         * config.h.in (LINK_OBSOLETE_RPC): New macro.
30512         * config.make.in (link-obsolete-rpc): New substituted variable.
30513         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30514         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30515         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30516         (shared-only-routines): Don't set it under [link-obsolete-rpc],
30517         so that libc.a contains the symbols.
30518         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30519         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30520         * sunrpc/auth_none.c: Likewise.
30521         * sunrpc/auth_unix.c: Likewise.
30522         * sunrpc/authdes_prot.c: Likewise.
30523         * sunrpc/authuxprot.c: Likewise.
30524         * sunrpc/clnt_gen.c: Likewise.
30525         * sunrpc/clnt_perr.c: Likewise.
30526         * sunrpc/clnt_raw.c: Likewise.
30527         * sunrpc/clnt_simp.c: Likewise.
30528         * sunrpc/clnt_tcp.c: Likewise.
30529         * sunrpc/clnt_udp.c: Likewise.
30530         * sunrpc/clnt_unix.c: Likewise.
30531         * sunrpc/des_crypt.c: Likewise.
30532         * sunrpc/des_soft.c: Likewise.
30533         * sunrpc/get_myaddr.c: Likewise.
30534         * sunrpc/key_call.c: Likewise.
30535         * sunrpc/key_prot.c: Likewise.
30536         * sunrpc/netname.c: Likewise.
30537         * sunrpc/pm_getmaps.c: Likewise.
30538         * sunrpc/pm_getport.c: Likewise.
30539         * sunrpc/pmap_clnt.c: Likewise.
30540         * sunrpc/pmap_prot.c: Likewise.
30541         * sunrpc/pmap_prot2.c: Likewise.
30542         * sunrpc/pmap_rmt.c: Likewise.
30543         * sunrpc/publickey.c: Likewise.
30544         * sunrpc/rpc_cmsg.c: Likewise.
30545         * sunrpc/rpc_common.c: Likewise.
30546         * sunrpc/rpc_dtable.c: Likewise.
30547         * sunrpc/rpc_prot.c: Likewise.
30548         * sunrpc/rpc_thread.c: Likewise.
30549         * sunrpc/rtime.c: Likewise.
30550         * sunrpc/svc.c: Likewise.
30551         * sunrpc/svc_auth.c: Likewise.
30552         * sunrpc/svc_raw.c: Likewise.
30553         * sunrpc/svc_run.c: Likewise.
30554         * sunrpc/svc_tcp.c: Likewise.
30555         * sunrpc/svc_udp.c: Likewise.
30556         * sunrpc/svc_unix.c: Likewise.
30557         * sunrpc/svcauth_des.c: Likewise.
30558         * sunrpc/xcrypt.c: Likewise.
30559         * sunrpc/xdr.c: Likewise.
30560         * sunrpc/xdr_array.c: Likewise.
30561         * sunrpc/xdr_float.c: Likewise.
30562         * sunrpc/xdr_intXX_t.c: Likewise.
30563         * sunrpc/xdr_mem.c: Likewise.
30564         * sunrpc/xdr_rec.c: Likewise.
30565         * sunrpc/xdr_ref.c: Likewise.
30566         * sunrpc/xdr_sizeof.c: Likewise.
30567         * sunrpc/xdr_stdio.c: Likewise.
30569 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30571         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30572         change.  Update copyright years.
30574 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30576         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30578 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
30579             Joseph Myers  <joseph@codesourcery.com>
30580             Paul Pluzhnikov  <ppluzhnikov@google.com>
30582         [BZ #14012]
30583         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30584         requiring rpcgen.
30585         [cross-compiling] (extra-libs): Likewise.
30586         [cross-compiling] (extra-libs-others): Likewise.
30587         [cross-compiling] (librpcsvc-routines): Likewise.
30588         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30589         [cross-compiling] (omit-deps): Likewise.
30590         (sunrpc-CPPFLAGS): New variable.
30591         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30592         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30593         (cross-rpcgen-objs): New variable.
30594         (extra-objs): Append $(cross-rpcgen-objs).
30595         ($(cross-rpcgen-objs)): New rule.
30596         ($(objpfx)cross-rpcgen): Likewise.
30597         (rpcgen-cmd): Define to use $(built-program-file).  Expand
30598         comment.
30599         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30600         ($(objpfx)x%.stmp): Likewise.
30601         * sunrpc/proto.h [IS_IN_build] (_): Define.
30602         [IS_IN_build] (_libc_intl_domainname): Likewise.
30604 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30607         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30608         and R_X86_64_TPOFF64.
30610 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30612         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30613         sysdeps/unix/sysv/syscalls.list.
30614         (stime): Likewise.
30615         (utime): Likewise.
30616         * sysdeps/unix/sysv/syscalls.list: Remove file.
30618 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
30620         [BZ #3440]
30621         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30622         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30623         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30624         (__LC_IDENTIFICATION): Make these macros useful in #if
30625         expressions, as required by C99.
30627 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
30629         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30630         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
30631         after this.
30633 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
30635         * stdlib/longlong.h: Updated from GCC.
30637 2012-05-09  Andreas Jaeger  <aj@suse.de>
30639         * nscd/nscd.c (run_modes): Make named enum, reorder so that
30640         default is first entry.
30641         (run_mode): Set type.
30642         (main): Remove informal message about syslog.
30643         (options): Fix typo.
30645         [BZ #14053]
30646         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30647         to asm.
30648         (lrint): Likewise.
30649         (llrintf): Likewise.
30650         (llrint): Likewise.
30651         (rint): Likewise.
30652         (rintf): Likewise.
30653         (nearbyint): Likewise.
30654         (nearbyintf): Likewise.
30656 2012-05-09  Andreas Jaeger  <aj@suse.de>
30657             Pedro Alves  <palves@redhat.com>
30659         * nscd/nscd.c (run_mode): Use enum.
30660         (main): Cleanup coding style issue.
30662 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
30663             Andreas Jaeger  <aj@suse.de>
30665         * nscd/nscd.c (go_background): Replaced with...
30666         (run_mode): ... this.
30667         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30668         (options): Add -F --foreground.
30669         (main): Implement it.
30670         (parse_opt): Parse it.
30672 2012-05-09  Andreas Jaeger  <aj@suse.de>
30674         [BZ #14083]
30675         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30676         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30677         -Wconversion warning.
30678         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30679         Likewise.
30681 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
30683         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
30684         == 0.
30685         (LC_ALL): Use macro-int-constant.
30686         (LC_COLLATE): Likewise.
30687         (LC_CTYPE): Likewise.
30688         (LC_MESSAGES): Likewise.
30689         (LC_MONETARY): Likewise.
30690         (LC_NUMERIC): Likewise.
30691         (LC_TIME): Likewise.
30692         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30693         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30694         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30695         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30696         Specify type.
30697         [C99-based standards] (float_t): Expect type.
30698         [C99-based standards] (double_t): Expect type.
30699         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
30700         type.
30701         [C99-based standards] (HUGE_VALL): Likewise.
30702         [C99-based standards] (INFINITY): Likewise.
30703         [C99-based standards] (NAN): Likewise.
30704         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30705         [C99-based standards] (FP_NAN): Likewise.
30706         [C99-based standards] (FP_NORMAL): Likewise.
30707         [C99-based standards] (FP_SUBNORMAL): Likewise.
30708         [C99-based standards] (FP_ZERO): Likewise.
30709         [C99-based standards] (FP_FAST_FMA): Use
30710         optional-macro-int-constant.  Specify type.  Require == 1.
30711         [C99-based standards] (FP_FAST_FMAF): Likewise.
30712         [C99-based standards] (FP_FAST_FMAL): Likewise.
30713         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30714         [C99-based standards] (FP_ILOGBNAN): Likewise.
30715         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30716         Specify type.
30717         [C99-based standards] (MATH_ERREXCEPT): Likewise.
30718         [C99-based standards] (math_errhandling): Specify type.
30719         [ISO99 || ISO11] (signgam): Do not allow.
30720         [non-C99-based standards] (copysignf): Do not allow.
30721         [non-C99-based standards] (exp2f): Likewise.
30722         [non-C99-based standards] (log2f): Likewise.
30723         [non-C99-based standards] (modff): Allow.
30724         [non-C99-based standards] (erff): Do not allow.
30725         [non-C99-based standards] (erfcf): Likewise.
30726         [non-C99-based standards] (gammaf): Likewise.
30727         [non-C99-based standards] (hypotf): Likewise.
30728         [non-C99-based standards] (j0f): Likewise.
30729         [non-C99-based standards] (j1f): Likewise.
30730         [non-C99-based standards] (jnf): Likewise.
30731         [non-C99-based standards] (lgammaf): Likewise.
30732         [non-C99-based standards] (tgammaf): Likewise.
30733         [non-C99-based standards] (y0f): Likewise.
30734         [non-C99-based standards] (y1f): Likewise.
30735         [non-C99-based standards] (ynf): Likewise.
30736         [non-C99-based standards] (isnanf): Likewise.
30737         [non-C99-based standards] (acoshf): Likewise.
30738         [non-C99-based standards] (asinhf): Likewise.
30739         [non-C99-based standards] (atanhf): Likewise.
30740         [non-C99-based standards] (cbrtf): Likewise.
30741         [non-C99-based standards] (expm1f): Likewise.
30742         [non-C99-based standards] (ilogbf): Likewise.
30743         [non-C99-based standards] (log1pf): Likewise.
30744         [non-C99-based standards] (logbf): Likewise.
30745         [non-C99-based standards] (nextafterf): Likewise.
30746         [non-C99-based standards] (remainderf): Likewise.
30747         [non-C99-based standards] (rintf): Likewise.
30748         [non-C99-based standards] (scalbf): Likewise.
30749         [non-C99-based standards] (copysignl): Likewise.
30750         [non-C99-based standards] (exp2l): Likewise.
30751         [non-C99-based standards] (log2l): Likewise.
30752         [non-C99-based standards] (modfl): Allow.
30753         [non-C99-based standards] (erfl): Do not allow.
30754         [non-C99-based standards] (erfcl): Likewise.
30755         [non-C99-based standards] (gammal): Likewise.
30756         [non-C99-based standards] (hypotl): Likewise.
30757         [non-C99-based standards] (j0l): Likewise.
30758         [non-C99-based standards] (j1l): Likewise.
30759         [non-C99-based standards] (jnl): Likewise.
30760         [non-C99-based standards] (lgammal): Likewise.
30761         [non-C99-based standards] (tgammal): Likewise.
30762         [non-C99-based standards] (y0l): Likewise.
30763         [non-C99-based standards] (y1l): Likewise.
30764         [non-C99-based standards] (ynl): Likewise.
30765         [non-C99-based standards] (isnanl): Likewise.
30766         [non-C99-based standards] (acoshl): Likewise.
30767         [non-C99-based standards] (asinhl): Likewise.
30768         [non-C99-based standards] (atanhl): Likewise.
30769         [non-C99-based standards] (cbrtl): Likewise.
30770         [non-C99-based standards] (expm1l): Likewise.
30771         [non-C99-based standards] (ilogbl): Likewise.
30772         [non-C99-based standards] (log1pl): Likewise.
30773         [non-C99-based standards] (logbl): Likewise.
30774         [non-C99-based standards] (nextafterl): Likewise.
30775         [non-C99-based standards] (remainderl): Likewise.
30776         [non-C99-based standards] (rintl): Likewise.
30777         [non-C99-based standards] (scalbl): Likewise.
30778         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30779         [non-C99-based standards] (FP_*): Do not allow.
30780         [C99-based standards] (FP_*): Change to
30781         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30782         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30783         allow.
30784         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30785         (SIG_ERR): Likewise.
30786         [X/Open-based standards] (SIG_HOLD): Likewise.
30787         (SIG_IGN): Likewise.
30788         (SIGABRT): Use macro-int-constant.  Specify type.  Require
30789         positive value.
30790         (SIGFPE): Likewise.
30791         (SIGILL): Likewise.
30792         (SIGINT): Likewise.
30793         (SIGSEGV): Likewise.
30794         (SIGTER): Likewise.
30795         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30796         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30797         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30798         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30799         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30800         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30801         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30802         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30803         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30804         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30805         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30806         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30807         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30808         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30809         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30810         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30811         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30812         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30813         [X/Open-based standards] (SIGTRAP): Likewise.
30814         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30815         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30816         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30817         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30818         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30819         allow.
30821 2012-05-08  Ian Wienand  <ianw@vmware.com>
30823         [BZ #14080]
30824         * time/tzset.c (__tzset_parse_tz): Update default rules for
30825         daylight time changes in the Energy Policy Act of 2005.
30827 2012-05-09  Andreas Jaeger  <aj@suse.de>
30829         [BZ #13983]
30830         * elf/ldconfig.c (parse_conf): Change string to make clear that
30831         ldconfig only issued a warning if ld.so.conf does not exist.
30833 2012-05-08  David S. Miller  <davem@davemloft.net>
30835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30836         movxtod instead of popping the value on the stack.
30838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30840 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
30842         * config.h.in: Add HAVE_ARM_PCS_VFP.
30844 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
30846         [BZ #13979]
30847         * include/features.h: Warn if user requests __FORTIFY_SOURCE
30848         checking but the checks are disabled for any reason.
30850 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
30852         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30853         and ELF64_R_TYPE with ELFW(R_TYPE).
30855 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
30857         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30858         (ulimit): Likewise.
30860         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30861         (settimeofday): Likewise.
30863 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
30865         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
30866         a struct th_u2 inside the union, and move tu_block/tu_code into
30867         a new th_u3 union of tu_block/tu_code inside of that.  Move
30868         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
30869         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
30870         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30871         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30872         (th_stuff): Change to th_u1.tu_stuff.
30873         (th_data): Define.
30874         (th_msg): Change to th_u1.th_u2.tu_data.
30876 2012-05-07  David S. Miller  <davem@davemloft.net>
30878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30880         [BZ #14074]
30881         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30882         (SETUP_PIC_REG): Use it.
30883         (SETUP_PIC_REG_LEAF): Use it.
30885 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
30887         [BZ #13885]
30888         [BZ #13923]
30889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30890         USE_AS_EXPM1L.
30891         (EXPL_FINITE): Likewise.
30892         (FLDLOG): Likewise.
30893         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30894         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30895         e_expl.S.
30896         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30897         USE_AS_EXPM1L.
30898         (EXPL_FINITE): Likewise.
30899         (FLDLOG): Likewise.
30900         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30901         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30902         e_expl.S.
30903         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30904         test of -max_value argument for long double.
30905         * sysdeps/i386/fpu/libm-test-ulps: Update.
30906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30908 2012-05-06  David S. Miller  <davem@davemloft.net>
30910         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30911         quad soft-float symbols whose references which are compiler
30912         generated.
30913         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30915 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30917         [BZ #13884]
30918         [BZ #13914]
30919         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30920         USE_AS_EXP10L.
30921         (EXPL_FINITE): Likewise.
30922         (FLDLOG): Likewise.
30923         (c0): Likewise.
30924         (c1): Likewise.
30925         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30926         Adjust comments for base varying.
30927         (__expl_finite): Change alias to EXPL_FINITE.
30928         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30929         e_expl.S.
30930         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30931         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30932         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30933         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30934         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30935         USE_AS_EXP10L.
30936         (EXPL_FINITE): Likewise.
30937         (FLDLOG): Likewise.
30938         (c0): Likewise.
30939         (c1): Likewise.
30940         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30941         Adjust comments for base varying.
30942         (__expl_finite): Change alias to EXPL_FINITE.
30943         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30944         tests for bugs.
30945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30947         [BZ #14064]
30948         * math/libm-test.inc (check_float_internal): Correct ulp
30949         calculation for subnormal expected results.
30951 2012-05-06  Andreas Jaeger  <aj@suse.de>
30953         * Makeconfig (+math-flags): New, set to -frounding-math.
30954         (+cflags): Add +math-flags so that all of glibc gets compiled with
30955         it.
30957         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30959 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30961         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30962         Disable one test.
30964         [BZ #13787]
30965         [BZ #13922]
30966         [BZ #14036]
30967         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30968         (__ieee754_expl): Allow for and saturate large arguments.
30969         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30970         (u_threshold): Likewise.
30971         (__exp): Call __ieee754_exp before checking for overflow and
30972         underflow.
30973         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30974         (u_threshold): Likewise.
30975         (__expf): Call __ieee754_expf before checking for overflow and
30976         underflow.
30977         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30978         (u_threshold): Likewise.
30979         (__expl): Call __ieee754_expl before checking for overflow and
30980         underflow.
30981         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30982         (__ieee754_expl): Allow for and saturate large arguments.
30983         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30984         missing overflow exception on overflow.
30985         (expm1_test): Do not allow missing overflow exception on overflow.
30987         * sysdeps/i386/fpu/e_expl.c: Move to ...
30988         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30989         rather than using inline asm.
30990         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30991         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30992         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30994         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30995         (nice): Likewise.
30996         (poll): Likewise.
30997         (signal): Likewise.
30998         (time): Likewise.
30999         (times): Likewise.
31001 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31003         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31004         sysdeps/unix/common/syscalls.list.
31005         (fchmod): Likewise.
31006         (fchown): Likewise.
31007         (ftruncate): Likewise.
31008         (getrusage): Likewise.
31009         (gettimeofday): Likewise.
31010         (setpgid): Likewise.
31011         (setregid): Likewise.
31012         (setreuid): Likewise.
31013         (sigaction): Likewise.
31014         (truncate): Likewise.
31015         (vhangup): Likewise.
31016         * sysdeps/unix/common/syscalls.list: Remove file.
31017         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31018         * sysdeps/unix/sysv/linux/Implies: Likewise.
31020 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31022         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31024         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31025         Moved to ...
31026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31027         Here.
31028         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31029         to ...
31030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31031         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31032         to ...
31033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31034         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31035         to ...
31036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31037         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31038         to ...
31039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31040         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31041         to ...
31042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31043         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31044         to ...
31045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31046         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31047         to ...
31048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31049         Here.
31050         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31051         to ...
31052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31053         Here.
31054         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31055         to ...
31056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31057         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31058         Moved to ...
31059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31060         Here.
31061         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31062         to ...
31063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31065 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31067         * sysdeps/unix/common/bits/dirent.h: Remove file.
31068         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31070         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31071         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31072         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31073         * sysdeps/unix/bsd/isatty.c: Likewise.
31074         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31075         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31076         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31078 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31080         [BZ #13563]
31081         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31082         long double comparison inaccuracies.
31083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31086 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31088         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31089         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31091 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31093         [BZ #14049]
31094         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31095         nonzero digits before rounding a hex value.
31096         * stdlib/tst-strtod.c (tests): Add another test.
31098 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31100         * sysdeps/s390/fpu/libm-test-ulps: Update.
31102 2012-05-03  Andreas Jaeger  <aj@suse.de>
31104         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31105         does not get optimized out.
31106         (malloc_opt_barrier): New.
31108 2012-05-03  Andreas Jaeger  <aj@suse.de>
31109             Roland McGrath  <roland@hack.frob.com>
31111         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31112         intermediate file deletion.
31113         (generated): Add .symlist files.
31115 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31117         [BZ #13775]
31118         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31119         Redirect under this condition.
31120         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31121         [__USE_GNU] (__dprintf_chk): Not under this condition.
31122         [__USE_GNU] (__vdprintf_chk): Likewise.
31123         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31124         under this condition.
31125         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31126         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31127         [__USE_XOPEN2K8] (vdprintf): Likewise.
31128         [__USE_GNU] (__dprintf_chk): Not under this condition.
31129         [__USE_GNU] (__vdprintf_chk): Likewise.
31130         [__USE_GNU] (dprintf): Likewise.
31131         [__USE_GNU] (vdprintf): Likewise.
31133 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31135         * elf/Makefile (common-generated): Set this instead of generated for
31136         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31137         $(all-built-dso)-derived lists.
31139 2012-05-03  Andreas Jaeger  <aj@suse.de>
31141         * sysdeps/i386/fpu/libm-test-ulps: Update.
31143         * FAQ: Removed.
31144         * FAQ.in: Likewise.
31145         * scripts/gen-FAQ.pl: Likewise.
31146         * manual/install.texi (Installation): Point to online location of
31147         FAQ.
31148         * Makefile (files-for-dist): Remove FAQ.
31149         (FAQ): Remove.
31151 2012-05-02  Allan McRae  <allan@archlinux.org>
31153         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31154         (LDFLAGS-reldepmod5.so): Likewise.
31155         (LDFLAGS-reldep6mod1.so): Likewise.
31156         (LDFLAGS-reldep6mod4.so): Likewise.
31157         (LDFLAGS-reldep8mod3.so): Likewise.
31158         (LDFLAGS-unload4mod1.so): Likewise.
31159         (LDFLAGS-unload4mod2.so): Likewise.
31160         (LDFLAGS-tst-initorder): Likewise.
31161         (LDFLAGS-tst-initordera2.so): Likewise.
31162         (LDFLAGS-tst-initordera3.so): Likewise.
31163         (LDFLAGS-tst-initordera4.so): Likewise.
31164         (LDFLAGS-tst-initorderb2.so): Likewise.
31165         (LDFLAGS-noload): Likewise.
31166         (LDFLAGS-next): Likewise.
31167         (LDFLAGS-order2mod1.so): Likewise.
31168         (LDFLAGS-order2mod2.so): Likewise.
31169         (LDFLAGS-tst-initorder2): Likewise.
31170         (LDFLAGS-tst-initorder2a.so): Likewise.
31171         (LDFLAGS-tst-initorder2b.so): Likewise.
31172         (LDFLAGS-tst-initorder2c.so): Likewise.
31173         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31175 2012-05-02  David S. Miller  <davem@davemloft.net>
31177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31179 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31181         [BZ #14055]
31182         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31184 2012-05-02  Andreas Jaeger  <aj@suse.de>
31186         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31187         since we manipulate rounding mode.
31188         (CPPFLAGS-test-idouble.c): Likewise.
31189         (CPPFLAGS-test-ifloat.c): Likewise.
31190         (CFLAGS-test-ldouble.c): Likewise.
31191         (CFLAGS-test-double.c): Likewise.
31192         (CFLAGS-test-float.c): Likewise.
31193         (CFLAGS-test-misc.c): Likewise.
31194         (CFLAGS-test-test-fenv.c): Likewise.
31196 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31198         [BZ #2550]
31199         [BZ #2570]
31200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31201         comparisons to determine direction to adjust input.
31203 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31205         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31206         output to the target.
31208         * scripts/localplt.awk: New file.
31209         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31210         (check-localplt-CFLAGS): Variable removed.
31211         ($(all-built-dso:=.jmprel)): New static pattern rule.
31212         (generated): Add those targets.
31213         (localplt-built-dso): New variable.
31214         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31216         * elf/check-localplt.c: File removed.
31218         * scripts/check-execstack.awk: New file.
31219         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31220         (check-execstack-CFLAGS): Variable removed.
31221         ($(objpfx)check-execstack.h): Target removed.
31222         ($(objpfx)execstack-default): New target.
31223         (generated): Add that instead of check-execstack.h.
31224         ($(all-built-dso:=.phdr)): New static pattern rule.
31225         (generated): Add those targets.
31226         * elf/check-execstack.c: File removed.
31228         * scripts/check-textrel.awk: New file.
31229         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31230         (check-textrel-CFLAGS): Variable removed.
31231         (all-built-dso): Use := to define.o
31232         ($(all-built-dso:=.dyn)): New static pattern rule.
31233         (generated): Add those targets.
31234         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31235         * config.make.in (READELF): New substituted variable.
31236         * elf/check-textrel.c: File removed.
31238 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31240         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31241         allow.
31242         * conform/data/ctype.h-data [C99-based standards] (isblank):
31243         Expect function.
31244         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31245         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31247         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31248         Specify type.  Require positive value.
31249         (EILSEQ): Likewise.
31250         (ERANGE): Likewise.
31251         [ISO || POSIX] (EILSEQ): Do not expect.
31252         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31253         Specify type.  Require positive value.
31254         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31255         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31256         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31257         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31258         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31259         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31260         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31261         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31262         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31263         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31264         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31265         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31266         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31267         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31268         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31269         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31270         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31271         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31272         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31273         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31274         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31275         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31276         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31277         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31278         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31279         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31280         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31281         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31282         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31283         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31284         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31285         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31286         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31287         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31288         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31289         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31290         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31291         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31292         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31293         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31294         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31295         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31296         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31297         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31298         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31299         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31300         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31301         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31302         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31303         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31304         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31305         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31306         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31307         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31308         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31309         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31310         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31311         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31312         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31313         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31314         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31315         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31316         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31317         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31318         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31319         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31320         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31321         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31322         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31323         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31324         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31325         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31326         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31327         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31328         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31329         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31330         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31331         Require >= 2.
31332         (FLT_ROUNDS): Expect as macro, not constant.
31333         (FLT_MANT_DIG): Use macro-int-constant.
31334         (DBL_MANT_DIG): Likewise.
31335         (LDBL_MANT_DIG): Likewise.
31336         (FLT_DIG): Likewise.
31337         (DBL_DIG): Likewise.
31338         (LDBL_DIG): Likewise.
31339         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
31340         (DBL_MIN_EXP): Likewise.
31341         (LDBL_MIN_EXP): Likewise.
31342         (FLT_MAX_EXP): Use macro-int-constant.
31343         (DBL_MAX_EXP): Likewise.
31344         (LDBL_MAX_EXP): Likewise.
31345         (FLT_MAX_10_EXP): Likewise.
31346         (DBL_MAX_10_EXP): Likewise.
31347         (LDBL_MAX_10_EXP): Likewise.
31348         (FLT_MAX): Use macro-constant.
31349         (DBL_MAX): Likewise.
31350         (LDBL_MAX): Likewise.
31351         (FLT_EPSILON): Use macro-constant.  Give upper bound.
31352         (DBL_EPSILON): Likewise.
31353         (LDBL_EPSILON): Likewise.
31354         (FLT_MIN): Likewise.
31355         (DBL_MIN): Likewise.
31356         (LDBL_MIN): Likewise.
31357         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31358         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31359         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31360         [ISO11] (FLT_HAS_SUBNORM): Likewise.
31361         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31362         [ISO11] (DBL_DECIMAL_DIG): Likewise.
31363         [ISO11] (FLT_DECIMAL_DIG): Likewise.
31364         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31365         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31366         [ISO11] (FLT_TRUE_MIN): Likewise.
31367         [ISO11] (LDBL_TRUE_MIN): Likewise.
31368         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31369         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31370         (SCHAR_MIN): Use macro-int-constant.  Specify type.
31371         (SCHAR_MAX): Likewise.
31372         (UCHAR_MAX): Likewise.
31373         (CHAR_MIN): Likewise.
31374         (CHAR_MAX): Likewise.
31375         (MB_LEN_MAX): Use macro-int-constant.
31376         (SHRT_MIN): Use macro-int-constant.  Specify type.
31377         (SHRT_MAX): Likewise.
31378         (USHRT_MAX): Likewise.
31379         (INT_MAX): Likewise.
31380         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
31381         bound negative.
31382         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31383         bound with "U".
31384         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31385         bound with "L".
31386         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
31387         bound negative.  Suffix upper bound with "L".
31388         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31389         bound with "UL".
31390         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31391         Specify type.
31392         [C99-based standards] (LLONG_MAX): Likewise.
31393         [C99-based standards] (ULLONG_MAX): Likewise.
31394         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
31395         == 0.
31396         [ISO11] (max_align_t): Require type.
31397         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31399         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31400         from $CFLAGS, without defining away __attribute__ calls.
31401         (checknamespace): Use $CFLAGS_namespace.
31403         * conform/conformtest.pl (@keywords): Only include C99 keywords
31404         for standards based on C99 or C11.
31406         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31407         Disable tests.
31408         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31409         UNIX98]: Likewise.
31411         * conform/conformtest.pl: Handle "macro-int-constant" and test for
31412         usability of symbols in #if.
31414         * conform/conformtest.pl: If macro or constant types start
31415         "promoted:", expect the symbol to be of the following type
31416         promoted by the integer promotions.
31418         * conform/conformtest.pl: Parse all "constant" and "macro" lines
31419         in one place.  Also handle "macro-constant".
31421         * conform/conformtest.pl: Only accept expected macro values with
31422         "==".  Parse all "macro" lines in one place.
31423         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31425         * conform/conformtest.pl: Handle braced types on "constant" lines
31426         instead of handling "typed-constant".
31427         * conform/data/signal.h-data: Use "constant" instead of
31428         "typed-constant".
31430         * conform/conformtest.pl: Handle "optional-" at start of lines in
31431         one place rather than duplicating several cases.  Handle each
31432         format of "macro" line with initial "optional-".
31434         * conform/conformtest.pl: Only accept expected constant or
31435         optional-constant values with "==".  Parse all "constant" lines in
31436         one place.  Parse all "optional-constant" lines in one place.
31437         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31438         * conform/data/fmtmsg.h-data: Likewise.
31439         * conform/data/netinet/in.h-data: Likewise.
31440         * conform/data/tar.h-data: Likewise.
31441         * conform/data/limits.h-data: Use "==" form on "constant" and
31442         "optional-constant" lines.
31444         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31445         Use -std=c99 for XOPEN2K.
31446         (@knownproblems): Remove.
31447         (newtoken): Don't check %isknown.
31449         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31450         Do not expect macro.
31451         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31452         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31453         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31454         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31455         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31456         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31457         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31458         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31459         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31460         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31461         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31462         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31463         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31464         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31465         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31466         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31467         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31468         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31469         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31470         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31471         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31472         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31473         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31474         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31475         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31476         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31477         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31478         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31479         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31480         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31481         [XPG3] (acosh): Likewise.
31482         [XPG3] (asinh): Likewise.
31483         [XPG3] (atanh): Likewise.
31484         [XPG3] (cbrt): Likewise.
31485         [XPG3] (expm1): Likewise.
31486         [XPG3] (ilogb): Likewise.
31487         [XPG3] (log1p): Likewise.
31488         [XPG3] (logb): Likewise.
31489         [XPG3] (nextafter): Likewise.
31490         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31491         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31492         [XPG3] (remainder): Likewise.
31493         [XPG3] (rint): Likewise.
31494         [XPG3 || XPG4 || UNIX98] (round): Likewise.
31495         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31496         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31497         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31498         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31499         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31500         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31501         [UNIX98 || XOPEN2K] (scalb): Expect.
31502         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31503         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31504         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31505         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31506         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31507         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31508         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31509         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31510         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31511         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31512         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31513         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31514         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31515         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31516         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31517         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31518         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31519         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31520         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31521         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31522         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31523         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31524         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31525         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31526         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31527         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31528         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31529         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31530         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31531         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31532         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31533         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31534         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31535         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31536         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31537         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31538         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31539         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31540         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31541         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31542         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31543         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31544         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31545         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31546         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31547         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31548         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31549         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31550         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31551         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31552         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31553         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31554         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31555         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31556         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31557         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31558         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31559         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31560         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31561         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31562         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31563         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31564         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31565         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31566         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31567         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31568         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31569         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31570         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31571         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31572         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31573         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31574         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31575         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31576         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31577         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31578         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31579         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31580         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31581         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31582         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31583         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31584         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31585         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31586         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31587         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31588         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31589         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31590         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31591         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31592         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31593         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31594         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31595         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31596         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31597         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31598         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31599         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31600         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31601         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31602         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31603         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31604         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31605         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31606         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31607         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31608         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31609         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31610         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31611         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31612         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31613         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31614         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31615         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31616         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31617         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31618         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31619         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31620         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31621         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31622         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31623         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31624         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31625         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31626         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31627         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31628         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31629         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31630         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31631         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31632         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31633         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31634         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31635         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31636         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31637         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31638         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31640         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31641         _XOPEN_SOURCE_EXTENDED for XPG4.
31643         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31645         * Makeconfig (localtime): Remove variable.
31646         (inst_localtime-file): Likewise.
31648 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31651         Update.
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31653         Update.
31654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31655         Update.
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31657         Update.
31658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31659         Update.
31660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31661         Update.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31663         Update.
31664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31665         Update.
31666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31667         Update.
31669 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31671         [BZ #2550]
31672         [BZ #2570]
31673         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31674         comparisons to determine direction to adjust input.
31675         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31676         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31677         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31678         Likewise.
31679         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31680         Likewise.
31681         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31682         Likewise.
31683         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31684         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31685         Likewise.
31686         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31687         Likewise.
31688         * math/libm-test.inc (nexttoward_test): Add more tests.
31690 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31692         [BZ #14040]
31693         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31694         in version GLIBC_2.1, not GLIBC_2.0.
31695         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31696         Likewise.
31698 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31700         [BZ #13942]
31701         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31702         (1 - x) * (1 + x).
31703         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31704         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31705         * math/libm-test.inc (acos_test): Add more tests.
31706         (asin_test): Likewise.
31707         * sysdeps/i386/fpu/libm-test-ulps: Update.
31708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31710         [BZ #14034]
31711         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31712         of square root.
31713         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31714         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31715         * math/libm-test.inc (acos_test_tonearest): New function.
31716         (acos_test_towardzero): Likewise.
31717         (acos_test_downward): Likewise.
31718         (acos_test_upward): Likewise.
31719         (asin_test_tonearest): Likewise.
31720         (asin_test_towardzero): Likewise.
31721         (asin_test_downward): Likewise.
31722         (asin_test_upward): Likewise.
31723         (main): Call the new functions.
31724         * sysdeps/i386/fpu/libm-test-ulps: Update.
31725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31727         [BZ #13884]
31728         [BZ #13924]
31729         * math/e_exp10.c: Include <float.h>.
31730         (__ieee754_exp10): Handle underflow here rather than multiplying
31731         large negative argument by M_LN10.
31732         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31733         of __ieee754_expf.
31734         * math/e_exp10l.c: Include <float.h>.
31735         (__ieee754_exp10l): Handle underflow here rather than multiplying
31736         large negative argument by M_LN10l.
31737         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
31738         spurious overflow exception on underflow.
31740 2012-04-29  Marek Polacek  <polacek@redhat.com>
31742         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31743         (__fortify_function): New macro.
31744         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31745         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31746         __extern_always_inline.
31747         * libio/bits/stdio2.h: Likewise.
31748         * libio/bits/stdio.h: Likewise.
31749         * string/string.h: Likewise.
31750         * string/bits/string3.h: Likewise.
31751         * include/stdio.h: Likewise.
31752         * stdlib/bits/stdlib.h: Likewise.
31753         * stdlib/stdlib.h: Likewise.
31754         * rt/bits/mqueue2.h: Likewise.
31755         * rt/mqueue.h: Likewise.
31756         * posix/bits/unistd.h: Likewise.
31757         * posix/unistd.h: Likewise.
31758         * io/bits/poll2.h: Likewise.
31759         * io/bits/fcntl2.h: Likewise.
31760         * io/fcntl.h: Likewise.
31761         * io/sys/poll.h: Likewise.
31762         * misc/bits/syslog.h: Likewise.
31763         * misc/bits/syslog-ldbl.h: Likewise.
31764         * misc/sys/syslog.h: Likewise.
31765         * socket/bits/socket2.h: Likewise.
31766         * socket/sys/socket.h: Likewise.
31767         * debug/tst-chk1.c: Likewise.
31768         * wcsmbs/bits/wchar2.h: Likewise.
31769         * wcsmbs/bits/wchar-ldbl.h: Likewise.
31770         * wcsmbs/wchar.h: Likewise.
31772 2012-04-29  Andreas Jaeger  <aj@suse.de>
31774         * Makerules (tests): Remove enable-check-abi protection.
31775         (check-abi-warn): Remove.
31776         (check-abi-%): Remove check-abi-warn usage.
31778         * configure.in: Remove check-abi configure option.
31779         * configure: Regenerated.
31780         * config.make.in (enable-check-abi): Remove.
31782 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
31784         [BZ #14033]
31785         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31786         double functions to double *_finite functions.
31788         [BZ #13941]
31789         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31790         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31791         LDBL_MIN_EXP.
31792         * stdio-common/Makefile (tests): Add tst-sprintf3.
31793         * stdio-common/tst-sprintf3.c: New file.
31795         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31796         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31798 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31800         * conform/conformtest.pl: Remove duplicate typed-constant
31801         handling.
31803 2012-04-28  David S. Miller  <davem@davemloft.net>
31805         * Makerules (%.abilist): Add vpath on sysdep_dirs.
31806         (check-abi-%): Remove AWK script prerequisite and explicit
31807         abilist directory.
31808         (check-abi): Rewrite to just diff the symlist with the abilist.
31809         (config-tls, config-abi-config): Delete, no longer used.
31810         (update-abi-%): Remove AWK script and explicit abilist directory.
31811         (update-abi): Rewrite to simply compare and conditionally copy the
31812         symlist and the sysdep abilist file.  Remove update-abi-config
31813         checks.
31814         * abilist/ld.abilist: Remove.
31815         * abilist/libBrokenLocale.abilist: Remove.
31816         * abilist/libanl.abilist: Remove.
31817         * abilist/libcrypt.abilist: Remove.
31818         * abilist/libdl.abilist: Remove.
31819         * abilist/librt.abilist: Remove.
31820         * abilist/libthread_db.abilist: Remove.
31821         * abilist/libutil.abilist: Remove.
31822         * scripts/extract-abilist.awk: Remove.
31823         * scripts/merge-abilist.awk: Remove.
31824         * sysdeps/generic/libcidn.abilist: New file.
31825         * sysdeps/generic/libnss_compat.abilist: New file.
31826         * sysdeps/generic/libnss_db.abilist: New file.
31827         * sysdeps/generic/libnss_dns.abilist: New file.
31828         * sysdeps/generic/libnss_files.abilist: New file.
31829         * sysdeps/generic/libnss_hesiod.abilist: New file.
31830         * sysdeps/generic/libnss_nis.abilist: New file.
31831         * sysdeps/generic/libnss_nisplus.abilist: New file.
31832         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31833         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31834         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31835         file.
31836         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31837         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31838         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31839         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31840         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31841         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31842         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31843         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31844         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31845         file.
31846         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31847         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31848         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31849         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31850         file.
31851         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31852         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31853         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31854         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31855         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31856         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31857         file.
31858         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31859         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31860         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31861         file.
31862         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31864         New file.
31865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31866         New file.
31867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31868         New file.
31869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31870         New file.
31871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31872         New file.
31873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31874         New file.
31875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31876         New file.
31877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31878         New file.
31879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31880         New file.
31881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31882         New file.
31883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31884         New file.
31885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31886         New file.
31887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31888         New file.
31889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31890         file.
31891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31892         New file.
31893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31894         New file.
31895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31896         file.
31897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31898         New file.
31899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31900         New file.
31901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31902         file.
31903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31904         New file.
31905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31906         New file.
31907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31908         New file.
31909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31910         New file.
31911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31912         New file.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31914         New file.
31915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31917         file.
31918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31919         New file.
31920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31921         file.
31922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31923         file.
31924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31925         file.
31926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31927         file.
31928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31929         file.
31930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31931         New file.
31932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31933         file.
31934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31935         file.
31936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31937         New file.
31938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31939         file.
31940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31942         file.
31943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31944         New file.
31945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31946         file.
31947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31948         file.
31949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31950         file.
31951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31952         file.
31953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31954         file.
31955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31956         New file.
31957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31958         file.
31959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31960         file.
31961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31962         New file.
31963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31964         file.
31965         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31966         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31967         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31968         file.
31969         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31970         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31971         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31972         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31973         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31974         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31975         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31976         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31977         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31978         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31981         file.
31982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31983         New file.
31984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31985         file.
31986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31987         file.
31988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31989         file.
31990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31991         file.
31992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31993         file.
31994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31995         New file.
31996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31997         New file.
31998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31999         file.
32000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32001         New file.
32002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32003         file.
32004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32006         file.
32007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32008         New file.
32009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32010         file.
32011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32012         file.
32013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32014         file.
32015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32016         file.
32017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32018         file.
32019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32020         New file.
32021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32022         New file.
32023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32024         file.
32025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32026         New file.
32027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32028         file.
32030 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32032         * conform/conformtest.pl: Fix typo in handling typed-constant from
32033         allow-header.
32035 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32037         * README: Cut down references to pre-2.6 Linux kernels and
32038         Linuxthreads.  Update lists of configurations in libc and ports
32039         and sort alphabetically.  Say "or newer" with Linux kernel version
32040         requirements.
32042         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32044 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32046         [BZ #887]
32047         * math/libm-test.inc (logb_test_downward): New test to expose
32048         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32049         rounding mode.
32051 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32053         [BZ #14027]
32054         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32055         to be done.
32056         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32057         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32059 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32061         * sysdeps/unix/i386/brk.S: Remove file.
32062         * sysdeps/unix/i386/dl-brk.S: Likewise.
32063         * sysdeps/unix/i386/pipe.S: Likewise.
32064         * sysdeps/unix/i386/sigreturn.S: Likewise.
32065         * sysdeps/unix/i386/syscall.S: Likewise.
32066         * sysdeps/unix/i386/vfork.S: Likewise.
32067         * sysdeps/unix/i386/wait.S: Likewise.
32069         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32070         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32072         * configure.in (arm*-none*): Do not allow without
32073         --enable-hacker-mode.
32074         (netbsd*): Remove case setting base_os.
32075         (386bsd*): Likewise.
32076         (freebsd*): Likewise.
32077         (bsdi*): Likewise.
32078         (osf*): Likewise.
32079         (sunos*): Likewise.
32080         (ultrix*): Likewise.
32081         (newsos*): Likewise.
32082         (dynix*): Likewise.
32083         (*bsd*): Likewise.
32084         (sysv*): Likewise.
32085         (isc*): Likewise.
32086         (esix*): Likewise.
32087         (sco*): Likewise.
32088         (minix*): Likewise.
32089         (irix4*): Likewise.
32090         (irix6*): Likewise.
32091         (solaris[2-9]*): Likewise.
32092         (none): Likewise.
32093         * configure: Regenerated.
32095 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32097         [BZ #11521]
32098         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32099         overflow or cancellation in calculating denominator.
32100         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32101         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32102         down expression to avoid unexpected rounding in newer GCCs.
32103         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32105 2012-04-26  David S. Miller  <davem@davemloft.net>
32107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32108         long-double compat symbols.
32109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32123 2012-04-25  David S. Miller  <davem@davemloft.net>
32125         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32126         HWCAP_* values only after the memory barriers have been defined.
32127         (atomic_full_barrier): Define.
32128         (atomic_read_barrier): Define.
32129         (atomic_write_barrier): Define.
32131 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32133         * shlib-versions: Add libgcc_s version information.
32134         * sysdeps/generic/libgcc_s.h: Remove.
32135         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32136         libgcc_s.h.
32137         * sysdeps/gnu/unwind-resume.c: Likewise.
32138         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32140 2012-04-25  David S. Miller  <davem@davemloft.net>
32142         * sysdeps/unix/sparc/brk.S: Delete.
32143         * sysdeps/unix/sparc/dl-brk.S: Delete.
32144         * sysdeps/unix/sparc/pipe.S: Delete.
32145         * sysdeps/unix/sparc/sysdep.S: Delete.
32146         * sysdeps/unix/sparc/sysdep.h: Delete.
32147         * sysdeps/unix/sparc/vfork.S: Delete.
32148         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32149         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32150         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32151         (ret_ERRVAL, r0, r1, MOVE): Define.
32152         (JUMPTARGET): Remove.
32153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32154         sysdeps/unix/sparc/sysdep.h
32155         (ENTRY, END): Remove.
32156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32158 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32160         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32161         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32162         -DIS_IN_build.
32164         * timezone/README: Update upstream location and email address for
32165         tzcode and tzdata.
32166         * timezone/zdump.c: Update from tzcode 2012b.
32167         * timezone/zic.c: Likewise.
32169         * configure.in (libc_cv_as_needed): Remove test.
32170         * configure: Regenerated.
32171         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32172         conditional definition.
32173         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32174         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32175         * config.make.in (have-as-needed): Remove variable.
32177 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32178             Paul Pluzhnikov  <ppluzhnikov@google.com>
32180         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32181         strings correctly.
32183 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32185         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32186         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32187         * sysdeps/sh/strlen.S: Likewise.
32189 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32191         * sysdeps/unix/fork.S: Remove file.
32192         * sysdeps/unix/i386/fork.S: Likewise.
32193         * sysdeps/unix/sparc/fork.S: Likewise.
32195         * sysdeps/unix/system.c: Remove file.
32196         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32198         * sysdeps/unix/getegid.S: Remove file.
32199         * sysdeps/unix/geteuid.S: Likewise.
32201 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32203         * scripts/check-localplt.awk: New file.
32204         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32205         of diff.
32206         * scripts/data/localplt-generic.data: Add a comment.
32208         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32209         NODE when __dir_mkfile failed.
32210         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32211         Reported by Ludovic Courtès <ludo@gnu.org>.
32213 2012-04-24  Andreas Jaeger  <aj@suse.de>
32215         * Makerules (common-clean): Also remove gen-as-const-headers
32216         files.
32218 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32220         * Makerules (native-compile): Do not change working directory for
32221         build.  Use $(OUTPUT_OPTION) in command.
32222         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32224 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32226         [BZ #13886]
32227         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32228         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32229         * math/libm-test.inc (floor_test): Add more tests.
32230         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32232 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32234         * sysdeps/unix/getdents.c: Remove file.
32235         * sysdeps/unix/sysv/getdents.c: Likewise.
32236         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32238         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32239         sysdeps/unix/mman/syscalls.list.
32240         (mmap): Likewise.
32241         (mprotect): Likewise.
32242         (msync): Likewise.
32243         (munmap): Likewise.
32244         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32245         * sysdeps/unix/mman/syscalls.list: Remove.
32246         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32248         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32249         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32250         * configure: Regenerated.
32251         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32252         $(libgcc_s_suffix).
32253         * config.make.in (libgcc_s_suffix): Remove variable.
32255 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
32257         * sysdeps/unix/sysv/gethostname.c: Move to ...
32258         * sysdeps/posix/gethostname.c: ... here.
32260         * sysdeps/unix/execve.S: Remove file.
32262         * sysdeps/unix/_exit.S: Remove file.
32264 2012-04-23  Andreas Jaeger  <aj@suse.de>
32266         [BZ #13739]
32267         * manual/Makefile: Remove make dist support, there's no
32268         need for a stand-alone documentation tar ball.
32269         (TEXI2DVI): Define always, it's not in Makeconfig.
32270         (dist): Removed.
32271         (tar-it): Removed.
32272         (edition): Removed.
32273         (glibc-doc-$(edition).tar): Removed
32274         (%.Z): Removed.
32275         (%.gz): Removed.
32276         (%.uu): Removed.
32277         (ETAGS): Remove, it's in Makeconfig.
32278         (move-if-change): Remove, it's in Makeconfig.
32280 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
32282         [BZ #13970]
32283         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32284         (strtod, strtof, strtold, strtol, strtoul, strtoq)
32285         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32286         (strtod_l, strtof_l, strtold_l): Remove __wur.
32287         It is not necessarily an error to ignore strtol's return value.
32288         One can reliably look at the stored endptr to decide whether
32289         the number had valid syntax.
32291 2012-04-21  Andreas Jaeger  <aj@suse.de>
32293         [BZ #13739]
32294         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32296 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
32298         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32299         * sysdeps/unix/sysv/Versions: Remove file.
32301 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
32303         [BZ #13927]
32304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32306 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
32308         [BZ #7064]
32309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32310         version from __vm86.
32312 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
32314         * sysdeps/unix/common/lxstat.c: Remove file.
32315         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32317         * sysdeps/unix/sysv/Makefile: Remove file.
32319         * sysdeps/unix/sysv/direct.h: Remove file.
32321         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32322         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32323         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32324         * sysdeps/unix/sysv/bits/signum.h: Likewise.
32325         * sysdeps/unix/sysv/bits/stat.h: Likewise.
32326         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32327         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32329         * sysdeps/unix/sysv/setrlimit.c: Remove file.
32331         * sysdeps/unix/xmknod.c: Remove file.
32332         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32334         * sysdeps/unix/sysv/settimeofday.c: Remove file.
32336         * sysdeps/unix/sysv/i386/time.S: Remove file.
32338         * sysdeps/unix/fxstat.c: Remove file.
32339         * sysdeps/unix/xstat.c: Likewise.
32340         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32342         * sysdeps/unix/sysv/sigaction.c: Remove file.
32344         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32345         (sysdep_headers): Remove variable.
32346         [termio.h not in sysdep_headers] (generated): Likewise.
32347         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32348         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32349         * sysdeps/unix/sysv/tcdrain.c: Likewise.
32350         * sysdeps/unix/sysv/tcflow.c: Likewise.
32351         * sysdeps/unix/sysv/tcflush.c: Likewise.
32352         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32353         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32354         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32355         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32356         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32358         * sysdeps/unix/siglist.c: Remove file.
32360         * sysdeps/unix/getppid.S: Remove file.
32362         * sysdeps/unix/mkdir.c: Remove file.
32363         * sysdeps/unix/rmdir.c: Likewise.
32365 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
32367         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32368         ERR_MAX value.
32369         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32370         errlist-compat value.
32372 2012-04-18  David S. Miller  <davem@davemloft.net>
32374         * sysdeps/generic/memcopy.h (reg_char): Delete.
32375         * debug/strcat_chk.c: Use char, not reg_char.
32376         * debug/strcpy_chk.c: Likewise.
32377         * debug/strncat_chk.c: Likewise.
32378         * debug/strncpy_chk.c: Likewise.
32379         * string/memchr.c: Likewise.
32380         * string/memrchr.c: Likewise.
32381         * string/rawmemchr.c: Likewise.
32382         * string/strcat.c: Likewise.
32383         * string/strchr.c: Likewise.
32384         * string/strchrnul.c: Likewise.
32385         * string/strcmp.c: Likewise.
32386         * string/strcpy.c: Likewise.
32387         * string/strncat.c: Likewise.
32388         * string/strncmp.c: Likewise.
32389         * string/strncpy.c: Likewise.
32391 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32393         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32394         __builtin_memcopy is called when src and dest ranges are known to not
32395         overlap.
32397 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32399         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32400         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32401         fwd_align_merge macro call.
32402         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32403         bwd_align_merge macro call.
32404         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32406 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32408         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32409         bwd_align_merge macros.
32410         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32411         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32412         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32414 2012-04-18  David S. Miller  <davem@davemloft.net>
32416         * sysdeps/sparc/sparc64/memcopy.h: Delete.
32418 2012-04-18  Andreas Jaeger  <aj@suse.de>
32420         [BZ# 6794]
32421         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32422         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32423         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32425         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32426         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32427         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32429         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32430         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32431         Adjust for changed ldbl-128 files.
32433         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32434         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32435         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32437 2012-04-17  David S. Miller  <davem@davemloft.net>
32439         * sysdeps/sparc/sparc32/memcopy.h: Delete.
32441 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
32443         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32444         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32445         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32446         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32447         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32448         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32450 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32452         [BZ #6794]
32453         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32454         * math/libm-test.inc: Add ilogb errno and exception tests.
32455         * math/w_ilogb.c: New file: ilogb wrapper.
32456         * math/w_ilogbf.c: New file: ilogbf wrapper.
32457         * math/w_ilogbl.c: New file: ilogbl wrapper.
32458         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32459         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32460         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32461         exception being thrown with 0.0 as argument.
32462         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32463         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32464         exception being thrown with 0.0 as argument.
32465         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32466         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32467         exception being thrown with 0.0 as argument.
32468         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32469         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32470         exception being thrown with 0.0 as argument.
32471         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32472         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32473         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32474         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32475         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32476         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32477         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32478         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32479         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32481 2012-04-17  Petr Baudis  <pasky@ucw.cz>
32483         * include/sys/uio.h: Change __vector to __iovec to avoid clash
32484         with altivec.
32486 2012-04-16  Marek Polacek  <polacek@redhat.com>
32488         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32490 2012-04-16  Marek Polacek  <polacek@redhat.com>
32492         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32493         operands of fdivp instruction.
32495 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32497         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32498         * elf/tst-auditmod3b.c: Likewise.
32499         * elf/tst-auditmod4b.c: Likewise.
32500         * elf/tst-auditmod5b.c: Likewise.
32501         * elf/tst-auditmod6b.c: Likewise.
32502         * elf/tst-auditmod6c.c: Likewise.
32503         * elf/tst-auditmod7b.c: Likewise.
32504         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32505         * sysdeps/x86_64/preconfigure.in: Likewise.
32506         * sysdeps/x86_64/preconfigure: Regenerated.
32508 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32510         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32511         __ILP32__.
32513 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
32515         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32516         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32518 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
32520         [BZ #13973]
32521         * locale/iso-639.def: Fix gl language name. Spotted by
32522         Yaron Shahrabani.
32524 2012-04-12  Roland McGrath  <roland@hack.frob.com>
32526         [BZ #2074]
32527         * libio/libio.h (__io_write_fn): Update comment.
32529 2012-04-12  Petr Baudis  <pasky@ucw.cz>
32531         [BZ #2074]
32532         * stdio.texi (Hook Functions): The user provided writer function
32533         is not allowed to return -1.
32535 2012-04-11  David S. Miller  <davem@davemloft.net>
32537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32539 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
32541         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32542         Add a leading slash to rtkaio.
32544 2012-04-11  Jim Meyering  <meyering@redhat.com>
32546         [BZ #11959]
32547         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32548         It is not necessarily an error to ignore fwrite's return
32549         value.  One can reliably use ferror to test for errors after
32550         the fact.
32552 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32554         * bits/types.h (__snseconds_t): New type.
32555         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32557         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32558         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32559         (__SNSECONDS_T_TYPE): Likewise.
32560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32561         (__SNSECONDS_T_TYPE): Likewise.
32562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32563         (__SNSECONDS_T_TYPE): Likewise.
32565 2012-04-10  Andreas Jaeger  <aj@suse.de>
32567         [BZ #2636]
32568         * manual/time.texi (Processor Time): Return type of times is
32569         elapsed real time since an arbitrary point in the past.
32570         (CPU Time): Move CLK_TCK from here...
32571         (Processor Time): ...to here.  Correct description.
32572         * manual/conf.texi (Constants for Sysconf): Correct description of
32573         _SC_CLK_TCK.
32575 2012-04-10  David S. Miller  <davem@davemloft.net>
32577         [BZ #13967]
32578         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32579         where the is a gap between DT_REL(A) and DT_JMPREL.
32581 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32583         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32584         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32585         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32587 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32589         * elf/dl-support.c (_dl_inhibit_cache): New variable.
32590         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32591         (dl_main): Handle --inhibit-cache.
32592         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32593         _dl_inhibit_cache.
32594         * elf/dl-load.c (_dl_map_object): Use it.
32595         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32597 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32599         [BZ #13872]
32600         * sysdeps/i386/fpu/e_powl.S (p78): New object.
32601         (__ieee754_powl): Saturate large exponents rather than testing for
32602         overflow of y*log2(x).
32603         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32604         * math/libm-test.inc (pow_test): Do not permit spurious overflow
32605         exceptions.
32607         [BZ #11521]
32608         * math/s_ctan.c: Include <float.h>.
32609         (__ctan): Avoid internal overflow or cancellation in calculating
32610         denominator.
32611         * math/s_ctanf.c: Likewise.
32612         * math/s_ctanl.c: Likewise.
32613         * math/s_ctanh.c: Likewise.
32614         * math/s_ctanhf.c: Likewise.
32615         * math/s_ctanhl.c: Likewise.
32616         * math/libm-test.inc (ctan_test): Add more tests.
32617         (ctanh_test): Likewise.
32618         * sysdeps/i386/fpu/libm-test-ulps: Update.
32619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32621 2012-04-09  Andreas Jaeger  <aj@suse.de>
32623         [BZ #6894]
32624         * manual/filesys.texi (Directory Entries): Mention that d_namlen
32625         is an optional BSD extension.
32627         [BZ #10254]
32628         * manual/stdio.texi (Opening Streams): Document additional fopen
32629         parameters.
32631 2012-04-09  Roland McGrath  <roland@hack.frob.com>
32633         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32634         %eax without telling the compiler.
32636 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
32638         [BZ # 13963]
32639         * manual/install.texi: Use sourceware.org.
32641 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32643         [BZ #13873]
32644         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32645         (__ieee754_pow): Generate overflow and underflow using huge*huge
32646         and tiny*tiny rather than just returning constant infinity or zero
32647         for large exponents.
32648         * math/libm-test.inc (pow_test): Require overflow exceptions for
32649         applicable cases of large exponents.
32651         [BZ #706]
32652         * sysdeps/i386/fpu/e_pow.S (p10): New object.
32653         (__ieee754_pow): Use iterative multiplication algorithm only for
32654         integer exponents with absolute value below 1024.  Check for odd
32655         integer exponents when using algorithm for real exponents.
32656         * math/libm-test.inc (pow_test): Add more tests.
32657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32659 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
32661         [BZ #13705]
32662         * math/libm-test.inc (exp_test): Do not allow overflow exception
32663         on underflow test.
32665 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
32667         [BZ #13705]
32668         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32669         instead of __kernel_standard_f.
32671 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
32673         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32674         * sysdeps/x86_64/memset_chk.S: Likewise.
32676 2012-04-08  Andreas Jaeger  <aj@suse.de>
32678         [BZ #10153]
32679         * manual/startup.texi (Environment Access): Describe return value
32680         for putenv and setenv.
32682         [BZ #6895]
32683         * manual/filesys.texi (Directory Entries): Add description for
32684         DT_LNK.
32686         [BZ #6890]
32687         * manual/filesys.texi (Directory Entries): Clarify that it's file
32688         system not operating system in the description of DT_UNKNOWN.
32690         [BZ #6578]
32691         * manual/syslog.texi (closelog): Fix reference, it's openlog.
32693 2012-04-08  Stephen Compall  <s11@member.fsf.org>
32695         [BZ #6649]
32696         * manual/llio.texi (Opening and Closing Files): Add cross
32697         reference to explain mode argument.
32699 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
32701         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32702         * sysdeps/x86_64/memset_chk.S: Likewise.
32704 2012-04-07  David S. Miller  <davem@davemloft.net>
32706         * elf/elf.h (R_SPARC_WDISP10): Define.
32707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32708         R_SPARC_SIZE32.
32709         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32710         R_SPARC_SIZE64 and R_SPARC_H34.
32712 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
32714         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32715         conditions and remove no longer applicable assertion.
32717 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32719         * bits/byteswap.h: Include <features.h>.
32720         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32721         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32723 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32725         * bits/byteswap.h (__bswap_16): Removed.
32726         Include <bits/byteswap-16.h> to get __bswap_16.
32727         * sysdeps/i386/bits/byteswap.h: Likewise.
32728         * sysdeps/s390/bits/byteswap.h: Likewise.
32729         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32730         * bits/byteswap-16.h: New file.
32731         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32732         * sysdeps/s390/bits/byteswap-16.h: Likewise.
32733         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32734         * string/Makefile (headers): Add bits/byteswap-16.h.
32736 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32738         [BZ #13895]
32739         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32740         extra indirection.
32741         * nss/Makefile (tests-static, tests): Add tst-nss-static.
32742         * nss/tst-nss-static.c: New.
32744 2012-04-06  Robert Millan  <rmh@gnu.org>
32746         [BZ #6486]
32747         * manual/llio.texi (File Position Primitive): lseek
32748         refers to WHENCE when it really means OFFSET.
32750 2012-04-06  Andreas Jaeger  <aj@suse.de>
32752         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32753         strncmp declarations.
32755         * abilist/libc.abilist: Add __poll and __ppoll.
32757 2012-04-05  David S. Miller  <davem@davemloft.net>
32759         * scripts/check-local-headers.sh: Accept a host triplet in the
32760         path matched by the exclude regexp.
32762         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32763         definition.
32764         * sysdeps/powerpc/powerpc32/dl-machine.h
32765         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32766         * sysdeps/s390/s390-32/dl-machine.h
32767         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32768         * sysdeps/sparc/sparc32/dl-machine.h
32769         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32770         * sysdeps/sparc/sparc64/dl-machine.h
32771         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32773         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32774         lazy binding.
32775         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32776         undefined symbol errors.
32778         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32779         DT_NEEDED entries.
32781 2012-04-05  Michael Matz  <matz@suse.de>
32783         [BZ #13592]
32784         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32786 2012-04-05  Andreas Jaeger  <aj@suse.de>
32788         [BZ #13908]
32789         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32790         comment.
32792 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32794         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32795         which ROUND is no valid rounding mode.
32797 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32799         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32800         read again.
32801         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32803 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32805         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32806         an exception using FPU order intentionally.
32808 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32810         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32811         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32812         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32813         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32815 2012-04-05  Simon Josefsson  <simon@josefsson.org>
32817         [BZ #12340]
32818         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32819         EINVAL when BUFLEN is too smal.
32821 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32823         [BZ #13553]
32824         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32825         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32827 2012-04-03  Andreas Jaeger  <aj@suse.de>
32829         [BZ #13938]
32830         * manual/setjmp.texi (System V contexts): Fix sentence.
32832         [BZ #13926]
32833         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32834         New macro for this case.
32835         [!__GNUC__] (__bswap_64): New inline function for this case.
32836         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32837         * bits/byteswap.h: Likewise.
32838         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32839         ull, guard with __GLIBC_HAVE_LONG_LONG.
32841         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32842         __GLIBC_HAVE_LONG_LONG.
32844         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32845         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32847 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32849         [BZ #13691]
32850         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32851         inptr and inend, rather than using last_ch.
32853 2012-04-02  David S. Miller  <davem@davemloft.net>
32855         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32856         * stdio-common/printf-parse.h (read_int): Change return type to
32857         'int', return -1 on INT_MAX overflow.
32858         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32859         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
32860         overflows INT_MAX.  Check for overflow of in-format-string precision
32861         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
32862         SIZE_MAX not INT_MAX for integer overflow test.
32863         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32864         skip the construct in the format string but do not record anything.
32865         * stdio-common/bug22.c: Adjust to test both width/prevision
32866         INT_MAX overflow as well as total length INT_MAX overflow.  Check
32867         explicitly for proper errno values.
32869 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32871         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32872         CHAR_MAX.
32873         * string/test-strcmp.c [! WIDE]: Likewise.
32874         * time/tst-mktime2.c: Likewise for INT_MAX.
32875         * string/test-string.h: #include <sys/param.h> for MIN.
32877         * csu/init-first.c (__libc_init_first): Call __ctype_init.
32878         * sysdeps/i386/init-first.c (init): Likewise.
32879         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32880         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32881         * sysdeps/sh/init-first.c (init): Likewise.
32883 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
32885         * po/ru.po: Update from translation team.
32886         * po/vi.po: Likewise.
32888 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32890         * resolv/nss_dns/dns-host.c: Merge copyright years.
32892 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32894         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32895         Optimize memcpy with prefetch if
32896         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
32897         src, dst pointers have unequal 16 byte alignments.
32899 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32901         [BZ #13928]
32902         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32903         from a CNAME entry and return the minimum ttl for the query.
32904         (gaih_getanswer_slice): Likewise.
32906 2012-03-30  Jeff Law  <law@redhat.com>
32908         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32909         due to long keys.
32910         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32911         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32913         * resolv/nss_dns/dns-host.c: Update copyright year.
32915 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32917         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32918         requests to save a system call.  Fix check that all bytes are sent.
32920         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32921         comments for sendmmsg.
32923 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32925         [BZ #13691]
32926         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32927         with only 1 character between 0x0041 and 0x01b0.
32928         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32929         * wcsmbs/tst-mbsnrtowcs.c: New file.
32931 2012-03-29  David S. Miller  <davem@davemloft.net>
32933         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32934         small copies by hand.
32936 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32938         [BZ #13761]
32939         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32940         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32941         group memberships.
32943 2012-03-28  David S. Miller  <davem@davemloft.net>
32945         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32946         that branches into memcpy.
32947         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32948         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32949         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32950         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32951         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32952         bits.
32953         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32954         implementation too.
32955         * sysdeps/sparc/mempcpy.S: New file.
32957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32958         the IFUNC routine in the libc case.
32959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32961         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32962         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32963         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32964         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32965         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32966         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32967         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32968         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32970         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32971         loop to 256 bytes instead of 64 bytes and fix test signedness.
32973         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32974         * sysdeps/sparc/sparc32/Makefile: rather than here...
32975         * sysdeps/sparc/sparc64/Makefile: and here.
32977 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32979         * malloc/mallocbug.c: Avoid warnings about unused variables.
32981 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32983         [BZ #13760]
32984         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32985         in the right place. Discard and retry query if response is
32986         larger than input buffer size.
32988 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32990         [BZ #369]
32991         [BZ #2678]
32992         [BZ #3866]
32993         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32994         x for large integer exponent.
32995         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32996         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32997         sign of result as needed afterwards.
32998         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32999         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33000         result for underflowing pow the same as for overflow.
33001         (__kernel_standard_l): Handle powl overflow and underflow here
33002         rather than calling __kernel_standard.
33003         * math/libm-test.inc (pow_test): Add more tests.
33005         [BZ #3868]
33006         [BZ #13879]
33007         [BZ #13910]
33008         [BZ #13911]
33009         [BZ #13912]
33010         [BZ #13913]
33011         [BZ #13915]
33012         [BZ #13916]
33013         [BZ #13917]
33014         [BZ #13918]
33015         [BZ #13919]
33016         [BZ #13920]
33017         [BZ #13921]
33018         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33019         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33020         (__kernel_standard_l): New function.
33021         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33022         __kernel_standard.
33023         * math/w_acosl.c (__acosl): Likewise.
33024         * math/w_asinl.c (__asinl): Likewise.
33025         * math/w_atan2l.c (__atan2l): Likewise.
33026         * math/w_atanhl.c (__atanhl): Likewise.
33027         * math/w_coshl.c (__coshl): Likewise.
33028         * math/w_exp10l.c (__exp10l): Likewise.
33029         * math/w_exp2l.c (__exp2l): Likewise.
33030         * math/w_fmodl.c (__fmodl): Likewise.
33031         * math/w_hypotl.c (__hypotl): Likewise.
33032         * math/w_j0l.c (__j0l, __y0l): Likewise.
33033         * math/w_j1l.c (__j1l, __y1l): Likewise.
33034         * math/w_jnl.c (__jnl, __ynl): Likewise.
33035         * math/w_lgammal.c (__lgammal): Likewise.
33036         * math/w_log10l.c (__log10l): Likewise.
33037         * math/w_log2l.c (__log2l): Likewise.
33038         * math/w_logl.c (__logl): Likewise.
33039         * math/w_powl.c (__powl): Likewise.
33040         * math/w_remainderl.c (__remainderl): Likewise.
33041         * math/w_scalbl.c (sysv_scalbl): Likewise.
33042         * math/w_sinhl.c (__sinhl): Likewise.
33043         * math/w_sqrtl.c (__sqrtl): Likewise.
33044         * math/w_tgammal.c (__tgammal): Likewise.
33045         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33046         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33047         * math/libm-test.inc (acos_test): Add more tests.
33048         (acosh_test): Likewise.
33049         (asin_test): Likewise.
33050         (atanh_test): Likewise.
33051         (exp_test): Likewise.
33052         (exp10_test): Likewise.
33053         (exp2_test): Likewise.
33054         (expm1_test): Likewise.
33055         (lgamma_test): Likewise.
33056         (log_test): Likewise.
33057         (log10_test): Likewise.
33058         (log1p_test): Likewise.
33059         (log2_test): Likewise.
33060         (pow_test): Do not allow some spurious overflow exceptions.
33061         (sqrt_test): Add more tests.
33062         (tgamma_test): Likewise.
33063         (y0_test): Likewise.
33064         (y1_test): Likewise.
33065         (yn_test): Likewise.
33067 2012-03-27  Anton Blanchard  <anton@samba.org>
33069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33070         MAP_HUGETLB.
33071         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33072         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33073         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33075 2012-03-27  David S. Miller  <davem@davemloft.net>
33077         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33079         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33080         have-as-vis3 check.
33082 2012-03-27  Andreas Jaeger  <aj@suse.de>
33084         * sysdeps/x86_64/elf/configure.in: Moved to ...
33085         * sysdeps/x86_64/configure.in: ... here.
33086         * sysdeps/x86_64/elf/start.S: Moved to ...
33087         * sysdeps/x86_64/start.S: ... here.
33088         * sysdeps/x86_64/elf/configure: Delete.
33090         * sysdeps/x86_64/configure.in: Merge contents from
33091         sysdeps/i386/configure.in (without i686 check).
33093         * sysdeps/i386/elf/Versions: Merge into ...
33094         * sysdeps/i386/Versions: ... this.
33095         * sysdeps/i386/elf/Versions: Delete file.
33096         * sysdeps/i386/elf/start.S: Moved to ...
33097         * sysdeps/i386/start.S: ...here.
33098         * sysdeps/i386/elf/configure.in: Merge into...
33099         * sysdeps/i386/configure.in: ...here.
33100         * sysdeps/i386/elf/configure.in: Delete file.
33101         * sysdeps/i386/elf/configure: Delete file.
33103         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33104         * debug/backtracesyms.c: ... here.
33105         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33106         * debug/backtracesymsfd.c: ... here.
33107         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33108         * sysdeps/generic/ifunc-sel.h: ... here.
33110         * sysdeps/unix/i386/start.c: Delete file.
33111         * sysdeps/unix/sparc/start.c: Delete file.
33112         * sysdeps/unix/start.c: Delete file.
33114         * sysdeps/sh/elf/configure.in: Moved to ...
33115         * sysdeps/sh/configure.in: ... here.
33116         * sysdeps/sh/elf/start.S: Moved to ...
33117         * sysdeps/sh/start.S: ... here.
33118         * sysdeps/sh/elf/configure: Delete file.
33120         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33121         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33122         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33123         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33124         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33125         * sysdeps/powerpc/powerpc64/start.S: here.
33126         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33127         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33128         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33129         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33130         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33132         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33133         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33134         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33135         * sysdeps/powerpc/powerpc32/start.S: ... here.
33136         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33137         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33138         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33140         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33141         * sysdeps/powerpc/ifunc-sel.h: ... here.
33142         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33143         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33145         * sysdeps/sparc/elf/configure.in: Moved to ...
33146         * sysdeps/sparc/configure.in: ... here.
33147         * sysdeps/sparc/elf/configure: Delete file.
33148         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33149         * sysdeps/sparc/sparc32/start.S: ... here.
33150         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33151         * sysdeps/sparc/sparc64/start.S: ... here.
33152         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33153         * sysdeps/sparc/sparc32/Makefile: ... this.
33154         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33155         * sysdeps/sparc/sparc64/Makefile: ... this.
33157         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33158         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33159         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33160         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33161         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33162         * sysdeps/s390/s390-32/setjmp.S: ... here.
33163         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33164         * sysdeps/s390/s390-32/configure.in: ... here.
33165         * sysdeps/s390/s390-32/elf/configure: Delete file.
33166         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33167         * sysdeps/s390/s390-32/start.S: ... here.
33169         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33170         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33171         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33172         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33173         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33174         * sysdeps/s390/s390-64/setjmp.S: ... here.
33175         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33176         * sysdeps/s390/s390-64/configure.in: ... here
33177         * sysdeps/s390/s390-64/elf/configure: Delete file.
33178         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33179         * sysdeps/s390/s390-64/start.S: ... here.
33180         * sysdeps/s390/s390-64/elf/configure: Delete.
33182         * configure.in: Remove support for elf directories in sysdeps.
33184         * configure: Regenerated.
33185         * sysdeps/i386/configure: Regenerated.
33186         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33187         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33188         * sysdeps/s390/s390-32/configure: Regenerated.
33189         * sysdeps/s390/s390-64/configure: Regenerated.
33190         * sysdeps/sh/configure: Regenerated.
33191         * sysdeps/sparc/configure: Regenerated.
33192         * sysdeps/x86_64/configure: Regenerated.
33194 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33198         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33199         denormal result into account.
33201 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33203         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33204         Reported by Allan McRae <allan@archlinux.org>.
33206 2012-03-23  Jeff Law  <law@redhat.com>
33208         * nss/getnssent.c (__nss_getent): Fix typo.
33210 2012-03-23  David S. Miller  <davem@davemloft.net>
33212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33214 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33216         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33217         to pad to uint64_t for each field.
33218         (dl_tls_index): Replace unsigned long with uint64_t.
33220 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33221         Paul Pluzhnikov  <ppluzhnikov@google.com>
33223         [BZ #6528]
33224         * grp/Makefile (otherlibs): Don't set it.
33225         * inet/Makefile (otherlibs): Likewise.
33226         * login/Makefile (otherlibs): Likewise.
33227         * nscd/Makefile (otherlibs): Likewise.
33228         * posix/Makefile (otherlibs): Likewise.
33229         * pwd/Makefile (otherlibs): Likewise.
33230         * rt/Makefile (otherlibs): Likewise.
33231         * sunrpc/Makefile (otherlibs): Likewise.
33232         * nss/Makefile (otherlibs): Likewise.
33233         Add libnss_files to routines and static-only-routines.
33234         ($(objpfx)getent): Remove rule.
33235         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33236         static-only-routines.
33238 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33240         [BZ #13892]
33241         * math/s_cexp.c: Include <float.h>.
33242         (__cexp): Handle exp result overflowing not necessarily
33243         overflowing both real and imaginary parts of result.
33244         * math/s_cexpf.c: Likewise.
33245         * math/s_cexpl.c: Likewise.
33246         * math/libm-test.inc (cexp_test): Add more tests.
33247         * sysdeps/i386/fpu/libm-test-ulps: Update.
33248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33250 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33252         * include/link.h (ELFW): New macro.
33253         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33254         Replace ELF64_R_TYPE with ELFW(R_TYPE).
33256 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33258         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33259         with uint64_t.
33261 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33263         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33264         declaration.
33265         (struct La_x32_retval): Likewise.
33267 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33269         * sysdeps/x86_64/preconfigure.in: New file.
33270         * sysdeps/x86_64/preconfigure: New generated file.
33272 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33274         [BZ #13824]
33275         * math/e_exp2l.c: Include <float.h>.
33276         (__ieee754_exp2l): Handle overflow and underflow cases
33277         separately.  Only pass fractional part of argument to
33278         __ieee754_expl.
33279         * math/libm-test.inc (exp2_test): Add more tests.
33281         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33282         negating x to take absolute value.
33283         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33284         Likewise.
33285         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33286         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33287         Likewise.
33288         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33289         computing low part if x was negated.
33290         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33292 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33294         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33295         la_x32_gnu_pltexit.
33296         (pltexit): Cast int_retval to ptrdiff_t.
33297         * elf/tst-auditmod3b.c: Likewise.
33298         * elf/tst-auditmod4b.c: Likewise.
33299         * elf/tst-auditmod5b.c: Likewise.
33300         * elf/tst-auditmod6b.c: Likewise.
33301         * elf/tst-auditmod6c.c: Likewise.
33302         * elf/tst-auditmod7b.c: Likewise.
33304         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33305         and x32_gnu_pltexit.
33307         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33308         __ELF_NATIVE_CLASS.
33309         (La_x32_regs): New macro.
33310         (La_x32_retval): Likewise.
33311         (la_x32_gnu_pltenter): New function prototype.
33312         (la_x32_gnu_pltexit): Likewise.
33314 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
33316         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33317         exponent.
33319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33321         * configure.in (libc_cv_cc_nofma): Check for option to disable
33322         generation of FMA instructions.
33323         * configure: Regenerate.
33324         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33325         * sysdeps/ieee754/dbl-64/Makefile: New file.
33326         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33327         Remove brandred-fma4.
33328         (CFLAGS-brandred-fma4.c): Remove.
33329         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33330         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33331         define.
33332         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33333         define.
33335 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33337         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33338         LLONG_MAX != LONG_MAX.
33339         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33340         (_fitoa_word): Likewise.
33341         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33342         LLONG_MAX != LONG_MAX.
33343         * stdio-common/_itowa.h: Include <_itoa.h>.
33344         (_itowa_word): Use _ITOA_WORD_TYPE on value.
33345         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
33346         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
33347         only if not defined.
33348         (_ITOA_WORD_TYPE): Likewise.
33349         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33350         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33352 2012-03-21  David S. Miller  <davem@davemloft.net>
33354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33356 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33358         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33359         of x86_64 when setting libc_cv_slibdir, libdir and
33360         libc_cv_localedir.
33361         * sysdeps/unix/sysv/linux/configure: Regenerated.
33363 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33365         * manual/lang.texi (Old Varargs): Remove section.
33366         (How Variadic): Update menu.
33367         (va_start): Do not mention varargs.h.
33369 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33370             Joseph Myers  <joseph@codesourcery.com>
33372         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33373         link test.
33374         * configure: Regenerated.
33376 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33378         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33379         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33380         conformtest.pl
33382 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33384         * NOTES: Remove.
33385         * Makefile (files-for-dist): Remove NOTES.
33386         (NOTES): Remove rule.
33387         * README: Don't refer to NOTES.
33388         * manual/creature.texi: Don't include macros.texi.
33389         * manual/intro.texi (creature.texi): Remove comment referring to
33390         NOTES.
33392         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33393         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33394         * configure: Regenerated.
33395         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33396         LIBC_TRY_CC_OPTION.
33397         (libc_cv_as_i686): Likewise.
33398         (libc_cv_cc_avx): Likewise.
33399         (libc_cv_cc_sse2avx): Likewise.
33400         (libc_cv_cc_fma4): Likewise.
33401         (libc_cv_cc_novzeroupper): Likewise.
33402         * sysdeps/i386/configure: Regenerated.
33404         [BZ #13883]
33405         * sysdeps/i386/fpu/s_cexp.S: Remove.
33406         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33407         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33408         * math/libm-test.inc (cexp_test): Add more tests.
33409         * sysdeps/i386/fpu/libm-test-ulps: Update.
33410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33412 2012-03-21  Allan McRae  <allan@archlinux.org>
33414         * timezone/Makefile: Do not install iso3166.tab and zone.tab
33416 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33418         [BZ #13871]
33419         * math/w_exp2.c: Do not include <float.h>.
33420         (o_threshold, u_threshold): Remove.
33421         (__exp2): Calculate result before checking finiteness and calling
33422         __kernel_standard.
33423         * math/w_exp2f.c: Likewise.
33424         * math/w_exp2l.c: Likewise.
33425         * math/libm-test.inc (exp2_test): Require overflow exception for
33426         1e6 input.
33428         [BZ #3866]
33429         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33430         range of signed 64-bit integers before using fistpll.  Remove
33431         checks for whether integers fit in mantissa bits.
33432         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33433         the range of signed 32-bit integers before using fistpl.  Remove
33434         checks for whether integers fit in mantissa bits.
33435         * sysdeps/i386/fpu/e_powl.S (p64): New object.
33436         (__ieee754_powl): Test for y outside the range of signed 64-bit
33437         integers before using fistpll.  Reduce 64-bit values to 63-bit
33438         ones as needed.
33439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33440         divide-by-zero is raised for zero to large negative powers.
33441         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33442         (__ieee754_powl): Test for y outside the range of signed 64-bit
33443         integers before using fistpll.  Reduce 64-bit values to 63-bit
33444         ones as needed.
33445         * math/libm-test.inc (pow_test): Add more tests.
33447 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33449         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33450         <stdio-common/_itoa.h>.
33451         * debug/segfault.c: Likewise.
33452         * elf/dl-cache.c: Likewise.
33453         * elf/dl-minimal.c: Likewise.
33454         * elf/dl-misc.c: Likewise.
33455         * elf/dl-sysdep.c: Likewise.
33456         * elf/dl-version.c: Likewise.
33457         * elf/rtld.c: Likewise.
33458         * hurd/hurdsock.c: Likewise.
33459         * hurd/lookup-retry.c: Likewise.
33460         * malloc/malloc.c: Likewise.
33461         * malloc/mtrace.c: Likewise.
33462         * nscd/nscd_getgr_r.c: Likewise.
33463         * nscd/nscd_getpw_r.c: Likewise.
33464         * nscd/nscd_getserv_r.c: Likewise.
33465         * posix/getopt_init.c: Likewise.
33466         * posix/wordexp.c: Likewise.
33467         * stdio-common/_itoa.c: Likewise.
33468         * stdio-common/printf_fphex.c: Likewise.
33469         * stdio-common/vfprintf.c: Likewise.
33470         * string/_strerror.c: Likewise.
33471         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33472         * sysdeps/i386/i686/hp-timing.h: Likewise.
33473         * sysdeps/mach/_strerror.c: Likewise.
33474         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33475         * sysdeps/mach/hurd/sethostid.c: Likewise.
33476         * sysdeps/mach/hurd/xmknodat.c: Likewise.
33477         * sysdeps/mach/xpg-strerror.c: Likewise.
33478         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33479         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33480         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33481         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33482         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33483         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33484         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33485         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33486         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33487         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33488         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33489         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33490         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33491         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33492         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33493         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33494         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33495         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33496         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33497         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33498         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33500         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33502         * stdio-common/_itoa.h: Moved to ...
33503         * sysdeps/generic/_itoa.h: Here.
33505         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33507         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33508         instead of "_itoa.h" and "_itowa.h".
33509         * stdio-common/vfprintf.: Likewise.
33511 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33513         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33514         <bits/wordsize.h>.
33515         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33516         (__signbit): Likwise.
33517         (llrintf): Likwise.
33518         (llrint): Likwise.
33520 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33522         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33523         __WORDSIZE != 64.
33525 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
33527         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33528         OVERFLOW_EXCEPTION_OK.
33529         * math/libm-test.inc ("Philosophy"): Update comment about
33530         exception testing.
33531         (OVERFLOW_EXCEPTION): Define.
33532         (OVERFLOW_EXCEPTION_OK): Likewise.
33533         (INVALID_EXCEPTION_OK): Renumber.
33534         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33535         (IGNORE_ZERO_INF_SIGN): Likewise.
33536         (test_exceptions): Handle FE_OVERFLOW.
33537         (exp10_test): Expect overflow exceptions.
33538         (exp2_test): Likewise.
33539         (expm1_test): Likewise.
33540         (nextafter_test): Likewise.
33541         (pow_test): Likewise.
33542         (scalbn_test): Likewise.
33543         (scalbln_test): Likewise.
33545 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33547         * sysdeps/x86_64/bits/atomic.h
33548         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33549         64bit integer.
33550         (atomic_exchange_acq): Likewise.
33551         (__arch_exchange_and_add_body): Likewise.
33552         (__arch_add_body): Likewise.
33553         (atomic_add_negative): Likewise.
33554         (atomic_add_zero): Likewise.
33556 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33558         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33559         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33561 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33563         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33564         Check __x86_64__ instead of __WORDSIZE.
33566 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33568         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33570 2012-03-19  David S. Miller  <davem@davemloft.net>
33572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33574         * sysdeps/sparc/fpu/fenv_private.h: New file.
33575         * sysdeps/sparc/fpu/math_private.h: Use it.
33576         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33577         Remove.
33578         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33579         (libc_feholdexcept_setroundl): Remove.
33580         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33581         Remove.
33582         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33583         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33587         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33588         int64_t instead of long int.
33589         (INSERT_WORDS64): Likwise.
33591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33593         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33594         _Unwind_GetCFA return to _Unwind_Ptr first.
33596 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
33598         [BZ #13629]
33599         * math/s_clog.c: Include <float.h>.
33600         (__clog): Scale large or subnormal inputs.
33601         * math/s_clogf.c: Likewise.
33602         * math/s_clogl.c: Likewise.
33603         * math/s_clog10.c: Include <float.h>.
33604         (M_LOG10_2): Define.
33605         (__clog10): Scale large or subnormal inputs.
33606         * math/s_clog10f.c: Likewise.
33607         * math/s_clog10l.c: Likewise.
33608         * math/libm-test.inc (clog_test): Add more tests.
33609         (clog10_test): Likewise.
33610         * sysdeps/i386/fpu/libm-test-ulps: Update.
33611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33613         [BZ #11451]
33614         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33615         x and y.
33616         * math/libm-test.inc (atan2_test): Add another test.
33618         * Makerules (common-objdir-compile): Remove.
33619         * sysdeps/unix/Makefile (config-generated): Do not add
33620         $(unix-generated) to variable.
33621         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33622         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33623         Remove rule.
33624         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33625         Likewise.
33626         [generic bits/local_lim.h] (before-compile): Do not append to
33627         variable.
33628         [generic bits/local_lim.h] (common-generated): Likewise.
33629         [generic sys/param.h] (before-compile): Do not append to variable.
33630         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33631         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33632         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33633         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33634         include.
33635         [generic sys/param.h] (sys/param.h-includes): Remove variable.
33636         [generic sys/param.h] (sys/param.h-includes): Remove rule.
33637         [generic sys/param.h] ($(addprefix
33638         $(common-objpfx),$(sys/param.h-includes))): Likewise.
33639         [generic sys/param.h] (common-generated): Do not append to
33640         variable.
33641         [generic sys/param.h] (sysdep_headers): Likewise.
33642         [generic bits/errno.h] (before-compile): Do not append to
33643         variable.
33644         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33645         rule.
33646         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33647         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33648         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33649         [generic bits/errno.h] (common-generated): Do not append to
33650         variable.
33651         [generic bits/ioctls.h] (before-compile): Do not append to
33652         variable.
33653         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33654         rule.
33655         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33656         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33657         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33658         rule.
33659         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33660         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33661         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33662         [generic bits/ioctls.h] (common-generated): Do not append to
33663         variable.
33664         [generic sys/syscall.h] (syscall.h): Remove variable.
33665         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33666         rule.
33667         [generic sys/syscall.h] (before-compile): Do not append to
33668         variable.
33669         [generic sys/syscall.h] (common-generated): Likewise.
33670         * sysdeps/unix/errnos-tmpl.c: Remove file.
33671         * sysdeps/unix/errnos.awk: Likewise.
33672         * sysdeps/unix/ioctls-tmpl.c: Likewise.
33673         * sysdeps/unix/ioctls.awk: Likewise.
33674         * sysdeps/unix/mk-local_lim.c: Likewise.
33675         * sysdeps/unix/snarf-ioctls: Likewise.
33677 2012-03-19  Richard Henderson  <rth@twiddle.net>
33679         * sysdeps/i386/fpu/fenv_private.h: New file.
33680         * sysdeps/i386/fpu/math_private.h: Use it.
33681         (math_opt_barrier, math_force_eval): Remove.
33682         (libc_feholdexcept_setround_53bit): Remove.
33683         (libc_feupdateenv_53bit): Remove.
33684         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33685         (math_opt_barrier, math_force_eval): Remove.
33686         (libc_feholdexcept): Remove.
33687         (libc_feholdexcept_setround): Remove.
33688         (libc_fetestexcept, libc_fesetenv): Remove.
33689         (libc_feupdateenv_test): Remove.
33690         (libc_feupdateenv, libc_feholdsetround): Remove.
33691         (libc_feresetround): Remove.
33693         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33694         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33696         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33697         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33698         (libc_feupdateenv_testl): New.
33699         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33700         (libc_feupdateenv_testf): New.
33701         (libc_feupdateenv): Use libc_feupdateenv_test.
33702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33703         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33705         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33706         (libc_feholdsetroundf, libc_feholdsetroundl): New.
33707         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33708         (libc_feresetround_noex): New.
33709         (libc_feresetround_noexf): New.
33710         (libc_feresetround_noexl): New.
33711         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33712         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33713         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33714         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33715         SET_RESTORE_ROUND.
33716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33717         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33718         (__cos): Likewise.
33719         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33720         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33721         SET_RESTORE_ROUND_NOEX.
33722         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33723         SET_RESTORE_ROUND_NOEXF.
33724         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33725         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33726         (libc_feholdsetroundf): New.
33727         (libc_feresetround, libc_feresetroundf): New.
33729         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33730         (libc_feholdexcept_setround_53bit): Convert from macro to function.
33731         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
33733         * sysdeps/generic/math_private.h: Include <fenv.h>.
33734         (default_libc_feholdexcept): New.
33735         (default_libc_feholdexcept_setround): New.
33736         (default_libc_fesetenv, default_libc_feupdateenv): New.
33737         (libc_feholdexcept): Only define if undefined.
33738         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33739         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33740         (libc_feholdexcept_setroundl): Likewise.
33741         (libc_feholdexcept_setround_53bit): Likewise.
33742         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33743         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33744         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33745         (libc_feupdateenv_53bit): Likewise.
33746         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33747         (libc_feholdexcept): Convert from macro to inline function.
33748         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33749         (libc_fesetenv, libc_feupdateenv): Likewise.
33751         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33752         not previously defined.
33753         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33754         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33755         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33756         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33757         * sysdeps/ieee754/flt-32/math_private.h: New file.
33758         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33759         math_private.h below SET_FLOAT_WORD.
33760         (__isnan, __isinf_ns, __finite): Remove.
33761         (__isnanf, __isinf_nsf, __finitef): Remove.
33763 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
33765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33767 2012-03-17  David S. Miller  <davem@davemloft.net>
33769         [BZ #6471]
33770         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33771         for 2.16.
33773 2012-03-16  David S. Miller  <davem@davemloft.net>
33775         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33776         warnings.
33778         [BZ #6471]
33779         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33780         properly.
33781         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33782         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33783         sysdep_routines when subdir is sysvipc.
33784         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33785         __getshmlba helper.
33787         * sysdeps/sparc/fpu/libm-test/ulps: Update.
33789 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33791         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33792         [__LP64__].
33794 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33796         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33797         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33798         (__lround): Renamed to ...
33799         (__llround): This.  Replace long int with long long int.
33800         Define lround functions as aliases of llround functions.
33801         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33805         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33806         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
33807         adresses to uintptr_t.  Replace "long int" and "unsigned long
33808         int" with "greg_t" on va_arg.
33810 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33812         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33813         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33815         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33816         Move e_machine check before EI_CLASS check.  Handle x32
33817         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33818         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33819         SKIP_EM_IA_64 and include
33820         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33822         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33823         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33824         (add_system_dir): New macro.
33826         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33827         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33829 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33831         [BZ #2551]
33832         [BZ #2552]
33833         [BZ #2553]
33834         [BZ #2554]
33835         [BZ #2562]
33836         [BZ #2563]
33837         [BZ #2565]
33838         [BZ #2566]
33839         [BZ #2576]
33840         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33841         (y0): Likewise.
33842         * math/w_j0f.c (j0f): Likewise.
33843         (y0f): Likewise.
33844         * math/w_j0l.c (__j0l): Likewise.
33845         (__y0l): Likewise.
33846         * math/w_j1.c (j1): Likewise.
33847         (y1): Likewise.
33848         * math/w_j1f.c (j1f): Likewise.
33849         (y1f): Likewise.
33850         * math/w_j1l.c (__j1l): Likewise.
33851         (__y1l): Likewise.
33852         * math/w_jn.c (jn): Likewise.
33853         (yn): Likewise.
33854         * math/w_jnf.c (jnf): Likewise.
33855         (ynf): Likewise.
33856         * math/w_jnl.c (__jnl): Likewise.
33857         (__ynl): Likewise.
33858         * math/libm-test.inc (j0_test): Add more tests.
33859         (j1_test): Likewise.
33860         (jn_test): Likewise.  Add trailing semicolon to existing test.
33861         (y0_test): Likewise.
33862         (y1_test): Likewise.
33863         * sysdeps/i386/fpu/libm-test-ulps: Update.
33864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33866         [BZ #13851]
33867         [BZ #13854]
33868         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33869         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33870         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33871         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33872         (__tanl): Set errno for infinite argument.
33873         * sysdeps/i386/fpu/mptan.c: Remove.
33874         * sysdeps/i386/fpu/s_tan.S: Likewise.
33875         * sysdeps/i386/fpu/s_tanl.S: Likewise.
33876         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33877         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33878         * math/libm-test.inc (tan_test): Add more tests and enable more
33879         tests for double and long double.
33880         * sysdeps/i386/fpu/libm-test-ulps: Update.
33881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33883 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
33885         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33886         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33888 2012-03-16  Roland McGrath  <roland@hack.frob.com>
33890         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33891         * configure.in: Use it for both main tree and add-ons.
33892         * configure: Regenerated.
33894 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33896         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33898 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33900         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33901         in comment.
33903         [BZ #13851]
33904         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33905         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33906         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33907         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33908         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33909         infinite argument.
33910         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33912         != 0 for prec == 2.
33913         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33914         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33915         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33916         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33917         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33918         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33919         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33920         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33921         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33922         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33923         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33924         * math/libm-test.inc (cos_test): Add more tests and enable more
33925         tests for long double.
33926         (sin_test): Likewise.
33927         (sincos_test): Likewise.
33928         * sysdeps/i386/fpu/libm-test-ulps: Update.
33929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33931 2012-03-16  David S. Miller  <davem@davemloft.net>
33933         * sysdeps/sparc/fpu/math_private.h: New file.
33935 2012-03-15  David S. Miller  <davem@davemloft.net>
33937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33938         file.
33939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33941         file.
33942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33947         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33948         sysdep routines.
33949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33951         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33952         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33954         * sysdeps/sparc/sparc-ifunc.h: New file.
33955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33956         sparc-ifunc.h
33957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33959         Likewise.
33960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33961         Likewise.
33962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33966         Likewise.
33967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33972         Likewise.
33973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33974         Likewise.
33975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33981         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33982         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33993         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33994         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33995         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33996         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33997         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33998         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34000 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34002         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34003         scaling.
34004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34006 2012-03-15  Andreas Jaeger  <aj@suse.de>
34008         [BZ #13852]
34009         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34010         ieee754/flt-32 implementation for sin, cos and sincos.
34011         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34012         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34013         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34014         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34015         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34016         ieee754/flt-32 implementation for tan.
34018         * math/libm-test.inc (cos_test): Enable some large input tests for
34019         float as well
34020         (sin_test): Likewise.
34021         (sincos_test): Likewise.
34022         (tan_test): Add tests for large input.
34024         * sysdeps/i386/fpu/libm-test-ulps: Update.
34026 2012-03-15  Andreas Jaeger  <aj@suse.de>
34028         [BZ #13658]
34029         * math/libm-test.inc (cos_test): Add more test cases.
34030         (sin_test): Likewise.
34031         (sincos_test): Likewise.
34033 2012-03-15  Andreas Jaeger  <aj@suse.de>
34035         [BZ #13837]
34036         * math/libm-test.inc (cos_test): Add a test case for large input
34037         value.
34038         (sin_test): Likewise.
34039         (sincos_test): Likewise.
34041 2012-03-15  Andreas Jaeger  <aj@suse.de>
34042             Joseph Myers  <joseph@codesourcery.com>
34044         [BZ #13658]
34045         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34046         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34047         * sysdeps/i386/fpu/branred.c: Likewise.
34048         * sysdeps/i386/fpu/dosincos.c: Likewise.
34049         * sysdeps/i386/fpu/mpa.c: Likewise.
34050         * sysdeps/i386/fpu/s_cos.S: Likewise.
34051         * sysdeps/i386/fpu/s_sin.S: Likewise.
34052         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34053         * sysdeps/i386/fpu/sincos32.c: Likewise.
34055         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34056         Define.
34057         (libc_feupdateenv_53bit): Define.
34058         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34059         Define.
34060         (libc_feupdateenv_53bit): Define.
34062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34063         53 bit (without extend i386 double precision).
34065         * math/libm-test.inc (sincos_test): Add tests for large input.
34066         (sin): Likewise.
34067         (cos): Likewise.
34069         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34071 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34075 2012-03-15  David S. Miller  <davem@davemloft.net>
34077         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34078         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34079         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34080         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34093         file.
34094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34096         file.
34097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34099         file.
34100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34102         file.
34103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34104         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34105         fmin/fmax sysdep routines.
34106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34108 2012-03-14  David S. Miller  <davem@davemloft.net>
34110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34114         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34115         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34116         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34117         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34121         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34127         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34130         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34131         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34134         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34135         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34139         routines.
34140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34141         file.
34142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34144         file.
34145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34147         file.
34148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34150         file.
34151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34153         file.
34154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34156         file.
34157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34158         file.
34159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34160         file.
34161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34162         file.
34163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34164         New file.
34165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34166         file.
34167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34168         file.
34169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34171         file.
34172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34174         file.
34175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34177         file.
34178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34180         VIS3 routines.
34182         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34183         New file.
34185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34187         * sysdeps/sparc/configure.in: New file.
34188         * sysdeps/sparc/configure: Generate.
34189         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34190         * configure: Regenerate.
34191         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34192         * config.make.in (have-as-vis3): New.
34193         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34194         available use -Av9d instead of -Av9a.
34195         * sysdeps/sparc/sparc64/Makefile: Likewise.
34196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34198         New file.
34199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34200         file.
34201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34202         New file.
34203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34204         file.
34205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34206         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34207         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34208         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34211         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34212         fzeros/fnegs to load 0x80000000 into a float register instead of
34213         using the stack.
34214         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34216 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34219         bits/syscall.h.
34220         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34221         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34222         ($(inst_includedir)/bits/syscall.h): Remove rule.
34223         ($(objpfx)bits/syscall.d): Include instead of
34224         $(objpfx)syscall-list.d.
34225         (generated): Change syscall-list.h and syscall-list.d to
34226         bits/syscall.h and bits/syscall.d.
34228 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34230         [BZ #13846]
34231         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34233 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34235         [BZ #13841]
34236         * math/s_csqrt.c: Include <float.h>.
34237         (__csqrt): Scale large or subnormal inputs.
34238         * math/s_csqrtf.c: Likewise.
34239         * math/s_csqrtl.c: Likewise.
34240         * math/libm-test.inc (csqrt_test): Add more tests.
34241         * sysdeps/i386/fpu/libm-test-ulps: Update.
34242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34244         [BZ #13840]
34245         * math/libm-test.inc (hypot_test): Add more tests.
34247 2012-03-13  David S. Miller  <davem@davemloft.net>
34249         [BZ #13840]
34250         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34251         double-precision for the calculation instead of scaling.
34253 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
34255         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34256         manipulate bits before adding and subtracting TWO52[sx].
34257         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34258         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34259         Likewise.
34260         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34262 2012-03-13  David S. Miller  <davem@davemloft.net>
34264         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34265         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34267         rtld-global-offsets.h
34268         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34270         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34271         large parameters.
34273         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34275         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34276         'err' in the ifdef scope in which it is actually used.
34278         * nss/nss_db/db-init.c: Include string.h
34280 2012-03-12  David S. Miller  <davem@davemloft.net>
34282         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34283         masking out of the most significant byte of random value used.
34284         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34285         Fix coding style in previous change.
34287         * sysdeps/unix/sysv/linux/kernel-features.h
34288         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34289         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34290         expression.
34291         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34292         later.
34294 2012-03-11  David S. Miller  <davem@davemloft.net>
34296         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34297         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34298         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34299         for 'resultvar' otherwise things get truncated on 64-bit.
34301         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34302         Fix masking out of the most significant byte of random value used.
34304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34306 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
34308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34310 2012-03-09  David S. Miller  <davem@davemloft.net>
34312         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34313         variables with appropriate CPP guards.
34314         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34315         from the frame pointer, not the stack pointer.  Correct layout
34316         comments.  Fix test on resulting framesize and the management of
34317         the outregs buffer for pltexit.  Preserve floating point return
34318         values across _dl_call_pltexit call.
34319         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34320         framesize and the management of the outregs buffer for pltexit.
34321         Preserve floating point return values across _dl_call_pltexit
34322         call.
34323         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34324         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34325         (la_sparc64_gnu_pltexit): New functions.
34326         (print_exit): Fix format string for return register value.
34328 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
34330         * sunrpc/Makefile (others): Add rpcgen.
34331         ($(objpfx)rpcgen): Remove special build rule and dependency on
34332         libc.
34333         * sunrpc/rpcgen.c: New file.
34335 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
34337         [BZ #13673]
34338         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34339         * stdio-common/bug-vfprintf-nargs.c: Likewise.
34340         * sysdeps/i386/crti.S: Likewise.
34341         * sysdeps/i386/crtn.S: Likewise.
34342         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34343         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34344         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34345         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34346         * sysdeps/sh/crti.S: Likewise.
34347         * sysdeps/sh/crtn.S: Likewise.
34348         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34350         [BZ #13673]
34351         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34352         with URL.
34353         * locale/programs/locfile-kw.gperf: Likewise.
34354         * locale/programs/charmap-kw.h: Regenerated.
34355         * locale/programs/locfile-kw.h: Likewise.
34357         [BZ #13673]
34358         * intl/plural.y: Replace FSF snail mail address with URL.
34359         * intl/plural.c: Regenerated.
34361 2012-03-09  Richard Henderson  <rth@twiddle.net>
34363         * include/math_private.h: Remove file.
34364         * math/math_private.h: Move file ...
34365         * sysdeps/generic/math_private.h: ... here.
34367         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34368         * sysdeps/powerpc/fpu/math_private.h: Likewise.
34369         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34371         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34372         and <math_private.h>.
34373         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34374         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34375         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34376         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34377         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34378         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34379         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34380         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34381         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34382         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34384         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34385         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34386         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34387         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34388         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34389         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34390         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34391         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34392         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34394         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34395         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34397         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34398         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34399         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34400         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34402         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34403         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34404         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34405         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34406         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34407         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34408         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34409         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34410         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34411         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34412         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34413         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34414         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34415         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34416         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34417         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34418         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34419         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34420         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34421         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34422         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34423         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34424         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34425         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34426         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34427         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34428         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34429         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34430         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34431         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34432         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34433         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34434         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34436         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34437         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34438         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34439         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34440         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34441         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34442         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34443         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34444         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34445         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34446         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34447         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34451         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34452         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34453         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34454         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34455         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34456         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34457         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34461         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34462         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34463         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34464         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34465         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34466         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34467         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34468         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34469         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34470         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34471         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34473         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34474         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34475         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34476         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34477         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34478         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34479         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34480         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34481         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34482         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34483         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34484         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34485         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34486         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34487         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34488         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34490         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34491         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34492         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34493         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34494         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34495         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34496         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34497         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34498         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34499         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34500         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34501         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34502         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34503         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34504         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34505         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34506         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34507         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34508         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34509         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34510         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34511         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34512         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34513         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34514         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34515         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34516         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34517         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34518         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34519         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34520         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34521         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34522         * sysdeps/ieee754/k_standard.c: Likewise.
34523         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34524         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34527         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34528         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34529         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34530         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34532         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34533         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34535         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34536         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34537         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34538         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34539         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34540         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34541         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34542         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34543         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34544         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34545         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34546         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34547         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34548         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34549         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34550         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34551         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34552         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34553         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34554         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34555         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34556         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34557         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34558         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34559         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34560         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34561         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34562         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34563         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34564         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34565         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34566         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34567         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34568         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34569         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34570         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34571         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34572         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34573         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34574         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34575         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34576         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34577         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34578         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34579         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34580         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34581         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34582         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34583         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34584         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34585         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34586         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34588         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34589         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34590         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34591         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34593         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34595         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34596         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34597         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34599         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34600         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34601         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34602         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34603         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34605         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34606         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34607         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34608         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34609         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34610         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34611         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34612         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34613         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34614         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34615         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34616         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34617         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34618         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34619         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34620         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34621         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34622         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34624         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34625         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34626         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34627         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34628         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34629         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34630         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34631         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34632         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34633         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34634         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34635         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34636         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34637         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34638         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34639         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34640         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34641         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34642         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34643         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34644         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34645         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34646         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34647         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34648         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34649         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34650         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34651         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34652         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34653         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34654         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34655         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34656         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34657         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34658         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34659         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34660         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34661         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34662         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34663         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34664         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34665         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34666         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34667         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34668         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34669         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34670         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34671         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34672         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34673         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34674         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34675         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34676         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34677         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34678         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34679         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34680         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34681         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34682         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34683         * sysdeps/ieee754/s_lib_version.c: Likewise.
34684         * sysdeps/ieee754/s_matherr.c: Likewise.
34685         * sysdeps/ieee754/s_signgam.c: Likewise.
34686         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34687         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34688         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34689         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34690         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34691         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34692         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34693         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34694         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34695         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34696         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34697         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34698         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34699         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34700         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34701         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34702         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34703         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34704         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34705         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34706         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34708 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34710         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34711         * sunrpc/rpc_main.c: Likewise.
34712         * sunrpc/rpc_svcout.c: Likewise.
34714 2012-03-09  David S. Miller  <davem@davemloft.net>
34716         * include/math_private.h: New file.
34718 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34720         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34721         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34722         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34723         from <bits/socket_type.h>.
34724         (enum __socket_type): Don't define here.
34725         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34727         bits/socket_type.h.
34729         [BZ #13566]
34730         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34731         checking __USE_GNU.
34733         * Makerules ($(inst_includedir)/%.h): New rule.
34734         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34735         (install-others): Remove variable setting.
34736         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34738 2012-03-08  Richard Henderson  <rth@twiddle.net>
34740         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34741         from macro to inline function; merge with the
34742         !__LIBC_INTERNAL_MATH_INLINES version.
34743         (__ieee754_sqrtf): Likewise.
34745         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34746         to inline function.
34747         (__rintf, __floor, __floorf): Likewise.
34749         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34750         macro to inline function.
34751         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34753         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34754         not <math/math_private.h>.
34756 2012-03-08  David S. Miller  <davem@davemloft.net>
34758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34759         copyright year.
34760         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34762 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
34764         * resolv/gai_misc.c (handle_requests): Fix struct timespec
34765         normalization.
34766         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34767         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34769 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
34771         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
34772         be defined individually, they must be defined as a block.  Define
34773         S for printing a string instead of hidint the different by using a
34774         macro for adding the 'l'.
34775         * stdio-common/tst-fphex-wide.c: Adjust.
34777 2012-03-07  Marek Polacek  <polacek@redhat.com>
34779         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34781 2012-03-08  Marek Polacek  <polacek@redhat.com>
34783         [BZ #13806]
34784         * stdio-common/Makefile (tests): Add tst-fphex-wide.
34785         * stdio-common/tst-fphex.c: Define a few macros to make the
34786         test reusable.  Use them.
34787         * stdio-common/tst-fphex-wide.c: New file.
34789 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
34791         [BZ #6911]
34792         * manual/macros.texi (gnusystems): New macro.
34793         (nongnusystems): Likewise.
34794         (gnulinuxhurdsystems): Likewise.
34795         (gnuhurdsystems): Likewise..
34796         (gnulinuxsystems): Likewise.
34797         * manual/charset.texi: Use new macros or @theglibc{} to refer to
34798         variants of the GNU system, not "GNU system".
34799         * manual/conf.texi: Likewise.
34800         * manual/errno.texi: Likewise.  Update example of errno macro
34801         expansion.
34802         * manual/filesys.texi: Likewise.
34803         (getumask): Document as specific to GNU/Hurd.
34804         * manual/install.texi: Likewise.  Reword some references to
34805         GNU/Linux.
34806         * manual/intro.texi: Likewise.
34807         * manual/io.texi: Likewise.
34808         (File Name Portability): Detail which constraints are inapplicable
34809         to all GNU systems and which are only inapplicable to GNU/Hurd.
34810         * manual/job.texi: Likewise.
34811         * manual/llio.texi: Likewise.
34812         (O_NOCTTY): Document as present on GNU/Linux.
34813         * manual/maint.texi: Likewise.
34814         * manual/memory.texi: Likewise.
34815         * manual/pattern.texi: Likewise.
34816         * manual/pipe.texi: Likewise.
34817         * manual/process.texi: Likewise.
34818         * manual/resource.texi: Likewise.
34819         (RUSAGE_CHILDREN): Remove statement about specifying a particular
34820         child on GNU/Hurd.
34821         * manual/setjmp.texi: Likewise.
34822         * manual/signal.texi: Likewise.
34823         * manual/startup.texi: Likewise.
34824         * manual/stdio.texi: Likewise.
34825         * manual/terminal.texi: Likewise.
34826         (ONLCR): Document as POSIX.
34827         (OXTABS): Document availability on GNU/Linux as XTABS.
34828         (ONOEOT): Document availability separately from other bits.
34829         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34830         * manual/time.texi: Likewise.
34831         * manual/users.texi: Likewise.
34832         * INSTALL: Regenerated.
34833         * sysdeps/gnu/errlist.c: Regenerated.
34835         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34836         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34837         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
34838         puts.
34839         * configure: Regenerated.
34841 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
34843         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34844         default includes instead of AC_HEADER_CHECK.
34845         * sysdeps/i386/configure: Regenerated.
34847         [BZ #10716]
34848         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34849         * math/s_cacoshf.c (__cacoshf): Likewise.
34850         * math/s_cacoshl.c (__cacoshl): Likewise.
34851         * math/s_casinh.c (__casinh): Set signs of result from argument.
34852         * math/s_casinhf.c (__casinhf): Likewise.
34853         * math/s_casinhl.c (__casinhl): Likewise.
34854         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34855         (casinh_test): Add more tests.
34856         * sysdeps/i386/fpu/libm-test-ulps: Update.
34857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34859 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
34861         * po/zh_TW.po: Update from translation team.
34863         * login/Makefile (distribute): Remove variable.
34864         * catgets/Makefile: Likewise.
34865         * mach/Makefile: Likewise.
34866         * malloc/Makefile: Likewise.
34867         * misc/Makefile: Likewise.
34868         * iconv/Makefile: Likewise.
34869         * nscd/Makefile: Likewise.
34870         * hurd/Makefile: Likewise.
34871         * manual/Makefile: Likewise.
34872         * locale/Makefile: Likewise.
34873         * intl/Makefile: Likewise.
34874         * conform/Makefile: Likewise.
34875         * nss/Makefile: Likewise.
34876         * time/Makefile: Likewise.
34877         * soft-fp/Makefile: Likewise.
34878         * dirent/Makefile: Likewise.
34879         * gmon/Makefile: Likewise.
34880         * po/Makefile: Likewise.
34881         * rt/Makefile: Likewise.
34882         * socket/Makefile: Likewise.
34883         * math/Makefile: Likewise.
34884         * signal/Makefile: Likewise.
34885         * debug/Makefile: Likewise.
34886         * elf/Makefile: Likewise.
34887         * timezone/Makefile: Likewise.
34888         * stdlib/Makefile: Likewise.
34889         * iconvdata/Makefile: Likewise.
34890         * sunrpc/Makefile: Likewise.
34891         * io/Makefile: Likewise.
34892         * argp/Makefile: Likewise.
34893         * inet/Makefile: Likewise.
34894         * hesiod/Makefile: Likewise.
34895         * grp/Makefile: Likewise.
34896         * csu/Makefile: Likewise.
34897         * wctype/Makefile: Likewise.
34898         * crypt/Makefile: Likewise.
34899         * libio/Makefile: Likewise.
34900         * string/Makefile: Likewise.
34901         * nis/Makefile: Likewise.
34902         * resolv/Makefile: Likewise.
34903         * stdio-common/Makefile: Likewise.
34904         * wcsmbs/Makefile: Likewise.
34905         * dlfcn/Makefile: Likewise.
34906         * posix/Makefile: Likewise.
34908         [BZ #6959]
34909         * timezone/Makefile: Don't install timezone files, just the programs
34910         and scripts.
34912 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34914         * nss/databases.def: Add missing gshadow entry.
34916         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34918 2012-03-06  Marek Polacek  <polacek@redhat.com>
34920         [BZ #13726]
34921         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34922         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34923         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34924         * stdio-common/tst-long-dbl-fphex.c: New file.
34926 2012-03-06  David S. Miller  <davem@davemloft.net>
34928         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34929         (set_obp_int): New function.
34930         (get_obp_int): New function.
34931         (__get_clockfreq_via_dev_openprom): Likewise.
34932         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34933         Avoid unused variable warnings on 'val' and use builtin_expect.
34934         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34935         __builtin_expect.
34936         (INLINE_CLONE_SYSCALL): Likewise.
34938 2012-03-05  David S. Miller  <davem@davemloft.net>
34940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34942 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34947         only for |x| >= 40.
34948         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34950 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34953         Replace gettimeofday with __vdso_gettimeofday.
34955         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34956         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34957         __vdso_clock_gettime and __vdso_getcpu.
34959         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34960         time with __vdso_time.
34962 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34964         * manual/lang.texi (size_t): Note types to which size_t may be
34965         equivalent with the GNU C Library, but do not describe when
34966         differences between them are significant.
34968 2012-03-05  Andreas Jaeger  <aj@suse.de>
34970         * sysdeps/i386/fpu/libm-test-ulps: Update.
34972 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34974         [BZ #3976]
34975         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34976         (__ieee754_pow): Save and restore rounding mode and use
34977         round-to-nearest for main computations.
34978         * math/libm-test.inc (pow_test_tonearest): New function.
34979         (pow_test_towardzero): Likewise.
34980         (pow_test_downward): Likewise.
34981         (pow_test_upward): Likewise.
34982         (main): Call the new functions.
34983         * sysdeps/i386/fpu/libm-test-ulps: Update.
34984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34986         [BZ #3976]
34987         * math/libm-test.inc (cosh_test_tonearest): New function.
34988         (cosh_test_towardzero): Likewise.
34989         (cosh_test_downward): Likewise.
34990         (cosh_test_upward): Likewise.
34991         (sinh_test_tonearest): Likewise.
34992         (sinh_test_towardzero): Likewise.
34993         (sinh_test_downward): Likewise.
34994         (sinh_test_upward): Likewise.
34995         (main): Call the new functions.
34996         * sysdeps/i386/fpu/libm-test-ulps: Update.
34997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34999 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35001         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35002         default stack guard is set in last bytes.
35003         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35005 2012-03-05  Kees Cook  <keescook@chromium.org>
35007         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35009         [BZ #13656]
35010         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35011         possibly allocate from heap instead of stack.
35012         * stdio-common/bug-vfprintf-nargs.c: New file.
35013         * stdio-common/Makefile (tests): Add nargs overflow test.
35015 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35019 2012-03-03  Marek Polacek  <polacek@redhat.com>
35021         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35022         * math/math_private.h: Likewise.
35023         * stdlib/tst-strtod.c: Likewise.
35024         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35025         * sysdeps/x86_64/bits/atomic.h: Likewise.
35027 2012-03-02  David S. Miller  <davem@davemloft.net>
35029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35033         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35034         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35035         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35036         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35038 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35040         [BZ #13792]
35041         * manual/examples/README: New file, says the example source files
35042         can be used under GPL>=2.
35043         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35044         line containing just "*/".
35045         * manual/examples/add.c: Add copyright header (GPL>=2).
35046         * manual/examples/argp-ex1.c: Likewise.
35047         * manual/examples/argp-ex2.c: Likewise.
35048         * manual/examples/argp-ex3.c: Likewise.
35049         * manual/examples/argp-ex4.c: Likewise.
35050         * manual/examples/atexit.c: Likewise.
35051         * manual/examples/db.c: Likewise.
35052         * manual/examples/dir.c: Likewise.
35053         * manual/examples/dir2.c: Likewise.
35054         * manual/examples/execinfo.c: Likewise.
35055         * manual/examples/filecli.c: Likewise.
35056         * manual/examples/filesrv.c: Likewise.
35057         * manual/examples/fmtmsgexpl.c: Likewise.
35058         * manual/examples/genpass.c: Likewise.
35059         * manual/examples/inetcli.c: Likewise.
35060         * manual/examples/inetsrv.c: Likewise.
35061         * manual/examples/isockad.c: Likewise.
35062         * manual/examples/longopt.c: Likewise.
35063         * manual/examples/memopen.c: Likewise.
35064         * manual/examples/memstrm.c: Likewise.
35065         * manual/examples/mkfsock.c: Likewise.
35066         * manual/examples/mkisock.c: Likewise.
35067         * manual/examples/mygetpass.c: Likewise.
35068         * manual/examples/pipe.c: Likewise.
35069         * manual/examples/popen.c: Likewise.
35070         * manual/examples/rprintf.c: Likewise.
35071         * manual/examples/search.c: Likewise.
35072         * manual/examples/select.c: Likewise.
35073         * manual/examples/setjmp.c: Likewise.
35074         * manual/examples/sigh1.c: Likewise.
35075         * manual/examples/sigusr.c: Likewise.
35076         * manual/examples/stpcpy.c: Likewise.
35077         * manual/examples/strdupa.c: Likewise.
35078         * manual/examples/strftim.c: Likewise.
35079         * manual/examples/strncat.c: Likewise.
35080         * manual/examples/subopt.c: Likewise.
35081         * manual/examples/swapcontext.c: Likewise.
35082         * manual/examples/termios.c: Likewise.
35083         * manual/examples/testopt.c: Likewise.
35084         * manual/examples/testpass.c: Likewise.
35085         * manual/examples/timeval_subtract.c: Likewise.
35087         [BZ #13792]
35088         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35089         function to ...
35090         * manual/timeval_subtract.c.texi: ... here, new file.
35092 2012-03-02  David S. Miller  <davem@davemloft.net>
35094         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35096 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35098         [BZ #3976]
35099         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35100         (__sin): Save and restore rounding mode and use round-to-nearest
35101         for all computations.
35102         (__cos): Save and restore rounding mode and use round-to-nearest
35103         for all computations.
35104         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35105         <fenv.h>.
35106         (tan): Save and restore rounding mode and use round-to-nearest for
35107         all computations.
35108         * math/libm-test.inc (cos_test_tonearest): New function.
35109         (cos_test_towardzero): Likewise.
35110         (cos_test_downward): Likewise.
35111         (cos_test_upward): Likewise.
35112         (sin_test_tonearest): Likewise.
35113         (sin_test_towardzero): Likewise.
35114         (sin_test_downward): Likewise.
35115         (sin_test_upward): Likewise.
35116         (tan_test_tonearest): Likewise.
35117         (tan_test_towardzero): Likewise.
35118         (tan_test_downward): Likewise.
35119         (tan_test_upward): Likewise.
35120         (main): Call the new functions.
35121         * sysdeps/i386/fpu/libm-test-ulps: Update.
35122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35124         [BZ #10135]
35125         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35126         small n, then large n, before computing and testing k+n.
35127         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35128         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35129         Likewise.
35130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35131         Likewise.
35132         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35133         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35134         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35135         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35136         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35137         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35138         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35139         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35140         * math/libm-test.inc (scalbn_test): Add more tests.
35141         (scalbln_test): Likewise.
35143         * manual/filesys.texi (mode_t): Describe constraints on size and
35144         signedness, not exact equivalence to a particular type.
35145         (ino_t): Likewise.
35146         (ino64_t): Likewise.
35147         (dev_t): Likewise.
35148         (nlink_t): Likewise.
35149         (blkcnt_t): Likewise.
35150         (blkcnt64_t): Likewise.
35151         * manual/llio.texi (off_t): Likewise.
35153         [BZ #3976]
35154         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35155         (__ieee754_exp): Save and restore rounding mode and use
35156         round-to-nearest for all computations.
35157         * math/libm-test.inc (exp_test_tonearest): New function.
35158         (exp_test_towardzero): Likewise.
35159         (exp_test_downward): Likewise.
35160         (exp_test_upward): Likewise.
35161         (main): Call the new functions.
35162         * sysdeps/i386/fpu/libm-test-ulps: Update.
35163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35165 2012-03-01  Chris Demetriou  <cgd@google.com>
35167         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35168         have predictable order.
35170 2012-03-01  David S. Miller  <davem@davemloft.net>
35172         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35174         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35175         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35176         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35177         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35179         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35180         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35181         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35183         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35184         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35185         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35186         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35187         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35191         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35192         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35193         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35195         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35196         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35197         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35198         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35199         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35200         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35201         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35202         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35203         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35204         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35205         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35206         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35208         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35209         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35211         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35212         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35213         * sysdeps/sparc/elf/configure: Regenerated.
35215 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35217         * configure.in (AS, LD): Require binutils 2.20 or later.
35218         * configure: Regenerated.
35219         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35220         as required minimum version.
35221         * INSTALL: Regenerated.
35223         [BZ #2541]
35224         [BZ #4108]
35225         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35226         before squaring exponent.
35227         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35228         bottom long double and 27 bits of top long double before squaring
35229         exponent.
35230         * math/libm-test.inc (erfc_test): Add more tests.
35231         * sysdeps/i386/fpu/libm-test-ulps: Update.
35232         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35235 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35237         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35238         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35239         containing bit-fields.
35240         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35241         * soft-fp/single.h (_FP_UNION_S): Likewise.
35242         * soft-fp/double.h (_FP_UNION_D): Likewise.
35244 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35246         [BZ #13786]
35247         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35248         not include ../strcmp.S.
35249         [USE_AS_STRNCASECMP_L]: Likewise.
35250         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35251         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35252         * sysdeps/i386/i686/multiarch/strncase_l-c.c
35253         (__strncasecmp_l_ia32): Define as alias to
35254         __strncasecmp_l_nonascii.
35256         [BZ #5794]
35257         * math/libm-test.inc (expm1_test): Add test for bug 5794.
35258         * sysdeps/i386/fpu/libm-test-ulps: Update.
35259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35261         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35264 2012-02-29  Jeff Law  <law@redhat.com>
35266         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35267         out of bounds read.
35269 2012-02-29  Marek Polacek  <polacek@redhat.com>
35271         [BZ #13706]
35272         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35273         * elf/Makefile: Add rules to run tst-unused-dep.out.
35275 2012-02-28  David S. Miller  <davem@davemloft.net>
35277         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35278         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35279         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35280         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35281         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35282         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35284 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35286         * math/libm-test.inc (llround_test): Move one test from
35287         lround_test.  Use TEST_f_L in moved test.
35288         (lround_test): Move misplaced test to llround_test.  Add testcase
35289         from bug 2561.
35291 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
35293         * sysdeps/x86_64/fpu/e_expf.S: New file.
35294         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35296 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
35298         [BZ #13637]
35299         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35300         of remain_len that may cause incomplete multi-byte character and
35301         false match.
35302         * posix/bug-regex33.c: New file.
35303         * posix/Makefile (tests): Add bug-regex33.
35305 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
35307         * manual/macros.texi: New file.
35308         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35309         * manual/libc.texinfo: Include macros.texi.
35310         * manual/creatute.texi: Likewise.
35311         * manual/install.texi: Likewise.
35312         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35313         @glibcadj{} in references to the GNU C Library.
35314         * manual/charset.texi: Likewise.
35315         * manual/conf.texi: Likewise.
35316         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
35317         when not using those macros.
35318         * manual/creature.texi: Likewise.
35319         * manual/crypt.texi: Likewise.
35320         * manual/errno.texi: Likewise.
35321         * manual/filesys.texi: Likewise.
35322         * manual/header.texi: Likewise.
35323         * manual/install.texi: Likewise.
35324         * manual/intro.texi: Likewise.
35325         * manual/io.texi: Likewise.
35326         * manual/job.texi: Likewise.
35327         * manual/lang.texi: Likewise.
35328         * manual/libc.texiinfo: Likewise.
35329         * manual/llio.texi: Likewise.
35330         * manual/locale.texi: Likewise.
35331         * manual/maint.texi: Likewise.
35332         * manual/math.texi: Likewise.
35333         * manual/memory.texi: Likewise.
35334         * manual/message.texi: Likewise.
35335         * manual/nss.texi: Likewise.
35336         * manual/pattern.texi: Likewise.
35337         * manual/process.texi: Likewise.
35338         * manual/resource.texi: Likewise.
35339         * manual/search.texi: Likewise.
35340         * manual/setjmp.texi: Likewise.
35341         * manual/signal.texi: Likewise.
35342         * manual/socket.texi: Likewise.
35343         * manual/startup.texi: Likewise.
35344         * manual/stdio.texi: Likewise.
35345         * manual/string.texi: Likewise.
35346         * manual/sysinfo.texi: Likewise.
35347         * manual/syslog.texi: Likewise.
35348         * manual/terminal.texi: Likewise.
35349         * manual/time.texi: Likewise.
35350         * manual/users.texi: Likewise.
35351         * INSTALL: Regenerated.
35352         * NOTES: Regenerated.
35353         * sysdeps/gnu/errlist.c: Regenerated.
35355 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
35357         * include/dirent.h: Include <dirstream.h> before
35358         <dirent/dirent.h>.
35360 2012-02-28  David S. Miller  <davem@davemloft.net>
35362         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35363         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35364         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35365         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35367 2012-02-27  David S. Miller  <davem@davemloft.net>
35369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35371         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35372         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35375         frame pointer instead of stack pointer relative arg slot.
35376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35377         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35378         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35380 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
35382         [BZ #3992]
35383         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35385 2012-02-27  David S. Miller  <davem@davemloft.net>
35387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35391         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35392         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35393         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35394         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35396 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35398         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35399         later.  Allow versions 5-9.
35400         * configure: Regenerated.
35401         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35402         required minimum version and 4.6 as recommended version.  Do not
35403         mention bugs in GCC 2.7 and 2.8.
35404         * INSTALL: Regenerated.
35406 2012-02-27  David S. Miller  <davem@davemloft.net>
35408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35412         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35413         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35414         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35415         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35417         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35418         manipulate bits before adding and subtracting TWO112[sx].
35419         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35421 2012-02-27  Roland McGrath  <roland@hack.frob.com>
35423         [BZ #13775]
35424         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35425         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35426         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35427         being in POSIX, because they are in 1003.1-2008.
35429         * rt/tst-aio.c: Include <fcntl.h>.
35430         * rt/tst-aio7.c: Likewise.
35431         * rt/tst-aio64.c: Likewise.
35433         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35435 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35437         * manual/install.texi (--with-headers): Describe headers as
35438         interface headers, not private headers.
35439         (Specific advice for GNU/Linux systems): Describe use of headers
35440         from "make headers_install", not private headers from older
35441         kernels.
35442         * INSTALL: Regenerated.
35443         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35444         Change to 2.6.19.
35445         * sysdeps/unix/sysv/linux/configure: Regenerated.
35447         * manual/llio.texi (fclean): Remove documentation.
35449         * manual/Makefile (libc-texi-generated): New variable.  Include
35450         version.texi.
35451         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35452         $(libc-texi-generated), not duplicated list of files.
35453         (version.texi, stamp-version): New rules.
35454         (realclean): Remove $(libc-texi-generated), not individual files
35455         from that list.  Do not remove dir-add.texinfo.
35456         * manual/libc.texinfo: Comment out uses of edition numbers and
35457         references to printed manual.  Remove last-updated dates.
35458         (EDITION): Comment out.
35459         (ISBN): Likewise.
35460         (VERSION, UPDATED): Remove.
35461         (version.texi): Include.
35463 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
35465         * sysdeps/posix/spawni.c: Include <signal.h>.
35466         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35467         * sysdeps/pthread/aio_fsync.c: Likewise.
35469 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
35471         * conform/Makefile (tests): Run only when not cross-compiling and
35472         when fast-check is not defined.
35474         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35475         * conform/data/limits.h-data: Fixes for POSIX2008.
35476         * conform/run-conformtest.sh: Run all tests.
35477         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35478         headers.
35479         * include/bits/dlfcn.h: Likewise.
35480         * include/langinfo.h: Likewise.
35481         * include/monetary.h: Likewise.
35482         * include/sys/poll.h: Likewise.
35484         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35485         for __USE_GNU.
35486         * posix/spawn.h: Define __need_sigset_t.
35487         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35488         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35489         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
35490         to get sigevent_t only.
35491         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35492         only for __USE_GNU.
35493         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35494         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35495         process_vm_writev only for __USE_GNU.
35496         * termios/termios.h: Declare tcgetsid also for POSIX2008.
35498         * conform/Makefile: For now ignore errors from run-conformtest.
35499         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
35500         POSIX to avoid namespace pollution.  Don't prepend headers.
35501         * conform/data/aio.h-data: Fixes for POSIX testing.
35502         * conform/data/fcntl.h-data: Likewise.
35503         * conform/data/glob.h-data: Likewise.
35504         * conform/data/grp.h-data: Likewise.
35505         * conform/data/pthread.h-data: Likewise.
35506         * conform/data/pwd.h-data: Likewise.
35507         * conform/data/signal.h-data: Likewise.
35508         * conform/data/spawn.h-data: Likewise.
35509         * conform/data/stdio.h-data: Likewise.
35510         * conform/data/stdlib.h-data: Likewise.
35511         * conform/data/stropts.h-data: Likewise.
35512         * conform/data/sys/mman.h-data: Likewise.
35513         * conform/data/sys/stat.h-data: Likewise.
35514         * conform/data/sys/types.h-data: Likewise.
35515         * conform/data/sys/wait.h-data: Likewise.
35516         * conform/data/time.h-data: Likewise.
35517         * conform/data/unistd.h-data: Likewise.
35518         * conform/data/utime.h-data: Likewise.
35520         * io/sys/stat.h: fchmod was always in POSIX.
35521         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35522         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35523         * rt/aio.h: Define __need_timespec before including <time.h>.
35524         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35525         struct.  Add forward declaration of pthread_attr_t and use it in
35526         sigevent.
35527         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35528         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35529         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35530         always remove CLK_TCK definition.
35532 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
35534         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35536 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
35538         * conform/run-conformtest.sh: New file.
35539         * conform/Makefile: Run run-conformtest for tests.
35540         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
35541         support.
35543         * conform/data/uchar.h-data: New file.
35544         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35545         * conform/data/arpa/inet.h-data: Likewise.
35546         * conform/data/assert.h-data: Likewise.
35547         * conform/data/complex.h-data: Likewise.
35548         * conform/data/cpio.h-data: Likewise.
35549         * conform/data/ctype.h-data: Likewise.
35550         * conform/data/dirent.h-data: Likewise.
35551         * conform/data/dlfcn.h-data: Likewise.
35552         * conform/data/errno.h-data: Likewise.
35553         * conform/data/fcntl.h-data: Likewise.
35554         * conform/data/float.h-data: Likewise.
35555         * conform/data/fmtmsg.h-data: Likewise.
35556         * conform/data/fnmatch.h-data: Likewise.
35557         * conform/data/ftw.h-data: Likewise.
35558         * conform/data/glob.h-data: Likewise.
35559         * conform/data/grp.h-data: Likewise.
35560         * conform/data/iconv.h-data: Likewise.
35561         * conform/data/inttypes.h-data: Likewise.
35562         * conform/data/langinfo.h-data: Likewise.
35563         * conform/data/libgen.h-data: Likewise.
35564         * conform/data/limits.h-data: Likewise.
35565         * conform/data/locale.h-data: Likewise.
35566         * conform/data/math.h-data: Likewise.
35567         * conform/data/monetary.h-data: Likewise.
35568         * conform/data/mqueue.h-data: Likewise.
35569         * conform/data/ndbm.h-data: Likewise.
35570         * conform/data/net/if.h-data: Likewise.
35571         * conform/data/netdb.h-data: Likewise.
35572         * conform/data/netinet/in.h-data: Likewise.
35573         * conform/data/nl_types.h-data: Likewise.
35574         * conform/data/poll.h-data: Likewise.
35575         * conform/data/pthread.h-data: Likewise.
35576         * conform/data/pwd.h-data: Likewise.
35577         * conform/data/regex.h-data: Likewise.
35578         * conform/data/sched.h-data: Likewise.
35579         * conform/data/search.h-data: Likewise.
35580         * conform/data/semaphore.h-data: Likewise.
35581         * conform/data/setjmp.h-data: Likewise.
35582         * conform/data/signal.h-data: Likewise.
35583         * conform/data/spawn.h-data: Likewise.
35584         * conform/data/stdarg.h-data: Likewise.
35585         * conform/data/stdio.h-data: Likewise.
35586         * conform/data/stdlib.h-data: Likewise.
35587         * conform/data/string.h-data: Likewise.
35588         * conform/data/strings.h-data: Likewise.
35589         * conform/data/stropts.h-data: Likewise.
35590         * conform/data/sys/ipc.h-data: Likewise.
35591         * conform/data/sys/mman.h-data: Likewise.
35592         * conform/data/sys/msg.h-data: Likewise.
35593         * conform/data/sys/resource.h-data: Likewise.
35594         * conform/data/sys/select.h-data: Likewise.
35595         * conform/data/sys/sem.h-data: Likewise.
35596         * conform/data/sys/shm.h-data: Likewise.
35597         * conform/data/sys/socket.h-data: Likewise.
35598         * conform/data/sys/stat.h-data: Likewise.
35599         * conform/data/sys/statvfs.h-data: Likewise.
35600         * conform/data/sys/time.h-data: Likewise.
35601         * conform/data/sys/timeb.h-data: Likewise.
35602         * conform/data/sys/times.h-data: Likewise.
35603         * conform/data/sys/types.h-data: Likewise.
35604         * conform/data/sys/uio.h-data: Likewise.
35605         * conform/data/sys/un.h-data: Likewise.
35606         * conform/data/sys/utsname.h-data: Likewise.
35607         * conform/data/sys/wait.h-data: Likewise.
35608         * conform/data/syslog.h-data: Likewise.
35609         * conform/data/tar.h-data: Likewise.
35610         * conform/data/termios.h-data: Likewise.
35611         * conform/data/utime.h-data: Likewise.
35612         * conform/data/utmpx.h-data: Likewise.
35613         * conform/data/varargs.h-data: Likewise.
35614         * conform/data/wchar.h-data: Likewise.
35615         * conform/data/wctype.h-data: Likewise.
35616         * conform/data/wordexp.h-data: Likewise.
35618         * include/stropts.h: New file.
35619         * include/uchar.h: New file.
35620         * include/aio.h: Changes to allow conformtest.pl to use the headers.
35621         * include/assert.h: Likewise.
35622         * include/ctype.h: Likewise.
35623         * include/dirent.h: Likewise.
35624         * include/dlfcn.h: Likewise.
35625         * include/fcntl.h: Likewise.
35626         * include/fnmatch.h: Likewise.
35627         * include/glob.h: Likewise.
35628         * include/grp.h: Likewise.
35629         * include/libio.h: Likewise.
35630         * include/locale.h: Likewise.
35631         * include/math.h: Likewise.
35632         * include/net/if.h: Likewise.
35633         * include/netdb.h: Likewise.
35634         * include/netinet/in.h: Likewise.
35635         * include/pthread.h: Likewise.
35636         * include/pwd.h: Likewise.
35637         * include/regex.h: Likewise.
35638         * include/sched.h: Likewise.
35639         * include/search.h: Likewise.
35640         * include/setjmp.h: Likewise.
35641         * include/signal.h: Likewise.
35642         * include/stdio.h: Likewise.
35643         * include/stdlib.h: Likewise.
35644         * include/string.h: Likewise.
35645         * include/sys/cdefs.h: Likewise.
35646         * include/sys/mman.h: Likewise.
35647         * include/sys/msg.h: Likewise.
35648         * include/sys/resource.h: Likewise.
35649         * include/sys/select.h: Likewise.
35650         * include/sys/socket.h: Likewise.
35651         * include/sys/stat.h: Likewise.
35652         * include/sys/statvfs.h: Likewise.
35653         * include/sys/time.h: Likewise.
35654         * include/sys/times.h: Likewise.
35655         * include/sys/uio.h: Likewise.
35656         * include/sys/utsname.h: Likewise.
35657         * include/sys/wait.h: Likewise.
35658         * include/termios.h: Likewise.
35659         * include/time.h: Likewise.
35660         * include/ulimit.h: Likewise.
35661         * include/unistd.h: Likewise.
35662         * include/utime.h: Likewise.
35663         * include/wchar.h: Likewise.
35664         * include/wctype.h: Likewise.
35665         * include/wordexp.h: Likewise.
35667         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35669         * time/time.h: TIME_UTC must be a macro.
35670         Make timespec_get available for ISO C11 only as well.
35672 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
35674         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35675         Reported by Peng Haitao <penght@cn.fujitsu.com>.
35677 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35679         * configure.in: Use -o not -a in test for unsupported multi-arch.
35681 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35683         * manual/texinfo.tex: Update to version 2012-01-19.16.
35685 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35687         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35689 2012-02-24  Roland McGrath  <roland@hack.frob.com>
35691         [BZ #13738]
35692         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35693         * manual/fdl-1.3.texi: New file.
35694         * manual/fdl-1.1.texi: File removed.
35696         [BZ #13738]
35697         * manual/libc.texinfo (FDL_VERSION): New @set.
35698         Use it for mention of FDL in cover text.
35699         (Documentation License): Use it in @include file name.
35701 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35702             Roland McGrath  <roland@hack.frob.com>
35704         [BZ #5461]
35705         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35706         (not LONG_LONG_MAX and LONG_LONG_MIN.
35707         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35708         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
35709         name.
35710         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35712 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35714         [BZ #2547]
35715         [BZ #11365]
35716         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35717         manipulate bits before adding and subtracting TWO23[sx].
35718         * math/libm-test.inc (nearbyint_test): Add more tests.
35720 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35722         [BZ #2548]
35723         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35724         bits before adding and subtracting TWO23[sx].
35725         * math/libm-test.inc (rint_test): Add more tests.
35726         (rint_test_tonearest): Likewise.
35727         (rint_test_towardzero): Likewise.
35728         (rint_test_downward): Likewise.
35729         (rint_test_upward: Likewise.
35731 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35733         [BZ #10110]
35734         * include/stdc-predef.h: New file.  Extracted from features.h.
35735         * include/features.h: Include stdc-predef.h.
35736         * Makefile (headers): Add stdc-predef.h.
35737         * CONFORMANCE (Compiler limitations): Update.
35739 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35741         * manual/libc.texinfo (VERSION, UPDATED): Revert.
35743 2012-02-21  David S. Miller  <davem@davemloft.net>
35745         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35746         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35748 2012-02-20  David S. Miller  <davem@davemloft.net>
35750         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35751         using a normal save/restore sequence, rather than allocating a
35752         dummy stack frame just to store a frame pointer and restore.
35753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35755 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35757         * manual/install.texi: Fix stray word in line-wrapped comment.
35759 2012-02-20  David S. Miller  <davem@davemloft.net>
35761         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35762         both binutils and gcc support GOTDATA.
35764         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35765         "rd %pc" in the PIC register setup sequences.
35767         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35768         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35769         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35770         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35771         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35772         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35773         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35774         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35776         (SYSCALL_ERROR_HANDLER): Likewise.
35777         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35778         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35780         (SYSCALL_ERROR_HANDLER): Likewise.
35782         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35783         (HAVE_GCC_GOTDATA): New.
35784         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35785         relocation support in both binutils and gcc.
35786         * sysdeps/sparc/elf/configure: Regenerate.
35788         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35789         * sysdeps/sparc/sparc32/elf/configure: Delete.
35790         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35791         * sysdeps/sparc/sparc64/elf/configure: Delete.
35792         * sysdeps/sparc/elf/configure.in: New file.
35793         * sysdeps/sparc/elf/configure: Generate.
35795         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35796         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35797         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35798         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35799         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35801 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35803         * manual/install.texi: Do not mention specific glibc version
35804         numbers.
35805         * manual/libc.texinfo (VERSION, UPDATED): Update.
35806         (@copying): Use @copyright{} and range of years.
35808 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35810         [BZ #13695]
35811         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35812         [crti.S not in sysdirs] (generated): Do not append.
35813         [crti.S not in sysdirs] (omit-deps): Likewise.
35814         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35815         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35816         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35817         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35818         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35819         Likewise.
35820         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35821         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35822         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35823         * csu/defs.awk: Remove file.
35824         * sysdeps/generic/initfini.c: Likewise.
35825         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35826         variable.
35827         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35828         Likewise.
35830 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35832         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35833         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35834         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35835         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35836         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35837         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35838         <bits/epoll.h>.
35839         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35840         (__EPOLL_PACKED): Define to empty if not defined by
35841         <bits/epoll.h>.
35842         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35843         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35844         bits/epoll.h.
35846 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35848         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35849         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35850         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35851         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35852         <bits/timerfd.h>.
35853         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35855         bits/timerfd.h.
35857 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35859         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35860         in C locale.
35861         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35862         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35863         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35866 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
35868         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35869         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35871 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
35873         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35874         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35875         defined.
35876         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35877         Likewise.
35878         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35879         entry for 2.16.
35881 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
35883         * math/w_acos.c: Use non-signaling floating-point comparisons.
35884         * math/w_acosf.c: Likewise.
35885         * math/w_acosh.c: Likewise.
35886         * math/w_acoshf.c: Likewise.
35887         * math/w_acoshl.c: Likewise.
35888         * math/w_acosl.c: Likewise.
35889         * math/w_asin.c: Likewise.
35890         * math/w_asinf.c: Likewise.
35891         * math/w_asinl.c: Likewise.
35892         * math/w_atanh.c: Likewise.
35893         * math/w_atanhf.c: Likewise.
35894         * math/w_atanhl.c: Likewise.
35895         * math/w_exp2.c: Likewise.
35896         * math/w_exp2f.c: Likewise.
35897         * math/w_exp2l.c: Likewise.
35898         * math/w_j0.c: Likewise.
35899         * math/w_j0f.c: Likewise.
35900         * math/w_j0l.c: Likewise.
35901         * math/w_j1.c: Likewise.
35902         * math/w_j1f.c: Likewise.
35903         * math/w_j1l.c: Likewise.
35904         * math/w_jn.c: Likewise.
35905         * math/w_jnf.c: Likewise.
35906         * math/w_log.c: Likewise.
35907         * math/w_log10.c: Likewise.
35908         * math/w_log10f.c: Likewise.
35909         * math/w_log10l.c: Likewise.
35910         * math/w_log2.c: Likewise.
35911         * math/w_log2f.c: Likewise.
35912         * math/w_log2l.c: Likewise.
35913         * math/w_logf.c: Likewise.
35914         * math/w_logl.c: Likewise.
35915         * math/w_sqrt.c: Likewise.
35916         * math/w_sqrtf.c: Likewise.
35917         * math/w_sqrtl.c: Likewise.
35918         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35919         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35920         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35921         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35922         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35924 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35926         [BZ #9739]
35927         * manual/string.texi (strnlen): Use correct parameter name in
35928         equivalent expression.
35930 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35932         [BZ #11174]
35933         * manual/users.texi (seteuid): Consistently use neweuid for
35934         argument name.
35936 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35938         [BZ #13704]
35939         * manual/nss.texi (Services in the NSS configuration): Correct
35940         list of services in example configuration file.
35942 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35944         [BZ #11322]
35945         * manual/arith.texi: Remove statements about negative zero
35946         behaving identically to zero.
35948 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35950         [BZ #5993]
35951         * manual/install.texi: Do not document upgrading from libc5.
35953 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35955         [BZ #4596]
35956         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35958 2012-02-18  David S. Miller  <davem@davemloft.net>
35960         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35961         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35962         %o7 across the call.
35963         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35964         instead.
35965         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35966         SETUP_PIC_REG_LEAF.
35967         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35968         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35969         * sysdeps/sparc/crtn.S: Likewise.
35971 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35973         * aout/Makefile: Remove.
35975 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35977         [BZ #13058]
35978         * manual/examples/argp-ex1.c (main): Format definition in GNU
35979         style.
35980         * manual/examples/argp-ex2.c (main): Likewise.
35981         * manual/examples/argp-ex3.c (main): Likewise.
35982         * manual/examples/argp-ex4.c (main): Likewise.
35983         * manual/examples/longopt.c (main): Use new-style prototype
35984         definition.
35985         * manual/examples/strncat.c (main): Specify return type and use
35986         (void) for arguments.
35987         * manual/examples/subopt.c (main): Use char **argv argument.
35989 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35991         [BZ #5077]
35992         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35993         rounding modes.
35995 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35997         [BZ #6907]
35998         * manual/string.texi (strchr): Change when strchrnul is
35999         recommended.
36001 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36003         [BZ #174]
36004         * manual/locale.texi (setlocale): Document LOCPATH.
36006 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36008         [BZ #10210]
36009         * manual/process.texi (execle): Move @dots{} before last argument.
36011 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36013         [BZ #12047]
36014         * manual/charset.texi (Generic Charset Conversion): Fix typo
36015         (LC_TYPE -> LC_CTYPE).
36017 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36019         [BZ #5805]
36020         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36021         (scalbnf): Likewise.
36022         (scalbnl): Likewise.
36023         (scalbln): Likewise.
36024         (scalblnf): Likewise.
36025         (scalblnl): Likewise.
36026         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36027         (vwarnx): Likewise.
36028         (verr): Likewise.
36029         (verrx): Likewise.
36030         * manual/filesys.texi (telldir): Use braces around return type.
36031         * manual/llio.texi (mmap): Add space after comma.
36032         (mmap64): Likewise.
36033         * manual/math.texi (jn): Use @var{} on parameter names.
36034         (jnf): Likewise.
36035         (jnl): Likewise.
36036         (yn): Likewise.
36037         (ynf): Likewise.
36038         (ynl): Likewise.
36039         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36040         line.
36041         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36042         "...".
36043         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36044         (sched_get_priority_max): Likewise.
36045         * manual/signal.texi (sigvec): Add space after comma.
36046         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36047         names.
36048         (if_indextoname): Likewise.
36049         (if_freenameindex): Likewise.
36050         (sendto): Use ',' instead of '.' in prototype.
36051         * manual/startup.texi (syscall): Use @dots{} instead of literal
36052         "...".
36053         * manual/stdio.texi (__fpending): Separate initial words of
36054         paragraph from @deftypefun line.
36055         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36056         "...".
36057         (vsyslog): Use @var{} on parameter names.
36058         * manual/terminal.texi (stty): Use @var{} on parameter names.
36059         * manual/users.texi (getutmp): Use @var{} on parameter names.
36060         (getutmpx): Likewise.
36062 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36064         [BZ #6884]
36065         * manual/stdio.texi (fopen): Fix typos in description of
36066         ",ccs=STRING".
36068 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36070         [BZ #4026]
36071         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36072         get clock_id definition.
36074 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36076         [BZ #4822]
36077         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36078         (madvise): Cast every argument to void on its own.
36080 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36082         [BZ #9902]
36083         * manual/startup.texi (Exit Status): Fix typo.
36085 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36087         [BZ #10140]
36088         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36089         * manual/examples/argp-ex2.c: Likewise.
36090         * manual/examples/argp-ex3.c: Likewise.
36092 2012-02-16  Richard Henderson  <rth@redhat.com>
36094         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36095         * sysdeps/s390/s390-32/initfini.c: Remove.
36096         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36097         * sysdeps/s390/s390-64/initfini.c: Remove.
36099 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36101         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36102         compiler output for sysdeps/generic/initfini.c.
36103         * sysdeps/sh/elf/initfini.c: Remove file.
36105 2012-02-16  David S. Miller  <davem@davemloft.net>
36107         [BZ #11494]
36108         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36110         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36111         * sysdeps/sparc/crti.S: New file.
36112         * sysdeps/sparc/crtn.S: New file.
36113         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36114         * sysdeps/sparc/sparc64/Makefile: Likewise.
36116 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36118         [BZ #3335]
36119         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36121 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36123         [BZ #4822]
36124         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36126         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36127         (write, read, close): Likewise.
36128         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36130 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36132         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36133         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36134         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36135         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36136         <bits/signalfd.h>.
36137         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36139         bits/signalfd.h.
36141 2012-02-14  Marek Polacek  <polacek@redhat.com>
36143         * sysdeps/x86_64/crti.S: New file.
36144         * sysdeps/x86_64/crtn.S: New file.
36145         * sysdeps/x86_64/elf/initfini.c: Remove file.
36147 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36149         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36150         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36151         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36152         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36153         <bits/inotify.h>.
36154         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36156         bits/inotify.h.
36158 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36160         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36161         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36162         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36163         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36164         <bits/eventfd.h>.
36165         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36167         bits/eventfd.h.
36169 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36171         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36172         __feraiseexcept instead of feraiseexcept.
36174         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36175         nanosleep invocations.
36176         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36177         strings, and add error checking for a nanosleep invocations.
36179 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36181         Replace FSF snail mail address with URLs, as per GNU coding standards.
36182         Most of the snail mail addresses were wrong anyway, and omitting
36183         them makes the source code easier to maintain.  Almost all of the
36184         changes are to license notices and to locale LC_IDENTIFICATION
36185         addresses, except for this one:
36186         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36187         not its snail mail address.
36189 2012-02-09  Richard Henderson  <rth@twiddle.net>
36191         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36192         of kernel-features.h.
36194         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36196 2012-02-08  Marek Polacek  <polacek@redhat.com>
36198         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36199         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36200         * sysdeps/gnu/_G_config.h: Likewise.
36201         * sysdeps/generic/_G_config.h: Likewise.
36203 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36205         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36206         tests.
36207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36209         * sysdeps/powerpc/powerpc32/crti.S: New file.
36210         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36211         * sysdeps/powerpc/powerpc64/crti.S: New file.
36212         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36214         * Makeconfig (have-initfini): Don't set.
36215         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36216         * configure.in (nopic_initfini): Don't substitute.
36217         * config.h.in (HAVE_INITFINI): Don't #undef.
36218         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36219         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36221 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36223         Support crti.S and crtn.S provided directly by architectures.
36224         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36225         [crti.S in sysdirs] (omit-deps): Likewise.
36226         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36227         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36228         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36229         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36230         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36231         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36232         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36233         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36234         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36235         compiler output for sysdeps/generic/initfini.c.
36236         * sysdeps/i386/elf/Makefile: Remove file.
36237         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36239 2012-02-07  Marek Polacek  <polacek@redhat.com>
36241         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36242         * sysdeps/gnu/_G_config.h: Likewise.
36243         * sysdeps/mach/hurd/_G_config.h: Likewise.
36245 2012-02-07  Marek Polacek  <polacek@redhat.com>
36247         * math/Makefile (tests): Add tst-CMPLX2.
36248         * math/tst-CMPLX2.c: New file.
36250 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
36252         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36254         * math/libm-test.inc (jn_test): Add missing L suffix.
36256 2012-02-06  Marek Polacek  <polacek@redhat.com>
36258         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36259         * sysdeps/i386/fpu/e_powf.S: Likewise.
36260         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36261         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36262         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36263         * sysdeps/i386/fpu/e_pow.S: Likewise.
36264         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36265         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36266         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36267         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36268         * sysdeps/i386/fpu/e_log2.S: Likewise.
36269         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36270         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36271         * sysdeps/i386/fpu/e_powl.S: Likewise.
36272         * sysdeps/i386/fpu/s_log1p.S: Likewise.
36273         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36274         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36275         * sysdeps/i386/fpu/e_logl.S: Likewise.
36276         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36277         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36278         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36279         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36280         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36281         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36282         * sysdeps/i386/fpu/e_log.S: Likewise.
36283         * sysdeps/i386/fpu/s_cexp.S: Likewise.
36284         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36285         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36286         * sysdeps/i386/fpu/e_logf.S: Likewise.
36287         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36288         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36289         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36290         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36291         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36292         * sysdeps/i386/fpu/e_log10.S: Likewise.
36293         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36294         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36295         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36296         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36297         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36298         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36299         * sysdeps/i386/asm-syntax.h: Likewise.
36300         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36301         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36302         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36303         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36304         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36305         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36306         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36307         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36308         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36309         * sysdeps/powerpc/sysdep.h: Likewise.
36310         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36311         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36313 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36315         [BZ #411]
36316         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36318 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36320         * sysdeps/i386/sysdep.h: Include <features.h>.
36321         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36322         version.
36324 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
36326         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36327         Define.
36328         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36329         LOAD_PIC_REG_STR.
36331 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36333         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36334         (SETUP_PIC_REG): Use GET_PC_THUNK.
36335         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36336         macro.
36338 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36340         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36341         for non-PIC compilation.
36342         (SETUP_PIC_REG): Add .p2align directive.
36343         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36344         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36345         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36346         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36347         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36348         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36349         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36350         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36351         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36352         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36353         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36354         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36355         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36356         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36357         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36358         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36359         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36360         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36361         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36362         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36363         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36364         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36365         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36366         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36367         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36368         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36369         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36370         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36371         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36372         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36373         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36374         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36375         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36376         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36377         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36378         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36379         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36380         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36381         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36382         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36383         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36385 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36387         * math/tst-CMPLX.c: Include <stdio.h>.
36389 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
36391         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36392         float.
36393         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36394         * sysdeps/sparc/bits/mathdef.h: Likewise.
36396 2012-01-31  Marek Polacek  <polacek@redhat.com>
36398         * libio/libio.h: Don't define _PARAMS.
36399         * locale/programs/config.h: Don't define PARAMS.
36400         * stdlib/strtol_l.c: Likewise.
36401         (__strtol_l): Remove PARAMS from the prototype.
36403 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
36405         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
36406         names.  Just use the correct names.  Remove unnecessary wrapper
36407         functions.
36408         * malloc/arena.c: Likewise.
36409         * malloc/hooks.c: Likewise.
36411         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36412         ARENA_TEST says not to.  Simplify test for creation of a new arena.
36413         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36415 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
36417         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36418         into tail calls.
36419         (update_get_addr): New function.
36420         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36421         GET_ADDR_MODULE parameter.
36423 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36425         * crypt/cert.c: Remove __STDC__ conditionals.
36426         * crypt/crypt-entry.c: Likewise.
36427         * crypt/crypt_util.c: Likewise.
36428         * libio/filedoalloc.c: Likewise.
36429         * libio/fileops.c: Likewise.
36430         * libio/genops.c: Likewise.
36431         * libio/iofclose.c: Likewise.
36432         * libio/iofdopen.c: Likewise.
36433         * libio/iofopen.c: Likewise.
36434         * libio/iofopen64.c: Likewise.
36435         * libio/iogetdelim.c: Likewise.
36436         * libio/iopopen.c: Likewise.
36437         * libio/obprintf.c: Likewise.
36438         * libio/oldfileops.c: Likewise.
36439         * libio/oldiofclose.c: Likewise.
36440         * libio/oldiofdopen.c: Likewise.
36441         * libio/oldiofopen.c: Likewise.
36442         * libio/oldiopopen.c: Likewise.
36443         * libio/wfiledoalloc.c: Likewise.
36444         * libio/wgenops.c: Likewise.
36445         * locale/programs/xmalloc.c: Likewise.
36446         * misc/syslog.c: Likewise.
36447         * stdio-common/xbug.c: Likewise.
36448         * string/memchr.c: Likewise.
36449         * string/memcmp.c: Likewise.
36450         * string/memrchr.c: Likewise.
36451         * string/rawmemchr.c: Likewise.
36452         * sysdeps/posix/getcwd.c: Likewise.
36453         * time/strftime_l.c: Likewise.
36455 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36457         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36458         * config.make.in (config-cflags-sse2avx): Define.
36459         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36460         Fix typo.
36462 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
36464         * scripts/config.guess: Update from upstream config git repository.
36465         * scripts/config.sub: Likewise.
36467 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
36469         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36470         (EM_NUM): Update.
36471         (R_TILEPRO_*, R_TILEGX_*): New macros.
36473         * scripts/firstversions.awk: Fix bug in version range handling.
36475         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36477         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36479         * include/sys/epoll.h: New file.
36480         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36481         libc_hidden_def.
36483 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
36485         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36486         Avoid unnecessary __WORDSIZE == 64 test.
36487         (fmaxf): Use VEX format if possible.
36488         (fmax): Likewise.
36489         (fminf): Likewise.
36490         (fmin): Likewise.
36492         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36493         * math/math_private.h: Remove libc_fegetround* and
36494         libc_fesetround*.
36495         * sysdeps/i386/configure.in: Check for -msse2avx.
36496         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36497         also if SSE2AVX is defined.
36498         Remove libc_fegetround* and libc_fesetround*.
36499         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36500         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
36501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36502         of HAS_YMM_USABLE.
36503         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36504         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36505         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36506         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36507         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36509         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36511 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36513         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36514         size is not set.
36515         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36517 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
36519         [BZ #13618]
36520         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36521         relocation.
36522         * Makeconfig (libm): Define.
36523         * elf/Makefile: Add rules to build and run tst-relsort1.
36524         * elf/tst-relsort1.c: New file.
36525         * elf/tst-relsort1mod1.c: New file.
36526         * elf/tst-relsort1mod2.c: New file.
36528 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
36530         * math/s_ldexp.c: Remove __STDC__ conditionals.
36531         * math/s_ldexpf.c: Likewise.
36532         * math/s_ldexpl.c: Likewise.
36533         * math/s_nextafter.c: Likewise.
36534         * math/s_nexttowardf.c: Likewise.
36535         * math/s_significand.c: Likewise.
36536         * math/s_significandf.c: Likewise.
36537         * math/s_significandl.c: Likewise.
36538         * math/w_jnl.c: Likewise.
36539         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36540         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36541         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36542         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36543         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36544         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36545         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36546         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36547         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36548         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36549         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36550         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36551         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36552         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36553         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36554         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36555         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36556         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36558         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36559         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36560         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36561         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36562         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36563         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36564         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36565         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36566         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36567         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36568         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36569         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36570         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36571         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36572         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36573         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36574         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36575         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36576         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36577         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36578         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36579         * sysdeps/ieee754/k_standard.c: Likewise.
36580         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36581         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36582         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36583         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36584         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36585         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36586         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36587         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36588         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36589         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36590         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36591         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36592         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36593         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36594         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36596         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36598         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36599         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36601         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36602         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36603         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36604         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36605         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36606         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36607         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36609         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36610         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36611         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36612         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36613         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36615         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36616         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36617         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36618         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36619         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36620         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36622         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36623         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36624         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36625         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36626         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36627         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36629         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36630         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36631         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36633         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36634         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36635         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36636         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36637         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36638         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36639         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36640         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36641         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36642         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36643         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36644         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36645         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36646         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36647         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36648         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36649         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36650         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36651         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36652         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36653         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36654         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36655         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36656         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36657         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36658         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36659         * sysdeps/ieee754/s_matherr.c: Likewise.
36660         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36661         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36662         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36665 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36667         * crypt/md5.h: Remove __STDC__ conditionals.
36668         * libio/libioP.h: Likewise.
36669         * locale/programs/config.h: Likewise.
36670         * sysdeps/generic/sysdep.h: Likewise.
36671         * sysdeps/i386/asm-syntax.h: Likewise.
36672         * sysdeps/s390/asm-syntax.h: Likewise.
36673         * sysdeps/unix/sysdep.h: Likewise.
36674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36677 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36679         * libio/libio.h: Remove __STDC__ conditionals.
36680         * malloc/obstack.h: Likewise.
36681         * math/complex.h: Likewise.
36682         * math/math.h: Likewise.
36683         * sysdeps/generic/_G_config.h: Likewise.
36684         * sysdeps/gnu/_G_config.h: Likewise.
36685         * sysdeps/mach/hurd/_G_config.h: Likewise.
36686         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36687         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36688         * sysdeps/sparc/bits/mathdef.h: Likewise.
36690 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
36692         [BZ #13583]
36693         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36694         Clean up HAS_* macros.
36695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36696         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36697         possible.
36698         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36699         HAS_AVX.
36700         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36701         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36702         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36703         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36704         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36706 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
36708         * elf/tst-unique3.cc (gets): Remove declaration.
36709         * elf/tst-unique3lib.cc (gets): Likewise.
36710         * elf/tst-unique3lib2.cc (gets): Likewise.
36711         * elf/tst-unique4.cc (gets): Likewise.
36713 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
36715         * include/stdio.h: Add C++ protection.  Add gets declarations and
36716         definitions.
36717         * debug/tst-chk1.c: Don't declare gets here.
36718         * stdio-common/tst-gets.c: Likewise.
36720 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36722         * posix/glob: Remove directory.
36724 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36726         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36728 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
36730         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36731         of the non-standard EPFNOSUPPORT.
36733 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36735         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36736         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36737         ANYWHERE set to 1 only on KERN_NO_SPACE error.
36739 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
36741         * wcsmbs/uchar.h: Test __STDC_VERSION__.
36743 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
36745         * nscd/aicache.c (addhstaiX): Do not cache negative results of
36746         transient errors.
36747         * nscd/grpcache.c (cache_addgr): Likewise.
36748         * nscd/hstcache.c (cache_addhst): Likewise.
36749         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36750         * nscd/pwdcache.c (cache_addpw): Likewise.
36751         * nscd/servicescache.c (cache_addserv): Likewise.
36753 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
36755         * malloc/malloc.c: Various cleanups.
36756         * malloc/hooks.c: Likewise.
36758         * stdlib/Makefile (tests): Add bug-fmtmsg1.
36759         * stdlib/bug-fmtmsg1.c: New file.
36761         * stdlib/fmtmsg.c (init): Add missing unlock.
36762         Patch by Peng Haitao <penght@cn.fujitsu.com>.
36764 2012-01-12  Marek Polacek  <polacek@redhat.com>
36766         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36767         and _GNU_SOURCE.
36769 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36771         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36772         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36773         macro to ensure uniqueness of label name.
36774         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36775         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36777 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
36779         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36781         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36782         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36783         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36786 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
36788         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36790         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36791         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36792         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36794         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36796         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36797         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36798         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36801         * math/bits/math-finite.h: Add ldexp support.
36803 2012-01-10  Marek Polacek  <polacek@redhat.com>
36805         * locale/programs/localedef.h (show_archive_content): Add noreturn
36806         attribute.
36808 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
36810         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36812 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36814         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36816         * io/Makefile (headers): Add bits/poll2.h.
36818 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
36820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36821         typo #include statement.
36823 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36825         * include/sys/cdefs.h: Define __attribute_alloc_size.
36826         * catgets/gencat.c: Add alloc_size attribute and apply consistently
36827         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36828         * elf/pldd.c: Likewise.
36829         * iconv/iconv_charmap.c: Likewise.
36830         * iconv/iconvconfig.c: Likewise.
36831         * iconv/strtab.c: Likewise.
36832         * locale/programs/locale.c: Likewise.
36833         * locale/programs/localedef.h: Likewise.
36834         * locale/programs/simple-hash.c: Likewise.
36835         * nscd/nscd.h: Likewise.
36836         * nss/makedb.c: Likewise.
36837         * sysdeps/generic/ldconfig.h: Likewise.
36838         * locale/programs/localedef.c: Remove xmalloc prototype.
36839         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36841 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36843         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36844         appropriate.
36846 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36848         * math/Makefile (tests): Add tst-CMPLX.
36849         * math/tst-CMPLX.c: New file.
36851         * math/complex.h (CMPLXL): Fix typo.
36853         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36854         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36855         GLIBC_2.16.
36856         * debug/tst-chk1.c: Add poll and ppoll tests.
36857         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36858         * include/sys/poll.h: Add hidden proto for ppoll.
36859         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36860         * sysdeps/mach/hurd/ppoll.c: Likewise.
36861         * io/ppoll.c: Likewise.
36862         * debug/poll_chk.c: New file.
36863         * debug/ppoll_chk.c: New file.
36864         * include/bits/poll2.h: New file.
36865         * io/bits/poll2.h: New file.
36867         [BZ #1350]
36868         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36870         * configure.in: static is always set to yes.  Remove.
36871         * config.make.in: Don't set build-static.
36872         * Makeconfig: Remove use of build-static.
36873         * dlfcn/Makefile: Likewise.
36874         * elf/Makefile: Likewise.
36875         * math/Makefile: Likewise.
36876         * misc/Makefile: Likewise.
36877         * nptl/Makefile: Likewise.
36878         * sysdeps/mach/hurd/Makefile: Likewise.
36880         * configure.in: PWD_P is not used anymore.
36881         * config.make.in: Remove PWD_P entry.
36883         * configure.in: Remove last remnants of RANLIB.
36884         No need to check for signed size_t anymore.
36885         Don't set libc_commonpagesize and libc_relro_required here for Alpha
36886         and IA-64.
36887         Remove __builtin_expect test because we require at least gcc 3.4.
36888         * aclocal.m4: Likewise.
36890         * wcsmbs/mbrtoc16.c: Implement using towc function.
36891         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36892         * wcsmbs/wcsmbsload.c: Likewise.
36893         * iconv/gconv_simple.c: Likewise.
36894         * iconv/gconv_int.h: Likewise.
36895         * iconv/gconv_builtin.h: Likewise.
36896         * iconv/iconv_prog.c: Remove CHAR16 handling.
36898         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36900         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36902         * configure.in: Remove --with-elf and --enable-bounded options.
36903         Dont set base_machine for ia64.  More non-ELF conditions removed.
36904         Remove testing and setting of leading underscore information.
36905         * config.make.in (build-bounded): Set to no.
36906         * config.h.in: Remove NO_UNDERSCORES entry.
36907         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36908         them.
36909         * csu/start.c: Remove !NO_UNDERSCORE code.
36910         * locale/localeinfo.h: Likewise.
36911         * sysdeps/generic/machine-gmon.h: Likewise.
36912         * sysdeps/generic/sysdep.h: Likewise.
36913         * sysdeps/i386/sysdep.h: Likewise.
36914         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36915         * sysdeps/mach/sysdep.h: Likewise.
36916         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36917         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36918         * sysdeps/sh/sysdep.h: Likewise.
36919         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36920         * sysdeps/unix/i386/sysdep.S: Likewise.
36921         * sysdeps/unix/sparc/start.c: Likewise.
36922         * sysdeps/unix/sparc/sysdep.S: Likewise.
36923         * sysdeps/unix/sparc/sysdep.h: Likewise.
36924         * sysdeps/unix/start.c: Likewise.
36925         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36926         * sysdeps/x86_64/sysdep.h: Likewise.
36928 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36930         [BZ #13553]
36931         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36932         for non-gcc.
36933         * argp/argp-fmtstream.h: Use const instead __const.
36934         * argp/argp.h: Likewise.
36935         * assert/assert.h: Likewise.
36936         * bits/fenv.h: Likewise.
36937         * bits/sched.h: Likewise.
36938         * bits/sigset.h: Likewise.
36939         * bits/sigthread.h: Likewise.
36940         * catgets/nl_types.h: Likewise.
36941         * conform/data/pthread.h-data: Likewise.
36942         * crypt/crypt-private.h: Likewise.
36943         * crypt/crypt.h: Likewise.
36944         * crypt/crypt_util.c: Likewise.
36945         * ctype/ctype.h: Likewise.
36946         * debug/execinfo.h: Likewise.
36947         * debug/mbsnrtowcs_chk.c: Likewise.
36948         * debug/mbsrtowcs_chk.c: Likewise.
36949         * debug/wcsnrtombs_chk.c: Likewise.
36950         * debug/wcsrtombs_chk.c: Likewise.
36951         * debug/wcstombs_chk.c: Likewise.
36952         * dirent/dirent.h: Likewise.
36953         * dlfcn/dlfcn.h: Likewise.
36954         * elf/neededtest4.c: Likewise.
36955         * grp/grp.h: Likewise.
36956         * gshadow/gshadow.h: Likewise.
36957         * iconv/gconv.h: Likewise.
36958         * iconv/gconv_int.h: Likewise.
36959         * iconv/gconv_simple.c: Likewise.
36960         * iconv/iconv.h: Likewise.
36961         * iconv/loop.c: Likewise.
36962         * iconv/skeleton.c: Likewise.
36963         * include/aio.h: Likewise.
36964         * include/aliases.h: Likewise.
36965         * include/argz.h: Likewise.
36966         * include/arpa/inet.h: Likewise.
36967         * include/assert.h: Likewise.
36968         * include/dirent.h: Likewise.
36969         * include/dlfcn.h: Likewise.
36970         * include/execinfo.h: Likewise.
36971         * include/fcntl.h: Likewise.
36972         * include/fenv.h: Likewise.
36973         * include/glob.h: Likewise.
36974         * include/grp.h: Likewise.
36975         * include/libintl.h: Likewise.
36976         * include/mntent.h: Likewise.
36977         * include/netdb.h: Likewise.
36978         * include/pwd.h: Likewise.
36979         * include/rpc/netdb.h: Likewise.
36980         * include/sched.h: Likewise.
36981         * include/search.h: Likewise.
36982         * include/shadow.h: Likewise.
36983         * include/signal.h: Likewise.
36984         * include/stdio.h: Likewise.
36985         * include/stdlib.h: Likewise.
36986         * include/string.h: Likewise.
36987         * include/sys/socket.h: Likewise.
36988         * include/sys/stat.h: Likewise.
36989         * include/sys/statfs.h: Likewise.
36990         * include/sys/statvfs.h: Likewise.
36991         * include/sys/syslog.h: Likewise.
36992         * include/sys/time.h: Likewise.
36993         * include/sys/uio.h: Likewise.
36994         * include/time.h: Likewise.
36995         * include/unistd.h: Likewise.
36996         * include/utmp.h: Likewise.
36997         * include/wchar.h: Likewise.
36998         * include/wctype.h: Likewise.
36999         * inet/aliases.h: Likewise.
37000         * inet/arpa/inet.h: Likewise.
37001         * inet/netinet/ether.h: Likewise.
37002         * inet/netinet/in.h: Likewise.
37003         * intl/libintl.h: Likewise.
37004         * io/bits/fcntl2.h: Likewise.
37005         * io/fcntl.h: Likewise.
37006         * io/ftw.h: Likewise.
37007         * io/sys/poll.h: Likewise.
37008         * io/sys/stat.h: Likewise.
37009         * io/sys/statfs.h: Likewise.
37010         * io/sys/statvfs.h: Likewise.
37011         * io/utime.h: Likewise.
37012         * libio/bits/stdio.h: Likewise.
37013         * libio/bits/stdio2.h: Likewise.
37014         * libio/libio.h: Likewise.
37015         * libio/libioP.h: Likewise.
37016         * libio/stdio.h: Likewise.
37017         * locale/lc-ctype.c: Likewise.
37018         * locale/locale.h: Likewise.
37019         * login/utmp.h: Likewise.
37020         * malloc/arena.c: Likewise.
37021         * malloc/malloc.c: Likewise.
37022         * malloc/malloc.h: Likewise.
37023         * malloc/mcheck.c: Likewise.
37024         * malloc/mtrace.c: Likewise.
37025         * math/bits/mathcalls.h: Likewise.
37026         * math/fenv.h: Likewise.
37027         * math/math_private.h: Likewise.
37028         * misc/bits/error.h: Likewise.
37029         * misc/bits/syslog.h: Likewise.
37030         * misc/err.h: Likewise.
37031         * misc/error.h: Likewise.
37032         * misc/fstab.h: Likewise.
37033         * misc/mntent.h: Likewise.
37034         * misc/regexp.h: Likewise.
37035         * misc/search.h: Likewise.
37036         * misc/sgtty.h: Likewise.
37037         * misc/sys/mman.h: Likewise.
37038         * misc/sys/syslog.h: Likewise.
37039         * misc/sys/uio.h: Likewise.
37040         * misc/sys/xattr.h: Likewise.
37041         * misc/ttyent.h: Likewise.
37042         * nis/rpcsvc/ypclnt.h: Likewise.
37043         * nss/nss.h: Likewise.
37044         * posix/bits/unistd.h: Likewise.
37045         * posix/fnmatch.h: Likewise.
37046         * posix/glob.h: Likewise.
37047         * posix/sched.h: Likewise.
37048         * posix/spawn.h: Likewise.
37049         * posix/sys/wait.h: Likewise.
37050         * posix/unistd.h: Likewise.
37051         * posix/wordexp.h: Likewise.
37052         * pwd/pwd.h: Likewise.
37053         * resolv/netdb.h: Likewise.
37054         * resource/sys/resource.h: Likewise.
37055         * rt/aio.h: Likewise.
37056         * rt/bits/mqueue2.h: Likewise.
37057         * rt/mqueue.h: Likewise.
37058         * shadow/shadow.h: Likewise.
37059         * signal/signal.h: Likewise.
37060         * socket/send.c: Likewise.
37061         * socket/sendto.c: Likewise.
37062         * socket/sys/socket.h: Likewise.
37063         * stdio-common/printf.h: Likewise.
37064         * stdlib/bits/stdlib.h: Likewise.
37065         * stdlib/fmtmsg.h: Likewise.
37066         * stdlib/monetary.h: Likewise.
37067         * stdlib/stdlib.h: Likewise.
37068         * stdlib/ucontext.h: Likewise.
37069         * streams/stropts.h: Likewise.
37070         * string/argz.h: Likewise.
37071         * string/bits/string2.h: Likewise.
37072         * string/string.h: Likewise.
37073         * string/strings.h: Likewise.
37074         * sunrpc/rpc/auth.h: Likewise.
37075         * sunrpc/rpc/auth_des.h: Likewise.
37076         * sunrpc/rpc/clnt.h: Likewise.
37077         * sunrpc/rpc/netdb.h: Likewise.
37078         * sunrpc/rpc/pmap_clnt.h: Likewise.
37079         * sunrpc/rpc/xdr.h: Likewise.
37080         * sysdeps/generic/inttypes.h: Likewise.
37081         * sysdeps/generic/net/if.h: Likewise.
37082         * sysdeps/generic/sys/swap.h: Likewise.
37083         * sysdeps/gnu/net/if.h: Likewise.
37084         * sysdeps/gnu/utmpx.h: Likewise.
37085         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37086         * sysdeps/i386/i486/bits/string.h: Likewise.
37087         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37088         * sysdeps/s390/bits/string.h: Likewise.
37089         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37090         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37091         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37092         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37093         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37094         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37095         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37096         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37097         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37098         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37099         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37100         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37101         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37102         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37103         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37104         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37105         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37107         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37108         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37109         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37110         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37111         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37112         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37113         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37114         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37115         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37116         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37117         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37118         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37119         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37120         * sysvipc/sys/ipc.h: Likewise.
37121         * sysvipc/sys/msg.h: Likewise.
37122         * sysvipc/sys/sem.h: Likewise.
37123         * sysvipc/sys/shm.h: Likewise.
37124         * termios/termios.h: Likewise.
37125         * time/sys/time.h: Likewise.
37126         * time/time.h: Likewise.
37127         * wcsmbs/bits/wchar2.h: Likewise.
37128         * wcsmbs/uchar.h: Likewise.
37129         * wcsmbs/wchar.h: Likewise.
37130         * wctype/wctype.h: Likewise.
37132         [BZ #13551]
37133         * Makeconfig: Remove all but ELF support including AIX support.
37134         * Makerules: Likewise.
37135         * config.h.in: Likewise.
37136         * config.make.in: Likewise.
37137         * configure: Likewise.
37138         * configure.in: Likewise.
37139         * csu/Makefile: Likewise.
37140         * csu/version.c: Likewise.
37141         * debug/Makefile: Likewise.
37142         * dlfcn/Makefile: Likewise.
37143         * elf/Makefile: Likewise.
37144         * extra-lib.mk: Likewise.
37145         * iconv/Makefile: Likewise.
37146         * include/libc-symbols.h: Likewise.
37147         * include/shlib-compat.h: Likewise.
37148         * resolv/Makefile: Likewise.
37149         * resolv/res_libc.c: Likewise.
37150         * rt/Makefile: Likewise.
37151         * sysdeps/i386/asm-syntax.h: Likewise.
37152         * sysdeps/i386/sysdep.h: Likewise.
37153         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37154         * sysdeps/mach/sysdep.h: Likewise.
37155         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37156         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37157         * sysdeps/s390/asm-syntax.h: Likewise.
37158         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37159         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37160         * sysdeps/sh/sysdep.h: Likewise.
37161         * sysdeps/unix/sparc/sysdep.h: Likewise.
37162         * sysdeps/wordsize-32/divdi3.c: Likewise.
37163         * sysdeps/x86_64/sysdep.h: Likewise.
37165         * argp/Versions: Remove _argp_unlock_xxx.
37167         [BZ #13559]
37168         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37169         * abilist/libBrokenLocale.abilist: Likewise.
37170         * abilist/libanl.abilist: Likewise.
37171         * abilist/libc.abilist: Likewise.
37172         * abilist/libcrypt.abilist: Likewise.
37173         * abilist/libdl.abilist: Likewise.
37174         * abilist/libm.abilist: Likewise.
37175         * abilist/libnsl.abilist: Likewise.
37176         * abilist/libpthread.abilist: Likewise.
37177         * abilist/libresolv.abilist: Likewise.
37178         * abilist/librt.abilist: Likewise.
37179         * abilist/libthread_db.abilist: Likewise.
37180         * abilist/libutil.abilist: Likewise.
37181         * abilist/libnss_db.abilist: New file.
37183         * scripts/abilist.awk: Add support for indirect functions.
37185         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37187         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37189         * shlib-versions: Remove entries for ports architectures.
37191         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37192         files in ports.
37193         * elf/stackguard-macros.h: Remove support for IA-64.
37194         * elf/tst-auditmod1.c: Likewise.
37195         * sysdeps/generic/ldsodefs.h: Likewise.
37197         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37198         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37199         configure files.
37201         [BZ #13552]
37202         * configure.in: Remove --enable-omitfp support.
37203         * FAQ.in: Adjust.
37204         * config.make.in: Likewise.
37205         * Makeconfig: Likewise.
37206         * manual/install.texi: Likewise.
37208         In case anyone cares, the IA-64 architecture could move to ports.
37209         * sysdeps/ia64/*: Removed.
37210         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37211         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37213         [BZ #13555]
37214         * configure.in: Remove entries for unsupported architectures.
37216         [BZ #13533]
37217         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37218         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37219         routines.
37220         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37221         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37222         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37223         fall back to using wcrtomb.
37224         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37225         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37226         renaming.
37227         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37228         * wcsmbs/tst-c16c32-1.c: New file.
37230         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37231         local variable.
37233         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37235         * elf/tst-unique3.cc: Add explicit declaration of gets.
37236         * elf/tst-unique3lib.cc: Likewise.
37237         * elf/tst-unique3lib2.cc: Likewise.
37238         * elf/tst-unique4.cc: Likewise.
37240         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37242 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37244         [BZ #13566]
37245         * assert/assert.h (static_assert): Don't define for C++.
37246         * libio/stdio.h (gets): Do declare for C++ <= C++11.
37247         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37249 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
37251         * iconv/loop.c (single loop): Fix assertion in storing of
37252         remaining bytes.
37254         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37256 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
37258         * posix/getconf.c: Update copyright year.
37259         * nss/getent.c: Likewise.
37260         * nss/makedb.c: Likewise.
37261         * iconv/iconvconfig.c: Likewise.
37262         * iconv/iconv_prog.c: Likewise.
37263         * elf/ldconfig.c: Likewise.
37264         * elf/pldd.c: Likewise.
37265         * elf/sotruss.ksh: Likewise.
37266         * catgets/gencat.c: Likewise.
37267         * csu/version.c: Likewise.
37268         * elf/ldd.bash.in: Likewise.
37269         * elf/sprof.c (print_version): Likewise.
37270         * locale/programs/locale.c: Likewise.
37271         * locale/programs/localedef.c: Likewise.
37272         * login/programs/pt_chown.c: Likewise.
37273         * nscd/nscd.c (print_version): Likewise.
37274         * debug/xtrace.sh: Likewise.
37275         * malloc/memusage.sh: Likewise.
37276         * malloc/mtrace.pl: Likewise.
37277         * debug/catchsegv.sh: Likewise.
37279 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
37281         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37282         pure attribute.
37284 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
37286         [BZ #13533]
37287         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37288         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37289         transformations.
37290         * iconv/gconv_int.h: Likewise.
37291         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37292         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37293         from libc for GLIBC_2.16.
37294         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37295         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37296         * wcsmbs/uchar.h: Really define mbstate_t.
37297         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37298         * wcsmbs/c16rtomb.c: New file.
37299         * wcsmbs/mbrtoc16.c: New file.
37300         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37301         for C/POSIX locale.
37302         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37303         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37305         * wcsmbs/wchar.h: Add missing __restrict.
37307 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37309         [BZ #13532]
37310         * time/Makefile (routines): Add timespec_get.
37311         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37312         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
37313         timespec for ISO C11.
37314         * time/timespec_get.c: New file.
37315         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37316         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37318         [BZ #13531]
37319         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37320         * stdlib/stdlib.h: Declare aligned_alloc.
37321         * Versions.def: Add GLIBC_2.16 for libc.
37322         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37324         [BZ 13527]
37325         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37326         ISO C11.
37328         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37329         code.
37331         [BZ #13528]
37332         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37334         [BZ #13529]
37335         * assert/assert.h (static_assert): Define.
37337         * version.h: Update for 2.16 development version.
37339         [BZ #13526]
37340         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37341         _ISOC11_SOURCE.
37343         * version.h (RELEASE): Bump for 2.15 release.
37344         * include/features.h (__GLIBC_MINOR__): Bump to 15.
37346         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37347         Patch by Marek Polacek <mpolacek@redhat.com>.
37349         * bits/byteswap.h: Protect long long constants with __extension__.
37350         * sysdeps/i386/bits/byteswap.h: Likewise.
37351         * sysdeps/ia64/bits/byteswap.h: Likewise.
37352         * sysdeps/s390/bits/byteswap.h: Likewise.
37353         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37355 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37357         [BZ #13540]
37358         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37359         destination buffer.
37360         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37362 2011-12-23  Marek Polacek  <polacek@redhat.com>
37364         * elf/dl-addr.c (determine_info): Add inline keyword.
37365         * elf/tst-auditmod4b.c (check_avx): Likewise.
37366         * elf/tst-auditmod6b.c (check_avx): Likewise.
37367         * elf/tst-auditmod6c.c (check_avx): Likewise.
37368         * elf/tst-auditmod7b.c (check_avx): Likewise.
37370 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37372         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37373         !__SSE_MATH__.
37375 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37377         [BZ #13540]
37378         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37379         processing for last bytes.
37381 2011-08-06  Bruno Haible  <bruno@clisp.org>
37383         [BZ #13061]
37384         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37385         U+0385, not to U+1FEE.
37387         [BZ #13062]
37388         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37389         entry for U+00A5 U+0301.
37391 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37393         [BZ #13166]
37394         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37395         buffer for the output is too small.
37397         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37398         optimization.
37400         [BZ #13185]
37401         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37402         SSE flags if possible.
37404 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37406         [BZ #13540]
37407         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37408         processing for last bytes.
37410 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
37412         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37413         (syscall-list-default-options, syscall-list-default-condition)
37414         (syscall-list-includes): Define.
37415         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37416         list of ABIs and options and #if conditions for each ABI.  Do not
37417         handle common syscalls between ABIs specially.
37418         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37419         Remove.
37420         (syscall-list-variants, syscall-list-32bit-options)
37421         (syscall-list-32bit-condition, syscall-list-64bit-options)
37422         (syscall-list-64bit-condition): Define.
37423         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37424         (syscall-list-variants, syscall-list-32bit-options)
37425         (syscall-list-32bit-condition, syscall-list-64bit-options)
37426         (syscall-list-64bit-condition): Define.
37427         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37428         Remove.
37429         (syscall-list-variants, syscall-list-32bit-options)
37430         (syscall-list-32bit-condition, syscall-list-64bit-options)
37431         (syscall-list-64bit-condition): Define.
37432         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37433         Remove.
37434         (syscall-list-variants, syscall-list-32bit-options)
37435         (syscall-list-32bit-condition, syscall-list-64bit-options)
37436         (syscall-list-64bit-condition): Define.
37438 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37440         * locale/iso-639.def: Add brx entry.
37442         [BZ #13328]
37443         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37444         Proposed by Mariusz_Cukr <marcukr@op.pl>.
37446         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37447         __feraiseexcept_renamed.
37449 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37451         [BZ #13538]
37452         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37453         EPOLLET with unsigned values.
37454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37455         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37457         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37458         to large cancellation.
37459         * math/s_cacoshf.c: Likewise.
37460         * math/s_cacoshl.c: Likewise.
37462 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
37464         [BZ #13305]
37465         [BZ #12786]
37466         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37467         * math/s_cacoshf.c: Likewise.
37468         * math/s_cacoshl.c: Likewise.
37470 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37472         [BZ #13439]
37473         * iconv/gconv.h: Define __GCONV_SWAP.
37474         * iconvdata/unicode.c: The swap bit must be stored in __flags.
37475         * iconvdata/utf-16.c: Likewise.
37476         * iconvdata/utf-32.c: Likewise.
37478 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37480         [BZ #13524]
37481         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37482         numerator after shifting it by one limb.
37484 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
37486         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37487         under [__USE_EXTERN_INLINES].
37489 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37491         [BZ #13446]
37492         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37494 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37496         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37497         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37498         optimized code.
37499         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37500         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37501         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37502         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37503         for strncasecmp/strncasecmp_l compilation.
37504         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37505         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37507 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
37509         [BZ #13484]
37510         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37511         of __asm__.
37513 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37515         [BZ #13506]
37516         * time/tzfile.c (__tzfile_read): Check values from file header.
37518 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37520         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37521         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37522         * powerpc/powerpc32/dl-start.S: Likewise.
37523         * powerpc/powerpc32/elf/start.S: Likewise.
37524         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37525         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37526         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37527         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37528         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37529         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37530         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37531         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37532         * powerpc/powerpc32/fpu/s_round.S: Likewise.
37533         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37534         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37535         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37536         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37537         * powerpc/powerpc32/memset.S: Likewise.
37538         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37539         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37540         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37541         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37542         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37543         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37544         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37545         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37546         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37547         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37548         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37549         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37550         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37552 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37554         * math/libm-test.inc: Added more nearbyint tests.
37555         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37556         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37557         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37558         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37560 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
37562         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37563         FD_CLOEXEC.
37565 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37567         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37568         Add wcscpy-ssse3 wcscpy-c.
37569         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37570         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37571         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37572         * sysdeps/x86_64/wcschr.S: New file.
37573         * sysdeps/x86_64/wcsrchr.S: New file.
37574         * string/test-strcmp.c: Remove checking of wcscmp function for
37575         wrong alignments.
37576         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37577         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37578         wcsrchr-sse2 wcsrchr-c.
37579         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37580         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37581         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37582         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37583         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37584         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37585         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37586         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37587         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37588         * wcsmbc/wcschr.c (WCSCHR): New macro.
37590 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37592         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37593         * wcsmbs/test-wcsrchr.c: New file.
37594         * string/test-strrchr.c: Add wcsrchr support.
37595         (WIDE): New macro.
37596         * wcsmbs/test-wcscpy.c: New file.
37597         * string/test-strcpy.c: Add wcscpy support.
37598         (WIDE): New macro.
37600 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
37602         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37603         the inner loop.
37605 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
37607         [BZ #13472]
37608         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37610 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
37612         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37613         Minor optimizations.
37615         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37616         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37617         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37619 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
37621         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37622         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37623         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37624         for gcc to avoid warnings.
37625         * inet/Makefile (tests): Add tst-checks.
37626         * inet/tst-checks.c: New file.
37628         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37629         warning.
37631         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37632         __wmemcmp_sse2.
37634         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37635         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37637         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37639 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
37641         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37642         problem.
37644         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37646 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
37648         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37649         conditional on GCC version.
37650         (__arch_compare_and_exchange_val_8_acq)
37651         (__arch_compare_and_exchange_val_16_acq)
37652         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37653         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37654         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37656 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
37658         * sysdeps/sh/backtrace.c: New file.
37660 2011-12-02  Andreas Schwab  <schwab@redhat.com>
37662         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
37663         parenthesis.
37665 2011-12-01  Andreas Schwab  <schwab@redhat.com>
37667         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37668         falling back to utime.
37670 2011-11-30  Andreas Schwab  <schwab@redhat.com>
37672         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37673         expectations for float.
37675 2011-11-29  Andreas Schwab  <schwab@redhat.com>
37677         * locale/weight.h (findidx): Add parameter len.
37678         * locale/weightwc.h (findidx): Likewise.
37679         * posix/fnmatch_loop.c (FCT): Adjust caller.
37680         * posix/regcomp.c (build_equiv_class): Likewise.
37681         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37682         * posix/regexec.c (check_node_accept_bytes): Likewise.
37683         * string/strcoll_l.c (STRCOLL): Likewise.
37684         * string/strxfrm_l.c (STRXFRM): Likewise.
37686 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
37688         * Makefile.in: Remove CVSOPT handling.
37689         * configure.in: Remove use of AC_REVISION.
37690         * iconvdata/Makefile (distribute): No need to filter out CVS.
37691         * scripts/list-sources.sh: Remove CVS, subversion and monotone
37692         handling.
37694 2011-11-16  Andreas Schwab  <schwab@redhat.com>
37696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37697         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37698         [USE_AS_STRNCASECMP_L]: Likewise.
37699         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37700         NO_TLS_DIRECT_SEG_REFS.
37701         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37702         Fix argument offsets for non-PIC.
37703         [USE_AS_STRNCASECMP_L]: Likewise.
37704         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37705         NO_TLS_DIRECT_SEG_REFS.
37707 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37709         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37710         O_CLOEXEC.
37711         * locale/loadlocale.c (_nl_load_locale): Likewise.
37713 2011-11-15  Andreas Schwab  <schwab@redhat.com>
37715         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37716         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37717         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37718         (SYSCALL_GETTIME): Set errno on error.
37720         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37721         count references to noai6ai_cached.
37723 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37725         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37727         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37728         FD_CLOEXEC for /proc/self/maps.
37730         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37731         FD_CLOEXEC for /proc/meminfo.
37733         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37734         gai.conf.
37736         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
37737         FD_CLOEXEC for given file.
37739         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37741         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37742         FD_CLOEXEC for /etc/hosts.
37743         (_gethtent): Likewise.
37745         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37747         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37748         cancellation and set FD_CLOEXEC for /etc/netgroup.
37750         * nss/nss_files/files-key.c (search): Don't allow cancellation when
37751         reading /etc/publickey.
37753         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37754         allow cancellation when reading /etc/group.
37756         * nss/nss_files/files-alias.c (internal_setent): Don't allow
37757         cancellation.
37758         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
37760         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37761         when using data file.
37763         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37765         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37766         (write_nis_obj): Use "c" and "e" in fopen.
37768         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37770         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37772         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37774         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37776         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37777         locale.alias.
37779         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37781         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37783         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37785         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37786         file parsing and set FD_CLOEXEC.
37788 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37790         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37792 2011-11-14  Andreas Schwab  <schwab@redhat.com>
37794         * malloc/arena.c (arena_get2): Don't call reused_arena when
37795         _int_new_arena failed.
37797 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37799         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37800         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37801         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37802         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37803         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37804         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37805         to compile strcasecmp and strncasecmp.
37806         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37807         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37809         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37811 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
37813         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37814         locale-defines.sym to gen-as-const-headers.
37815         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37816         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37818         to compile strcasecmp and strncasecmp.
37819         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37820         strcasecmp_l and strncasecmp_l.
37821         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37822         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37823         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37824         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37825         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37826         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37827         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37828         * sysdeps/i386/i686/multiarch/strncase.S: New file.
37829         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37830         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37831         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37833 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
37835         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37836         result of SYSDEP_GETTIME_CPU to retval.
37837         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37838         parameter list to macro.  Remove trailing semicolon.  Adjust users.
37840         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37841         variable.
37843         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37844         mantissa words.
37845         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37847         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37848         from unused variable.
37850         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37851         DWARF definitions.
37852         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37853         for assembling.
37855         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37856         over namespaces.
37858         * sunrpc/rpc_prot.c (rejected): Fix case value.
37860         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37861         unsigned long long int to avoid warnings in shift.
37863         * posix/regex_internal.c (re_string_reconstruct): Actually use result
37864         of use of trans.
37865         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37866         variable tmp.
37868         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37869         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37870         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37872         * nis/nis_table.c (nis_list): Use variable of correct type for
37873         result of __follow_path call.
37875 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37877         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37878         of math functions ceil, trunc, floor, round, and sqrt, when
37879         avaliable on the platform.
37880         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37881         name clash.
37882         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37883         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37884         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37886 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
37888         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37889         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37891 2011-11-11  Roland McGrath  <roland@hack.frob.com>
37893         * include/unistd.h: Fix __readlink return type.
37894         Reported by Chris Metcalf <cmetcalf@tilera.com>.
37896 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
37898         * stdlib/ucontext.h: Undo last change for makecontext.
37900 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37902         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37904         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37905         * setjmp/setjmp.h: Mark functions as non-leaf.
37906         * setjmp/bits/setjmp2.h: Likewise.
37907         * stdlib/ucontext.h: Likewise.
37909 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37911         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37912         (reused_arena): Don't check arena limit.
37913         (arena_get2): Atomically check arena limit.
37915 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37917         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37918         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37921         instructions.
37923 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37925         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37926         handler when locking.
37928         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37929         Fix size of allocated buffer.
37931 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37933         [BZ #10103]
37934         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37935         declarations for long double functions.
37936         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37938         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37940 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37942         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37943         installed.
37945         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37946         is disabled.
37948 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37950         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37952 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37954         * include/alloca.h (stackinfo_alloca_round): Define.
37955         (extend_alloca): Use it.
37956         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37957         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37958         here.
37960         * scripts/check-local-headers.sh: Ignore libaudit.h.
37962         * nscd/Makefile (extra-objs): Make recursively expanded.
37964 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37966         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37967         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37969         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37970         * posix/tst-rfc3484-2.c: Likewise.
37971         * posix/tst-rfc3484-3.c: Likewise.
37973         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37974         process_vm_writev.
37975         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37976         process_vm_writev.
37977         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37978         process_vm_writev from libc using GLIBC_2.15 version.
37980         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37982 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37984         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37985         stack usage.
37987 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37989         [BZ #13367]
37990         * nss/getent.c (initgroups_keys): Show error message in case no group
37991         names are given.
37993         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37994         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37995         __bump_nl_timestamp.
37996         * nscd/connections (nscd_init): When host database is served open
37997         netlink socket and request notification about configuration changes.
37998         (main_loop_poll): Track netlink file descriptor and bump timestamp
37999         in case data becomes available.
38000         (main_loop_epoll): Likewise.
38001         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38002         (database_pers_head): Add extra_data fileds.
38003         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38004         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38005         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38006         Adjust caller.
38007         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38008         in6ai data, call __free_in6ai.
38009         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38010         Add -DHAVE_NETLINK.
38011         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38012         interface information.  Reuse previous data if netlink timestamp
38013         is not changed.
38014         (__bump_nl_timestamp): New function.
38015         (__free_in6ai): New function.
38017 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38019         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38020         close_not_cancel_no_status here.
38021         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38023 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38025         [BZ #13276]
38026         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38027         return value.
38029         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38030         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38031         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38033 2011-07-03  Andreas Jaeger  <aj@suse.de>
38035         [BZ #10709]
38036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38037         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38038         * math/libm-test.inc (sin_test): Add test case.
38040 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38042         [BZ #13337]
38043         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38044         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38046         * elf/chroot_canon.c (chroot_canon): Cleanups.
38048         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38050         [BZ #13335]
38051         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38052         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38054         * string/test-strchr.c: Make usable for strchrnul testing.
38055         * string/test-strchrnul.c: New file.
38056         * string/Makefile (strop-tests): Add strchrnul.
38058         * po/it.po: Update from translation team.
38059         * po/es.po: Likewise.
38061 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38063         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38064         the three constants needed as parameters.  Drop the others.
38065         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38066         __m128i_strloadu_tolower.
38067         Create and initialize variable zero and use it in all the places
38068         where _mm_setzero_si128 was used.
38070         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38071         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38072         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38073         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38074         anymore.
38075         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38076         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38077         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38078         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38079         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38080         __mpranred, __mptan.
38081         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38082         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38083         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38084         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38085         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38086         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38087         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38088         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38089         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38091 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38093         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38094         redefine if SHARED.
38095         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38098         wide char related routines to wcsmbs subdir.
38100 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38102         [BZ #13344]
38103         * misc/sys/cdefs.h (__THROWNL): Define.
38104         * posix/unistd.h: Use __THREADNL instead of __THREAD
38105         for memory synchronization functions.
38107 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38109         [BZ #13349]
38110         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38111         doesn't exist.
38112         * manual/stdio.texi (Obstack Streams): Node removed.
38114 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38116         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38117         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38118         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38120         * math/math_private.h (math_force_eval): Allow non-addressable
38121         arguments.
38122         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38124 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38126         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38127         file is not needed.
38129         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38131         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38132         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38133         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38134         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38135         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38136         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38137         Add AVX variants.
38138         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38139         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38140         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38141         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38142         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38143         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38144         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38145         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38146         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38147         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38148         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38149         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38150         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38151         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38152         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38153         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38154         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38155         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38156         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38158         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38159         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38161         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38162         place.  Use VEX encoding when compiling for AVX.
38164 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38166         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38167         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38169         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38171 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38173         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38174         useless if() expression.
38175         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38176         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38177         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38178         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38179         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38180         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38181         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38183         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38184         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38185         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38186         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38187         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38188         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38189         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38190         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38191         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38192         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38193         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38195         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38197 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38199         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38200         condition.
38201         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38203 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38205         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38206         .text section.  Avoid duplicate constants.
38207         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38208         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38209         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38211         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38215         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38216         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38217         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38218         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38219         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38220         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38221         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38222         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38223         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38224         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38225         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38226         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38227         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38228         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38229         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38230         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38231         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38232         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38233         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38234         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38235         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38236         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38237         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38238         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38239         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38240         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38241         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38242         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38243         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38244         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38245         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38246         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38247         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38248         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38249         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38250         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38251         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38253 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
38255         * sysdeps/x86_64/dla.h: Move to ...
38256         * sysdeps/x86_64/fpu/dla.h: ...here.
38257         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38258         situations.  Use __builtin_fma only for gcc 4.6 and up.
38260         * config.make.in: Add have-mfma4 entry.
38261         * configure.in: Substitute libc_cv_cc_fma4.
38262         * math/Makefile (dbl-only-routines): Add sincostab.
38263         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38264         Use __sincostab not sincos.
38265         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38266         name is a macro.
38267         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38268         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38269         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38270         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
38271         using __copysign.
38272         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
38273         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
38274         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38275         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38276         and __inv.
38277         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38278         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38279         __copysign.
38280         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
38281         define aliases when function name is a macro.
38282         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38283         sysdeps/ieee754/dbl-64/sincos.tbl.
38284         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38285         fma4-enabled routines.
38286         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38287         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38288         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38289         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38290         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38291         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38292         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38293         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38294         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38295         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38296         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38297         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38298         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38299         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38300         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38301         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38302         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38303         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38304         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38306         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38307         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38308         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38309         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38310         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38311         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38312         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38313         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38314         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38315         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38317         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38318         rename.
38319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38328 2011-10-24  Andreas Schwab  <schwab@redhat.com>
38330         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38332 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38334         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38336         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38337         prediction.
38338         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38340         * string/strnlen.c: Don't define STRNLEN, reverse logic.
38341         Remove unused variable magic_bits.
38342         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38344         * string/strnlen.c: Define and use STRNLEN macro.
38345         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38346         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38347         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38348         * wcsmbs/wcslen.c: Define and use WCSLEN.
38349         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38350         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38351         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38352         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38353         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38354         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38355         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38357 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38360         strnlen-sse2-no-bsf.
38361         Rename strlen-no-bsf to strlen-sse2-no-bsf.
38362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38363         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38364         Add strnlen support.
38365         (USE_AS_STRNLEN): New macro.
38366         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38367         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38368         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38369         * sysdeps/x86_64/wcslen.S: New file.
38371 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
38373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38374         XMM-moves are used for copying on small sizes.
38376 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38378         * wcsmbs/Makefile (strop-tests): Add wcschr.
38379         * wcsmbs/test-wcschr.c: New file.
38380         * string/test-strchr.c: Update.
38381         Add wcschr support.
38382         (WIDE): New macro.
38384 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38386         * wcsmbs/Makefile (strop-tests): Add wcslen.
38387         * wcsmbs/test-wcslen.c: New file.
38388         * string/test-strlen.c: Update.
38389         Add wcslen support.
38390         (WIDE): New macro.
38392 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38394         * po/it.po: Update from translation team.
38396 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38398         * sysdeps/x86_64/wcscmp.S: Update.
38399         Fix wrong comparison semantics.
38400         wcscmp shall use signed comparison not unsigned.
38401         Don't use substraction to avoid overflow bug.
38402         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38403         * wcsmbc/wcscmp.c: Likewise.
38404         * string/test-strcmp.c: Likewise.
38405         Add new tests to check cases with negative values.
38407 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38409         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38410         * sysdeps/x86_64/dla.h: ...here.  New file.
38411         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38413         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38414         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38416         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38417         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38418         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38421 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
38423         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38424         __ynl_finite aliases.
38426 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38430         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38431         define DLA_FMA.
38432         [DLA_FMA] (EMULV): Use DLA_FMA.
38433         [DLA_FMA] (MUL12): Use EMULV.
38434         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38435         that are not needed.
38436         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38437         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38438         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38439         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38441         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38442         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38444 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
38446         * math/s_nan.c: Undef __nan.
38447         * math/s_nanf.c: Undef __nanf.
38448         * math/s_nanl.c: Undef __nanl.
38449         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38450         "math_private.h".
38452 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38454         * math/s_catan.c: Add branch predictions.
38455         * math/s_catanf.c: Likewise.
38456         * math/s_catanh.c: Likewise.
38457         * math/s_catanhf.c: Likewise.
38458         * math/s_catanhl.c: Likewise.
38459         * math/s_catanl.c: Likewise.
38460         * math/s_cexp.c: Likewise.
38461         * math/s_cexpf.c: Likewise.
38462         * math/s_cexpl.c: Likewise.
38463         * math/s_clog.c: Likewise.
38464         * math/s_clog10.c: Likewise.
38465         * math/s_clog10f.c: Likewise.
38466         * math/s_clog10l.c: Likewise.
38467         * math/s_clogf.c: Likewise.
38468         * math/s_clogl.c: Likewise.
38469         * math/s_csqrt.c: Likewise.
38470         * math/s_csqrtf.c: Likewise.
38471         * math/s_csqrtl.c: Likewise.
38472         * math/s_ctanf.c: Likewise.
38473         * math/s_ctanh.c: Likewise.
38474         * math/s_ctanhf.c: Likewise.
38475         * math/s_ctanhl.c: Likewise.
38476         * math/s_ctanl.c: Likewise.
38478         * math/math_private.h: Define __nan, __nanf, __nanl.
38479         * math/s_cacosh.c: Include <math_private.h>.
38480         * math/s_cacoshl.c: Likewise.
38481         * math/s_casinh.c: Likewise.
38482         * math/s_casinhf.c: Likewise.
38483         * math/s_casinhl.c: Likewise.
38484         * math/s_ccos.c: Rely entire on ccosh.
38485         * math/s_ccosf.c: Rely entire on ccoshf.
38486         * math/s_ccosl.c: Rely entirely on ccoshl.
38487         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
38488         Remove tests for FE_INVALID.
38489         * math/s_ccoshf.c: Likewise.
38490         * math/s_ccoshl.c: Likewise.
38491         * math/s_csin.c: Likewise.
38492         * math/s_csinf.c: Likewise.
38493         * math/s_csinh.c Likewise.
38494         * math/s_csinhf.c: Likewise.
38495         * math/s_csinhl.c: Likewise.
38496         * math/s_csinl.c: Likewise.
38497         * math/s_ctan.c: Likewise.
38498         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38499         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38500         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38502 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
38504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38505         compilation problems.
38507         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38508         __builtin_expect.
38510 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
38512         * sysdeps/i386/configure.in: Test for -mfma4 option.
38513         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38514         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38515         COMMON_CPUID_INDEX_80000001.
38516         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38517         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38518         use it if FMA3 is not supported.
38519         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38521         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38522         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38524 2011-10-20  Andreas Schwab  <schwab@redhat.com>
38526         [BZ #12892]
38527         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38528         it would create a cycle with a link time dependency.
38530 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
38532         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38533         instruction.
38534         * string/Makefile (strop-tests): Add rawmemchr.
38535         * string/test-rawmemchr.c: New file.
38537         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
38539         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
38540         when compiling str{,n}casecmp and when AVX is available.  Hook up
38541         new optimized code in initializers.
38543 2011-10-19  Andreas Schwab  <schwab@redhat.com>
38545         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38546         __feraiseexcept instead of feraiseexcept.
38548 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
38550         * math/math_private.h: Define defaults for libc_fetestexcept and
38551         libc_feupdateenv.
38552         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38553         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38554         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38555         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38556         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38557         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38558         libc_fetestexcept and libc_feupdateenv.
38560         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38561         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38562         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38563         * sysdeps/x86_64/fpu/math_private.h: Define special version of
38564         libc_feholdexcept_setround.
38566         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38567         Add s_nearbyint-c and s_nearbyintf-c.
38568         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38569         nearbyintf inlines.
38570         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38571         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38572         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38573         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38575         * math/math_private.h: Define defaults for libc_fegetround,
38576         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38577         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38578         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38579         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38580         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38581         standard functions.
38582         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38583         Remove comments and hacks for old compiler versions.
38584         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38585         libc_fegetround, libc_fesetround, libc_feholdexcept, and
38586         libc_feholdexceptl.
38588 2011-10-18  Andreas Schwab  <schwab@redhat.com>
38590         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38591         (__feraiseexcept_renamed): Add __NTH.
38592         (feraiseexcept): Add __NTH.  Rename local variables to fix
38593         namespace violations.
38595 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
38597         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38599         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38601         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38602         recently added interfaces.
38603         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38605         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38606         about macro parameter expansion.
38608         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38609         __NO_MATH_INLINES is defined.  Cleanups.
38611         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38612         and __floorf is target has SSE4.1.
38613         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38614         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38615         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38616         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38618         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38619         name.
38620         (floorf): Likewise.
38622         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38624 2011-10-17  Andreas Schwab  <schwab@redhat.com>
38626         * misc/sys/cdefs.h: Fix last change.
38628         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38629         database lookup.
38631 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
38633         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38635         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38636         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38637         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38638         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38639         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38640         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38641         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38642         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38643         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38644         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38645         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38646         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38647         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38648         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38649         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38650         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38651         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38652         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38653         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38654         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38655         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38656         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38658         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38659         ceil, ceilf, floor, floorf.
38661         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38662         Perform IRELATIVE relocations last.
38664         * elf/do-rel.h: Add another parameter nrelative, replacing the
38665         local variable with the same name.  Change name of the function
38666         to end in Rel or Rela (uppercase).
38667         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38668         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
38669         elf_dynamic_do_##reloc function.
38671 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38673         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38674         is sufficient, at least on modern CPUs.
38676         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38678         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38679         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38681         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38682         __expl_finite.
38683         * math/bits/math-finite.h: Add entries for exp.
38684         * math/e_expl.c: Add __*_finite alias.
38685         * sysdeps/i386/fpu/e_exp.S: Likewise.
38686         * sysdeps/i386/fpu/e_expf.S: Likewise.
38687         * sysdeps/i386/fpu/e_expl.c: Likewise.
38688         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38689         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38690         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38691         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38692         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38693         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38694         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38696         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38697         is sufficient, at least on modern CPUs.
38699         * ctype/ctype-info.c (__ctype_init): Define.
38700         * include/ctype.h (__ctype_init): Declare.
38701         (__ctype_b_loc): The variable is always initialized.
38702         (__ctype_toupper_loc): Likewise.
38703         (__ctype_tolower_loc): Likewise.
38704         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38705         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38707 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
38709         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38711         * configure.in: Also look in $cxxmachine/include for C++ system
38712         headers.
38714 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38716         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38717         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38718         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38719         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
38720         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38721         (USE_AS_WMEMCMP): New macro.
38722         Fixing indents.
38723         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38724         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38725         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38726         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38727         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38728         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38729         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38730         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38731         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38732         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38733         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38734         (USE_AS_WMEMCMP): New macro.
38735         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38736         * sysdeps/string/test-memcmp.c: Update.
38737         Fix simple_wmemcmp.
38738         Add new tests.
38739         * wcsmbs/wmemcmp.c: Update.
38740         (WMEMCMP): New macro.
38741         Fix overflow bug.
38743 2011-10-12  Andreas Jaeger  <aj@suse.de>
38745         [BZ #13268]
38746         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38748 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38750         * libio/iofwide.c (do_length): Avoid warning.
38752         * ctype/ctype.h (__isctype_f): Add missing __THROW.
38754 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
38756         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38758         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38759         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38760         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38761         * sysdeps/i386/i686/fpu/e_log.S: New file.
38762         * sysdeps/i386/i686/fpu/e_logf.S: New file.
38763         * sysdeps/i386/i686/fpu/e_logl.S: New file.
38765         * ctype/ctype.h: Add support for inlined isXXX functions when
38766         compiling C++ code.
38768 2011-10-14  Andreas Schwab  <schwab@redhat.com>
38770         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38772         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38774 2011-10-13  Roland McGrath  <roland@hack.frob.com>
38776         [BZ #13291]
38777         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38779 2011-10-13  Andreas Schwab  <schwab@redhat.com>
38781         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38782         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38783         feraiseexcept.
38785         * sysdeps/x86_64/memrchr.S: Check for zero size.
38787         * string/stratcliff.c: Add memrchr tests.
38789 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38791         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38792         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38793         rawmemchr-sse2 rawmemchr-sse2-bsf.
38794         * sysdeps/i386/i686/multiarch/memchr.S: New file.
38795         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38796         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38797         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38798         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38799         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38800         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38801         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38802         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38803         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38804         * string/memrchr.c (MEMRCHR): New macro.
38806 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
38808         Add integration with gcc's -ffinite-math-only and optimize wrapper
38809         functions in libm.
38810         * Versions.def: Define GLIBC_2.15 version for libm.
38811         * math/Makefile (headers): Add bits/math-finite.h.
38812         * math/bits/math-finite.h: New file.
38813         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38814         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38815         * math/e_acoshl.c: Add __*_finite alias.
38816         * math/e_acosl.c: Likewise.
38817         * math/e_asinl.c: Likewise.
38818         * math/e_atan2l.c: Likewise.
38819         * math/e_atanhl.c: Likewise.
38820         * math/e_coshl.c: Likewise.
38821         * math/e_exp10.c: Likewise.
38822         * math/e_exp10f.c: Likewise.
38823         * math/e_exp10l.c: Likewise.
38824         * math/e_exp2l.c: Likewise.
38825         * math/e_fmodl.c: Likewise.
38826         * math/e_gammal_r.c: Likewise.
38827         * math/e_hypotl.c: Likewise.
38828         * math/e_j0l.c: Likewise.
38829         * math/e_j1l.c: Likewise.
38830         * math/e_jnl.c: Likewise.
38831         * math/e_lgammal_r.c: Likewise.
38832         * math/e_log10l.c: Likewise.
38833         * math/e_log2l.c: Likewise.
38834         * math/e_logl.c: Likewise.
38835         * math/e_powl.c: Likewise.
38836         * math/e_sinhl.c: Likewise.
38837         * math/e_sqrtl.c: Likewise.
38838         * math/e_scalb.c: Completely rewritten and optimized.
38839         * math/e_scalbf.c: Likewise.
38840         * math/e_scalbl.c: Likewise.
38841         * math/w_acos.c: Likewise.
38842         * math/w_acosf.c: Likewise.
38843         * math/w_acosl.c: Likewise.
38844         * math/w_acosh.c: Likewise.
38845         * math/w_acoshf.c: Likewise.
38846         * math/w_acoshl.c: Likewise.
38847         * math/w_asin.c: Likewise.
38848         * math/w_asinf.c: Likewise.
38849         * math/w_asinl.c: Likewise.
38850         * math/w_atan2.c: Likewise.
38851         * math/w_atan2f.c: Likewise.
38852         * math/w_atan2l.c: Likewise.
38853         * math/w_atanh.c: Likewise.
38854         * math/w_atanhf.c: Likewise.
38855         * math/w_atanhl.c: Likewise.
38856         * math/w_exp10.c: Likewise.
38857         * math/w_exp10f.c: Likewise.
38858         * math/w_exp10l.c: Likewise.
38859         * math/w_fmod.c: Likewise.
38860         * math/w_fmodf.c: Likewise.
38861         * math/w_fmodl.c: Likewise.
38862         * math/w_j0.c: Likewise.
38863         * math/w_j0f.c: Likewise.
38864         * math/w_j0l.c: Likewise.
38865         * math/w_j1.c: Likewise.
38866         * math/w_j1f.c: Likewise.
38867         * math/w_j1l.c: Likewise.
38868         * math/w_jn.c: Likewise.
38869         * math/w_jnf.c: Likewise.
38870         * math/w_log.c: Likewise.
38871         * math/w_logf.c: Likewise.
38872         * math/w_logl.c: Likewise.
38873         * math/w_log10.c: Likewise.
38874         * math/w_log10f.c: Likewise.
38875         * math/w_log10l.c: Likewise.
38876         * math/w_log2.c: Likewise.
38877         * math/w_log2f.c: Likewise.
38878         * math/w_log2l.c: Likewise.
38879         * math/w_pow.c: Likewise.
38880         * math/w_powf.c: Likewise.
38881         * math/w_powl.c: Likewise.
38882         * math/w_remainder.c: Likewise.
38883         * math/w_remainderf.c: Likewise.
38884         * math/w_remainderl.c: Likewise.
38885         * math/w_scalb.c: Likewise.
38886         * math/w_scalbf.c: Likewise.
38887         * math/w_scalbl.c: Likewise.
38888         * math/w_sqrt.c: Likewise.
38889         * math/w_sqrtf.c: Likewise.
38890         * math/w_sqrtl.c: Likewise.
38891         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38892         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
38893         used.
38894         * math/math_private.h: Declare __kernel_standard_f.
38895         * math/w_cosh.c: Remove cruft and optimize a bit.
38896         * math/w_coshf.c: Likewise.
38897         * math/w_coshl.c: Likewise.
38898         * math/w_exp2.c: Likewise.
38899         * math/w_exp2f.c: Likewise.
38900         * math/w_exp2l.c: Likewise.
38901         * math/w_hypot.c: Likewise.
38902         * math/w_hypotf.c: Likewise.
38903         * math/w_hypotl.c: Likewise.
38904         * math/w_lgamma.c: Likewise.
38905         * math/w_lgamma_r.c: Likewise.
38906         * math/w_lgammaf.c: Likewise.
38907         * math/w_lgammaf_r.c: Likewise.
38908         * math/w_lgammal.c: Likewise.
38909         * math/w_lgammal_r.c: Likewise.
38910         * math/w_sinh.c: Likewise.
38911         * math/w_sinhf.c: Likewise.
38912         * math/w_sinhl.c: Likewise.
38913         * math/w_tgamma.c: Likewise.
38914         * math/w_tgammaf.c: Likewise.
38915         * math/w_tgammal.c: Likewise.
38916         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38917         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38918         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38919         Minor optimizations.  Pretty printing.  Remove cruft.
38920         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38921         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38922         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38923         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38924         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38925         * sysdeps/i386/fpu/e_asin.S: Likewise.
38926         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38927         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38928         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38929         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38930         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38931         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38932         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38933         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38934         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38935         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38936         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38937         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38938         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38939         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38940         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38941         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38942         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38943         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38944         * sysdeps/i386/fpu/e_log.S: Likewise.
38945         * sysdeps/i386/fpu/e_log10.S: Likewise.
38946         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38947         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38948         * sysdeps/i386/fpu/e_log2.S: Likewise.
38949         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38950         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38951         * sysdeps/i386/fpu/e_logf.S: Likewise.
38952         * sysdeps/i386/fpu/e_logl.S: Likewise.
38953         * sysdeps/i386/fpu/e_pow.S: Likewise.
38954         * sysdeps/i386/fpu/e_powf.S: Likewise.
38955         * sysdeps/i386/fpu/e_powl.S: Likewise.
38956         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38957         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38958         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38959         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38960         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38961         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38962         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38963         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38964         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38965         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38966         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38967         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38968         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38969         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38970         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38971         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38972         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38973         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38974         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38975         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38976         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38977         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38978         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38979         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38980         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38981         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38982         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38983         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38984         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38985         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38986         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38987         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38988         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38989         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38990         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38991         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38992         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38993         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38994         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38995         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38996         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38997         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38998         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38999         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39000         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39001         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39002         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39003         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39004         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39005         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39006         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39007         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39008         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39011         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39015         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39016         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39017         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39018         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39020         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39030         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39035         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39037         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39039         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39040         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39045         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39048         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39050         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39051         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39053         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39054         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39055         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39056         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39057         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39058         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39059         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39060         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39061         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39062         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39063         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39064         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39065         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39066         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39067         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39068         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39069         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39070         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39071         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39072         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39073         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39074         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39075         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39076         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39077         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39078         (__isnanf): Likewise.
39079         (__isinf_ns): Likewise.
39080         (__isinf_nsf): Likewise.
39081         (__finite): Likewise.
39082         (__finitef): Likewise.
39083         (__ieee754_sqrt): Define as macro.
39084         (__ieee754_sqrtf): Define as macro.
39085         (__ieee754_sqrtl): Define as macro.
39086         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39087         inlined copy.
39088         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39089         __FINITE_MATH_ONLY__ consistent.
39090         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39092 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39094         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39095         of rawmemchr.
39097         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39099 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39101         * po/ja.po: Update from translation team.
39103 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39105         * locale/programs/locarchive.c (prepare_address_space): New function.
39106         (create_archive, enlarge_archive, open_archive): Use it.
39108         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39109         inside [SHARED], where it is used.
39111         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39113         * nss/getent.c (netgroup_keys): Remove unused variable.
39114         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39116 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39118         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39119         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39121         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39122         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39123         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39124         * math/Makefile (libm-calls): Add s_isinf_ns.
39125         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39126         * math/multc3.c: Likewise.
39127         * math/s_casin.c: Likewise.
39128         * math/s_casinf.c: Likewise.
39129         * math/s_casinl.c: Likewise.
39130         * math/s_ccos.c: Likewise.
39131         * math/s_ccosf.c: Likewise.
39132         * math/s_ccosl.c: Likewise.
39133         * math/s_ctan.c: Likewise.
39134         * math/s_ctanf.c: Likewise.
39135         * math/s_ctanh.c: Likewise.
39136         * math/s_ctanhf.c: Likewise.
39137         * math/s_ctanhl.c: Likewise.
39138         * math/s_ctanl.c: Likewise.
39139         * math/w_fmod.c: Likewise.
39140         * math/w_fmodf.c: Likewise.
39141         * math/w_fmodl.c: Likewise.
39142         * math/w_remainder.c: Likewise.
39143         * math/w_remainderf.c: Likewise.
39144         * math/w_remainderl.c: Likewise.
39145         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39146         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39147         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39148         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39149         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39150         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39151         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39152         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39154         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39155         of the number.
39156         * stdio-common/printf_fphex.c: Likewise.
39157         * stdio-common/printf_size.c: Likewise.
39159         * math/e_exp10.c: Include math_private.h using <...> not "...".
39160         * math/e_exp10f.c: Likewise.
39161         * math/e_exp10l.c: Likewise.
39162         * math/e_exp2l.c: Likewise.
39163         * math/e_j0l.c: Likewise.
39164         * math/e_j1l.c: Likewise.
39165         * math/e_jnl.c: Likewise.
39166         * math/e_lgammal_r.c: Likewise.
39167         * math/e_rem_pio2l.c: Likewise.
39168         * math/e_scalb.c: Likewise.
39169         * math/e_scalbf.c: Likewise.
39170         * math/e_scalbl.c: Likewise.
39171         * math/k_cosl.c: Likewise.
39172         * math/k_sinl.c: Likewise.
39173         * math/k_tanl.c: Likewise.
39174         * math/s_cacoshf.c: Likewise.
39175         * math/s_catan.c: Likewise.
39176         * math/s_catanf.c: Likewise.
39177         * math/s_catanh.c: Likewise.
39178         * math/s_catanhf.c: Likewise.
39179         * math/s_catanhl.c: Likewise.
39180         * math/s_catanl.c: Likewise.
39181         * math/s_ccosh.c: Likewise.
39182         * math/s_ccoshf.c: Likewise.
39183         * math/s_ccoshl.c: Likewise.
39184         * math/s_cexp.c: Likewise.
39185         * math/s_cexpf.c: Likewise.
39186         * math/s_cexpl.c: Likewise.
39187         * math/s_clog.c: Likewise.
39188         * math/s_clog10.c: Likewise.
39189         * math/s_clog10f.c: Likewise.
39190         * math/s_clog10l.c: Likewise.
39191         * math/s_clogf.c: Likewise.
39192         * math/s_clogl.c: Likewise.
39193         * math/s_csin.c: Likewise.
39194         * math/s_csinf.c: Likewise.
39195         * math/s_csinh.c: Likewise.
39196         * math/s_csinhf.c: Likewise.
39197         * math/s_csinhl.c: Likewise.
39198         * math/s_csinl.c: Likewise.
39199         * math/s_csqrt.c: Likewise.
39200         * math/s_csqrtf.c: Likewise.
39201         * math/s_csqrtl.c: Likewise.
39202         * math/s_ctan.c: Likewise.
39203         * math/s_ctanf.c: Likewise.
39204         * math/s_ctanh.c: Likewise.
39205         * math/s_ctanhf.c: Likewise.
39206         * math/s_ctanhl.c: Likewise.
39207         * math/s_ctanl.c: Likewise.
39208         * math/s_ldexp.c: Likewise.
39209         * math/s_ldexpf.c: Likewise.
39210         * math/s_ldexpl.c: Likewise.
39211         * math/s_significand.c: Likewise.
39212         * math/s_significandf.c: Likewise.
39213         * math/s_significandl.c: Likewise.
39214         * math/w_acos.c: Likewise.
39215         * math/w_acosf.c: Likewise.
39216         * math/w_acosh.c: Likewise.
39217         * math/w_acoshf.c: Likewise.
39218         * math/w_acoshl.c: Likewise.
39219         * math/w_acosl.c: Likewise.
39220         * math/w_asin.c: Likewise.
39221         * math/w_asinf.c: Likewise.
39222         * math/w_asinl.c: Likewise.
39223         * math/w_atan2.c: Likewise.
39224         * math/w_atan2f.c: Likewise.
39225         * math/w_atan2l.c: Likewise.
39226         * math/w_atanh.c: Likewise.
39227         * math/w_atanhf.c: Likewise.
39228         * math/w_atanhl.c: Likewise.
39229         * math/w_cosh.c: Likewise.
39230         * math/w_coshf.c: Likewise.
39231         * math/w_coshl.c: Likewise.
39232         * math/w_dremf.c: Likewise.
39233         * math/w_exp10.c: Likewise.
39234         * math/w_exp10f.c: Likewise.
39235         * math/w_exp10l.c: Likewise.
39236         * math/w_exp2.c: Likewise.
39237         * math/w_exp2f.c: Likewise.
39238         * math/w_fmod.c: Likewise.
39239         * math/w_fmodf.c: Likewise.
39240         * math/w_fmodl.c: Likewise.
39241         * math/w_hypot.c: Likewise.
39242         * math/w_hypotf.c: Likewise.
39243         * math/w_hypotl.c: Likewise.
39244         * math/w_j0.c: Likewise.
39245         * math/w_j0f.c: Likewise.
39246         * math/w_j0l.c: Likewise.
39247         * math/w_j1.c: Likewise.
39248         * math/w_j1f.c: Likewise.
39249         * math/w_j1l.c: Likewise.
39250         * math/w_jn.c: Likewise.
39251         * math/w_jnf.c: Likewise.
39252         * math/w_jnl.c: Likewise.
39253         * math/w_lgamma.c: Likewise.
39254         * math/w_lgamma_r.c: Likewise.
39255         * math/w_lgammaf.c: Likewise.
39256         * math/w_lgammaf_r.c: Likewise.
39257         * math/w_lgammal.c: Likewise.
39258         * math/w_lgammal_r.c: Likewise.
39259         * math/w_log.c: Likewise.
39260         * math/w_log10.c: Likewise.
39261         * math/w_log10f.c: Likewise.
39262         * math/w_log10l.c: Likewise.
39263         * math/w_log2.c: Likewise.
39264         * math/w_log2f.c: Likewise.
39265         * math/w_log2l.c: Likewise.
39266         * math/w_logf.c: Likewise.
39267         * math/w_logl.c: Likewise.
39268         * math/w_pow.c: Likewise.
39269         * math/w_powf.c: Likewise.
39270         * math/w_powl.c: Likewise.
39271         * math/w_remainder.c: Likewise.
39272         * math/w_remainderf.c: Likewise.
39273         * math/w_remainderl.c: Likewise.
39274         * math/w_scalb.c: Likewise.
39275         * math/w_scalbf.c: Likewise.
39276         * math/w_scalbl.c: Likewise.
39277         * math/w_sinh.c: Likewise.
39278         * math/w_sinhf.c: Likewise.
39279         * math/w_sinhl.c: Likewise.
39280         * math/w_sqrt.c: Likewise.
39281         * math/w_sqrtf.c: Likewise.
39282         * math/w_sqrtl.c: Likewise.
39283         * math/w_tgamma.c: Likewise.
39284         * math/w_tgammaf.c: Likewise.
39285         * math/w_tgammal.c: Likewise.
39287         * po/ja.po: Update from translation team.
39289 2011-09-29  Andreas Jaeger  <aj@suse.de>
39291         [BZ #13179]
39292         * sunrpc/netname.c (netname2host): Fix logic.
39294         [BZ #6779]
39295         [BZ #6783]
39296         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39297         correctly.
39298         * math/w_remainder.c (__remainder): Likewise.
39299         * math/w_remainderf.c (__remainderf): Likewise.
39300         * math/libm-test.inc (remainder_test): Add test cases.
39302 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39304         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
39305         sdiv_qrnnd.
39307 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39309         * string/test-memcmp.c: Avoid unncessary #defines.
39310         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39312 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39314         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39315         Use new sse2 version for core i3 - i7 as it's faster
39316         than sse42 version.
39317         (bit_Prefer_PMINUB_for_stringop): New.
39318         * sysdeps/x86_64/rawmemchr.S: Update.
39319         Replace with faster SSE2 version.
39320         * sysdeps/x86_64/memrchr.S: New file.
39321         * sysdeps/x86_64/memchr.S: Update.
39322         Replace with faster SSE2 version.
39324 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
39326         * elf/dl-load.c (lose): Add cast to avoid warning.
39328 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39330         * po/ca.po: Update from translation team.
39332         * inet/getnetgrent_r.c: Hook up nscd.
39333         * nscd/Makefile (routines): Add nscd_netgroup.
39334         (nscd-modules): Add netgroupcache.
39335         (CFLAGS-netgroupcache.c): Define.
39336         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39337         (cache_search): Add const to second parameter.
39338         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39339         INNETGR.
39340         (dbs): Add netgrdb entry.
39341         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39342         (verify_persistent_db): Handle netgrdb.
39343         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39344         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39345         GETFDNETGR.
39346         (netgroup_response_header): Define.
39347         (innetgroup_response_header): Define.
39348         (datahead): Add netgroup_response_header and innetgroup_response_header
39349         elements.
39350         * nscd/nscd.conf: Add entries for netgroup cache.
39351         * nscd/nscd.h (dbtype): Add netgrdb.
39352         (_PATH_NSCD_NETGROUP_DB): Define.
39353         (netgroup_iov_disabled): Declare.
39354         (xmalloc, xcalloc, xrealloc): Move declarations here.
39355         (cache_search): Adjust prototype.
39356         Add netgroup-related prototypes.
39357         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39358         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39359         (__nscd_innetgr): Declare.
39360         * nscd/selinux.c (perms): Use access_vector_t as element type and
39361         add netgroup-related initializers.
39362         * nscd/netgroupcache.c: New file.
39363         * nscd/nscd_netgroup.c: New file.
39364         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39365         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39366         For four parameters use innetgr.
39367         * nss/nss_files/files-init.c: Add definition and callback for netgr.
39368         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39369         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39370         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39372         * nscd/connections.c (register_traced_file): Don't register file
39373         for disabled databases.
39375 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
39377         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39379         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39380         from tree and freeing node.
39382 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
39384         * nss/nsswitch.c (__nss_database_lookup): Handle
39385         nss_parse_service_list out of memory case.
39387 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
39389         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39390         out of memory case.
39392 2011-10-04  Andreas Schwab  <schwab@redhat.com>
39394         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39395         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39396         pass it down.
39397         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39398         elf_machine_rela, elf_machine_lazy_rel.
39399         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39400         (ELF_DYNAMIC_DO_REL): Likewise.
39401         (ELF_DYNAMIC_DO_RELA): Likewise.
39402         (ELF_DYNAMIC_RELOCATE): Likewise.
39403         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39404         to ELF_DYNAMIC_DO_REL.
39405         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39406         (dl_main): In trace mode always set __RTLD_NOIFUNC.
39407         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39408         elf_machine_rela.
39409         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39410         skip_ifunc, don't call ifunc function if non-zero.
39411         (elf_machine_rela): Likewise.
39412         (elf_machine_lazy_rel): Likewise.
39413         (elf_machine_lazy_rela): Likewise.
39414         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39415         (elf_machine_lazy_rel): Likewise.
39416         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39417         Likewise.
39418         (elf_machine_lazy_rel): Likewise.
39419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39420         Likewise.
39421         (elf_machine_lazy_rel): Likewise.
39422         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39423         (elf_machine_lazy_rel): Likewise.
39424         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39425         (elf_machine_lazy_rel): Likewise.
39426         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39427         (elf_machine_lazy_rel): Likewise.
39428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39429         (elf_machine_lazy_rel): Likewise.
39430         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39431         (elf_machine_lazy_rel): Likewise.
39432         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39433         (elf_machine_lazy_rel): Likewise.
39435 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
39437         * nss/nss_files/files-init.c (_nss_files_init): Use static
39438         initialization for all the *_traced_file variables.
39440 2011-09-28  Andreas Schwab  <schwab@redhat.com>
39442         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39444 2011-09-27  Roland McGrath  <roland@hack.frob.com>
39446         [BZ #13226]
39447         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39449 2011-09-27  Andreas Schwab  <schwab@redhat.com>
39451         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39452         Reread the line before reparsing it.
39454 2011-09-26  Andreas Schwab  <schwab@redhat.com>
39456         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39458 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
39459             Maxim Kuvyrkov  <maxim@codesourcery.com>
39460             Joseph Myers  <joseph@codesourcery.com>
39462         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39463         if needed for __stack_chk_guard.
39465 2011-09-19  Roland McGrath  <roland@hack.frob.com>
39467         * sysdeps/posix/spawni.c (script_execute): Always define it.
39468         It will be optimized away if unused.
39469         (maybe_script_execute): New function.
39470         (__spawni): Call it.
39472         * Makerules: Don't include tls.make.
39473         (config-tls): Always set to thread.
39474         * tls.make.c: File removed.
39476 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
39478         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39479         * config.make.in (CPPFLAGS-config): New substituted variable.
39481 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39483         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39485         [BZ #13192]
39486         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39487         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39489 2011-09-15  Roland McGrath  <roland@hack.frob.com>
39491         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39492         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39494         (CALL_FAIL): Likewise.
39495         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39496         (CALL_FAIL): Macro removed.
39497         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39499 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39501         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39502         for __FINITE_MATH_ONLY__ == 1.
39504 2011-09-15  Andreas Schwab  <schwab@redhat.com>
39506         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39507         __ieee754_sqrt instead of sqrt.
39508         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39509         __ieee754_sqrtf instead of sqrtf.
39510         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39511         __floorf instead of floorf.
39512         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39513         __floorf, __truncf instead of floorf, truncf.
39515 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
39517         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39519         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39520         __extern_always_inline.
39521         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39522         32-bit.
39524 2011-09-14  Andreas Schwab  <schwab@redhat.com>
39526         * elf/rtld.c (dl_main): Also relocate in dependency order when
39527         doing symbol dependency testing.
39529 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
39531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39532         Always define `refsym'.
39534 2011-09-13  Andreas Schwab  <schwab@redhat.com>
39536         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39537         (__FD_ELT): Renamed from __FDELT.
39538         * misc/bits/select2.h (__FD_ELT): Likewise.
39539         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39540         __FD_MASK instead of __FDELT, __FDMASK.
39541         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39542         Likewise.
39543         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39544         Likewise.
39546         * elf/Makefile (gen-ldd): Fix pattern.
39548         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39549         (init_tls): Likewise.
39551 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
39553         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39555 2011-09-12  Andreas Schwab  <schwab@redhat.com>
39557         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39558         `struct cmsghdr *' instead of `void *'.
39559         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39560         Likewise.
39562 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
39564         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39565         if non-absolute.
39566         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39567         ldd_rewrite_script.
39569 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
39571         * configure.in: Remove --with-tls option.
39572         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39573         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39574         out in case it is missing.
39575         * sysdeps/ia64/elf/configure.in: Likewise.
39576         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39577         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39578         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39579         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39580         * sysdeps/sh/elf/configure.in: Likewise.
39581         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39582         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39583         * sysdeps/x86_64/elf/configure.in: Likewise.
39584         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39585         * sysdeps/mach/hurd/tls.h: Likewise.
39587         [BZ #13067]
39588         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39590         [BZ #13090]
39591         * configure.in: Fix use of AC_INIT.
39593         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39595 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
39597         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39598         __set_errno.
39599         * malloc/hooks.c: Likewise.
39601         [BZ #11929]
39602         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
39603         variables statically.
39604         (narenas): Initialize.
39605         (list_lock): Initialize.
39606         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
39607         initializtion of main_arena and list_lock.  Small cleanups.
39608         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39609         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
39610         Add initializers to main_arena and mp_.
39611         (malloc_state): Remove pagesize member.  Change all users to use
39612         GLRO(dl_pagesize).
39614         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39615         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
39616         is always initialized.
39618         * malloc/malloc.c: Removed unused configurations and dead code.
39619         * malloc/arena.c: Likewise.
39620         * malloc/hooks.c: Likewise.
39621         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39623         * include/tls.h: Removed.  USE___THREAD must always be defined.
39624         * bits/libc-tsd.h: Don't handle !USE___THREAD.
39625         * elf/dl-libc.c: Likewise.
39626         * elf/dl-tsd.c: Likewise.
39627         * include/errno.h: Likewise.
39628         * include/netdb.h: Likewise.
39629         * include/resolv.h: Likewise.
39630         * inet/herrno-loc.c: Likewise.
39631         * inet/herrno.c: Likewise.
39632         * malloc/arena.c: Likewise.
39633         * malloc/hooks.c: Likewise.
39634         * malloc/malloc.c: Likewise.
39635         * resolv/res-state.c: Likewise.
39636         * resolv/res_libc.c: Likewise.
39637         * sysdeps/i386/dl-machine.h: Likewise.
39638         * sysdeps/ia64/dl-machine.h: Likewise.
39639         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39640         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39641         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39642         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39643         * sysdeps/sh/dl-machine.h: Likewise.
39644         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39645         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39646         * sysdeps/unix/i386/sysdep.S: Likewise.
39647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39648         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39657         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39658         * sysdeps/x86_64/dl-machine.h: Likewise.
39659         * tls.make.c: Likewise.
39661         * configure.in: Remove --with-__thread option.  Make tests for
39662         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39663         tls_model attribute fail if no support is available.  Remove
39664         USE_IN_LIBIO.
39665         * Makeconfig: Adjust for dropped configure option.  All features are
39666         now mandatory.
39667         * Makerules: Likewise.
39668         * Versions.def: Likewise.
39669         * argp/argp-fmtstream.c: Likewise.
39670         * argp/argp-fmtstream.h: Likewise.
39671         * argp/argp-help.c: Likewise.
39672         * assert/assert.c: Likewise.
39673         * config.h.in: Likewise.
39674         * config.make.in: Likewise.
39675         * configure: Likewise.
39676         * configure.in: Likewise.
39677         * csu/Versions: Likewise.
39678         * csu/init.c: Likewise.
39679         * elf/tst-audit2.c: Likewise.
39680         * elf/tst-tls10.c: Likewise.
39681         * elf/tst-tls10.h: Likewise.
39682         * elf/tst-tls11.c: Likewise.
39683         * elf/tst-tls12.c: Likewise.
39684         * elf/tst-tls14.c: Likewise.
39685         * elf/tst-tlsmod11.c: Likewise.
39686         * elf/tst-tlsmod12.c: Likewise.
39687         * elf/tst-tlsmod13.c: Likewise.
39688         * elf/tst-tlsmod13a.c: Likewise.
39689         * elf/tst-tlsmod14a.c: Likewise.
39690         * elf/tst-tlsmod15b.c: Likewise.
39691         * elf/tst-tlsmod16a.c: Likewise.
39692         * elf/tst-tlsmod16b.c: Likewise.
39693         * elf/tst-tlsmod7.c: Likewise.
39694         * elf/tst-tlsmod8.c: Likewise.
39695         * elf/tst-tlsmod9.c: Likewise.
39696         * gmon/gmon.c: Likewise.
39697         * grp/fgetgrent_r.c: Likewise.
39698         * grp/putgrent.c: Likewise.
39699         * hurd/fopenport.c: Likewise.
39700         * include/libc-symbols.h: Likewise.
39701         * include/tls.h: Likewise.
39702         * intl/gettextP.h: Likewise.
39703         * intl/loadinfo.h: Likewise.
39704         * locale/global-locale.c: Likewise.
39705         * locale/localeinfo.h: Likewise.
39706         * mach/devstream.c: Likewise.
39707         * malloc/arena.c: Likewise.
39708         * malloc/set-freeres.c: Likewise.
39709         * misc/err.c: Likewise.
39710         * misc/getttyent.c: Likewise.
39711         * misc/mntent_r.c: Likewise.
39712         * posix/getopt.c: Likewise.
39713         * posix/wordexp.c: Likewise.
39714         * pwd/fgetpwent_r.c: Likewise.
39715         * resolv/Versions: Likewise.
39716         * resolv/res_hconf.c: Likewise.
39717         * shadow/fgetspent_r.c: Likewise.
39718         * shadow/putspent.c: Likewise.
39719         * stdio-common/printf_fphex.c: Likewise.
39720         * stdio-common/tmpfile.c: Likewise.
39721         * stdlib/abort.c: Likewise.
39722         * stdlib/fmtmsg.c: Likewise.
39723         * sunrpc/auth_unix.c: Likewise.
39724         * sunrpc/clnt_perr.c: Likewise.
39725         * sunrpc/clnt_tcp.c: Likewise.
39726         * sunrpc/clnt_udp.c: Likewise.
39727         * sunrpc/clnt_unix.c: Likewise.
39728         * sunrpc/openchild.c: Likewise.
39729         * sunrpc/svc_simple.c: Likewise.
39730         * sunrpc/svc_tcp.c: Likewise.
39731         * sunrpc/svc_udp.c: Likewise.
39732         * sunrpc/svc_unix.c: Likewise.
39733         * sunrpc/xdr.c: Likewise.
39734         * sunrpc/xdr_array.c: Likewise.
39735         * sunrpc/xdr_rec.c: Likewise.
39736         * sunrpc/xdr_ref.c: Likewise.
39737         * sunrpc/xdr_stdio.c: Likewise.
39739 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39741         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39743 2011-07-03  Andreas Jaeger  <aj@suse.de>
39745         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39746         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39747         regenerate with gen-libm-tests.pl.
39749 2010-05-12  Petr Baudis  <pasky@suse.cz>
39751         [BZ #11589]
39752         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39753         around j0() zero points by switching to j1().
39754         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39755         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39757         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39759 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39761         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39762         instead of 0.
39763         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39764         instead of 0.
39765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39766         Patch in part by Pavel Roskin <proski@gnu.org>.
39768         [BZ #13138]
39769         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39770         realloc.
39771         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
39772         Free memory block if necessary.
39774         [BZ #12847]
39775         * libio/genops.c (INTDEF): For string streams the _lock pointer can
39776         be NULL.  Don't lock in this case.
39778 2011-09-09  Roland McGrath  <roland@hack.frob.com>
39780         * elf/elf.h (ELFOSABI_GNU): New macro.
39781         (ELFOSABI_LINUX): Define to that.
39783 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
39785         * string/strncat.c (strncat): Undef the symbol in case it has been
39786         defined in bits/string.h.
39788 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39790         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39792         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39793         link map.
39795 2011-08-17  Andreas Jaeger  <aj@suse.de>
39797         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39799 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39800             Ian Lance Taylor  <iant@google.com>
39802         * math/libm-test.inc (lround_test): New testcase.
39803         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39805 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
39807         * Makefile: Remove support for automatic cvs check-ins.
39808         * Makerules: Likewise.
39809         * config.make.in: Likewise.
39810         * configure.in: Likewise.
39811         * intl/Makefile: Likewise.
39812         * locale/Makefile: Likewise.
39813         * po/Makefile: Likewise.
39814         * posix/Makefile: Likewise.
39815         * sysdeps/gnu/Makefile: Likewise.
39816         * sysdeps/mach/hurd/Makefile: Likewise.
39817         * sysdeps/sparc/sparc32/Makefile: Likewise.
39819         [BZ #13118]
39820         * posix/Makefile (bug-regex32-ENV): Define.
39821         Patch by John Stanley <jpsinthemix@verizon.net>.
39823         * misc/Makefile (headers): Add bits/select2.h.
39824         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39825         * misc/bits/select2.h: New file.
39826         * include/bits/select2.h: New file.
39827         * debug/Makefile (routines): Add fdelt_chk.
39828         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39829         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39830         FD_ISSET.
39831         * debug/fdelt_chk.c: New file.
39833         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
39834         * wcsmbs/test-wmemcmp.c: Likewise.
39835         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39836         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39838 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39840         * string/Makefile (strop-tests): Add memcmp.
39841         * string/test-wmemcmp.c: New file.
39842         * string/test-memcmp.c: Add wmemcmp support.
39844 2011-09-08  Roland McGrath  <roland@hack.frob.com>
39846         [BZ #13153]
39847         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39848         2011-07-19 change.
39850         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39851         garbage value in a __mach_port_mod_refs call in the cases of the
39852         task-self and thread-self ports.
39854 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39856         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39858 2011-09-08  Andreas Schwab  <schwab@redhat.com>
39860         * elf/dl-load.c (lose): Check for non-null L.
39862 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39864         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39866         * elf/dl-libc.c (dlerror_run): Pass back error code from
39867         dl_catch_error.
39869         [BZ #13123]
39870         * elf/dl-load.c (lose): Free l_origin if it is valid.
39872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39873         names.
39874         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39875         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39876         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39877         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39878         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39879         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39881 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39883         * sysdeps/powerpc/fpu/e_hypot.c: New file.
39884         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39885         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39886         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39887         * sysdeps/powerpc/fpu/k_cosf.c: New file.
39888         * sysdeps/powerpc/fpu/k_sinf.c: New file.
39889         * sysdeps/powerpc/fpu/s_cosf.c: New file.
39890         * sysdeps/powerpc/fpu/s_sinf.c: New file.
39891         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39892         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39894 2011-08-15  Alan Modra  <amodra@gmail.com>
39896         [BZ #13092]
39897         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39898         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39899         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39900         ppc_mcount to static-only-routines.
39901         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39902         __mcount_internal.
39903         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39904         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39906 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39908         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39909         for finite and infinity parameters.
39911 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39913         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39914         and add nop instructions for throughput optimization.
39915         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39917 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39919         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39920         aligned copy for power7 with vector-scalar instructions.
39921         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39923 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39926         AVX check.
39928 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39930         [BZ #13144]
39931         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39932         last change.
39934 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39936         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39937         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39938         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39939         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39940         clock_gettime.
39942 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39944         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39945         Forgot to demangle the pointer.
39947         * sysdeps/i386/sysdep.h: Define atom_text_section.
39948         * sysdeps/x86_64/sysdep.h: Likewise.
39949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39950         section with atom_text_section.
39951         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39952         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39953         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39954         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39955         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39957         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39958         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39959         already be defined.  Change to take two parameters and don't assign
39960         result to variable.  Adjust all users.
39961         Define INTERNAL_GETTIME if not already defined.
39962         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39963         call.
39964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39965         HAVE_CLOCK_GETTIME_VSYSCALL.
39966         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39968         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39969         gettimeofday vsyscall, just use time.
39971 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39973         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39974         <errno.h>.
39976 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39978         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39979         syscall on x86-64.
39980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39981         syscall.
39982         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39983         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39984         syscall if possible.
39986 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39988         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39989         e_ident.  Don't pass to find_mapsXX.
39990         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39992 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39995         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39996         * sysdeps/x86_64/multiarch/strchr.S: Update.
39997         Check bit_slow_BSF bit.
39998         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39999         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40000         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40002 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40004         [BZ #13134]
40005         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40006         before glibc 2.15.
40007         (tryshell): Define.
40008         (__spawni): Change last parameter to be flag.  Test
40009         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40010         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40011         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40012         * posix/spawni.c: Likewise.
40013         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40014         * posix/spawnp.c: Likewise.  Change normal version to use
40015         SPAWN_XFLAGS_USE_PATH.
40016         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40017         SPAWN_XFLAGS_TRY_SHELL.
40019         [BZ #13150]
40020         * posix/glob.h: Remove gcc 1.x support.
40022         [BZ #13068]
40023         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40025 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40027         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40028         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40029         strrchr-sse2-bsf
40030         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40031         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40032         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40033         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40034         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40035         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40037 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40039         * sysdeps/x86_64/wcscmp.S: New file.
40041         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40042         wcscmp-c wcscmp-sse2
40043         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40044         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40045         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40046         * wcsmbs/wcscmp.c: Allow renaming.
40048 2011-09-05  David S. Miller  <davem@davemloft.net>
40050         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40051         stack slot, rather than the struct return pointer slot.
40052         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40053         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40055         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40057 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40059         * po/ja.po: Update from translation team.
40061         [BZ #13144]
40062         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40063         kernel in 64-bit binaries.
40065 2011-09-01  David S. Miller  <davem@davemloft.net>
40067         * elf/elf.h (HWCAP_SPARC_*): Move to..
40068         * sysdeps/sparc/sysdep.h: this new file and add new values.
40069         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40070         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40071         _DL_HWCAP_COUNT to 24.
40072         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40073         entries.
40074         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40075         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40076         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40077         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40078         instead of magic constants.
40079         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40081 2011-08-31  David S. Miller  <davem@davemloft.net>
40083         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40085         Reimplement to do errno handling inline.
40086         (SYSCALL_ERROR_HANDLER): New macro.
40087         (__SYSCALL_STRING): Do not do errno handling in asm.
40088         (__CLONE_SYSCALL_STRING): Delete.
40089         (__INTERNAL_SYSCALL_STRING): Delete.
40090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40091         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40092         (PSEUDO): Reimplement to do errno handling inline.
40093         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40094         (SYSCALL_ERROR_HANDLER): New macro.
40095         (__SYSCALL_STRING): Do not do errno handling in asm.
40096         (__CLONE_SYSCALL_STRING): Delete.
40097         (__INTERNAL_SYSCALL_STRING): Delete.
40098         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40099         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40100         i386.
40101         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40102         (inline_syscall*): Add 'err' argument.
40103         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40104         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40105         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40106         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40108         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40109         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40111 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40113         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40115 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40117         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40118         directive.
40120 2011-08-24  David S. Miller  <davem@davemloft.net>
40122         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40124 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40126         * elf/Makefile: Add rules to build and run unload8 test.
40127         * elf/unload8.c: New file.
40128         * elf/unload8mod1.c: New file.
40129         * elf/unload8mod1x.c: New file.
40130         * elf/unload8mod2.c: New file.
40131         * elf/unload8mod3.c: New file.
40133         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40134         it wasn't used.
40136 2011-08-23  David S. Miller  <davem@davemloft.net>
40138         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40139         subtract stack bias.
40140         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40141         %sp not %fp in calculations.
40142         (_JMPBUF_UNWINDS_ADJ): Likewise.
40144         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40145         (aio_suspend): Call it to force an exception region around the
40146         AIO_MISC_WAIT() invocation.
40148 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40150         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40151         backslash.
40153 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40155         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40156         protection macro.
40157         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40158         and <dl-machine.h>.
40159         (Elf64_FuncDesc): Remove.
40161 2011-08-22  David S. Miller  <davem@davemloft.net>
40163         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40164         sigaltstack check, add missing cfi directives.
40165         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40166         missing cfi directives, and sigaltstack handling.
40168 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40170         [BZ #11724]
40171         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40172         object is seen twice.
40173         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40175         * elf/Makefile (distribute): Add tst-initorder2.c.
40176         (tests): Add tst-initorder2.
40177         (modules-names): Add tst-initorder2a tst-initorder2b
40178         tst-initorder2c tst-initorder2d.  Add rules to build them.
40179         ($(objpfx)tst-initorder2.out): New rule.
40180         * elf/tst-initorder2.c: New file.
40181         * elf/tst-initorder2.exp: New file.
40183 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40185         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40187         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40188         dependencies back to end of function.
40190         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40191         $(elfobjdir)/ld.so.
40193 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40195         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40196         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40197         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40198         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40199         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40200         of __vdso_gettimeofday.
40201         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40202         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40203         attribute_hidden.
40204         (_libc_vdso_platform_setup): Remove initialization of
40205         __vdso_gettimeofday and __vdso_time.
40207 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40209         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40210         and fgetc_unlocked.
40211         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40212         getc_unlocked.
40214         * elf/dl-open.c (add_to_global): Report additions to the global scope
40215         for LD_DEBUG=scopes.
40216         (dl_open_worker): Also print scope of newly loaded dependencies.
40217         (_dl_show_scope): Indicate if there is no scope.
40219         [BZ #13114]
40220         * stdio-common/Makefile (tests): Add bug24.
40221         * stdio-common/bug24.c: New file.
40223 2011-08-19  Andreas Jaeger  <aj@suse.de>
40225         [BZ #13114]
40226         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40227         non-existant file when using close-on-exec mode.
40229 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40232         the very first instruction.
40234         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40235         the CFI state in the end.
40236         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40237         inclusion of dl-trampoline.h.
40238         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40240 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40242         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40243         expectations for long double.
40245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40246         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40248 2011-08-14  David S. Miller  <davem@davemloft.net>
40250         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40251         artificual limit depends upon the system page size.
40253 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40255         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40256         * resolv/Makefile: Define CFLAGS-libresolv.
40258 2011-08-17  Andreas Schwab  <schwab@redhat.com>
40260         * nss/makedb.c (compute_tables): Make variables used in nested
40261         function static.
40263 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40265         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40266         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40267         if buffer was too small.
40269         * elf/pldd.c (main): Attach to all threads in the process.
40270         Rewrite /proc handling to use *at functions.
40272 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
40274         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40275         specifies first scope to show.
40276         (dl_open_worker): Update callers.  Move printing scope of new
40277         object to before the relocation.
40278         * elf/rtld.c (dl_main): Update _dl_show_scope call.
40279         * sysdeps/generic/ldsodefs.h: Update declaration.
40281         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40282         string for the scope number.
40284 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
40286         * nscd/servicescache.c (cache_addserv): Make sure written is always
40287         initialized.
40289 2011-08-14  Roland McGrath  <roland@hack.frob.com>
40291         * sysdeps/i386/i486/bits/atomic.h
40292         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40293         statement expression, so as to suppress "set but not used" warning.
40294         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40296         * string/strncat.c (STRNCAT): Use prototype definition.
40298         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40299         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40300         -Iprograms here.
40301         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40302         (localedef-modules): Add localedef.
40303         (locale-modules): Add locale.
40305         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40306         * elf/rtld.c (dl_main): Invert order of assignment in last change,
40307         to avoid a warning.
40309 2011-08-14  David S. Miller  <davem@davemloft.net>
40311         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40312         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40314 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
40316         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40317         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40318         * elf/rtld.c (dl_main): Set l_name of vDSO.
40319         Call _dl_show_scope when DL_DEBUG_SCOPES.
40320         (process_dl_debug): Recognize scopes flag and also set it for all.
40321         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40322         Declare _dl_show_scope.
40324         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40325         (do_dlopen): Pass caller_dlopen to dl_open.
40326         (__libc_dlopen_mode): Initialize caller_dlopen.
40328         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40329         of libc.  Make tolower call locale-independent.  Optimize a bit by
40330         using isdigit instead of isalnum.
40331         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40333 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
40335         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40336         was a dependency or dynamically loaded.
40338 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
40340         * intl/l10nflist.c: Allow architecture-specific pop function.
40341         * sysdeps/x86_64/l10nflist.c: New file.
40343         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40344         classification.
40346 2011-08-10  Andreas Schwab  <schwab@redhat.com>
40348         * include/dirent.h: Add libc_hidden_proto for scandirat and
40349         scandirat64.  Don't declare __scandirat64.
40350         * dirent/scandirat.c: Add libc_hidden_def.
40351         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40352         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40354 2011-08-10  David S. Miller  <davem@davemloft.net>
40356         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40357         enum.
40358         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40360         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40362 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
40364         * Versions.def [libc]: Add GLIBC_2.15.
40365         * dirent/Makefile (routines): Add scandirat and scandirat64.
40366         * dirent/Versions [libc]: Export scandirat and scandirat64 for
40367         GLIBC_2.15.
40368         * dirent/dirent.h: Declare scandirat and scandirat64.
40369         * dirent/scandirat.c: New file.
40370         * dirent/scandirat64.c: New file.
40371         * sysdeps/wordsize-64/scandirat.c: New file.
40372         * sysdeps/wordsize-64/scandirat64.c: New file.
40373         * dirent/opendir.c: Define opendirat.
40374         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
40375         using scandirat.
40376         * dirent/scandir64.c: Adjust for scandir.c change.
40377         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
40378         __scandirat64, and __scandir_cancel_handler.
40379         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
40380         additional parameter and use openat instead of open (outside of ld.so).
40381         Add new __opendir as wrapper around __opendirat.
40382         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40383         here without requiring old scandirat implementation.
40385 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
40387         * dirent/scandir.c (cancel_handler): Renamed to
40388         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
40389         defined.  Adjust users.
40390         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40391         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40393 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
40395         * string/test-string.h (IMPL): Use __STRING to expand name and then
40396         stringify it.
40398         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
40399         of cleanups.
40401 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40403         * string/Makefile: Update.
40404         (strop-tests): Append strncat.
40405         * string/test-wcscmp.c: New file.
40406         New comprehensive test for wcscmp.
40407         * string/test-strcmp.c: Update.
40408         (WIDE): New define.
40410 2011-07-22  Andreas Schwab  <schwab@redhat.com>
40412         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40413         line.
40415 2011-07-26  Andreas Schwab  <schwab@redhat.com>
40417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40418         encoding to ACE if AI_IDN.
40420 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
40422         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40423         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40425 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40427         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40428         Fix overflow bug in strncat.
40429         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40431         * string/test-strncat.c: Update.
40432         Add new tests for checking overflow bugs.
40434 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40437         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40438         * sysdeps/i386/i686/multiarch/strcat.S: New file.
40439         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40440         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40441         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40442         * sysdeps/i386/i686/multiarch/strncat.S: New file.
40443         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40444         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40446         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40447         (USE_AS_STRCAT): Define.
40448         Add strcat and strncat support.
40449         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40451 2011-07-25  Andreas Schwab  <schwab@redhat.com>
40453         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40454         __n bigger than INT_MAX+1.
40455         (__strncmp_g): Likewise.
40457 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
40459         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40460         * libio/stido.h: Likewise.
40462         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40463         (AF_NFC): Define.
40464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40465         (AF_NFC): Define.
40467         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40468         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40469         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40470         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40471         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40473         [BZ #13021]
40474         * scripts/test-installation.pl: Don't expect libnss_test1 to be
40475         installed.
40477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40478         typo.
40479         (_dl_x86_64_save_sse): Likewise.
40481 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
40483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40484         OSXSAVE.
40485         (_dl_x86_64_save_sse): Likewise.
40487         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40489         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40491 2011-07-21  Andreas Schwab  <schwab@redhat.com>
40493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40494         change.
40495         (_dl_x86_64_save_sse): Use correct AVX check.
40497 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40499         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40500         bug in strncpy/strncat.
40501         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40503 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
40505         * string/tester.c (test_strcat): Add tests for different alignments
40506         of source and destination.
40507         (test_strncat): Likewise.
40509 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40511         [BZ #12852]
40512         * posix/glob.c (glob): Check passed in values before using them in
40513         expressions to avoid some overflows.
40514         (glob_in_dir): Likewise.
40516         [BZ #13007]
40517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40518         check for AVX enablement so that we don't crash with old kernels and
40519         new hardware.
40520         * elf/tst-audit4.c: Add same checks here.
40521         * elf/tst-audit6.c: Likewise.
40523         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40525 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
40527         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40529 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40531         * po/cs.po: Update from translation team.
40532         * po/bg.po: Likewise.
40534 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
40536         * misc/sys/cdefs.h: Add support for const attribute.
40537         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40538         to gnu_dev_{major,minor,makedev} functions.
40540 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
40542         * intl/dcigettext.c (get_output_charset): Add missing bracket.
40544 2011-07-20  Andreas Schwab  <schwab@redhat.com>
40546         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40547         strlen results.
40549 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40551         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40552         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40553         register in order to avoid conflicts with the soft frame pointer
40554         being held in r11 when necessary.
40555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40556         (INTERNAL_VSYSCALL_NCS): Likewise.
40558 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
40560         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40561         * elf/dl-fini.c (_dl_fini): Adjust caller.
40562         * elf/dl-close.c (_dl_close_worker): Likewise.
40563         * sysdeps/generic/ldsodefs.h: Adjust declaration.
40565 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40567         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40568         "aux_cache->nlibs < 0".
40570         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40571         in the reload-count case.
40573 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40576         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40577         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40578         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40579         * sysdeps/x86_64/multiarch/strcat.S: New file.
40580         * sysdeps/x86_64/multiarch/strncat.S: New file.
40581         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40582         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40583         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40584         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40585         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40586         (USE_AS_STRCAT): Define.
40587         Add strcat and strncat support.
40588         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40589         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40590         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40591         * string/strncat.c: Update.
40592         (USE_AS_STRNCAT): Define.
40593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40594         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40595         and i7.
40596         * sysdeps/x86_64/multiarch/init-arch.h
40597         (bit_Prefer_PMINUB_for_stringop): New.
40598         (index_Prefer_PMINUB_for_stringop): Likewise.
40599         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40600         bit_Prefer_PMINUB_for_stringop.
40602 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40604         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40605         buffer64.
40606         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40607         of casting of buffer.
40608         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40609         buffer32 and buffer64.
40610         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40611         writes instead of casting of buffer.
40612         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40613         buffer32.
40614         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40615         casting of buffer.
40617 2011-07-19  Andreas Schwab  <schwab@redhat.com>
40619         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40621 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40623         * nscd/nscd.c (termination_handler): Don't do anything for a database
40624         if it has not yet been initialized.
40626 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40628         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40630 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40632         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40634 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40636         * po/nl.po: Update from translation team.
40637         * po/sv.po: Likewise.
40639 2011-07-16  Roland McGrath  <roland@hack.frob.com>
40641         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40642         now disallowed by GCC.
40644         * configure.in (use-default-link): Default to yes if a test -shared
40645         link meets our qualifications.
40646         * configure: Regenerated.
40648         * config.make.in (output-format): New variable.
40649         * configure.in: Check for ld --print-output-format support.
40650         * configure: Regenerated.
40651         * Makerules ($(common-objpfx)format.lds)
40652         [$(output-format) != unknown]: Just use $(output-format),
40653         instead of the linker-script munging.
40655 2011-07-14  Roland McGrath  <roland@hack.frob.com>
40657         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40658         of $(common-objpfx)shlib.lds.
40659         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40661         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40662         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40664         * configure.in (-z relro check): Adjust test code to add a large
40665         writable data section after it.
40666         * configure: Regenerated.
40668 2011-07-11  Roland McGrath  <roland@hack.frob.com>
40670         * configure.in (-z relro check): Fix test code to make the variable
40671         truly const.
40672         * configure: Regenerated.
40674 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
40676         * nscd/nscd.h (struct traced_file): Define.
40677         (struct database_dyn): Remove inotify_descr, reset_res, and filename
40678         elements.  Add traced_files.
40679         (inotify_fd): Declare.
40680         (register_traced_file): Declare.
40681         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40682         (inotify_fd): Export.
40683         (resolv_conf_descr): Remove.
40684         (nscd_init): Move inotify descriptor creation to main.
40685         Don't register files for notification here.
40686         (register_traced_file): New function.
40687         (invalidate_cache): Don't use reset_res to determine whether to call
40688         res_init, go through the list of registered files.
40689         (main_loop_poll): The inotify descriptors are now stored in the
40690         structures for the traced files.
40691         (main_loop_epoll): Likewise
40692         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
40693         to __nss_disable_nscd.
40694         * nscd/cache.c (prune_cache): There is no single inotify descriptor
40695         for a database anymore.  Check the records for all the registered
40696         files instead.
40697         * nss/Makefile (libnss_files-routines): Add files-init.
40698         (libnss_db-routines): Add db-init.
40699         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40700         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40701         * nss/nss_db/db-init.c: New file.
40702         * nss/nss_files/files-init.c: New file.
40703         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
40704         __nss_lookup_function.
40705         (__nss_lookup_function): Call nss_load_library.
40706         (nss_load_all_libraries): New function.
40707         (__nss_disable_nscd): Take parameter with callback function for files
40708         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
40709         used for the cached services.
40710         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40711         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40712         options for features to all the files in nscd.
40714         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40716 2011-07-10  Roland McGrath  <roland@hack.frob.com>
40718         * csu/elf-init.c (__libc_csu_init): Comment typo.
40720 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
40722         * po/pl.po: Update from translation team.
40723         * po/ja.po: Likewise.
40724         * po/ru.po: Likewise.
40725         * po/ko.po: Likewise.
40726         * po/fr.po: Likewise.
40728 2011-07-09  Roland McGrath  <roland@hack.frob.com>
40730         * configure.in (.ctors/.dtors header and trailer check):
40731         Use an empirical test on a built program.
40732         * configure: Regenerated.
40734         * configure.in (-z relro check): Use an empirical test on a built DSO.
40735         Detect, but do not require, on ia64.
40736         * configure: Regenerated.
40738         * configure.in (READELF): Find it with AC_CHECK_TOOL.
40739         Update tests that use readelf to use $READELF instead.
40740         * configure: Regenerated.
40742 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
40744         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40745         if the result is not used.
40747 2011-07-05  Andreas Jaeger  <aj@suse.de>
40749         [BZ#9696]
40750         * stdlib/tst-strtod.c: Add testcase.
40752 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
40754         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40755         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40756         The latter has a higher limit.  Take additional parameter to pass to
40757         the new function.
40758         (__pathconf): Pass file to __statfs_link_max.
40759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40760         __statfs_link_max.
40761         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40762         __statfs_link_max.
40764         [BZ #12868]
40765         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40766         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40767         Handle Lustre.
40768         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40769         (__statfs_filesize_max): Likewise.
40770         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40772 2011-07-05  Andreas Jaeger  <aj@suse.de>
40774         * resolv/res_comp.c (dn_skipname): Remove unused variable.
40776 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
40778         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40779         `status' variable.
40780         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40781         Likewise.
40783 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
40785         * Makefile (strop-tests): Add strncat.
40786         * string/test-strncat.c: New file.
40788 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
40790         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40792 2011-06-21  Andreas Jaeger  <aj@suse.de>
40794         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40795         Copy rule from iconvdata/Makefile.
40797 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40799         [BZ #12922]
40800         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40801         but no long options are defined, just return 'W'.
40803 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
40805         [BZ #9696]
40806         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40808 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40810         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40811         netgroups to read.
40812         (innetgr): Likewise.
40814 2011-07-05  Roland McGrath  <roland@hack.frob.com>
40816         * config.make.in (install_root): Default to $(DESTDIR).
40818 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
40820         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40822 2011-07-02  Roland McGrath  <roland@hack.frob.com>
40824         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40826         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40827         containing directory rather than embedding absolute directory names.
40829         * scripts/check-local-headers.sh: Rewritten using awk.
40830         Match by word, not by line.  Print error messages for matches.
40831         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40833         * Makerules [shlib-lds-flags empty]:
40834         ($(common-objpfx)libc_pic.opts): New target.
40835         ($(common-objpfx)libc_pic.os.clean): New target.
40836         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40838         * config.make.in (OBJCOPY): New variable.
40839         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40840         * configure: Regenerated.
40842         * config.make.in (use-default-link): New variable.
40843         * configure.in (use_default_link): Grok --with-default-link to set it.
40844         * configure: Regenerated.
40845         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40846         (shlib-lds, shlib-lds-flags): Define to empty.
40848         * Makerules (shlib-lds): New variable.
40849         (shlib-lds-flags): New variable.
40850         (build-shlib, build-moduile, build-module-asneeded): Use it.
40851         ($(common-objpfx)libc.so): Use $(shlib-lds).
40852         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40853         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40855         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40856         DT_FLAGS/DT_FLAGS_1 with zero flags.
40858         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40859         linker script munging.
40861 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
40863         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40864         as 128-bit value.
40865         * crypt/sha512.c (sha512_process_block): Perform total addition using
40866         128-bit if possible.
40867         (__sha512_finish_ctx): Likewise.
40868         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40869         as 64-bit value.
40870         * crypt/sha256.c (SWAP64): Define.
40871         (sha256_process_block): Perform total addition using 64-bit if
40872         possible.
40873         (__sha256_finish_ctx): Likewise.
40875 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
40877         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
40878         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40879         * nscd/hstcache.c (cache_addhst): Likewise.
40880         * nscd/grpcache.c (cache_addgr): Likewise.
40881         * nscd/aicache.c (addhstaiX): Likewise
40882         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40884 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
40886         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40887         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40888         * nscd/hstcache.c (cache_addhst): Likewise.
40889         * nscd/grpcache.c (cache_addgr): Likewise.
40890         * nscd/aicache.c (addhstaiX): Likewise
40892 2011-07-01  Andreas Schwab  <schwab@redhat.com>
40894         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40895         domain only when needed.
40897 2011-06-30  Andreas Schwab  <schwab@redhat.com>
40899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40900         is always restored.
40902 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40904         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40905         are re-adding the entry.
40906         * nscd/servicescache.c (cache_addserv): Likewise.
40908 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40910         * sysdeps/generic/dl-irel.h: fix protection against multiple
40911         inclusions.
40912         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40914 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40916         [BZ #12935]
40917         * malloc/memusage.sh: Fix quoting in message.
40918         * debug/xtrace.sh: Likewise.
40920         * configure.in: Remove support for --experimental-malloc option, make
40921         it the default.
40922         * config.make.in: Likewise.
40923         * malloc/Makefile: Likewise.
40925 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40927         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40928         two-byte characters.
40930 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40932         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40933         AC_CACHE_CHECK invocation.
40934         * configure: Regenerated.
40936         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40938 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40940         [BZ #12350]
40941         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40942         bit from old_res_options.
40944         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40946         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40947         value type for setfct.
40949 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40951         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40952         __gettimeofday instead of gettimeofday.
40954 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40956         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40958 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40960         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40962         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40963         info.
40965 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40968         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40969         strcpy-sse2-unaligned strncpy-sse2-unaligned
40970         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40971         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40972         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40973         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40974         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40975         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40976         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40977         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40978         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40979         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40980         (STRCPY): Support SSE2 and SSSE3 versions.
40982 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40984         [BZ #12874]
40985         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40986         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40987         kernels which artificially limit size of requests.
40989 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40991         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40992         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40993         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40994         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40995         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40996         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40997         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40998         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40999         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41000         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41001         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41002         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41003         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41004         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41005         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41007         Enable unaligned load optimization for Intel Core i3, i5 and i7
41008         processors.
41009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41010         Define.
41011         (index_Fast_Unaligned_Load): Define.
41012         (HAS_FAST_UNALIGNED_LOAD): Define.
41014 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41016         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41018 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41020         [BZ #12907]
41021         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41022         until it is clear that the information is realy needed.
41023         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41025 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41029 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41031         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41032         /sys/devices/system/cpu/online if it is usable.
41034         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41035         reading the information from the /proc filesystem to once a second.
41037 2011-06-21  Andreas Jaeger  <aj@suse.de>
41039         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41040         NULL after inclusion of kernel headers.
41042 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41044         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41045         calls to internal_setent.
41047         [BZ #12885]
41048         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41049         addresses using gethostbyname4_r ignore IPv4 addresses.
41051         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41052         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41054         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41056 2011-06-20  David S. Miller  <davem@davemloft.net>
41058         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41059         inclusions.
41060         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41062         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41063         (elf_irel): Use it.
41064         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41065         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41066         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41067         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41068         * sysdeps/x86_64/dl-irel.h: Likewise.
41070         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41071         * elf/dl-sym.c: Likewise.
41073 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41075         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41076         need to dereference resplen2.
41078 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41080         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41082 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41084         * Makeconfig: Define vardbdir and inst_vardbdir.
41085         * nss/Makefile: Add rules to install db-Makefile.
41087         * nss/nss_db/db-XXX.c: Cleanup.
41089         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41090         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41091         GLIBC_PRIVATE.
41092         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41093         * nss/makedb.c: Implement -g option to specify that value strings
41094         are generated and should not be added to table iterated over for
41095         get*ent calls.
41096         * nss/nss_db/db-initgroups.c: New file.
41098         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41099         interface.
41101         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41102         (internal_getgrouplist): Adjust to name change.
41103         Update use_initgroups_entry if this is not the first call.
41104         * nss/databases.def: Add initgroups entry.
41106         * nss/makedb.c (compute_tables): Check result of multiple hash table
41107         sizes to minimize maximum chain length.
41109 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41111         * Versions.def: Add entry for libnss_db.
41112         * shlib-versions: Likewise.
41113         * nss/Makefile: Add rules to build libnss_db.
41114         * nss/Versions: Add libnss_db information.  Organize libnss_files
41115         entries better.
41116         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41117         makedb progra.  Some minor improvements to generate smaller files.
41118         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41119         here from...
41120         * nss/makedb.c: ...here.
41121         Improve database format to be smaller and require less memory at
41122         runtime.
41123         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41124         db anymore.
41125         * nss/nss_db/db-netgrp.c: Likewise.
41126         * nss/nss_db/db-open.c: Likewise.
41127         * nss/nss_files/flies-XXX.x: Adjust comments.
41128         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41129         * nss/nss_files/files-grp.c: Likewise.
41130         * nss/nss_files/files-hosts.c: Likewise.
41131         * nss/nss_files/files-network.c: Likewise.
41132         * nss/nss_files/files-proto.c: Likewise.
41133         * nss/nss_files/files-pwd.c: Likewise.
41134         * nss/nss_files/files-rpc.c: Likewise.
41135         * nss/nss_files/files-service.c: Likewise.
41136         * nss/nss_files/files-sgrp.c: Likewise.
41137         * nss/nss_files/files-spwd.c: Likewise.
41138         * nss/nss_db/db-alias.c: Removed.
41139         * nss/nss_db/dummy-db.h: Removed.
41141 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41143         * nss/makedb.c: Rewritten to not use database library.
41144         * nss/Makefile: Update to build new makedb program.
41146 2011-06-14  Andreas Jaeger  <aj@suse.de>
41148         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41149         memset declaration.
41151 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41154         tmpbuf.
41156 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41158         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41159         * elf/Makefile ($(objpfx)ld.so): Likewise.
41161         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41162         Don't list ld.so twice in dependencies.
41164         * posix/bug-regex31.c: Include <stdlib.h>.
41166         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41168         * nis/nss_compat/compat-spwd.c
41169         (getspent_next_nss_netgr): Remove unused variable.
41170         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41172         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41173         nonmembers" output to use the right array.
41175         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41177         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41179         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41180         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41181         * catgets/gencat.c (read_input_file): Likewise.
41182         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41184         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41185         variable definition inside #if's controlling its use.
41187         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41189         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41191         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41193         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41194         unreachable code.
41196         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41198         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41199         * configure: Regenerated.
41201         * Makerules: Revert last change.
41202         * elf/Makefile: Likewise.
41204 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41206         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41207         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41208         (reloc-link): Likewise.
41210 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41212         * elf/Makefile: Add rules to build pldd.
41213         * elf/pldd.c: New file.
41214         * elf/pldd-xx.c: New file.
41216 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41218         * version.h: Update for 2.15 development version.
41220 2011-06-07  David S. Miller  <davem@davemloft.net>
41222         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41223         ifuncs.
41224         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41225         elf_machine_lazy_rel): Likewise.
41226         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41227         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41228         elf_machine_lazy_rel): Likewise.
41229         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41230         dl_hwcap via passed in argument.
41231         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41232         Likewise.
41234 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41236         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41238 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41240         [BZ #12849]
41241         * manual/fdl-1.1.texi: New file, verbatim from:
41242         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41243         * manual/lgpl-2.1.texi: New file, verbatim from:
41244         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41245         * manual/Makefile (licenses): New variable, list those new file names.
41246         (texis): Use it.
41247         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41249         * manual/fdl.texi: File removed.
41250         * manual/lesser.texi: File removed.
41251         * manual/libc.texinfo (Copying, Documentation License):
41252         Use new @include file names, put @appendix directive before @include.
41254 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
41256         [BZ #12841]
41257         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41258         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41259         (mq_open): Add __NTH.
41261 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
41263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41264         Assume Intel Core i3/i5/i7 processor if AVX is available.
41266 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41268         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41269         typo.
41271 2011-05-31  Andreas Schwab  <schwab@redhat.com>
41273         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41274         memory.  Use alloca_account.  Fix memory leak when retrying.
41276 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41278         * version.h (RELEASE): Bump for 2.14 release.
41279         * include/features.h (__GLIBC_MINOR__): Bump to 14.
41281         * config.make.in (RANLIB): Remove entry.
41283 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
41285         * po/Makefile (po-sed-cmd): Add ksh to extensions.
41286         (libc.pot): Work around missing support for .ksh extension in xgettext.
41288         [BZ #12684]
41289         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41290         if both request failed.
41291         (send_dg): In case of server errors clear resplen or *resplen2.
41293         [BZ #12454]
41294         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41295         when there are multiple maps.
41296         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41297         (_dl_fini): Remove test here.
41299         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41301 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
41303         [BZ #12350]
41304         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41305         bit from old_res_options.
41306         (gaih_inet): Likewise.
41308         [BZ #11099]
41309         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41310         as signed.
41312         * resolv/res_init.c (res_setoptions): Make the code more compact.
41314         [BZ #11558]
41315         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41316         set RES_USEVC.
41318         [BZ #11634]
41319         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41321         * malloc/malloc.h: Mark malloc hook variables as deprecated.
41323         [BZ #11781]
41324         * malloc/malloc.h: Declare malloc hook variables as volatile.
41326         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41327         in last patch.
41329         [BZ #11799]
41330         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41331         raise in the comment.
41332         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41333         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41334         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41336 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
41338         [BZ #12811]
41339         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41340         grow the buffers more if it already has to be sufficient.
41341         (build_wcs_upper_buffer): Likewise.
41342         * posix/regexec.c (check_matching): Likewise.
41343         (clean_state_log_if_needed): Likewise.
41344         (extend_buffers): Don't enlarge buffers beyond size of the input
41345         buffer.
41346         Patches mostly by Emil Wojak <emil@wojak.eu>.
41347         * posix/bug-regex32.c: New file.
41348         * posix/Makefile (tests): Add bug-regex32.
41350         * locale/findlocale.c (_nl_find_locale): Return right away if
41351         _nl_explode_name failed.
41352         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41354         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41356         * debug/xtrace.sh: Unify messages.
41357         * malloc/memusage.sh: Likewise.
41359         [BZ #12813]
41360         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41361         time symbol from vDSO.  Substitute with vsyscall if not available.
41362         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41363         __vdso_time.
41365         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41366         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41367         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41368         Add sendmmsg and internal_sendmmsg.
41369         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41370         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41371         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41373         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41374         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41377 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
41379         [BZ #12813]
41380         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41381         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
41382         available.
41383         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41384         __vdso_getcpu.
41386         [BZ #12814]
41387         * iconvdata/Makefile (tests): Add bug-iconv9.
41388         * iconvdata/bug-iconv9.c: New file.
41390 2011-05-27  Andreas Schwab  <schwab@redhat.com>
41392         [BZ #12814]
41393         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41395 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
41397         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41398         (struct user_regs_struct): Change intcs field back to cs.
41400 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
41402         * po/ja.po: Update from translation team.
41404 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
41406         [BZ #12795]
41407         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41408         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41410 2011-05-20  Andreas Schwab  <schwab@redhat.com>
41412         * stdlib/longlong.h: Update from GCC.
41414 2011-05-23  Andreas Schwab  <schwab@redhat.com>
41416         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41417         parameter name.
41418         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41419         Add parameter name.
41420         (__sysconf): Pass it down.
41422 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
41424         [BZ #12671]
41425         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41426         some situations.
41427         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41428         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41429         add in in __libc_use_alloca calls.  Adjust callers.
41430         (glob): Use malloc in some situations.
41432         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41433         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41434         pltexit.
41436 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
41438         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41439         and CLOCK_BOOTTIME_ALARM.
41441         [BZ #12782]
41442         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41443         is returned.
41445         * string/_strerror.c (__strerror_r): Print negative errors as signed
41446         numbers.
41448         [BZ #12777]
41449         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41450         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41451         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41453         * configure.in: Fix typo in redirection and correct removal of test
41454         files in two cases.
41456         [BZ #12788]
41457         * locale/setlocale.c (new_composite_name): Fix test to check for
41458         identical name of all categories.
41460         [BZ #12792]
41461         * libio/filedoalloc.c (local_isatty): New function.
41462         (_IO_file_doallocate): Use local_isatty.
41463         * stdio-common/perror.c (perror): In case a new stream is used
41464         forward the stream error.
41465         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41466         error flag.
41468 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
41470         [BZ #11869]
41471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41472         alloca.
41473         * include/alloca.h (extend_alloca_account): Define.
41475         [BZ #11857]
41476         * posix/regex.h: Fix comments with documentation of user-accessible
41477         fields after compilation and describe correct free'ing of pattern
41478         after re_compile_pattern.
41479         Patch by Reuben Thomas <rrt@sc3d.org>.
41481 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
41483         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41484         and -mno-altivec to prevent the compiler from using Altivec and/or
41485         VSX instructions when the corresponding registers are not available.
41487 2011-05-19  Andreas Schwab  <schwab@redhat.com>
41489         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41491 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
41493         * libio/freopen.c (freopen): Use __dup2, not dup2.
41494         * libio/freopen64.c (freopen64): Likewise.
41496 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41498         [BZ #12775]
41499         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41500         * math/Makefile (tests): Add test-powl.
41501         (CFLAGS-test-powl.c): Define.
41502         * math/test-powl.c: New file.
41504 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41506         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41508 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
41510         [BZ #11837]
41511         * iconvdata/gb18030.c: Update to GB18020-2005.
41513 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
41515         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41516         RE_SYNTAX_POSIX_AWK): Update to match recent development.
41517         Patch by Aharon Robbins <arnold@skeeve.com>.
41519         [BZ #11892]
41520         * stdlib/putenv.c (putenv): Don't always create copy of the variable
41521         on the stack.
41523         [BZ #11895]
41524         * misc/pselect.c (__pselect): Handle timeout value errors hidden
41525         through underflows.
41527         [BZ #12766]
41528         * misc/error.c (error_at_line): Ensure file_name and old_file_name
41529         point to strings before performing equality test for error_one_per_line
41530         mode.
41532         [BZ #11697]
41533         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41535         [BZ #11820]
41536         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41537         (struct user_fpregs_struct): Avoid __uint*_t types.
41539         [BZ #6420]
41540         * malloc/mtrace.c (tr_where): Add additional parameter to point to
41541         symbol info.  Use it instead of calling _dl_addr locally.
41542         (lock_and_info): New function.
41543         (tr_freehook): Call lock_and_info and pass symbol info as additional
41544         parameter to tr_where.
41545         (tr_mallochook): Likewise.
41546         (tr_reallochook): Likewise.
41547         (tr_memalignhook): Likewise.
41549         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
41550         used and couldn't be at all thread-safe.
41552 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
41554         * libio/freopen.c (freopen): Don't close old file descriptor
41555         before the new one is opened.  Instead dup the new file descriptor
41556         to the old one after the new stream is created.
41557         * libio/freopen64.c (freopen64): Likewise.
41558         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41559         * libio/fileops.c (_IO_new_file_close_it): Handle new
41560         _IO_FLAGS2_NOCLOSE flag.
41561         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41562         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41563         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41564         _IO_FLAGS2_NOCLOSE flag.
41565         * include/unistd.h: Add hidden_proto for dup3.
41566         Define __have_dup3.
41567         * io/dup3.c: Define hidden symbol.
41568         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41570         [BZ #7101]
41571         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41572         when an incomplete long option is used.
41573         * posix/tst-getopt_long1.c: New file.
41574         * posix/Makefile (tests): Add tst-getopt_long1.
41576         [BZ #10138]
41577         * scripts/config.guess: Update from autoconf-2.68.
41578         * scripts/config.sub: Likewise.
41580         [BZ #10157]
41581         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41582         tests into ...
41583         (has_cpuclock): ...this.  New function.
41584         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41585         macro here based on has_cpuclock code.
41587         [BZ #10149]
41588         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41589         First byte (not low byte) is now always NUL.
41590         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41592         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41593         Use non-cancelable interfaces.
41595         [BZ #9809]
41596         * locale/iso-639.def: Add entry for Sorani.
41598         [BZ #11901]
41599         * include/stdlib.h: Move include protection to the right place.
41600         Define abort_msg_s.  Declare __abort_msg with it.
41601         * stdlib/abort.c (__abort_msg): Adjust type.
41602         * assert/assert.c (__assert_fail_base): New function.  Majority
41603         of code from __assert_fail.  Allocate memory for __abort_msg with
41604         mmap.
41605         (__assert_fail): Now call __assert_fail_base.
41606         * assert/assert-perr.c: Remove bulk of implementation.  Use
41607         __assert_fail_base.
41608         * include/assert.hL Declare __assert_fail_base.
41609         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41610         mmap.
41611         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41613 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
41615         [BZ #11952]
41616         [BZ #12453]
41617         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41618         until all modules are registered in the DTV.
41619         * elf/Makefile: Add rules to build and run tst-tls19.
41620         * elf/tst-tls19.c: New file.
41621         * elf/tst-tls19mod1.c: New file.
41622         * elf/tst-tls19mod2.c: New file.
41623         * elf/tst-tls19mod3.c: New file.
41624         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41626         [BZ #12083]
41627         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41628         correctly.
41630         [BZ #12601]
41631         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41632         two-byte sequence errors.
41633         * iconvdata/Makefile (tests): Add bug-iconv8.
41634         * iconvdata/bug-iconv8.c: New file.
41636         [BZ #12626]
41637         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41638         buf2 definition.
41640         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41642         [BZ #12432]
41643         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41644         (dummy_getcfa): New function.
41645         (init): Get _Unwind_GetCFA address, use dummy if not found.
41646         (backtrace_helper): In recursion check, also check whether CFA changes.
41647         (__backtrace): Completely initialize arg.
41649         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41650         storing incomplete byte sequence in state object.  Avoid testing for
41651         guaranteed too small input if we know there is enough data available.
41653 2011-05-11  Andreas Schwab  <schwab@redhat.com>
41655         * Makeconfig (+link-pie): Indent.
41656         * Rules (binaries-pie): Define if $(have-fpie) and
41657         $(build-shared).
41658         (binaries-shared): Also filter out $(binaries-pie).
41659         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41660         * nscd/Makefile (others-pie): Add nscd.
41661         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41662         ($(objpfx)nscd): Remove command override.
41663         * login/Makefile (others-pie): Add pt_chown.
41664         ($(objpfx)pt_chown): Remove command override.
41665         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41666         remove command overrides.
41668 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
41670         * libio/tst_putwc.c: Fix error messages.
41672         [BZ #12724]
41673         * libio/fileops.c (_IO_new_file_close_it): Always flush when
41674         currently writing and seek to current position when not.
41675         * libio/Makefile (tests): Add bug-fclose1.
41676         * libio/bug-fclose1.c: New file.
41678 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
41680         [BZ #12511]
41681         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41682         don't set DF_1_NODELETE here.
41683         (do_lookup_x): When entering new entry test for copy relocation
41684         and if necessary set DF_1_NODELETE flag.
41685         * elf/tst-unique4.cc: New file.
41686         * elf/tst-unique4.h: New file.
41687         * elf/tst-unique4lib.cc: New file.
41688         * elf/Makefile: Add rules to build and run tst-unique4.
41689         Patch by Piotr Bury <pbury@goahead.com>.
41691 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
41693         [BZ #12052]
41694         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41696         [BZ #12625]
41697         * misc/mntent_r.c (addmntent): Flush the stream after the output
41699         [BZ #12393]
41700         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41701         (is_trusted_path_normalize): Skip initial colon.  Append slash
41702         to empty buffer.  Duplicate is_trusted_path code but allow
41703         constructed patch to be prefix.
41704         (is_dst): Allow $ORIGIN followed by /.
41705         (_dl_dst_substitute): Correct clearing of check_for_trusted.
41706         Correct testing of result of is_trusted_path_normalize
41707         (decompose_rpath): Fix warning.
41709 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
41711         [BZ #11257]
41712         * grp/initgroups.c (internal_getgrouplist): When we found the service
41713         list through the initgroups entry in nsswitch.conf do not always
41714         continue on a successful lookup.  Don't always use the
41715         __nss_group_database value if it is set.
41716         * nss/nsswitch.conf (initgroups): Change action for successful db
41717         lookup to continue for compatibility.
41719 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
41721         [BZ #11532]
41722         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41723         and CP774 modules.
41724         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41725         and CP774 modules.
41726         * iconvdata/tst-tables.sh: Likewise.
41727         * iconvdata/cp770.c: New file.
41728         * iconvdata/cp771.c: New file.
41729         * iconvdata/cp772.c: New file.
41730         * iconvdata/cp773.c: New file.
41731         * iconvdata/cp774.c: New file.
41732         * iconvdata/testdata/CP770: New file.
41733         * iconvdata/testdata/CP770..UTF8: New file.
41734         * iconvdata/testdata/CP771: New file.
41735         * iconvdata/testdata/CP771..UTF8: New file.
41736         * iconvdata/testdata/CP772: New file.
41737         * iconvdata/testdata/CP772..UTF8: New file.
41738         * iconvdata/testdata/CP773: New file.
41739         * iconvdata/testdata/CP773..UTF8: New file.
41740         * iconvdata/testdata/CP774: New file.
41741         * iconvdata/testdata/CP774..UTF8: New file.
41743         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41744         END CHARMAP line.
41745         * iconvdata/gen-8bit-gap.sh: Likewise.
41746         * iconvdata/gen-8bit.sh: Likewise.
41748         * locale/iso-639.def: Add ary entry.
41750         [BZ #11258]
41751         * locale/C-translit.h.in: Add U20A1 transliteration.
41753         [BZ #12178]
41754         * locale/iso-639.def: Add wae entry.
41755         Patch by Kevin Bortis <bortis@translate-wae.ch>.
41757         [BZ #12545]
41758         * locale/programs/localedef.c (construct_output_path): Use ssize_t
41759         for n.
41761         [BZ #12711]
41762         * locale/C-translit.h.in: Add entry for U20B9.
41763         Patch by pravin.d.s@gmail.com.
41765 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
41767         [BZ #12713]
41768         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41769         ENAMETOOLONG use generic getcwd.
41770         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
41771         in rtld.  Use *stat64.
41772         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41773         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41774         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41775         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41776         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41777         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41778         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41779         __fstatat64 macros.
41780         * include/dirent.h: Add libc_hidden_proto for rewinddir.
41781         * dirent/rewinddir.c: Add libc_hidden_def.
41782         * sysdeps/mach/hurd/rewinddir.c: Likewise.
41783         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
41785         * include/dirent.h (__alloc_dir): Add flags parameter.
41786         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41787         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41788         __alloc_dir.
41789         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
41790         from fdopendir if O_CLOEXEC is already set.
41792 2011-03-15  Alan Modra  <amodra@gmail.com>
41794         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41795         l_tls_firstbyte_offset non-zero.  Save padding offset in
41796         l_tls_firstbyte_offset for later use.
41797         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41798         freeing static tls block.
41800 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
41802         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41803         where #ifdef was intended.  The intent is to prevent ARG_MAX from
41804         being defined by the kernel headers.
41806 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
41808         [BZ #12734]
41809         * resolv/resolv.h: Define RES_NOTLDQUERY.
41810         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41811         no-tld-query and set RES_NOTLDQUERY.
41812         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41813         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41814         modern BIND to search name as TLD unless forbidden.
41816 2011-05-07  Petr Baudis  <pasky@suse.cz>
41817             Ulrich Drepper  <drepper@gmail.com>
41819         [BZ #12393]
41820         * elf/dl-load.c (fillin_rpath): Move trusted path check...
41821         (is_trusted_path): ...to here.
41822         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41823         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41824         using is_trusted_path_normalize() in setuid scripts.
41826 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41828         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41829         __BEGIN/__END_DECLS.
41831 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
41833         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41834         NSS_STATUS_NOTFOUND if no record was found.
41836 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41838         * sunrpc/Makefile (headers): Add rpc/netdb.h.
41839         (headers-not-in-tirpc): Remove rpc/netdb.h
41840         * resolv/netdb.h: Revert last change.
41842 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41844         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41845         circular dependency between libgcc.a and libc.a.
41847 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41849         * resolv/netdb.h: Don't include <rpc/netdb.h>.
41850         * nis/Makefile: Don't install rpcsvc/*.
41851         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41852         instead of <rpc/types.h>.
41853         (MAXHOSTNAMELEN): Define.
41855 2011-05-03  Andreas Schwab  <schwab@redhat.com>
41857         * elf/ldconfig.c (add_dir): Don't crash on empty path.
41859 2011-04-28  Maciej Babinski  <mbabinski@google.com>
41861         [BZ #12714]
41862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41863         gethostbyname4_r when IPv6 results are possible.
41865 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
41867         [BZ #12723]
41868         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41869         _PC_PIPE_BUF handling.
41871 2011-04-30  Bruno Haible  <bruno@clisp.org>
41873         [BZ #12717]
41874         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41875         * resolv/netdb.h (getnameinfo): Change type of flags parameter
41876         to 'int'.
41877         * inet/getnameinfo.c (getnameinfo): Likewise.
41879 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
41881         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41882         to groups setting in database lookup.
41883         * nss/nsswitch.conf: Add initgroups entry.
41885 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41887         [BZ #12685]
41888         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41889         mode string.
41890         Patch by Eric Blake <eblake@redhat.com>.
41892 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
41894         * sunrpc/Makefile (need-export-routines): Add svc_run.
41895         (routines): Remove svc_run.
41896         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41897         * sunrpc/clnt_perr.c (clnt_perrno): Export.
41898         * sunrpc/svc_run.c (svc_run): Likewise.
41899         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41901 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41903         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41904         problem in reallocation in last patch.
41906 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41908         * sunrpc/Makefile: Move inclusion of Rules.
41910 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41912         * nss/nss_files/files-initgroups.c: New file.
41913         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41914         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41915         _nss_files_initgroups_dyn.
41917 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41919         * elf/elf.h (R_ARM_IRELATIVE): Define.
41921 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41923         * po/ru.po: Update from translation team.
41925 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41927         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41928         dependencies.
41930 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41932         [BZ #12653]
41933         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41934         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41935         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41936         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41937         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41939 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41941         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41942         differing bytes.
41943         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41944         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41945         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41947 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41949         [BZ #12420]
41950         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41951         storing it.
41952         * stdlib/bug-getcontext.c: New file.
41953         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41955 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41957         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41958         instructions into .machine "z9-109".
41959         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41960         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41962 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41964         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41965         between environment variables and auxiliary vector.
41967 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41969         * Makefile: Add rules to build linkobj/libc.so.
41970         * include/libc-symbols.h: Define libc_hidden_nolink.
41971         * include/rpc/auth.h: Mark functions which are to be hidden.
41972         * include/rpc/auth_des.h: Likewise.
41973         * include/rpc/auth_unix.h: Likewise.
41974         * include/rpc/clnt.h: Likewise.
41975         * include/rpc/des_crypt.h: Likewise.
41976         * include/rpc/key_prot.h: Likewise.
41977         * include/rpc/pmap_clnt.h: Likewise.
41978         * include/rpc/pmap_prot.h: Likewise.
41979         * include/rpc/pmap_rmt.h: Likewise.
41980         * include/rpc/rpc_msg.h: Likewise.
41981         * include/rpc/svc.h: Likewise.
41982         * include/rpc/svc_auth.h: Likewise.
41983         * include/rpc/xdr.h: Likewise.
41984         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41985         * nss/Makefile: Likewise.
41986         * sunrpc/Makefile: Don't install headers.  Build library with normal
41987         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41988         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41989         for the compat linking library.  Remove use of INTDEF/INTUSE.
41990         * sunrpc/auth_none.c: Likewise.
41991         * sunrpc/auth_unix.c: Likewise.
41992         * sunrpc/authdes_prot.c: Likewise.
41993         * sunrpc/authuxprot.c: Likewise.
41994         * sunrpc/clnt_gen.c: Likewise.
41995         * sunrpc/clnt_perr.c: Likewise.
41996         * sunrpc/clnt_raw.c: Likewise.
41997         * sunrpc/clnt_simp.c: Likewise.
41998         * sunrpc/clnt_tcp.c: Likewise.
41999         * sunrpc/clnt_udp.c: Likewise.
42000         * sunrpc/clnt_unix.c: Likewise.
42001         * sunrpc/des_crypt.c: Likewise.
42002         * sunrpc/des_soft.c: Likewise.
42003         * sunrpc/get_myaddr.c: Likewise.
42004         * sunrpc/key_call.c: Likewise.
42005         * sunrpc/key_prot.c: Likewise.
42006         * sunrpc/netname.c: Likewise.
42007         * sunrpc/pm_getmaps.c: Likewise.
42008         * sunrpc/pm_getport.c: Likewise.
42009         * sunrpc/pmap_clnt.c: Likewise.
42010         * sunrpc/pmap_prot.c: Likewise.
42011         * sunrpc/pmap_prot2.c: Likewise.
42012         * sunrpc/pmap_rmt.c: Likewise.
42013         * sunrpc/publickey.c: Likewise.
42014         * sunrpc/rpc_cmsg.c: Likewise.
42015         * sunrpc/rpc_common.c: Likewise.
42016         * sunrpc/rpc_dtable.c: Likewise.
42017         * sunrpc/rpc_prot.c: Likewise.
42018         * sunrpc/rpc_thread.c: Likewise.
42019         * sunrpc/rtime.c: Likewise.
42020         * sunrpc/svc.c: Likewise.
42021         * sunrpc/svc_auth.c: Likewise.
42022         * sunrpc/svc_authux.c: Likewise.
42023         * sunrpc/svc_raw.c: Likewise.
42024         * sunrpc/svc_run.c: Likewise.
42025         * sunrpc/svc_simple.c: Likewise.
42026         * sunrpc/svc_tcp.c: Likewise.
42027         * sunrpc/svc_udp.c: Likewise.
42028         * sunrpc/svc_unix.c: Likewise.
42029         * sunrpc/svcauth_des.c: Likewise.
42030         * sunrpc/xcrypt.c: Likewise.
42031         * sunrpc/xdr.c: Likewise.
42032         * sunrpc/xdr_array.c: Likewise.
42033         * sunrpc/xdr_float.c: Likewise.
42034         * sunrpc/xdr_intXX_t.c: Likewise.
42035         * sunrpc/xdr_mem.c: Likewise.
42036         * sunrpc/xdr_rec.c: Likewise.
42037         * sunrpc/xdr_ref.c: Likewise.
42038         * sunrpc/xdr_sizeof.c: Likewise.
42039         * sunrpc/xdr_stdio.c: Likewise.
42041 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42043         [BZ #12650]
42044         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42045         * sysdeps/ia64/dl-tls.h: Likewise.
42046         * sysdeps/powerpc/dl-tls.h: Likewise.
42047         * sysdeps/s390/dl-tls.h: Likewise.
42048         * sysdeps/sh/dl-tls.h: Likewise.
42049         * sysdeps/sparc/dl-tls.h: Likewise.
42050         * sysdeps/x86_64/dl-tls.h: Likewise.
42051         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42053 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42055         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42056         rpath element also skip the following colon.
42057         (expand_dynamic_string_token): Add is_path parameter and pass
42058         down to DL_DST_REQUIRED and _dl_dst_substitute.
42059         (decompose_rpath): Call expand_dynamic_string_token with
42060         non-zero is_path.  Ignore empty rpaths.
42061         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42062         with zero is_path.
42064 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42067         Make cancelable.
42069 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42071         [BZ #12655]
42072         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42073         Patch by Filipe David Manana <fdmanana@apache.org>.
42075 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42077         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42078         Maintain aligned stack.
42079         (CHECK_RSP): Remove unused macro.
42081 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42083         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42084         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42086 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42088         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42090         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42092 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42094         [BZ #12518]
42095         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42096         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42097         * sysdeps/x86_64/memmove.c: New file.
42098         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42099         (memcpy): Renamed to ...
42100         (__new_memcpy): This.
42101         (memcpy): Provide GLIBC_2_14 memcpy.
42102         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42103         (memcpy): Provide GLIBC_2_2_5 memcpy.
42105 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42107         [BZ #12631]
42108         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42110 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42112         * misc/syncfs.c: New file.
42113         * misc/Makefile (routines): Add syncfs.
42114         * posix/unistd.h: Declare syncfs.
42115         * sysdeps/unix/syscalls.list: Add syncfs.
42117 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42119         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42120         open_by_handle_at.
42121         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42122         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42124         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42125         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42126         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42127         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42129 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42131         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42132         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42133         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42134         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42135         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42137         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42139         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42140         sync_file_range.c with -fexceptions.
42141         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42142         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42143         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42144         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42145         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42146         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42147         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42148         sync_file_range as cancellation point
42149         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42150         now a wrapper around __call_sync_file_range with cancellation handling.
42151         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42152         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42153         function name to __call_sync_file_range.
42154         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42155         Add call_sync_file_range.
42157 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42160         bits/timex.h.
42162 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42164         * iconv/iconv.h: Fix typo in comment.
42165         * io/fcntl.h: Likewise.
42166         * libio/stdio.h: Likewise.
42167         * posix/spawn.h: Likewise.
42168         * posix/unistd.h: Likewise.
42169         * stdlib/stdlib.h: Likewise.
42170         * time/time.h: Likewise.
42171         * wcsmbs/wchar.h: Likewise.
42173         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42174         open_by_handle): Add.
42175         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42176         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42177         Augment a few comments.
42178         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42179         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42180         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42183         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42184         open_by_handle.
42186         * io/fcntl.h (AT_EMPTY_PATH): Define.
42188 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42190         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42191         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42192         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42193         to...
42194         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42195         * Versions.def: Add GLIBC_2.14.
42196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42197         Export.
42199 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42201         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42202         round counter.
42203         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42205 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42207         [BZ #12597]
42208         * string/test-strncmp.c (do_page_test): New function.
42209         (check2): Likewise.
42210         (test_main): Call check2.
42211         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42213 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42215         [BZ #12587]
42216         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42217         Handle cache information in CPU leaf 4.
42218         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42220 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42222         [BZ #12583]
42223         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42224         character representation.
42225         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42227 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42229         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42230         END(__isnan) to END(__isnanf) to match function entry point/label
42231         EALIGN(__isnanf,...).
42233 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42235         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42237 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42239         [BZ #12510]
42240         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42241         copy from the symbol referenced in the relocation to initialize the
42242         used variable.
42243         Patch by Piotr Bury <pbury@goahead.com>.
42244         * elf/Makefile: Add rules to build and tst-unique3.
42245         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42246         * elf/tst-unique3.cc: New file.
42247         * elf/tst-unique3.h: New file.
42248         * elf/tst-unique3lib.cc: New file.
42249         * elf/tst-unique3lib2.cc: New file.
42251         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42253 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42255         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42256         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
42257         to _start.
42259 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
42261         * elf/dl-load.c (_dl_map_object): If we are looking for the first
42262         to-be-loaded object along a path to loader is ld.so.
42264 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42265             Ulrich Drepper  <drepper@gmail.com>
42267         * sysdeps/x86_64/memset.S: After aligning destination, code
42268         branches to different locations depending on the value of
42269         misalignment, when multiarch is enabled. Fix this.
42271 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42273         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42274         Set _x86_64_preferred_memory_instruction for AMD processsors.
42275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42276         Set bit_Prefer_SSE_for_memop for AMD processors.
42278 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
42280         * libio/fmemopen.c (fmemopen): Optimize a bit.
42282 2011-03-03  Andreas Schwab  <schwab@redhat.com>
42284         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42286 2011-03-03  Roland McGrath  <roland@redhat.com>
42288         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42290 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
42292         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42293         __bzero_ultra1 instead of __memset_ultra1.
42295 2011-02-23  Andreas Schwab  <schwab@redhat.com>
42296             Ulrich Drepper  <drepper@gmail.com>
42298         [BZ #12509]
42299         * include/link.h (struct link_map): Add l_orig_initfini.
42300         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42301         returning unsuccessfully.
42302         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42303         close of a file loaded at startup, restore the original l_initfini
42304         list.
42305         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42306         list, store the pointer.
42307         * elf/Makefile ($(objpfx)noload-mem): New rule.
42308         (noload-ENV): Define.
42309         (tests): Add $(objpfx)noload-mem.
42310         * elf/noload.c: Include <memcheck.h>.
42311         (main): Call mtrace.  Close all opened handles.
42313 2011-02-17  Andreas Schwab  <schwab@redhat.com>
42315         [BZ #12454]
42316         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42317         dependencies are missing.
42319 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42321         Fix __if_freereq crash: Unlike the generic version which uses free,
42322         Hurd needs munmap.
42323         * sysdeps/mach/hurd/ifreq.h: New file.
42325 2011-01-27  Petr Baudis  <pasky@suse.cz>
42326             Ulrich Drepper  <drepper@gmail.com>
42328         [BZ 12445]#
42329         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42330         to extend_alloca().
42331         * stdio-common/bug23.c: New file.
42332         * stdio-common/Makefile (tests): Add bug23.
42334 2010-09-28  Andreas Schwab  <schwab@redhat.com>
42335             Ulrich Drepper  <drepper@gmail.com>
42337         [BZ #12489]
42338         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42339         before performing relro protection.  At old place add assertion
42340         to make sure nothing changed.
42342 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
42343             Glauber de Oliveira Costa  <glommer@gmail.com>
42345         * elf/elf.h: Add new ARM TLS relocs.
42347 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
42349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42350         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42351         cast from r3.
42352         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
42353         'tests' variable.
42354         * sysdeps/wordsize-64/tst-writev.c: New file.
42356 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
42358         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42359         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42360         insns in _dl_start to prevent a TOC reference before relocs are
42361         resolved.
42363 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
42365         [BZ #12469]
42366         * Makeconfig: Remove RANLIB definition.
42367         * Makerules: Don't use RANLIB.
42368         * aclocal.m4: Remove ranlib test.
42369         * configure.in: No need to check for ranlib.
42370         * elf/rtld-Rules: Don't use RANLIB.
42372 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42374         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42375         protection macro.
42376         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42377         inclusion protection macro.
42379         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42380         SIGRTMIN and SIGRTMAX and print information in that case only when
42381         SIGRTMIN is defined.
42383 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
42385         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42386         arginfo fn returning -1.
42388         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42389         and thousands string is zero terminated.
42391 2011-02-03  Andreas Schwab  <schwab@redhat.com>
42393         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42394         sysdeps/unix/sysv/linux/bits/socket.h.
42396 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42398         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42399         (__CPU_COUNT): Remove old macros.
42400         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42401         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42402         (__CPU_ALLOC, __CPU_FREE): Add macros.
42403         (__sched_cpualloc, __sched_cpufree): Add declarations.
42405 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
42407         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42408         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42409         * nscd/aicache.c (addhstaiX): Return timeout of added value.
42410         (readdhstai): Return value of addhstaiX call.
42411         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42412         (addgrbyX): Return value returned by cache_addgr.
42413         (readdgrbyname): Return value returned by addgrbyX.
42414         (readdgrbygid): Likewise.
42415         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42416         (addpwbyX): Return value returned by cache_addpw.
42417         (readdpwbyname): Return value returned by addhstbyX.
42418         (readdpwbyuid): Likewise.
42419         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42420         (addservbyX): Return value returned by cache_addserv.
42421         (readdservbyname): Return value returned by addservbyX:
42422         (readdservbyport): Likewise.
42423         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42424         (addhstbyX): Return value returned by cache_addhst.
42425         (readdhstbyname): Return value returned by addhstbyX.
42426         (readdhstbyaddr): Likewise.
42427         (readdhstbynamev6): Likewise.
42428         (readdhstbyaddrv6): Likewise.
42429         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42430         (readdinitgroups): Return value returned by addinitgroupsX.
42431         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42432         (prune_cache): Keep track of timeout value of re-added entries.
42433         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42434         * nscd/nscd.h: Adjust prototypes of readd* functions.
42436 2011-02-04  Roland McGrath  <roland@redhat.com>
42438         * nis/nis_server.c (nis_servstate): Use the right name for 0.
42439         (nis_stats): Likewise.
42440         * nis/nis_modify.c (nis_modify): Likewise.
42441         * nis/nis_remove.c (nis_remove): Likewise.
42442         * nis/nis_add.c (nis_add): Likewise.
42444         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42446         * posix/fnmatch_loop.c: Add some consts.
42448         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42450 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
42452         [BZ #12460]
42453         * config.make.in (config-cflags-novzeroupper): Define.
42454         * configure.in: Substitute libc_cv_cc_novzeroupper.
42455         * elf/Makefile (AVX-CFLAGS): Define.
42456         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42457         (CFLAGS-tst-auditmod4a.c): Likewise.
42458         (CFLAGS-tst-auditmod4b.c): Likewise.
42459         (CFLAGS-tst-auditmod6b.c): Likewise.
42460         (CFLAGS-tst-auditmod6c.c): Likewise.
42461         (CFLAGS-tst-auditmod7b.c): Likewise.
42462         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42464 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
42466         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42467         function to the callback.
42468         Patch partly by Jiri Olsa <jolsa@redhat.com>.
42470 2011-02-02  Andreas Schwab  <schwab@redhat.com>
42472         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42473         of errno.
42475 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
42477         [BZ #11724]
42478         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42479         of constructors.
42480         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42481         of destructors.
42482         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42484         [BZ #11724]
42485         * elf/Makefile: Add rules to build and run new test.
42486         * elf/tst-initorder.c: New file.
42487         * elf/tst-initorder.exp: New file.
42488         * elf/tst-initordera1.c: New file.
42489         * elf/tst-initordera2.c: New file.
42490         * elf/tst-initordera3.c: New file.
42491         * elf/tst-initordera4.c: New file.
42492         * elf/tst-initorderb1.c: New file.
42493         * elf/tst-initorderb2.c: New file.
42494         * elf/tst-order-a1.c: New file.
42495         * elf/tst-order-a2.c: New file.
42496         * elf/tst-order-a3.c: New file.
42497         * elf/tst-order-a4.c: New file.
42498         * elf/tst-order-b1.c: New file.
42499         * elf/tst-order-b2.c: New file.
42500         * elf/tst-order-main.c: New file.
42501         New test case by George Gensure <werkt0@gmail.com>.
42503 2010-10-01  Andreas Schwab  <schwab@redhat.com>
42505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42506         decoding ACE if AI_CANONIDN.
42508 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
42510         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42512 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
42514         * version.h (RELEASE): Bump for 2.13 release.
42515         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42517         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42519         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42520         MADV_NOHUGEPAGE.
42521         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42522         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42523         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42524         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42525         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42526         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42528         * posix/getconf.c: Update copyright year.
42529         * catgets/gencat.c: Likewise.
42530         * csu/version.c: Likewise.
42531         * debug/catchsegv.sh: Likewise.
42532         * debug/xtrace.sh: Likewise.
42533         * elf/ldconfig.c: Likewise.
42534         * elf/ldd.bash.in: Likewise.
42535         * elf/sprof.c (print_version): Likewise.
42536         * iconv/iconv_prog.c: Likewise.
42537         * iconv/iconvconfig.c: Likewise.
42538         * locale/programs/locale.c: Likewise.
42539         * locale/programs/localedef.c: Likewise.
42540         * malloc/memusage.sh: Likewise.
42541         * malloc/mtrace.pl: Likewise.
42542         * nscd/nscd.c (print_version): Likewise.
42543         * nss/getent.c: Likewise.
42545         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42546         PF_CAIF, and PF_ALG.
42547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42549 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
42551         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42552         (modules-names): Use them.
42553         (ifunc-test-modules, ifunc-pie-tests): Define.
42554         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42555         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42556         (test-extras): Likewise.
42557         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42558         $(compile-command.c).
42559         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42560         (all-built-dso): Define.
42561         (check-textrel.out, check-execstack.out): Depend on it.
42563         * configure.in: Don't override --enable-multi-arch.
42565 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
42567         [BZ #6812]
42568         * nscd/hstcache.c (tryagain): Define.
42569         (cache_addhst): Return tryagain not notfound for temporary errors.
42570         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42571         failed.
42573 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
42575         [BZ #10563]
42576         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42577         to make the syscall.
42578         * sysdeps/unix/sysv/linux/setgroups.c: New file.
42580         [BZ #12378]
42581         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42582         and fall back to matching as normal character if the string ends before
42583         the matching ']' is found.  This is what POSIX requires.
42584         * posix/testfnm.c: Adjust test result.
42585         * posix/globtest.sh: Adjust test result.  Add new test.
42586         * posix/tst-fnmatch.input: Likewise.
42587         * posix/tst-fnmatch2.c: Add new test.
42589 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
42591         * elf/Makefile (check-execstack): Revert last change.  Depend on
42592         check-execstack.h.
42593         (check-execstack.h): New target.
42594         (generated): Add check-execstack.h.
42595         * elf/check-execstack.c: Include "check-execstack.h".
42596         (main): Revert last change.
42597         (handle_file): Return zero if GNU_STACK is absent and
42598         DEFAULT_STACK_PERMS doesn't include PF_X.
42600 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
42602         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42603         in child fails because the descriptor is already closed.
42604         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42605         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42606         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42608         [BZ #12397]
42609         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42610         syscall.
42612         [BZ #10484]
42613         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42614         temporary buffer used to handle multi lookups locally.
42615         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42617 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42619         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42620         loader is ld.so.
42622 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
42624         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42625         alignment for SSE2.
42627 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42629         [BZ #12394]
42630         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42631         characters.  When rounding increased number of integer digits recompute
42632         number of groups.
42633         * stdio-common/tst-grouping.c: New file.
42634         * stdio-common/Makefile: Add rules to build and run tst-grouping.
42636 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
42638         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42639         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
42641         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42642         void.
42643         * bits/select.h: Likewise.
42645 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
42647         * po/ja.po: Update from translation team.
42649 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
42651         [BZ #11155]
42652         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42653         implementation just like for lxstat, fxstatat, et al.
42655 2010-12-27  Jim Meyering  <meyering@redhat.com>
42657         [BZ #12348]
42658         * posix/regexec.c (build_trtable): Return failure indication upon
42659         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
42661 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
42663         [BZ #12201]
42664         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42665         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42666         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42667         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42669         [BZ #12207]
42670         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42672         [BZ #12204]
42673         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42674         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42676 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
42678         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42679         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42680         script has SORT_BY_INIT_PRIORITY.
42681         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42682         NO_CTORS_DTORS_SECTIONS is defined.
42683         * elf/soinit.c: Likewise.
42684         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42685         NO_CTORS_DTORS_SECTIONS is defined.
42686         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42687         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42688         * sysdeps/sh/init-first.c: Likewise.
42689         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42691 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
42693         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42694         always use the slow path.
42696 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
42698         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42699         similar rule which adds the sysdep directories to the header search in
42700         order to pick up the correct platform stackinfo.h.
42701         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42702         perform test if it is, otherwise return successfully without testing.
42703         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42704         DEFAULT_STACK_PERMS define in stackinfo.h.
42705         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42706         defined in stackinfo.h.
42707         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42708         DEFAULT_STACK_PERMS defined in stackinfo.h.
42709         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42710         * sysdeps/ia64/stackinfo.h: Likewise.
42711         * sysdeps/s390/stackinfo.h: Likewise.
42712         * sysdeps/sh/stackinfo.h: Likewise.
42713         * sysdeps/sparc/stackinfo.h: Likewise.
42714         * sysdeps/x86_64/stackinfo.h: Likewise.
42715         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42716         PF_X for powerpc64.  Retain PF_X for powerpc32.
42718 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
42720         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42721         accurately.
42722         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42723         GETDENTS_64BIT_ALIGNED.
42725 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
42727         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42729 2010-12-10  Andreas Schwab  <schwab@redhat.com>
42731         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42732         _GNU_SOURCE.
42734         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42735         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42736         Remove __restrict.
42737         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42738         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42740 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
42742         [BZ #11655]
42743         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42744         are initialized.
42746 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
42748         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42750 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
42752         * po/it.po: Update from translation team.
42754 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
42756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42757         unused codes.
42759 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
42761         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42763 2010-11-24  Andreas Schwab  <schwab@redhat.com>
42765         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42766         specially.
42767         (gaih_getanswer_slice): Likewise.
42769 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
42771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42773 2010-05-31  Petr Baudis  <pasky@suse.cz>
42775         [BZ #11149]
42776         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42777         silently even in the chroot mode.
42779 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
42781         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42782         last patch a bit.  Pretty printing
42784 2010-05-31  Petr Baudis <pasky@suse.cz>
42786         [BZ #10085]
42787         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42788         initialization of skip_initgroups_dyn.
42790 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
42792         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42795 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
42797         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42799 2010-11-11  Andreas Schwab  <schwab@redhat.com>
42801         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42802         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42803         (tst-fnmatch-ENV): Set MALLOC_TRACE.
42804         ($(objpfx)tst-fnmatch-mem): New rule.
42805         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42806         * posix/tst-fnmatch.c (main): Call mtrace.
42808 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
42810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42811         Support Intel processor model 6 and model 0x2c.
42813 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
42815         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42816           signed comparison.
42818 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
42820         [BZ #12205]
42821         * string/test-strncasecmp.c (check_result): New function.
42822         (do_one_test): Use it.
42823         (check1): New function.
42824         (test_main): Use it.
42825         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42826         Support strcasecmp and strncasecmp.
42828 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
42830         [BZ #12194]
42831         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42832         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42834 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42836         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42837         IFUNC support.
42838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42839         memset-x86-64.
42840         * sysdeps/x86_64/multiarch/bzero.S: New file.
42841         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42842         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42843         * sysdeps/x86_64/multiarch/memset.S: New file.
42844         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42846         Set bit_Prefer_SSE_for_memop for Intel processors.
42847         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42848         Define.
42849         (index_Prefer_SSE_for_memop): Define.
42850         (HAS_PREFER_SSE_FOR_MEMOP): Define.
42852 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
42854         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42855         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42857 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
42859         [BZ #12191]
42860         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42861         (__x86_64_raw_data_cache_size_half): Likewise.
42862         (__x86_64_raw_shared_cache_size): Likewise.
42863         (__x86_64_raw_shared_cache_size_half): Likewise.
42865         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42866         (__x86_64_raw_data_cache_size_half): Likewise.
42867         (__x86_64_raw_shared_cache_size): Likewise.
42868         (__x86_64_raw_shared_cache_size_half): Likewise.
42869         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42870         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42871         and __x86_64_raw_shared_cache_size_half.  Round
42872         __x86_64_data_cache_size_half, __x86_64_data_cache_size
42873         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42874         to multiple of 256 bytes.
42876 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
42878         [BZ #12167]
42879         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42880         of inacessible symlinks.  Verify result of symlink before returning it.
42881         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42882         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42884 2010-10-28  Erich Ritz  <erichritz@gmail.com>
42886         * math/math.h (isinf): Fix typo in comment.
42888 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
42890         * po/da.po: Update from translation team.
42892 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
42894         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42895         is added to the list.
42897 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42898             Ulrich Drepper  <drepper@gmail.com>
42900         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42901         the global list here.  Move code to...
42902         (_dl_add_to_namespace_list): ...here.  New function.
42903         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42904         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42905         * elf/dl-load.c (lose): Don't remove the element from the list.
42906         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42907         (_dl_map_object): Likewise.
42909 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42911         [BZ #12159]
42912         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42913         into all bytes of SSE register.
42914         Patch by Richard Li <richardpku@gmail.com>.
42916 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42918         [BZ #12140]
42919         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42920         perturbing.
42922 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42924         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42925         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42926         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42927         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42929         submachine.
42930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42932 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42934         * include/dlfcn.h (__RTLD_SECURE): Define.
42935         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42936         mode & __RTLD_SECURE instead.
42937         (open_path): Rename preloaded parameter to secure.
42938         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42939         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42940         * elf/dl-deps.c (openaux): Likewise.
42941         * elf/rtld.c (struct map_args): Remove is_preloaded.
42942         (map_doit): Don't use it.
42943         (dl_main): Likewise.
42944         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42945         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42947 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42949         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42950         (sysd-rules-targets): Remove duplicates.
42951         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42952         rtld-%.$o dependency.
42954 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42956         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42957         _dl_map_object do it.
42959 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42961         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42962         fast fma builtins, define the macros in the C99 standard.
42963         (FP_FAST_FMAF): Likewise.
42964         (FP_FAST_FMAL): Likewise.
42965         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42967         * bits/mathdef.h: Update copyright year.
42968         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42970 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42972         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42973         builtins, define the macros in the C99 standard.
42974         (FP_FAST_FMAF): Likewise.
42975         (FP_FAST_FMAL): Likewise.
42976         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42977         multiply/add.
42978         (FP_FAST_FMAF): Likewise.
42980 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42982         [BZ #3268]
42983         * math/libm-test.inc (fma_test): Some new testcases.
42984         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42986         y and infinite z.  Do multiplication by C already in long double.
42987         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42989         y and infinite z.  Do bitwise or of inexact bit into u.d.
42990         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42991         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42992         * sysdeps/i386/fpu/s_fma.S: Removed.
42993         * sysdeps/i386/fpu/s_fmal.S: Removed.
42995 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42997         [BZ #3268]
42998         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43000         computation is not scheduled after fetestexcept.  Fix value
43001         of minimum denormal long double.
43003 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43005         [BZ #3268]
43006         * math/libm-test.inc (fma_test): Add some more tests.
43007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43008         correctly.
43010 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43012         * scripts/data/localplt-s390-linux-gnu.data: New file.
43013         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43015 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43017         [BZ #3268]
43018         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43019         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43020         instead of dbl-64.
43021         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43022         inlines.
43023         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43024         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43025         if one of x and y is very large and the other is subnormal.
43026         * sysdeps/s390/fpu/s_fmaf.c: New file.
43027         * sysdeps/s390/fpu/s_fma.c: New file.
43028         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43029         * sysdeps/powerpc/fpu/s_fma.S: New file.
43030         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43031         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43032         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43034 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43036         [BZ #3268]
43037         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43038         fma tests.
43039         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43040         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43041         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43042         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43043         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43044         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43045         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43047 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43049         [BZ #12078]
43050         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43051         * posix/bug-regex31.input: Add test case.
43053 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43055         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43056         * posix/bug-regex31.input: New file.
43058         [BZ #12078]
43059         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43060         (parse_sub_exp): Fix last change, use postorder.
43062         * posix/bug-regex31.c: New file.
43063         * posix/Makefile: Add rules to build and run bug-regex31.
43065         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43067         [BZ #12078]
43068         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43070         [BZ #12108]
43071         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43072         to have entries in sys_siglist.
43074         [BZ #12093]
43075         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43076         be NULL.
43078 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43080         [BZ #3268]
43081         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43082         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43083         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43084         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43085         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43086         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43087         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43088         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43089         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43090         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43091         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43092         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43093         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43094         * math/ftestexcept.c (fetestexcept): Likewise.
43095         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43096         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43097         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43098         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43099         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43100         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43101         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43103 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43105         [BZ #12107]
43106         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43107         newline.
43109 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43111         * string/bug-strstr1.c: New file.
43112         * string/Makefile: Add rules to build and run bug-strstr1.
43114 2010-10-05  Eric Blake  <eblake@redhat.com>
43116         [BZ #12092]
43117         * string/str-two-way.h (two_way_long_needle): Always clear memory
43118         when skipping input due to the shift table.
43120 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43122         [BZ #12005]
43123         * malloc/mcheck.c: Handle large requests.
43125         [BZ #12077]
43126         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43127         for strncmp and strncasecmp.
43128         * string/stratcliff.c: Add tests for strcmp and strncmp.
43129         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43131 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43133         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43134         __set_fpscr.
43136 2010-09-30  Andreas Jaeger  <aj@suse.de>
43138         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43139         (CGROUP_SUPER_MAGIC): Define.
43140         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43141         Handle btrfs and cgroup file systems.
43142         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43143         Likewise.
43145 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43147         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43148         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43150 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43152         [BZ #12067]
43153         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43154         trying to locate the ELF header.
43156 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43158         [BZ #11611]
43159         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43160         Mask out sign-bit copies when constructing f_fsid.
43162 2010-09-24  Petr Baudis <pasky@suse.cz>
43164         * debug/stack_chk_fail_local.c: Add missing licence exception.
43165         * debug/warning-nop.c: Likewise.
43167 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43169         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43170         implementing getdents64 using getdents syscall, set d_type if
43171         __ASSUME_GETDENTS32_D_TYPE.
43173 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43175         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43176         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43178 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43180         [BZ #12037]
43181         * posix/unistd.h: Undo change of feature selection for ftruncate from
43182         2010-01-11.
43184 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43186         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43187         detection.
43189 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43191         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43192         fanotify_mark.
43193         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43195 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43197         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43198         variables after CHECK_SP call.
43199         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43201 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43202             Ulrich Drepper  <drepper@redhat.com>
43204         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43205         re-relocationg ld.so.
43206         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43207         _dl_init_paths call.
43208         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43209         here anymore.
43211 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43213         * resolv/res_init.c (__res_vinit): Count the default server we added.
43215 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43216             Ulrich Drepper  <drepper@redhat.com>
43218         [BZ #11968]
43219         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43220         (____longjmp_chk): Use %ebx for saving value across system call.
43221         Add unwind info.
43223 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43225         * manual/Makefile: Don't mix pattern rules with normal rules.
43227 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43229         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43230         operation.
43231         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43232         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43233         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43234         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43236         Likewise.
43238 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43240         [BZ #11979]
43241         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43242         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43244 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43246         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43247         * sysdeps/x86_64/addmul_1.S: Likewise.
43248         * sysdeps/x86_64/lshift.S: Likewise.
43249         * sysdeps/x86_64/mul_1.S: Likewise.
43250         * sysdeps/x86_64/rshift.S: Likewise.
43251         * sysdeps/x86_64/sub_n.S: Likewise.
43252         * sysdeps/x86_64/submul_1.S: Likewise.
43254 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43256         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43257         Define __sched_param instead of SCHED_* and sched_param when
43258         <bits/sched.h> is included with __need_schedparam defined.
43259         * bits/sched.h [__need_schedparam]
43260         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43261         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43262         (__defined_schedparam): Define to 1.
43263         (__sched_param): New structure, identical to sched_param.
43264         (__need_schedparam): Undefine.
43266 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
43268         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43269         (epoll_create1): Declare.
43271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43273 2010-08-31  Andreas Schwab  <schwab@redhat.com>
43275         [BZ #7066]
43276         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43277         shifting retval into place.
43279 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
43281         * nis/rpcsvc/nis.h: Update copyright notice.
43282         * nis/rpcsvc/nis.x: Likewise.
43283         * nis/rpcsvc/nis_callback.h: Likewise.
43284         * nis/rpcsvc/nis_callback.x: Likewise.
43285         * nis/rpcsvc/nis_object.x: Likewise.
43286         * nis/rpcsvc/nis_tags.h: Likewise.
43287         * nis/rpcsvc/yp.h: Likewise.
43288         * nis/rpcsvc/yp.x: Likewise.
43289         * nis/rpcsvc/ypupd.h: Likewise.
43290         * nis/yp_xdr.c: Likewise.
43291         * nis/ypupdate_xdr.c: Likewise.
43293         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
43294         mainly the body of pmap_getport.  Add parameters to specify timeouts.
43295         (pmap_getport): Use __libc_rpc_getport.
43296         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43297         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43298         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43300 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
43302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43303         fanotify_mark.
43305 2010-08-27  Roland McGrath  <roland@redhat.com>
43307         * sysdeps/i386/i686/multiarch/Makefile
43308         (CFLAGS-varshift.c): New variable.
43310 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
43312         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43313         * sysdeps/i386/i686/multiarch/varshift.c: New file.
43315         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43317         * sysdeps/x86_64/strlen.S: Minimal code improvement.
43319 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
43321         * sysdeps/x86_64/strlen.S: Unroll the loop.
43322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43323         strlen-sse2 strlen-sse2-bsf.
43324         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43325         __strlen_no_bsf if bit_Slow_BSF is set.
43326         (__strlen_sse42): Removed.
43327         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43328         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43330 2010-08-25  Roland McGrath  <roland@redhat.com>
43332         * sysdeps/x86_64/multiarch/varshift.S: File removed.
43333         * sysdeps/x86_64/multiarch/varshift.c: New file.
43334         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43335         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43336         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43337         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43339 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
43341         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43342         strlen-sse2 strlen-sse2-bsf.
43343         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43344         __strlen_sse2_bsf if bit_Slow_BSF is unset.
43345         (__strlen_sse2): Removed.
43346         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43347         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43349         bit_Slow_BSF for Atom.
43350         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43351         (index_Slow_BSF): Define.
43352         (HAS_SLOW_BSF): Define.
43354 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
43356         [BZ #10851]
43357         * resolv/res_init.c (__res_vinit): When no server address at all
43358         is given default to loopback.
43360 2010-08-24  Roland McGrath  <roland@redhat.com>
43362         * configure.in: Remove config-name.h generation.
43363         * configure: Regenerated.
43364         * config-name.in: File removed.
43365         * scripts/config-uname.sh: New file.
43366         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43367         ($(objdir)config-name.h): New target.
43369         * sunrpc/rpc_parse.h: Avoid nested comment.
43371 2010-08-24  Richard Henderson  <rth@redhat.com>
43372             Ulrich Drepper  <drepper@redhat.com>
43373             H.J. Lu  <hongjiu.lu@intel.com>
43375         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43377         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43378         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
43379         _mm_alignr_epi8 with _mm_loadu_si128.
43380         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43381         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43382         (__m128i_shift_right): Removed.
43383         * sysdeps/i386/i686/multiarch/varshift.h: New file.
43384         * sysdeps/i386/i686/multiarch/varshift.S: New file.
43385         * sysdeps/x86_64/multiarch/varshift.h: New file.
43386         * sysdeps/x86_64/multiarch/varshift.S: New file.
43388 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
43390         * configure.in: Move assembler checks to before sysdep dir checking.
43392 2010-08-20  Petr Baudis  <pasky@suse.cz>
43394         * LICENSES: Sync the sunrpc license.
43396 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
43398         * sunrpc/auth_des.c: Update copyright notice once again.
43399         * sunrpc/auth_none.c: Likewise.
43400         * sunrpc/auth_unix.c: Likewise.
43401         * sunrpc/authdes_prot.c: Likewise.
43402         * sunrpc/authuxprot.c: Likewise.
43403         * sunrpc/bindrsvprt.c: Likewise.
43404         * sunrpc/clnt_gen.c: Likewise.
43405         * sunrpc/clnt_perr.c: Likewise.
43406         * sunrpc/clnt_raw.c: Likewise.
43407         * sunrpc/clnt_simp.c: Likewise.
43408         * sunrpc/clnt_tcp.c: Likewise.
43409         * sunrpc/clnt_udp.c: Likewise.
43410         * sunrpc/clnt_unix.c: Likewise.
43411         * sunrpc/des_crypt.c: Likewise.
43412         * sunrpc/des_soft.c: Likewise.
43413         * sunrpc/get_myaddr.c: Likewise.
43414         * sunrpc/getrpcport.c: Likewise.
43415         * sunrpc/key_call.c: Likewise.
43416         * sunrpc/key_prot.c: Likewise.
43417         * sunrpc/openchild.c: Likewise.
43418         * sunrpc/pm_getmaps.c: Likewise.
43419         * sunrpc/pm_getport.c: Likewise.
43420         * sunrpc/pmap_clnt.c: Likewise.
43421         * sunrpc/pmap_prot.c: Likewise.
43422         * sunrpc/pmap_prot2.c: Likewise.
43423         * sunrpc/pmap_rmt.c: Likewise.
43424         * sunrpc/rpc/auth.h: Likewise.
43425         * sunrpc/rpc/auth_unix.h: Likewise.
43426         * sunrpc/rpc/clnt.h: Likewise.
43427         * sunrpc/rpc/des_crypt.h: Likewise.
43428         * sunrpc/rpc/key_prot.h: Likewise.
43429         * sunrpc/rpc/netdb.h: Likewise.
43430         * sunrpc/rpc/pmap_clnt.h: Likewise.
43431         * sunrpc/rpc/pmap_prot.h: Likewise.
43432         * sunrpc/rpc/pmap_rmt.h: Likewise.
43433         * sunrpc/rpc/rpc.h: Likewise.
43434         * sunrpc/rpc/rpc_des.h: Likewise.
43435         * sunrpc/rpc/rpc_msg.h: Likewise.
43436         * sunrpc/rpc/svc.h: Likewise.
43437         * sunrpc/rpc/svc_auth.h: Likewise.
43438         * sunrpc/rpc/types.h: Likewise.
43439         * sunrpc/rpc/xdr.h: Likewise.
43440         * sunrpc/rpc_clntout.c: Likewise.
43441         * sunrpc/rpc_cmsg.c: Likewise.
43442         * sunrpc/rpc_common.c: Likewise.
43443         * sunrpc/rpc_cout.c: Likewise.
43444         * sunrpc/rpc_dtable.c: Likewise.
43445         * sunrpc/rpc_hout.c: Likewise.
43446         * sunrpc/rpc_main.c: Likewise.
43447         * sunrpc/rpc_parse.c: Likewise.
43448         * sunrpc/rpc_parse.h: Likewise.
43449         * sunrpc/rpc_prot.c: Likewise.
43450         * sunrpc/rpc_sample.c: Likewise.
43451         * sunrpc/rpc_scan.c: Likewise.
43452         * sunrpc/rpc_scan.h: Likewise.
43453         * sunrpc/rpc_svcout.c: Likewise.
43454         * sunrpc/rpc_tblout.c: Likewise.
43455         * sunrpc/rpc_util.c: Likewise.
43456         * sunrpc/rpc_util.h: Likewise.
43457         * sunrpc/rpcinfo.c: Likewise.
43458         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43459         * sunrpc/rpcsvc/key_prot.x: Likewise.
43460         * sunrpc/rpcsvc/klm_prot.x: Likewise.
43461         * sunrpc/rpcsvc/mount.x: Likewise.
43462         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43463         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43464         * sunrpc/rpcsvc/rex.x: Likewise.
43465         * sunrpc/rpcsvc/rstat.x: Likewise.
43466         * sunrpc/rpcsvc/rusers.x: Likewise.
43467         * sunrpc/rpcsvc/sm_inter.x: Likewise.
43468         * sunrpc/rpcsvc/spray.x: Likewise.
43469         * sunrpc/rpcsvc/yppasswd.x: Likewise.
43470         * sunrpc/rtime.c: Likewise.
43471         * sunrpc/svc.c: Likewise.
43472         * sunrpc/svc_auth.c: Likewise.
43473         * sunrpc/svc_authux.c: Likewise.
43474         * sunrpc/svc_raw.c: Likewise.
43475         * sunrpc/svc_run.c: Likewise.
43476         * sunrpc/svc_simple.c: Likewise.
43477         * sunrpc/svc_tcp.c: Likewise.
43478         * sunrpc/svc_udp.c: Likewise.
43479         * sunrpc/svc_unix.c: Likewise.
43480         * sunrpc/svcauth_des.c: Likewise.
43481         * sunrpc/xcrypt.c: Likewise.
43482         * sunrpc/xdr.c: Likewise.
43483         * sunrpc/xdr_array.c: Likewise.
43484         * sunrpc/xdr_float.c: Likewise.
43485         * sunrpc/xdr_mem.c: Likewise.
43486         * sunrpc/xdr_rec.c: Likewise.
43487         * sunrpc/xdr_ref.c: Likewise.
43488         * sunrpc/xdr_sizeof.c: Likewise.
43489         * sunrpc/xdr_stdio.c: Likewise.
43491         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43492         handling.
43494 2010-08-19  Andreas Schwab  <schwab@redhat.com>
43496         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43498 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
43500         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43501         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43502         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43503         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43504         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43505         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43506         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43507         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43508         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43509         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43510         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43511         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43512         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43513         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43515 2010-07-26  Anton Blanchard  <anton@samba.org>
43517         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43518         * malloc/arena.c (heap_trim): Likewise.
43520 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
43522         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43523         here.  Not...
43524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43525         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43527 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43529         * sysdeps/i386/elf/Makefile: New file.
43531 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43533         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43534         from fanotify_init.
43535         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43538 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
43540         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43541         of strncasecmp_l.
43542         * sysdeps/multiarch/strcmp.S: Likewise.
43544 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
43546         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43547         strncase_l-nonascii.
43548         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43549         Add strncase_l-ssse3.
43550         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43551         * sysdeps/x86_64/strcmp.S: Likewise.
43552         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43553         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43554         * sysdeps/x86_64/strncase.S: New file.
43555         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43556         * sysdeps/x86_64/strncase_l.S: New file.
43557         * string/Makefile (strop-tests): Add strncasecmp.
43558         * string/test-strncasecmp.c: New file.
43560         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43561         warning.
43563         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43564         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43566 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43568         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43570 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
43572         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43573         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43574         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43576 2010-05-01  Alan Modra  <amodra@gmail.com>
43578         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43579         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43580         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43581         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43582         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43583         tidying.  Don't tail-call __sigjmp_save for static lib.
43584         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43585         save location.
43586         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43587         (CALL_MCOUNT): Add eh info, and nop after bl.
43588         (TAIL_CALL_SYSCALL_ERROR): New macro.
43589         (PSEUDO_RET): Use it.
43590         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43591         Correct save location of integer regs and cr.
43592         (_dl_profile_resolve): Correct cr save location.  Delete nops
43593         after bl when SHARED.  Reduce cfi size a little by better
43594         placement of cfi directives.
43595         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43596         make a stack frame.  Instead use parm save area as a temp.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43598         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
43599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43600         Don't make a stack frame for parent, use parm save area.
43601         Increase child stack frame to 112 bytes.  Don't save unused reg,
43602         and adjust reg usage.  Set up cfi on error recovery and
43603         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43605         (__makecontext): Add dummy nop after jump to exit.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43607         Use correct parm save area and cr save, reduce stack frame.
43608         Correct cfi for possible PSEUDO_RET frame setup.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43610         Branch to local label emitted by PSEUDO_RET rather than
43611         __syscall_error.
43613 2010-08-12  Andreas Schwab  <schwab@redhat.com>
43615         [BZ #11904]
43616         * locale/programs/locale.c (print_assignment): New function.
43617         (show_locale_vars): Use it.
43619 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
43621         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43622         field.
43623         (struct statfs64): Likewise.
43624         (_STATFS_F_FLAGS): Define.
43625         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43626         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43627         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43628         (ST_VALID): Define locally.
43629         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43630         __statvfs_getflags, use the provided value.
43631         * sysdeps/unix/sysv/linux/kernel-features.h: Define
43632         __ASSUME_STATFS_F_FLAGS.
43634         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43636         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43637         Add sys/fanotify.h.
43638         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43639         fanotify_mask for GLIBC_2.13.
43640         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43641         fanotify_init and fanotify_mark.
43642         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43643         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43645         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43646         Add prlimit.
43647         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43648         prlimit64 for GLIBC_2.13.
43649         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43650         prlimit64.
43651         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43652         syscall.
43653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43654         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43655         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43656         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
43658         add prlimit alias.
43659         * sysdeps/unix/sysv/linux/prlimit.c: New file.
43661         [BZ #11903]
43662         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43663         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43665         * nss/Makefile: Add rules to build and run tst-nss-test1.
43666         * shlib-versions: Add entry for libnss_test1.
43667         * nss/nss_test1.c: New file.
43668         * nss/tst-nss-test1.c: New file.
43670         * nss/nsswitch.c (__nss_database_custom): Define new variable.
43671         (__nss_configure_lookup): Set appropriate entry in
43672         __nss_configure_lookup to true.
43673         * nss/nsswitch.h: Define enum with indeces of databases in
43674         databases and __nss_database_custom arrays.  Declare
43675         __nss_database_custom.
43676         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43677         to avoid using nscd when custom rules are installed.
43678         * nss/getXXbyYY_r.c: Likewise.
43679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43681         * nss/nss_files/files-parse.c: Whitespace fixes.
43683 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
43685         [BZ #11883]
43686         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43687         * posix/fnmatch_loop.c: Likewise.
43689 2010-07-17  Andi Kleen  <ak@linux.intel.com>
43691         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43692         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43693         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43694         * Versions.def [GLIBC_2.13]: Add.
43696 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
43698         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43699         Also fail if tpwd after pwuid call is NULL.
43701 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43703         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43704         when converting to ms.
43706 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43708         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43709         EOPNOTSUPP errors with ENOTTY.
43710         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43711         EOPNOTSUPP errors with ENOTTY.
43713 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
43715         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43716         Add strcasecmp_l-ssse3.
43717         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43718         strcasecmp.
43719         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43720         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43721         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43723 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
43725         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43727         * string/Makefile (strop-tests): Add strcasecmp.
43728         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43729         strcasecmp_l-nonascii.
43730         (gen-as-const-headers): Add locale-defines.sym.
43731         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43732         * sysdeps/x86_64/strcasecmp.S: New file.
43733         * sysdeps/x86_64/strcasecmp_l.S: New file.
43734         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43735         * sysdeps/x86_64/locale-defines.sym: New file.
43736         * string/test-strcasecmp.c: New file.
43738         * string/test-strcasestr.c: Test both ends of the range of characters.
43739         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43741 2010-07-29  Roland McGrath  <roland@redhat.com>
43743         [BZ #11856]
43744         * manual/locale.texi (Yes-or-No Questions): Fix example code.
43746 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
43748         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43749         for ld.so.
43751 2010-07-27  Andreas Schwab  <schwab@redhat.com>
43753         * manual/memory.texi (Malloc Tunable Parameters): Document
43754         M_PERTURB.
43756 2010-07-26  Roland McGrath  <roland@redhat.com>
43758         [BZ #11840]
43759         * configure.in (-fgnu89-inline check): Set and substitute
43760         gnu89_inline, not libc_cv_gnu89_inline.
43761         * configure: Regenerated.
43762         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43764 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
43766         * string/test-strnlen.c: New file.
43767         * string/Makefile (strop-tests): Add strnlen.
43768         * string/tester.c (test_strnlen): Add a few more test cases.
43769         * string/tst-strlen.c: Better error reporting.
43771         * sysdeps/x86_64/strnlen.S: New file.
43773 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
43775         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43776         lower-latency instructions.
43778 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
43780         * string/test-strcasestr.c: New file.
43781         * string/test-strstr.c: New file.
43782         * string/Makefile (strop-tests): Add strstr and strcasestr.
43783         * string/str-two-way.h: Don't undefine MAX.
43784         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43786 2010-07-21  Andreas Schwab  <schwab@redhat.com>
43788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43789         strcasestr-nonascii.
43790         (CFLAGS-strcasestr-nonascii.c): Define.
43791         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43792         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43793         Remove unused attribute.
43795 2010-07-20  Roland McGrath  <roland@redhat.com>
43797         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43798         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
43799         ld.so.cache was broken.  With it, there is no way to disable dsocaps
43800         like LD_HWCAP_MASK can disable hwcaps.
43802 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43804         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43806 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
43808         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43809         call in strcasestr.
43810         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43811         __strcasestr_sse42_nonascii.
43812         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43813         strcasestr-nonascii.c.
43814         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43816 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
43818         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43819         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43820         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43821         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43823 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
43825         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43826         fcntl.
43828 2010-07-06  Andreas Schwab  <schwab@redhat.com>
43830         [BZ #11577]
43831         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43832         dl_signal_cerror.
43834 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
43836         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43837         _PC_PIPE_BUF using F_GETPIPE_SZ.
43839 2010-07-05  Roland McGrath  <roland@redhat.com>
43841         * manual/arith.texi (Rounding Functions): Fix rint description
43842         implicit in round description.
43844 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
43846         * elf/Makefile: Fix linking for a few tests to make recent linker
43847         happy.
43849 2010-06-30  Andreas Schwab  <schwab@redhat.com>
43851         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43852         $(common-objpfx)libc_nonshared.a.
43854 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
43856         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43857         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43858         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43859         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43860         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43861         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43862         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43863         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43878         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43879         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43880         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43881         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43882         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43883         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43884         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43885         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43886         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43887         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43888         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43889         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43905 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43907         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43908         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43909         * string/memmove.c (memmove): Renamed to ...
43910         (MEMMOVE): ...this.  Default to memmove.
43911         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43912         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43913         (END_CHK): Define.
43914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43915         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43916         mempcpy-ssse3-back memmove-ssse3-back.
43917         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43918         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43919         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43920         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43921         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43922         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43923         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43924         * sysdeps/x86_64/multiarch/memmove.c: New file.
43925         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43926         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43927         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43928         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43929         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43930         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43931         Define.
43932         (index_Fast_Copy_Backward): Define.
43933         (HAS_ARCH_FEATURE): Define.
43934         (HAS_FAST_REP_STRING): Define.
43935         (HAS_FAST_COPY_BACKWARD): Define.
43937 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43939         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43940         Restore proper fallback handling.
43942 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43944         [BZ #11701]
43945         * posix/group_member.c (__group_member): Correct checking loop.
43947         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43948         OOM in getpwuid_r correctly.  Return error number when the caller
43949         should return, otherwise -1.
43950         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43951         call returning > 0 value.
43952         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43954 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43956         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43957         libc_nonshared.a from targets in modules-names.
43959 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43961         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43962         requires it.
43964 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43966         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43967         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43968         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43969         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43971 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43973         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43975 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43977         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43978         and F_GETPIPE_SZ.
43979         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43981         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43983         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43984         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43986 2010-06-14  Roland McGrath  <roland@redhat.com>
43988         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43990 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43992         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43993         __REDIRECT followed by __THROW.
43994         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43995         * posix/getopt.h (getopt): Likewise.
43997 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43999         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44000         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44001         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44002         in AT_FLAGS.
44003         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44004         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44006 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44008         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44010 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44012         [BZ #11640]
44013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44014         Properly check family and model.
44016 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44018         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44020 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44022         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44024 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44026         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44027         symbol reference.
44029 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44031         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44032         symbol reference.
44034 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44036         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44037         and internal_recvmmsg.
44038         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44039         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44040         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44041         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44043         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44044         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44045         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44047 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44049         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44051 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44053         POWER7 optimizations.
44054         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44055         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44057 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44059         * version.h: Update for 2.13 development version.
44061 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44063         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44064         exceptions.  Return 0.
44066 2010-05-07  Roland McGrath  <roland@redhat.com>
44068         * elf/ldconfig.c (main): Add a const.
44070 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44072         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44073         (args_options): Add no-idn option.
44074         (ahosts_keys_int): Add idn_flags to ai_flags.
44075         (parse_option): Handle 'i' option to clear idn_flags.
44077         * malloc/malloc.c (_int_free): Possible race in the most recently
44078         added check.  Only act on the data if no current modification
44079         happened.
44081 See ChangeLog.17 for earlier changes.