Move x86_64 compat-timer.h out of nptl/
[glibc.git] / ChangeLog
blob515cdc1197f3d710e2cb2727d6debe6683bbb9ab
1 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18         Update #include.
19         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20         Likewise.
21         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22         Likewise.
23         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24         Likewise.
25         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26         Likewise.
27         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28         Likewise.
29         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30         Likewise.
31         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32         Likewise.
33         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34         Likewise.
35         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36         Likewise.
38         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39         that was previously under [RESET_PID].
40         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
42         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44         * sysdeps/i386/nptl/Implies: New file.
45         * sysdeps/x86_64/nptl/Implies: New file.
46         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
47         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
53         (__libc_vfork): New strong alias.
54         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
55         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
57         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
58         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
59         (__libc_vfork): New strong alias.
60         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
61         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
63         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
64         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
65         (__libc_vfork): New strong alias.
66         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
67         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
68         * nptl/pt-vfork.c: New file.
69         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
70         (libpthread: GLIBC_2.20): New version set (empty).
72 2014-05-14  Will Newton  <will.newton@linaro.org>
74         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
75         rather than #if.
77 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
79         [BZ #16564]
80         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
81         arguments with exponent 65 or above.
82         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
83         arguments 0x1p113L or above.
84         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
85         to arguments 0x1p107L or above.
86         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
87         positive arguments with exponent 65 or above.
88         * math/auto-libm-test-in: Add more tests of log1p.
89         * math/auto-libm-test-out: Regenerated.
91         [BZ #16928]
92         * math/s_cacos.c (__cacos): Ensure zero real part of result from
93         non-finite arguments is +0.
94         * math/s_cacosf.c (__cacosf): Likewise.
95         * math/s_cacosl.c (__cacosl): Likewise.
96         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
97         * sysdeps/i386/fpu/libm-test-ulps: Update.
98         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
100         [BZ #16927]
101         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
102         value.
103         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
104         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
105         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
106         for explicit high bit of mantissa when testing for argument equal
107         to 1.
108         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
109         * sysdeps/i386/fpu/libm-test-ulps: Update.
110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112         [BZ #16516]
113         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
114         (__erf): Scale by 16 instead of 8 in potentially underflowing
115         case.  Ensure exception if result actually underflows.
116         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
117         (__erff): Scale by 16 instead of 8 in potentially underflowing
118         case.  Ensure exception if result actually underflows.
119         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
120         (efx8): Remove variable.
121         (__erfl): Scale by 16 instead of 8 in potentially underflowing
122         case.  Ensure exception if result actually underflows.
123         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
124         (efx8): Remove variable.
125         (__erfl): Scale by 16 instead of 8 in potentially underflowing
126         case.  Ensure exception if result actually underflows.
127         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
128         (efx8): Remove variable.
129         (__erfl): Scale by 16 instead of 8 in potentially underflowing
130         case.  Ensure exception if result actually underflows.
131         * math/auto-libm-test-in: Add more tests of erf.
132         * math/auto-libm-test-out: Regenerated.
134 2014-05-14  Andreas Schwab  <schwab@suse.de>
136         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
137         Remove code conditionalized on USE___THREAD.
139         * config.h.in (HAVE_PT_CHOWN): Define as 0.
140         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
141         not definedness.
143 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
146         Define unconditionally.
147         (__ASSUME_O_CLOEXEC): Likewise.
148         (__ASSUME_SOCK_CLOEXEC): Likewise.
149         (__ASSUME_IN_NONBLOCK): Likewise.
150         (__ASSUME_PIPE2): Likewise.
151         (__ASSUME_EVENTFD2): Likewise.
152         (__ASSUME_SIGNALFD4): Likewise.
153         (__ASSUME_DUP3): Likewise.
154         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
155         (__ASSUME_DUP3): Do not define.
156         (__ASSUME_EVENTFD2): Likewise.
157         (__ASSUME_IN_NONBLOCK): Likewise.
158         (__ASSUME_O_CLOEXEC): Likewise.
159         (__ASSUME_PIPE2): Likewise.
160         (__ASSUME_SIGNALFD4): Likewise.
161         (__ASSUME_SOCK_CLOEXEC): Likewise.
162         (__ASSUME_UTIMES): Undefine.
163         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
164         (__ASSUME_UTIMES): Do not define.
165         (__ASSUME_O_CLOEXEC): Likewise.
166         (__ASSUME_SOCK_CLOEXEC): Likewise.
167         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
168         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
169         0x020621].
170         (__ASSUME_PIPE2): Likewise.
171         (__ASSUME_EVENTFD2): Likewise.
172         (__ASSUME_SIGNALFD4): Likewise.
173         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
174         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
175         Do not define.
176         (__ASSUME_EVENTFD2): Likewise.
177         (__ASSUME_SIGNALFD4): Likewise.
178         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
179         (__ASSUME_32BITUIDS): Likewise.
180         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
181         (__ASSUME_IPC64): Likewise.
182         (__ASSUME_ST_INO_64_BIT): Likewise.
183         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
184         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
185         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
186         (__ASSUME_UTIMES): Do not define.
187         (__ASSUME_PSELECT): Likewise.
188         (__ASSUME_PPOLL): Likewise.
189         (__ASSUME_O_CLOEXEC): Likewise.
190         (__ASSUME_SOCK_CLOEXEC): Likewise.
191         (__ASSUME_IN_NONBLOCK): Likewise.
192         (__ASSUME_PIPE2): Likewise.
193         (__ASSUME_EVENTFD2): Likewise.
194         (__ASSUME_SIGNALFD4): Likewise.
195         (__ASSUME_DUP3): Likewise.
196         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
197         (__ASSUME_UTIMES): Likewise.
198         (__ASSUME_O_CLOEXEC): Likewise.
199         (__ASSUME_SOCK_CLOEXEC): Likewise.
200         (__ASSUME_IN_NONBLOCK): Likewise.
201         (__ASSUME_PIPE2): Likewise.
202         (__ASSUME_EVENTFD2): Likewise.
203         (__ASSUME_SIGNALFD4): Likewise.
204         (__ASSUME_DUP3): Likewise.
205         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
206         (__ASSUME_UTIMES): Likewise.
207         (__ASSUME_O_CLOEXEC): Likewise.
208         (__ASSUME_SOCK_CLOEXEC): Likewise.
209         (__ASSUME_IN_NONBLOCK): Likewise.
210         (__ASSUME_PIPE2): Likewise.
211         (__ASSUME_EVENTFD2): Likewise.
212         (__ASSUME_SIGNALFD4): Likewise.
213         (__ASSUME_DUP3): Likewise.
214         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
215         Likewise.
216         (__ASSUME_UTIMES): Likewise.
217         (__ASSUME_EVENTFD2): Likewise.
218         (__ASSUME_SIGNALFD4): Likewise.
219         * sysdeps/unix/sysv/linux/tile/kernel-features.h
220         (__ASSUME_O_CLOEXEC): Likewise.
221         (__ASSUME_SOCK_CLOEXEC): Likewise.
222         (__ASSUME_IN_NONBLOCK): Likewise.
223         (__ASSUME_PIPE2): Likewise.
224         (__ASSUME_EVENTFD2): Likewise.
225         (__ASSUME_SIGNALFD4): Likewise.
226         (__ASSUME_DUP3): Likewise.
227         (__ASSUME_UTIMES): Undefine.
229         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
230         feclearexcept.  Remove symbol versioning code.
231         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
232         symbol versioning code.
233         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
234         symbol versioning code.
235         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
236         feupdateenv.  Remove symbol versioning code.
237         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
238         fegetexceptflag.  Remove symbol versioning code.
239         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
240         fesetexceptflag.  Remove symbol versioning code.
241         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
242         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
243         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
244         (__posix_fadvise64_l32): Remove prototype.
245         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
246         code.
248 2014-05-13  Roland McGrath  <roland@hack.frob.com>
250         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
251         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
252         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
253         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
255 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
257         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
258         current working directory
260 2014-05-13  Roland McGrath  <roland@hack.frob.com>
262         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
263         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
264         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
265         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
266         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
267         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
268         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
269         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
270         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
271         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
272         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
273         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
274         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
275         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
276         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
277         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
278         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
279         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
280         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
281         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
282         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
283         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
284         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
285         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
286         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
287         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
288         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
289         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
290         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
291         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
292         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
293         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
294         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
295         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
296         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
297         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
298         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
299         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
300         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
301         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
302         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
303         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
305         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
306         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
308         * sysdeps/unix/sysv/linux/arm/Makefile
309         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
310         Add rt-aeabi_unwind_cpp_pr1.
311         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
312         Add nptl-aeabi_unwind_cpp_pr1.
313         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
314         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
315         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
316         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
317         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
318         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
320         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
321         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
322         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
323         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
325         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
326         Deconditionalize the code that was previously under [RESET_PID].
327         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
329         * sysdeps/generic/exit-thread.h: New file.
330         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
331         * include/unistd.h (__exit_thread): Remove declaration.
332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
333         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
334         * csu/libc-start.c: Include <exit-thread.h>.
335         (LIBC_START_MAIN): Pass no argument to __exit_thread.
336         * nptl/pthread_create.c: Include <exit-thread.h>.
337         (start_thread): Call __exit_thread in place of __exit_thread_inline.
338         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
339         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
340         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
341         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
342         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
343         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
344         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
345         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
346         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
347         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
348         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
349         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
350         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
351         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
352         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
353         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
355 2014-05-13  Andreas Schwab  <schwab@suse.de>
357         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
359 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
361         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
362         (__ASSUME_UTIMES): Do not condition on kernel version.
363         (__ASSUME_PSELECT): Define unconditionally.
364         (__ASSUME_PPOLL): Likewise.
365         (__ASSUME_ATFCTS): Likewise.
366         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
367         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
368         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
369         (__ASSUME_UTIMENSAT): Define unconditionally.
370         (__ASSUME_PRIVATE_FUTEX): Likewise.
371         (__ASSUME_FALLOCATE): Likewise.
372         (__ASSUME_O_CLOEXEC): Likewise.
373         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
374         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
375         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
376         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
377         (__ASSUME_IN_NONBLOCK): Likewise.
378         (__ASSUME_PIPE2): Likewise.
379         (__ASSUME_EVENTFD2): Likewise.
380         (__ASSUME_SIGNALFD4): Likewise.
381         (__ASSUME_DUP3): Likewise.
382         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
383         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
384         (__ASSUME_AT_RANDOM): Likewise.
385         (__ASSUME_PREADV): Likewise.
386         (__ASSUME_PWRITEV): Likewise.
387         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
388         (__ASSUME_F_GETOWN_EX): Define unconditionally.
389         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
390         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
391         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
392         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
393         (__ASSUME_O_CLOEXEC): Define unconditionally.
394         (__ASSUME_PSELECT): Do not undefine conditionally.
395         (__ASSUME_PPOLL): Likewise.
396         (__ASSUME_ATFCTS): Likewise.
397         (__ASSUME_SET_ROBUST_LIST): Likewise.
398         (__ASSUME_UTIMENSAT): Likewise.
399         (__ASSUME_FDATASYNC): Define unconditionally.
400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
401         (__ASSUME_SIGFRAME_V2): Likewise.
402         )__ASSUME_EVENTFD2): Likewise.
403         (__ASSUME_SIGNALFD4): Likewise.
404         (__ASSUME_PSELECT): Do not undefine conditionally.
405         (__ASSUME_PPOLL): Likewise.
406         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
407         (__ASSUME_PSELECT): Define unconditionally.
408         (__ASSUME_PPOLL): Likewise.
409         (__ASSUME_O_CLOEXEC): Likewise.
410         (__ASSUME_SOCK_CLOEXEC): Likewise.
411         (__ASSUME_IN_NONBLOCK): Likewise.
412         (__ASSUME_PIPE2): Likewise.
413         (__ASSUME_EVENTFD2): Likewise.
414         (__ASSUME_SIGNALFD4): Likewise.
415         (__ASSUME_DUP3): Likewise.
416         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
417         (__ASSUME_O_CLOEXEC): Likewise.
418         (__ASSUME_SOCK_CLOEXEC): Likewise.
419         (__ASSUME_IN_NONBLOCK): Likewise.
420         (__ASSUME_PIPE2): Likewise.
421         (__ASSUME_EVENTFD2): Likewise.
422         (__ASSUME_SIGNALFD4): Likewise.
423         (__ASSUME_DUP3): Likewise.
424         * sysdeps/unix/sysv/linux/mips/kernel-features.h
425         (__ASSUME_EVENTFD2): Likewise.
426         (__ASSUME_SIGNALFD4): Likewise.
427         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
429 2014-05-12  Andreas Schwab  <schwab@suse.de>
431         [BZ #16932]
432         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
433         (_nss_nis_gethostbyname4_r): Return error if item length is larger
434         than maximum RPC packet size.
435         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
436         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
437         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
438         (_nss_nis_getservbyport_r): Likewise.
440 2014-05-12  Will Newton  <will.newton@linaro.org>
442         * malloc/Makefile (tests): Add tst-mallopt.
443         * malloc/tst-mallopt.c: New file.
445 2014-05-09  Roland McGrath  <roland@hack.frob.com>
447         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
448         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
450 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
452         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
453         (tst-tlsmod6.so): Likewise.
455 2014-05-09  Roland McGrath  <roland@hack.frob.com>
457         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
459 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
461         [BZ #16064]
462         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
463         and <dl-procinfo.h>.
464         (__fegetenv): Save SSE state in envp->__eip if supported.
465         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
466         envp->__eip if supported.
467         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
468         and <dl-procinfo.h>.
469         (__fesetenv): Always set __eip, __cs_selector, __opcode,
470         __data_offset and __data_selector in environment to 0.  Set SSE
471         state if supported.
472         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
473         test-fenv-sse.
474         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
475         -mfpmath=sse.
476         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
478 2014-05-09  Will Newton  <will.newton@linaro.org>
480         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
481         and libc_relro_required for ARM.
482         * sysdeps/arm/preconfigure: Regenerate.
484 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
485             Stefan Liebler  <stli@linux.vnet.ibm.com>
487         * config.make.in (enable-lock-elision): New Makefile variable.
488         * configure.ac: Likewise.
489         * configure: Regenerate.
490         * sysdeps/s390/configure.ac:
491         Add check for gcc transactions support.
492         * sysdeps/s390/configure: Regenerate.
493         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
494         Build elision files if enabled.
495         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
496         Add lock elision support for s390.
497         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
498         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
499         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
500         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
501         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
502         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
503         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
504         Likewise.
505         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
506         Likewise.
507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
508         Likewise.
509         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
510         Likewise.
511         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
512         (__lll_timedlock_elision, __lll_lock_elision)
513         (__lll_unlock_elision, __lll_trylock_elision)
514         (lll_timedlock_elision, lll_lock_elision)
515         (lll_unlock_elision, lll_trylock_elision): Add.
516         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
517         (pthread_mutex_t): Add lock elision support for s390.
519 2014-05-09  Will Newton  <will.newton@linaro.org>
521         * sysdeps/arm/armv7/strcmp.S: New file.
522         * NEWS: Mention addition of ARMv7 optimized strcmp.
524 2014-05-08  Roland McGrath  <roland@hack.frob.com>
526         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
527         look for %.ac rather than %.in.
529         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
530         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
531         * sysdeps/mach/hurd/configure: Regenerated.
532         * sysdeps/unix/sysv/linux/configure: Regenerated.
534         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
536 2014-05-07  Steve Ellcey  <sellcey@mips.com>
538         [BZ# 16922]
539         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
540         (LONG_SUB): Ditto.
541         (PTR_SUB): Ditto.
543 2014-05-07  Andreas Schwab  <schwab@suse.de>
545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
546         when skipping over non-matching result from nscd.
548 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
550         [BZ #16876]
551         * nptl/sockperf.c (client): Check socket return value.
553         [BZ #16877]
554         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
555         nscd security class.
557 2014-05-06  Roland McGrath  <roland@hack.frob.com>
559         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
560         * sysdeps/arm/unwind.h: ... here.
562 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
564         [BZ# 16916]
565         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
566         Define.
568 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
570         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
571         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
572         multiarch strncpy for PPC64.
573         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
574         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
576         multiarch optimizations.
577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
578         (__libc_ifunc_impl_list): Likewise.
579         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
580         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
581         multiarch stpncpy for PPC64.
582         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
583         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
585 2014-05-06  Andreas Schwab  <schwab@suse.de>
587         [BZ #16912]
588         * gmon/mcount.c (_MCOUNT_DECL): Use
589         atomic_compare_and_exchange_bool_acq instead of
590         catomic_compare_and_exchange_bool_acq.
592 2014-05-05  Roland McGrath  <roland@hack.frob.com>
594         * elf/Makefile (others, install-bin): Remove pldd.
595         (pldd-modules): Variable removed.
596         ($(objpfx)pldd): Target removed.
597         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
598         (others, install-bin): Append pldd here.
599         ($(objpfx)pldd): New target.
601         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
602         to 0, so the first #if test emitted later doesn't see it undefined.
603         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
604         * sysdeps/gnu/errlist.c: Regenerated.
606 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
608         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
609         [libc_hidden_builtin_def]: Define to empty value.
610         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
611         [libc_hidden_builtin_def]: Likewise.
612         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
613         [libc_hidden_builtin_def]: Likewise.
614         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
615         [libc_hidden_builtin_def]: Likewise.
616         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
617         __redirect_memcpy and define ifunc as default hidden symbol.
618         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
619         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
621 2014-05-04  Adam Conrad  <adconrad@0c3.net>
623         * locale/iso-4217.def: Reintroduce XDR currency.
625 2014-05-04  Allan McRae  <allan@archlinux.org>
627         * po/eo.po: Update Esperanto translation from translation project.
629 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
631         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
632         and FEATURE_INDEX_MAX to 1.
633         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
635 2014-05-01  Steve Ellcey  <sellcey@mips.com>
637         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
638         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
639         * iconvdata/big5.c (ONE_DIRECTION): Define.
640         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
641         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
642         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
643         * iconvdata/cp932.c (ONE_DIRECTION): Define.
644         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
645         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
646         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
647         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
648         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
649         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
650         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
651         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
652         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
653         * iconvdata/gbk.c (ONE_DIRECTION): Define.
654         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
655         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
656         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
657         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
658         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
659         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
660         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
661         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
662         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
663         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
664         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
665         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
666         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
667         * iconvdata/iso646.c (ONE_DIRECTION): Define.
668         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
669         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
670         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
671         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
672         * iconvdata/johab.c (ONE_DIRECTION): Define.
673         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
674         * iconvdata/sjis.c (ONE_DIRECTION): Define.
675         * iconvdata/t.61.c (ONE_DIRECTION): Define.
676         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
677         * iconvdata/tscii.c (ONE_DIRECTION): Define.
678         * iconvdata/uhc.c (ONE_DIRECTION): Define.
679         * iconvdata/unicode.c (ONE_DIRECTION): Define.
680         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
681         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
682         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
684 2014-05-01  Roland McGrath  <roland@hack.frob.com>
686         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
687         (_IO_JUMPS_OFFSET): Define to 0.
689         * nptl/sysdeps/pthread/bits/libc-lock.h
690         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
691         (__libc_lock_define_initialized_recursive): Always define using
692         initializer.  Modern compilers treat uninitialized (implicit zero) and
693         explicit zero initializers the same (i.e. put the datum in bss).
695 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
697         * nscd/nscd-client.h: Include <string.h>.
699 2014-05-01  David S. Miller  <davem@davemloft.net>
701         [BZ #16885]
702         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
703         multiple zero bytes exist at the end of a string.
704         Reported by Aurelien Jarno <aurelien@aurel32.net>
706         * string/test-strcmp.c (check): Add explicit test for situations where
707         there are multiple zero bytes after the first.
709 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
711         [BZ #16890]
712         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
713         when compiling wprintf.
714         * stdio-common/tstdiomisc.c (t3): New function.
715         (main): Call it.
717 2014-05-01  Steve Ellcey  <sellcey@mips.com>
719         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
720         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
721         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
722         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
724 2014-05-01  Steve Ellcey  <sellcey@mips.com>
726         * stdlib/longlong.h: Updated from GCC.
728 2014-05-01  Will Newton  <will.newton@linaro.org>
729             Bernard Ogden  <bernie.ogden@linaro.org>
731         * NEWS: Update fixed bug list.
733         [BZ #15119]
734         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
736 2014-04-30  David S. Miller  <davem@davemloft.net>
738         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
739         (libc_feholdexcept_setround_sparc_ctx): New function.
740         (libc_fesetenv_sparc_ctx): Likewise.
741         (libc_feupdateenv_sparc_ctx): Likewise.
742         (libc_feholdsetround_sparc_ctx): Likewise.
743         (libc_feholdexcept_setround_ctx): Define.
744         (libc_feholdexcept_setroundf_ctx): Likewise.
745         (libc_feholdexcept_setroundl_ctx): Likewise.
746         (libc_fesetenv_ctx): Likewise.
747         (libc_fesetenvf_ctx): Likewise.
748         (libc_fesetenvl_ctx): Likewise.
749         (libc_feupdateenv_ctx): Likewise.
750         (libc_feupdateenvf_ctx): Likewise.
751         (libc_feupdateenvl_ctx): Likewise.
752         (libc_feresetround_ctx): Likewise.
753         (libc_feresetroundf_ctx): Likewise.
754         (libc_feresetroundl_ctx): Likewise.
755         (libc_feholdsetround_ctx): Likewise.
756         (libc_feholdsetroundf_ctx): Likewise.
757         (libc_feholdsetroundl_ctx): Likewise.
759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
760         with __USE_GNU instead of XOPEN cpp guards.
762         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
763         0.
765         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
766         with XOPEN cpp guards.
768 2014-04-30  Julian Brown  <julian@codesourcery.com>
770         [BZ #16888]
771         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
772         handling.
774 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
776         [BZ #9894]
777         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
778         Change to 2.6.32.
779         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
780         * sysdeps/unix/sysv/linux/configure: Regenerated.
781         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
782         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
783         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
784         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
785         * README: Update reference to required Linux kernel version.
786         * manual/install.texi (Linux): Update reference to required Linux
787         kernel headers version.
788         * INSTALL: Regenerated.
790         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
791         header inclusion.
792         [POSIX] (limits.h): Likewise.
793         [POSIX] (math.h): Likewise.
794         [POSIX] (sys/wait.h): Likewise.
795         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
796         function.
797         [POSIX] (stddef.h): Do not allow header inclusion.
799 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
801         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
803 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
805         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
806         Return immediately after lll_futex_wake.
808 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
810         [BZ #16791]
811         * nscd/nscd-client.h (datahead_init_common): Initialize entire
812         structure.
813         (datahead_init_pos): Call datahead_init_common early.
814         (datahead_init_neg): Likewise.
816         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
817         datahead_init_neg): New functions.
818         * nscd/aicache.c (addhstaiX): Use them.
819         * nscd/grpcache.c (cache_addgr): Likewise.
820         * nscd/hstcache.c (cache_addhst): Likewise.
821         * nscd/initgrcache.c (addinitgroupsX): Likewise.
822         * nscd/netgroupcache.c (do_notfound): Likewise.
823         (addgetnetgrentX): Likewise.
824         (addinnetgrX): Likewise.
825         * nscd/pwdcache.c (cache_addpw): Likewise.
826         * nscd/servicescache.c (cache_addserv): Likewise.
828 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
829             Atsushi Onoe  <atsushi@onoe.org>
831         [BZ #14308]
832         [BZ #12994]
833         [BZ #13651]
834         * resolv/res_query.c (__libc_res_nsearch): Return if at least
835         one response is valid.
836         * resolv/res_send.c (send_dg): Check for validity of other
837         response if the current response is a referral.
839 2014-04-29  Steve Ellcey  <sellcey@mips.com>
841         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
843 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
845         [BZ #16823]
846         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
847         Always divide by positive zero when computing -Inf result.
848         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
849         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
851 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
854         FPSCR if value do not change.
855         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
856         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
857         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
858         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
859         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
860         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
861         function.
863 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
865         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
866         * sysdeps/unix/sysv/linux/hppa: Move directory from
867         ports/systeps/unix/sysv/linux/hppa.
868         * README: Update listing for hppa-*-linux-gnu.
870 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
872         [BZ #16754]
873         * manual/stdio.texi (Hook functions): Fix types of stream hook
874         functions.
875         [BZ #16854]
876         * socket/sys/socket.h: Fix typo in comment.
878 2014-04-28  Wilco  <wdijkstr@arm.com>
880         * sysdeps/arm/fenv_private.h: New file.
881         * sysdeps/arm/math_private.h: New file.
882         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
884 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
886         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
887         with __int128_t.
888         (La_x86_64_retval): Likewise.
890 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
892         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
893         fpsr if value didn't change.
894         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
895         to fpcr if value didn't change.
896         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
897         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
898         fpsr or fpcr if value didn't change.
899         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
900         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
901         fpcr if value didn't change.
902         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
903         to fpsr if value didn't change.
905 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
907         * nptl/tst-sem3.c: Use test-skeleton.c
908         (main): Rename to do_test.  Use return instead of
909         exit.
910         * nptl/tst-sem4.c: Use test-skeleton.c
911         (main): Rename to do_test.
913 2014-04-22  David S. Miller  <davem@davemloft.net>
915         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
916         (struct sigaction): New struct member __glibc_reserved0, change
917         type of sa_flags to int.
919 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
921         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
922         (COUNT_LEADING_ZEROS_0): Define for AArch64.
924 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
926         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
927         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
929 2014-04-22  Will Newton  <will.newton@linaro.org>
930             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
932         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
933         (__longjmp): Add longjmp and longjmp_target SystemTap
934         probes.
935         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
936         (__sigsetjmp): Add setjmp SystemTap probe.
938 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
940         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
941         match manual order.
943 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
945         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
947         * sysdeps/powerpc/fpu/fenv_private.h
948         (libc_feholdexcept_setroundl_ctx): Define to
949         libc_feholdexcept_setround_ppc_ctx.
950         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
951         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
952         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
953         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
955 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
957         * sysdeps/aarch64/math-tests.h: New file.
959 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
961         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
962         New.
963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
964         Check and set bit_AVX2_Usable.
965         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
966         macro.
967         (bit_AVX2): Likewise.
968         (index_AVX2_Usable): Likewise.
969         (CPUID_AVX2): Likewise.
970         (HAS_AVX2): Likewise.
972 2014-04-17  Will Newton  <will.newton@linaro.org>
974         * manual/setjmp.texi (System V contexts): Add note that
975         calling setcontext on a context created by a call to a
976         signal handler is undefined.  Update text to note that
977         setcontext from a signal handler is possible but not
978         recommended.
980         [BZ #16629]
981         * stdlib/tst-setcontext.c: Include signal.h.
982         (main): Check that the signal stack before and
983         after swapcontext is the same.
985         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
986         Re-implement to restore registers in user code and avoid
987         rt_sigreturn system call.
989 2014-04-17  Wilco  <wdijkstr@arm.com>
991         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
992         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
993         * math/test-fenv.c: Skip exception trap tests on targets which only
994         support non-stop mode.
996 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
997             Wilco Dijkstra  <wilco.dijkstra@arm.com>
999         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1000         (libc_feholdsetround_aarch64_ctx)
1001         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1002         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1003         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1004         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1005         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1006         (libc_feresetround_noexl_ctx): Define.
1008 2014-04-16  Richard Henderson  <rth@redhat.com>
1010         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1012         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1013         unwind tables.
1015         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1016         const from the non-libc, non-ldso copy.
1018         * sysdeps/alpha/libm-test-ulps: Regenerate.
1020 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1021             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1023         * sysdeps/aarch64/fpu/math_private.h: New file.
1025 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1027         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1029 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1031         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1032         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1034         Intel MPX bound registers before _dl_profile_fixup.
1035         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1036         registers after _dl_profile_fixup.  Save and restore bound
1037         registers bnd0/bnd1 when calling _dl_call_pltexit.
1038         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1039         (LR_BND_OFFSET): Likewise.
1040         (LRV_BND0_OFFSET): Likewise.
1041         (LRV_BND1_OFFSET): Likewise.
1043 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1045         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1046         to...
1047         * sysdeps/mach/hurd/i386/tls.h: ... here.
1048         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1049         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1050         fields.
1052 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1054         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1056 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1058         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1060 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1062         [BZ #14770]
1063         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1064         * sysdeps/s390/configure: Regenerate.
1066         [BZ #16824]
1067         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1068         Set round-to-nearest internally to reduce error accumulation.
1070 2014-04-16  Alan Modra  <amodra@gmail.com>
1072         [BZ #16740]
1073         [BZ #16619]
1074         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1075         * math/libm-test.inc (frexp_test_data): Add tests.
1076         * NEWS: Update fixed bug list.
1078 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1080         * benchtests/Makefile: Depend on libraries in build directory.
1081         (bench-math): Separate out math tests.
1082         (bench-pthread): Separate out pthread tests.
1083         (bench): Include math and pthread tests.
1085 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1087         [BZ #16831]
1088         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1089         _dl_debug_initialize.
1091         * configure.ac: Remove SELinux header check.
1092         * configure: Regenerate.
1093         * nscd/selinux.c (perms): Array of const char* to permission names.
1094         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1095         default policy. Call string_to_security_class and string_to_av_perm to
1096         translate strings. Enforce default policy and call avs_has_perm with
1097         results of translated strings.
1099 2014-04-13  David S. Miller  <davem@davemloft.net>
1101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1103 2014-04-12  Allan McRae  <allan@archlinux.org>
1105         [BZ #16838]
1106         * manual/string.texi (Collation Functions): Fix qsort argument
1107         order in example.
1108         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1110 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1112         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1113         Make the test a no-op if there are no exceptions defined.
1115 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1117         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1118         enable-hardcoded-path-in-tests
1120 2014-04-11  Will Newton  <will.newton@linaro.org>
1122         * benchtests/Makefile (extra-objs): Add json-lib.o.
1123         (bench-func): Tidy up JSON output.
1124         * benchtests/bench-skeleton.c: Include json-lib.h.
1125         (main): Use JSON library functions to do output of
1126         benchmark results.
1127         * benchtests/bench-timing-type.c (main): Output the
1128         timing type simply, leaving formatting to the user.
1129         * benchtests/json-lib.c: New file.
1130         * benchtests/json-lib.h: Likewise.
1132 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1134         [BZ #15215]
1135         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1136         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1137         memory barriers.  Add comments.
1138         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1139         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1140         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1141         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1142         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1143         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1145 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1147         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1148         * sysdeps/s390/s390-64/configure.ac: ... this ...
1149         * sysdeps/s390/configure.ac: ... to here.
1150         * sysdeps/s390/s390-32/configure: Delete file.
1151         * sysdeps/s390/s390-64/configure: Delete file.
1152         * sysdeps/s390/configure: Regenerate.
1154 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1156         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1158 2014-04-11  Will Newton  <will.newton@linaro.org>
1160         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1161         to zero if it is not defined elsewhere.  (mtrim): Test
1162         the value of MALLOC_DEBUG with #if rather than #ifdef.
1164 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1166         * benchtests/pthread_once-inputs: New file.
1167         * benchtests/pthread_once-source.c: New file.
1168         * benchtests/README: Update documentation.
1170 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1171             H.J. Lu  <hongjiu.lu@intel.com>
1173         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1174         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1175         * sysdeps/x86_64/configure: Regenerated.
1176         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1177         macro.
1178         (REGISTER_SAVE_RAX): Likewise.
1179         (REGISTER_SAVE_RCX): Likewise.
1180         (REGISTER_SAVE_RDX): Likewise.
1181         (REGISTER_SAVE_RSI): Likewise.
1182         (REGISTER_SAVE_RDI): Likewise.
1183         (REGISTER_SAVE_R8): Likewise.
1184         (REGISTER_SAVE_R9): Likewise.
1185         (REGISTER_SAVE_BND0): Likewise.
1186         (REGISTER_SAVE_BND1): Likewise.
1187         (REGISTER_SAVE_BND2): Likewise.
1188         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1189         bound registers when calling _dl_fixup.
1191 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1193         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1194         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1195         of its definition.
1196         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1197         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1198         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1199         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1200         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1201         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1202         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1204 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1206         [BZ #15514]
1207         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1208         pathconf(_PC_NAME_MAX).
1210 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1212         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1213         Remove macro usage.
1214         (__PTHREAD_SPINS): Move definition to ...
1215         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1216         (__PTHREAD_SPINS): ... here.
1217         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1218         (__PTHREAD_SPIN): Likewise.
1219         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1220         (__PTHREAD_SPIN): Likewise.
1221         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1222         (__PTHREAD_SPIN): Likewise.
1223         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1224         (__PTHREAD_SPIN): Likewise.
1225         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1226         (__PTHREAD_SPIN): Likewise.
1227         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1228         (__PTHREAD_SPIN): Likewise.
1229         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1230         (__PTHREAD_SPIN): Likewise.
1231         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1232         (__PTHREAD_SPIN): Likewise.
1233         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1234         (__PTHREAD_SPIN): Likewise.
1235         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1236         (__PTHREAD_SPIN): Likewise.
1237         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1238         (__PTHREAD_SPIN): Likewise.
1239         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1240         (__PTHREAD_SPIN): Likewise.
1242         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1243         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1244         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1245         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1246         imply folder.
1247         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1248         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1249         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1250         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1251         correct imply path.
1252         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1253         strlen symbol for non multi-arch builds.
1254         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1255         missing hidden_def and weak_alias.
1257 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
1259         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1261 2014-04-07  Will Newton  <will.newton@linaro.org>
1263         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1264         and contents.  [!_LIBC] Remove #ifndef and contents.
1265         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
1266         * string/memccpy.c (__memccpy): Use ANSI prototype.
1267         * string/memfrob.c (memfrob): Likewise.
1268         * string/strcoll.c (STRCOLL): Likewise.
1269         * string/strlen.c (strlen): Likewise.
1270         * string/strtok.c (STRTOK): Likewise.
1271         * string/strcat.c: Remove unused #include of memcopy.h.
1272         (strcat): Use ANSI prototype.
1273         * string/strchr.c: Remove unused #include of memcopy.h.
1274         (strchr): Use ANSI prototype.
1275         * string/strcmp.c: Remove unused #include of memcopy.h.
1276         (strcmp): Use ANSI prototype.
1277         * string/strcpy.c: Remove unused #include of memcopy.h.
1278         (strcpy): Use ANSI prototype.
1280 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1282         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1283         * config.make.in (config-extra-cppflags): Set it from
1284         libc_extra_cppflags.
1285         * configure.ac (libc_extra_cflags): Make it accumulate over
1286         configure fragments.
1287         (libc_extra_cppflags): New flag.
1288         * configure. Regenerate.
1289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1290         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1291         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1294         [BZ #16815]
1295         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1296         result for FE_DOWNWARD rounding mode.
1297         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1298         Likewise.
1299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1301 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
1303         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1304         in function argument name.
1306 2014-04-03  David Svoboda  <svoboda@cert.org>
1308         [BZ #5666]
1309         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1310         explicitly.
1312 2014-04-03  Roland McGrath  <roland@hack.frob.com>
1314         * elf/dl-unmap-segments.h: New file.
1315         * sysdeps/generic/ldsodefs.h
1316         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1317         * elf/dl-close.c: Include <dl-unmap-segments.h>.
1318         * elf/dl-fptr.c: Likewise.
1319         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1320         * sysdeps/aarch64/tlsdesc.c: Likewise.
1321         * sysdeps/arm/tlsdesc.c: Likewise.
1322         * sysdeps/i386/tlsdesc.c: Likewise.
1323         * sysdeps/tile/dl-runtime.c: Likewise.
1324         * sysdeps/x86_64/tlsdesc.c: Likewise.
1325         * elf/dl-load.h: New file.
1326         * elf/dl-load.c: Include it.
1327         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1328         Macros moved to dl-load.h.
1329         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1330         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1331         Use _dl_unmap_segments in place of __munmap.
1332         Break out segment-mapping loop into ...
1333         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1335 2014-04-03  Will Newton  <will.newton@linaro.org>
1337         * elf/dl-lookup.c (do_lookup_x): Remove comment
1338         referring to nested function and move variable
1339         declarations down to before first use.
1341 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
1343         [BZ #16799]
1344         [BZ #16800]
1345         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1346         with 0 numerator.
1347         * math/s_catanf.c (__catanf): Likewise.
1348         * math/s_catanh.c (__catanh): Likewise.
1349         * math/s_catanhf.c (__catanhf): Likewise.
1350         * math/s_catanhl.c (__catanhl): Likewise.
1351         * math/s_catanl.c (__catanl): Likewise.
1352         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1353         by positive zero when computing -Inf result.
1354         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1355         (catanh_test): Likewise.
1356         * sysdeps/i386/fpu/libm-test-ulps: Update.
1357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1359         [BZ #16789]
1360         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1361         instead of using underflowing value in computing result.
1362         * math/s_clog10.c (__clog10): Likewise.
1363         * math/s_clog10f.c (__clog10f): Likewise.
1364         * math/s_clog10l.c (__clog10l): Likewise.
1365         * math/s_clogf.c (__clogf): Likewise.
1366         * math/s_clogl.c (__clogl): Likewise.
1367         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1368         (clog10_test): Likewise.
1369         * sysdeps/i386/fpu/libm-test-ulps: Update.
1370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1372 2014-04-02  Alan Modra  <amodra@gmail.com>
1374         [BZ #16739]
1375         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1376         output when value is near a power of two.  Use int64_t for lx and
1377         remove casts.  Use decimal rather than hex exponent constants.
1378         Don't use long double multiplication when double will suffice.
1379         * math/libm-test.inc (nextafter_test_data): Add tests.
1380         * NEWS: Add 16739 and 16786 to bug list.
1382         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1384         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1386 2014-04-01  Will Newton  <will.newton@linaro.org>
1388         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1389         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
1391 2014-04-01  Florian Weimer  <fweimer@redhat.com>
1393         [BZ #13347]
1394         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1395         * nptl/tst-setuid2.c: New file.
1396         * nptl/Makefile (xtests): Add tst-setuid2.
1398 2014-04-01  Alan Modra  <amodra@gmail.com>
1400         [BZ #16786]
1401         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1403 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1405         [BZ #6803]
1406         [BZ #6804]
1407         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1408         set errno as appropriate.
1409         * math/w_scalbf.c (__scalbf): Likewise.
1410         * math/w_scalbl.c (__scalbl): Likewise.
1411         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1412         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1413         * math/libm-test.inc (scalb_test_data): Add errno expectations.
1414         Add more NaN tests.
1416         [BZ #16349]
1417         * math/w_atan2.c: Include <errno.h>.
1418         (__atan2): Set errno for result underflowing to zero.
1419         * math/w_atan2f.c: Include <errno.h>.
1420         (__atan2f): Set errno for result underflowing to zero.
1421         * math/w_atan2l.c: Include <errno.h>.
1422         (__atan2l): Set errno for result underflowing to zero.
1423         * math/auto-libm-test-in: Don't allow missing errno for some atan2
1424         tests.
1425         * math/auto-libm-test-out: Regenerated.
1427 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1429         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1430         Encode instruction correctly in little endian.
1431         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1432         Likewise.
1433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1434         Likewise.
1435         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1436         Likewise.
1437         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1438         Likewise.
1440 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1442         [BZ #9894]
1443         * sysdeps/unix/sysv/linux/kernel-features.h
1444         [__sparc__ && !__arch64__ && !__sparc_v9__]
1445         (__ASSUME_SET_ROBUST_LIST): Do not define.
1446         [__sparc__ && !__arch64__ && !__sparc_v9__]
1447         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1448         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1449         Likewise.
1450         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1451         (__ASSUME_FUTEX_LOCK_PI): Undefine.
1452         (__ASSUME_REQUEUE_PI): Likewise.
1453         (__ASSUME_SET_ROBUST_LIST): Likewise.
1454         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1455         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1456         Undefine.
1457         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1458         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1459         Likewise.
1460         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1461         Likewise.
1462         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1463         Likewise.
1464         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1465         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1466         Undefine.
1467         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1468         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1469         Likewise.
1471         [BZ #16648]
1472         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1474         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1476 2014-03-31  Will Newton  <will.newton@linaro.org>
1478         * benchtests/Makefile (bench): Add ffs and ffsll to list
1479         of tests.
1480         * benchtests/ffs-inputs: New file.
1481         * benchtests/ffsll-inputs: Likewise.
1483 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
1485         [BZ #16770]
1486         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1487         too large before casting to int.
1488         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1489         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1490         * math/libm-test.inc (scalb_test_data): Add more tests.
1492 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1494         * benchtests/Makefile (DETAILED_OPT): New make option.
1495         (bench-func): Run benchmark program with -d if DETAILED_OPT is
1496         set.
1497         * benchtests/bench-skeleton.c: Include stdbool.h.
1498         (main): Store and print timings per input.
1499         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1500         member to each argument value.
1501         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1502         (_print_arg_data): Initialize per-input timing to 0.
1504         * benchtests/Makefile (timing-type): New binary.
1505         (bench-clean): Also remove bench-timing-type.
1506         (bench): New target for timing-type.
1507         (bench-func): Print output in JSON format.
1508         * benchtests/bench-skeleton.c (main): Print output in JSON
1509         format.
1510         * benchtests/bench-timing-type.c: New file.
1511         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1512         (TIMING_PRINT_STATS): Remove.
1513         * benchtests/scripts/bench.py (_print_arg_data): Store variant
1514         name separately.
1516         * benchtests/bench-modf.c: Remove.
1517         * benchtests/modf-inputs: New inputs file.
1519 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
1521         [BZ #16362]
1522         * math/s_clog10.c (M_PI_LOG10E): New macro.
1523         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1524         imaginary parts are 0.
1525         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1526         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1527         imaginary parts are 0.
1528         * math/s_clog10l.c (M_PI_LOG10El): New macro.
1529         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1530         imaginary parts are 0.
1531         * math/libm-test.inc (clog10_test_data): Update expected results
1532         for when real and imaginary parts are 0.
1534 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
1536         * elf/dl-load.c: Finish conversion of __builtin_expect into
1537         __glibc_{un}likely.
1539 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
1541         [BZ #16348]
1542         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1543         1+x for argument with exponent below -67.
1544         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1545         Likewise.
1546         * math/auto-libm-test-in: Add more tests of exp.
1547         * math/auto-libm-test-out: Regenerated.
1549 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1551         [BZ #16759]
1552         * inet/getnetgrent_r.c (get_nonempty_val): New function.
1553         (nscd_getnetgrent): Use it.
1555         [BZ #16760]
1556         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1557         of stpcpy.
1559 2014-03-27  Andi Kleen  <ak@linux.intel.com>
1561         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1562         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1563         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1564         (lll_robust_unlock): Remove out of line section. Use cfi
1565         intrinsics.
1566         (LLL_STUB_UNWIND_INFO*): Remove.
1567         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1568         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1569         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1570         (lll_robust_unlock): Remove out of line section. Use cfi
1571         intrinsics.
1572         (LLL_STUB_UNWIND_INFO*): Remove.
1574 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1576         [BZ #16758]
1577         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1578         blank values.
1580 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
1582         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1584 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
1586         [BZ #16198]
1587         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1588         fnstenv.
1589         * math/test-fenv-preserve.c: New file.
1590         * math/Makefile (tests): Add test-fenv-preserve.
1592 2014-03-26  Will Newton <will.newton@linaro.org>
1594         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1596 2014-03-25  Roland McGrath  <roland@hack.frob.com>
1598         * scripts/versionlist.awk: Partition the version sets and emit all
1599         GLIBC_* (sorted) before all others (sorted).
1601 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1603         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1604         GLIBC_2.2.5 version.
1606 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1608         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1609         calls.
1611         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1612         previous change.
1614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1616 2014-03-25  Andreas Schwab  <schwab@suse.de>
1618         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1619         label to be used after in6ailist is initialized.
1621 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1623         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1624         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1626 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1628         [BZ #16357]
1629         [BZ #16599]
1630         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1631         min_plus_half.
1632         (fp_formats): Update initializers.
1633         (init_fp_formats): Initialize new field.
1634         (output_for_one_input_case): Allow underflow for results up to
1635         min_plus_half.
1636         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1637         * math/auto-libm-test-in: Don't mark some underflows from asin and
1638         atanh as spurious.
1639         * math/auto-libm-test-out: Regenerated.
1640         * sysdeps/i386/fpu/libm-test-ulps: Update.
1641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1643 2014-03-25  Andreas Schwab  <schwab@suse.de>
1645         * libio/Makefile (tst-ftell-partial-wide-ENV)
1646         (tst-ftell-active-handler-ENV): Define.
1648 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
1650         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1652 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1654         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1656 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1658         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1659         * sysdeps/x86_64/fpu/multiarch/e_exp.c
1660         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1662 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1664         [BZ #16634]
1665         * elf/dl-load.c (open_verify): Add mode parameter.
1666         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1667         (open_path): Change from boolean 'secure' to complete flag 'mode'
1668         (_dl_map_object): Adjust.
1669         * elf/Makefile (tests): Add tst-dlopen-aout.
1670         * elf/tst-dlopen-aout.c: New test.
1672 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
1674         [BZ #16714]
1675         * sysdeps/unix/sysv/linux/s390/bits/stat.h
1676         (struct stat): Rename member pad0 to __glibc_reserved0.
1678         [BZ #16712]
1679         * sysdeps/s390/s390-32/bits/wordsize.h
1680         (__WORDSIZE32_SIZE_ULONG): New define.
1681         * sysdeps/s390/s390-64/bits/wordsize.h
1682         (__WORDSIZE32_SIZE_ULONG): Likewise.
1683         * sysdeps/generic/stdint.h (SIZE_MAX):
1684         Define as UL if __WORDSIZE32_SIZE_ULONG.
1686         [BZ #16713]
1687         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1688         (__glibc_reserved0): New variable.
1689         (sa_flags): Change type to int.
1691         * posix/Makefile (before-compile): Use += before-compile instead
1692         of a :=.
1694         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1695         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1697 2014-03-20  Andreas Schwab  <schwab@suse.de>
1699         [BZ #16743]
1700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1701         non-matching result from nscd.
1703 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1705         * scripts/bench.py: Moved to ...
1706         * benchtests/scripts/bench.py: ... here.
1707         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1709 2014-03-24  Andreas Schwab  <schwab@suse.de>
1711         [BZ #16002]
1712         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1713         alloca_account and account alloca use for struct in6ailist.
1715 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1717         [BZ #16284]
1718         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1719         rounding mode to recompute results that overflow to infinity or
1720         underflow to zero.
1721         * math/auto-libm-test-in: Don't mark tests as expected to fail for
1722         bug 16284.
1723         * math/auto-libm-test-out: Regenerated.
1724         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1725         (ccosh_test): Likewise.
1726         (csin_test_data): Use plus_oflow.
1727         (csin_test): Use ALL_RM_TEST.
1728         (csinh_test_data): Use plus_oflow.
1729         (csinh_test): Use ALL_RM_TEST.
1730         * sysdeps/i386/fpu/libm-test-ulps: Update.
1731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1733 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
1735         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1736         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1737         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1739         [BZ #16731]
1740         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1741         when x - 1 is zero.
1742         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1743         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1744         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1746         argument is 1.
1747         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1748         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1749         zero.
1750         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1751         * sysdeps/i386/fpu/libm-test-ulps: Update.
1752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1754 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1756         * scripts/bench.pl: Remove file.
1757         * scripts/bench.py: New benchmark script.
1758         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1759         * benchtests/README: Mention python dependency.
1760         * scripts/pylintrc: New file.
1761         * scripts/pylint: New file.
1763         * bits/mathdef.h: Use #ifdef instead of #if.
1764         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1765         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1766         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1767         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1768         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1769         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1771 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1772             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1774         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1776         and strpbrk-ppc64 objects.
1777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1778         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1779         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1780         multiarch strpbrk for POWER7.
1781         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1782         multiarch strpbrk for PPC64.
1783         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1784         ifunc selector.
1785         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1786         strpbrk for POWER7.
1788 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1790         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1791         (atan_test): Likewise.
1792         (atanh_test_data): Use NO_TEST_INLINE for two tests.
1793         (atanh_test): Use ALL_RM_TEST.
1794         (atan2_test_data): Likewise.
1795         (cabs_test): Likewise.
1796         (cacosh_test): Likewise.
1797         (carg_test): Likewise.
1798         (casin_test): Likewise.
1799         (casinh_test): Likewise.
1800         (cbrt_test): Likewise.
1801         (csqrt_test): Likewise.
1802         (erf_test): Likewise.
1803         (erfc_test): Likewise.
1804         (pow10_test): Likewise.
1805         (exp2_test): Likewise.
1806         (hypot_test): Likewise.
1807         (j0_test): Likewise.
1808         (j1_test): Likewise.
1809         (lgamma_test): Likewise.
1810         (gamma_test): Likewise.
1811         (sincos_test): Likewise.
1812         (tanh_test): Likewise.
1813         (y0_test): Likewise.
1814         (y1_test): Likewise.
1815         * sysdeps/i386/fpu/libm-test-ulps: Update.
1816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1818 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1820         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1822         and strcspn-ppc64 objects.
1823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1824         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1825         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1826         multiarch strcspn for POWER7.
1827         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1828         multiarch strcspn for PPC64.
1829         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1830         ifunc selector.
1831         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1832         strcspn for POWER7.
1834 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1836         * math/gen-libm-test.pl (generate_testfile): Expect only function
1837         name as argument to AUTO_TESTS_* and pass results for all rounding
1838         modes to parse_args.
1839         (parse_auto_input): Separate inputs of automatic tests from
1840         outputs before storing in %auto_tests.
1841         * math/libm-test.inc (acos_test_data): Update call to
1842         AUTO_TESTS_f_f.
1843         (acos_test): Use ALL_RM_TEST.
1844         (acos_tonearest_test_data): Remove.
1845         (acos_test_tonearest): Likewise.
1846         (acos_towardzero_test_data): Likewise.
1847         (acos_test_towardzero): Likewise.
1848         (acos_downward_test_data): Likewise.
1849         (acos_test_downward): Likewise.
1850         (acos_upward_test_data): Likewise.
1851         (acos_test_upward): Likewise.
1852         (acosh_test_data): Update call to AUTO_TESTS_f_f.
1853         (asin_test_data): Likewise.
1854         (asin_test): Use ALL_RM_TEST.
1855         (asin_tonearest_test_data): Remove.
1856         (asin_test_tonearest): Likewise.
1857         (asin_towardzero_test_data): Likewise.
1858         (asin_test_towardzero): Likewise.
1859         (asin_downward_test_data): Likewise.
1860         (asin_test_downward): Likewise.
1861         (asin_upward_test_data): Likewise.
1862         (asin_test_upward): Likewise.
1863         (asinh_test_data): Update call to AUTO_TESTS_f_f.
1864         (atan_test_data): Likewise.
1865         (atanh_test_data): Likewise.
1866         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1867         (cabs_test_data): Update call to AUTO_TESTS_c_f.
1868         (carg_test_data): Likewise.
1869         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1870         (ccos_test_data): Update call to AUTO_TESTS_c_c.
1871         (ccosh_test_data): Likewise.
1872         (cexp_test_data): Likewise.
1873         (clog_test_data): Likewise.
1874         (clog10_test_data): Likewise.
1875         (cos_test_data): Update call to AUTO_TESTS_f_f.
1876         (cos_test): Use ALL_RM_TEST.
1877         (cos_tonearest_test_data): Remove.
1878         (cos_test_tonearest): Likewise.
1879         (cos_towardzero_test_data): Likewise.
1880         (cos_test_towardzero): Likewise.
1881         (cos_downward_test_data): Likewise.
1882         (cos_test_downward): Likewise.
1883         (cos_upward_test_data): Likewise.
1884         (cos_test_upward): Likewise.
1885         (cosh_test_data): Update call to AUTO_TESTS_f_f.
1886         (cosh_test): Use ALL_RM_TEST.
1887         (cosh_tonearest_test_data): Remove.
1888         (cosh_test_tonearest): Likewise.
1889         (cosh_towardzero_test_data): Likewise.
1890         (cosh_test_towardzero): Likewise.
1891         (cosh_downward_test_data): Likewise.
1892         (cosh_test_downward): Likewise.
1893         (cosh_upward_test_data): Likewise.
1894         (cosh_test_upward): Likewise.
1895         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1896         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1897         (ctan_test_data): Likewise.
1898         (ctan_test): Use ALL_RM_TEST.
1899         (ctan_tonearest_test_data): Remove.
1900         (ctan_test_tonearest): Likewise.
1901         (ctan_towardzero_test_data): Likewise.
1902         (ctan_test_towardzero): Likewise.
1903         (ctan_downward_test_data): Likewise.
1904         (ctan_test_downward): Likewise.
1905         (ctan_upward_test_data): Likewise.
1906         (ctan_test_upward): Likewise.
1907         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1908         (ctanh_test): Use ALL_RM_TEST.
1909         (ctanh_tonearest_test_data): Remove.
1910         (ctanh_test_tonearest): Likewise.
1911         (ctanh_towardzero_test_data): Likewise.
1912         (ctanh_test_towardzero): Likewise.
1913         (ctanh_downward_test_data): Likewise.
1914         (ctanh_test_downward): Likewise.
1915         (ctanh_upward_test_data): Likewise.
1916         (ctanh_test_upward): Likewise.
1917         (erf_test_data): Update call to AUTO_TESTS_f_f.
1918         (erfc_test_data): Likewise.
1919         (exp_test_data): Likewise.
1920         (exp_test): Use ALL_RM_TEST.
1921         (exp_tonearest_test_data): Remove.
1922         (exp_test_tonearest): Likewise.
1923         (exp_towardzero_test_data): Likewise.
1924         (exp_test_towardzero): Likewise.
1925         (exp_downward_test_data): Likewise.
1926         (exp_test_downward): Likewise.
1927         (exp_upward_test_data): Likewise.
1928         (exp_test_upward): Likewise.
1929         (exp10_test_data): Update call to AUTO_TESTS_f_f.
1930         (exp10_test): Use ALL_RM_TEST.
1931         (exp10_tonearest_test_data): Remove.
1932         (exp10_test_tonearest): Likewise.
1933         (exp10_towardzero_test_data): Likewise.
1934         (exp10_test_towardzero): Likewise.
1935         (exp10_downward_test_data): Likewise.
1936         (exp10_test_downward): Likewise.
1937         (exp10_upward_test_data): Likewise.
1938         (exp10_test_upward): Likewise.
1939         (exp2_test_data): Update call to AUTO_TESTS_f_f.
1940         (expm1_test_data): Likewise.
1941         (expm1_test): Use ALL_RM_TEST.
1942         (expm1_tonearest_test_data): Remove.
1943         (expm1_test_tonearest): Likewise.
1944         (expm1_towardzero_test_data): Likewise.
1945         (expm1_test_towardzero): Likewise.
1946         (expm1_downward_test_data): Likewise.
1947         (expm1_test_downward): Likewise.
1948         (expm1_upward_test_data): Likewise.
1949         (expm1_test_upward): Likewise.
1950         (fma_test_data): Update call to AUTO_TESTS_fff_f.
1951         (fma_test): Use ALL_RM_TEST.
1952         (fma_towardzero_test_data): Remove.
1953         (fma_test_towardzero): Likewise.
1954         (fma_downward_test_data): Likewise.
1955         (fma_test_downward): Likewise.
1956         (fma_upward_test_data): Likewise.
1957         (fma_test_upward): Likewise.
1958         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1959         (j0_test_data): Update call to AUTO_TESTS_f_f.
1960         (j1_test_data): Likewise.
1961         (jn_test_data): Update call to AUTO_TESTS_if_f.
1962         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1963         (log_test_data): Update call to AUTO_TESTS_f_f.
1964         (log10_test_data): Likewise.
1965         (log1p_test_data): Likewise.
1966         (log2_test_data): Likewise.
1967         (pow_test_data): Update call to AUTO_TESTS_ff_f.
1968         (pow_tonearest_test_data): Likewise.
1969         (sin_test_data): Update call to AUTO_TESTS_f_f.
1970         (sin_test): Use ALL_RM_TEST.
1971         (sin_tonearest_test_data): Remove.
1972         (sin_test_tonearest): Likewise.
1973         (sin_towardzero_test_data): Likewise.
1974         (sin_test_towardzero): Likewise.
1975         (sin_downward_test_data): Likewise.
1976         (sin_test_downward): Likewise.
1977         (sin_upward_test_data): Likewise.
1978         (sin_test_upward): Likewise.
1979         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1980         (sinh_test_data): Update call to AUTO_TESTS_f_f.
1981         (sinh_test): Use ALL_RM_TEST.
1982         (sinh_tonearest_test_data): Remove.
1983         (sinh_test_tonearest): Likewise.
1984         (sinh_towardzero_test_data): Likewise.
1985         (sinh_test_towardzero): Likewise.
1986         (sinh_downward_test_data): Likewise.
1987         (sinh_test_downward): Likewise.
1988         (sinh_upward_test_data): Likewise.
1989         (sinh_test_upward): Likewise.
1990         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1991         (sqrt_test): Use ALL_RM_TEST.
1992         (sqrt_tonearest_test_data): Remove.
1993         (sqrt_test_tonearest): Likewise.
1994         (sqrt_towardzero_test_data): Likewise.
1995         (sqrt_test_towardzero): Likewise.
1996         (sqrt_downward_test_data): Likewise.
1997         (sqrt_test_downward): Likewise.
1998         (sqrt_upward_test_data): Likewise.
1999         (sqrt_test_upward): Likewise.
2000         (tan_test_data): Update call to AUTO_TESTS_f_f.
2001         (tan_test): Use ALL_RM_TEST.
2002         (tan_tonearest_test_data): Remove.
2003         (tan_test_tonearest): Likewise.
2004         (tan_towardzero_test_data): Likewise.
2005         (tan_test_towardzero): Likewise.
2006         (tan_downward_test_data): Likewise.
2007         (tan_test_downward): Likewise.
2008         (tan_upward_test_data): Likewise.
2009         (tan_test_upward): Likewise.
2010         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2011         (tgamma_test_data): Likewise.
2012         (y0_test_data): Likewise.
2013         (y1_test_data): Likewise.
2014         (yn_test_data): Update call to AUTO_TESTS_if_f.
2015         (main): Do not call removed functions.
2017 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2019         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2020         (ldexp_test_data): Remove.
2021         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2022         scalbn_test_data.
2023         (scalb_test): Use ALL_RM_TEST.
2025 2014-03-19  Andreas Schwab  <schwab@suse.de>
2027         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2029 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2031         [BZ #16649]
2032         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2033         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2034         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2036         (__ASSUME_PREADV): Undefine.
2037         (__ASSUME_PWRITEV): Likewise.
2039 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2041         * bits/mman-linux.h: Add comment about non-Linux use.
2042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2043         bits/mman-linux.h resting place.
2045         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2046         * bits/mman-linux.h: ... here.
2048 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2050         * conform/conformtest.pl: Add standard definition when calling C
2051         preprocessor on data files.
2052         (checknamespace): Remove unused variable.
2054 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2056         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2057         minus_oflow, plus_uflow and minus_uflow in expected results.
2058         * math/libm-test.inc (scalbn_test_data): Add more tests of
2059         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2060         minus_uflow.
2061         (scalbn_test): Use ALL_RM_TEST.
2062         (scalbln_test_data): Add more tests of negative arguments.  Use
2063         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2064         (scalbln_test): Use ALL_RM_TEST.
2066 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2068         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2070 2014-03-18  Will Newton  <will.newton@linaro.org>
2072         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2073         inaccurate comment.
2075 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2077         * Makerules [!subdir] (check-abi): Exit with error status if a
2078         test failed.
2080 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2082         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2083         for rint.  Include results for all rounding modes.
2084         (nearbyint_test): Use ALL_RM_TEST.
2085         (rint_test_data): Include all tests used for nearbyint.
2087 2014-03-17  Will Newton  <will.newton@linaro.org>
2089         * nptl/sysdeps/pthread/pthread.h: Revert previous
2090         change.
2092         * sysdeps/generic/ldsodefs.h: Revert previous
2093         change.
2095         * libio/genops.c: Revert previous change.
2096         * libio/libioP.h: Likewise.
2097         * stdio-common/vfprintf.c: Likewise.
2099         * sysdeps/generic/math_private.h: Revert previous
2100         change.
2102         * sysdeps/generic/math_private.h: Check whether
2103         HAVE_RM_CTX is defined with #ifdef rather
2104         than #if.
2106         * argp/argp-fmtstream.h: Check whether
2107         __STRICT_ANSI__ is defined with #ifdef rather
2108         than #if.
2109         * argp/argp.h: Likewise.
2111         * libio/genops.c: Check whether
2112         _IO_JUMPS_OFFSET is defined with #ifdef rather
2113         than #if.
2114         * libio/libioP.h: Likewise.
2115         * stdio-common/vfprintf.c: Likewise.
2117         * sysdeps/generic/ldsodefs.h: Check whether
2118         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2119         than #if.
2121         * nptl/sysdeps/pthread/pthread.h: Check
2122         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2123         its value.
2125 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2127         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2128         setting O_APPEND.
2129         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2130         test case.
2132         [BZ #16680]
2133         * libio/fileops.c (_IO_file_open): Seek to end of file but
2134         don't cache the offset.
2135         (get_file_offset): Remove function.
2136         (do_ftell): Use cached offset when available.
2137         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2138         don't cache the offset.
2139         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2140         case.
2141         (do_one_test): Call it.
2142         (do_ftell_test): Fix up expected old offset for a+ mode.
2143         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2144         available.
2146         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2147         up test status with function return status.
2148         (do_write_test): Likewise.
2149         (do_append_test): Likewise.
2151         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2152         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2153         Remove.
2155 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2157         * math/gen-libm-test.pl (parse_args): Handle results specified for
2158         each rounding mode separately.
2159         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2160         tests and results from lrint_tonearest_test_data,
2161         lrint_towardzero_test_data, lrint_downward_test_data and
2162         lrint_upward_test_data.
2163         (lrint_test): Use ALL_RM_TEST.
2164         (lrint_tonearest_test_data): Remove.
2165         (lrint_test_tonearest): Likewise.
2166         (lrint_towardzero_test_data): Likewise.
2167         (lrint_test_towardzero): Likewise.
2168         (lrint_downward_test_data): Likewise.
2169         (lrint_test_downward): Likewise.
2170         (lrint_upward_test_data): Likewise.
2171         (lrint_test_upward): Likewise.
2172         (llrint_test_data): Merge in per-rounding-mode tests and results
2173         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2174         llrint_downward_test_data and llrint_upward_test_data.
2175         (llrint_test): Use ALL_RM_TEST.
2176         (llrint_tonearest_test_data): Remove.
2177         (llrint_test_tonearest): Likewise.
2178         (llrint_towardzero_test_data): Likewise.
2179         (llrint_test_towardzero): Likewise.
2180         (llrint_downward_test_data): Likewise.
2181         (llrint_test_downward): Likewise.
2182         (llrint_upward_test_data): Likewise.
2183         (llrint_test_upward): Likewise.
2184         (rint_test_data): Merge in per-rounding-mode tests and results
2185         from rint_tonearest_test_data, rint_towardzero_test_data,
2186         rint_downward_test_data and rint_upward_test_data.  Add
2187         per-rounding-mode results for tests not in those arrays.
2188         (rint_test): Use ALL_RM_TEST.
2189         (rint_tonearest_test_data): Remove.
2190         (rint_test_tonearest): Likewise.
2191         (rint_towardzero_test_data): Likewise.
2192         (rint_test_towardzero): Likewise.
2193         (rint_downward_test_data): Likewise.
2194         (rint_test_downward): Likewise.
2195         (rint_upward_test_data): Likewise.
2196         (rint_test_upward): Likewise.
2197         (main): Don't call removed functions.
2199 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2201         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2202         "Compiled on ..." crapola.  It is anti-useful.
2204 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2206         * scripts/evaluate-test.sh: Handle fourth argument to determine
2207         whether test run should stop on failure.
2208         * Makeconfig (stop-on-test-failure): New variable.
2209         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2210         $(stop-on-test-failure).
2211         * Makefile (tests): Give a summary of results from testing and
2212         exit with failure status if they include an ERROR or FAIL.
2213         (xtests): Likewise.
2214         * manual/install.texi (Configuring and compiling): Mention
2215         stop-on-test-failure=y.
2216         * INSTALL: Regenerated.
2218 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2220         * scripts/versionlist.awk: New file.
2221         * Makerules [$(build-shared) = yes]
2222         (postclean-generated): Add Versions.def, not Versions.def.v and
2223         Versions.def.v.i.
2224         ($(common-objpfx)Versions.def.v.i): Target removed.
2225         ($(common-objpfx)Versions.def): New target.
2226         ($(common-objpfx)Versions.all): Depend on that rather that
2227         $(common-objpfx)Versions.def.v.
2228         * Versions.def: File removed.
2230         * Makeconfig (+gccwarn): Add -Wundef.
2231         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2232         a dl-sysdep.h breaking its contract.
2233         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2234         * include/stackinfo.h: New file.
2235         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2236         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2237         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2238         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2239         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2240         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2241         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2242         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2243         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2244         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2245         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2246         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2247         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2248         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2249         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2251 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2253         [BZ #16707]
2254         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2255         implementation.
2256         * math/libm-test.inc (round_test_data): Add more tests.
2258         [BZ #16706]
2259         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2260         implementation.
2261         * math/libm-test.inc (nearbyint_test_data): Add more tests.
2263         [BZ #16701]
2264         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2265         implementation.
2266         * math/libm-test.inc (ceil_test_data): Add more tests.
2268         * math/libm-test.inc (trunc_test_data): Add more tests related to
2269         BZ#16414.
2271 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2273         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2274         with #if rather than #ifdef.
2275         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2277 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
2279         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2280         first.  Disable AVX-512 GCC support if assembler doesn't support
2281         it.
2282         * sysdeps/x86_64/configure: Regenerated.
2284 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
2286         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2287         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2288         (__old_pthread_attr_setstack): Likewise.
2289         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2290         [!_STACK_GROWS_DOWN]: Likewise.
2292 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
2294         * config.make.in (have-bash2): Delete.
2295         * configure.ac (libc_cv_have_bash2): Delete.
2296         * configure: Regenerate.
2297         * elf/Makefile (common-ldd-rewrite): Rename to ...
2298         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
2299         (sh-ldd-rewrite): Delete.
2300         (bash-ldd-rewrite): Delete.
2301         (have-bash2): Delete checks.
2302         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2303         ldd-rewrite.
2305         * config.make.in (have-ksh): Delete.
2306         (KSH): Delete.
2307         * configure.ac (libc_cv_have_ksh): Delete.
2308         * configure: Regenerate.
2310         * elf/Makefile: Delete $(have-ksh) check.
2311         ($(objpfx)sotruss): Change KSH to BASH.
2312         * elf/sotruss.ksh: Rename to ...
2313         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
2314         function style to match POSIX.  Drop ksh vim mode setting.
2316         * manual/time.texi (Specifying the Time Zone with TZ): Change
2317         Tuesday to Thursday.
2319         * debug/tst-longjmp_chk2.c: Update header comment.
2320         (stackoverflow_handler): Add comment.  Call assert on pass value.
2322 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
2324         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2325         (HAVE_AVX512_ASM_SUPPORT): Likewise.
2326         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2327         (La_x86_64_vector): Add zmm.
2328         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2329         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2330         ($(objpfx)tst-audit10): New target.
2331         ($(objpfx)tst-audit10.out): Likewise.
2332         (tst-audit10-ENV): New.
2333         (AVX512-CFLAGS): Likewise.
2334         (CFLAGS-tst-audit10.c): Likewise.
2335         (CFLAGS-tst-auditmod10a.c): Likewise.
2336         (CFLAGS-tst-auditmod10b.c): Likewise.
2337         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2338         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2339         * sysdeps/x86_64/configure: Regenerated.
2340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2341         AVX-512 zmm register support.
2342         (_dl_x86_64_save_sse): Likewise.
2343         (_dl_x86_64_restore_sse): Likewise.
2344         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2345         size vector registers.
2346         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2347         (ZMM_SIZE): Likewise.
2348         * sysdeps/x86_64/tst-audit10.c: New file.
2349         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2350         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2352 2014-03-13  Roland McGrath  <roland@hack.frob.com>
2354         * configure.ac (HAVE_EHDR_START): New check.
2355         * configure: Regenerated.
2356         * config.h.in (HAVE_EHDR_START): New #undef.
2357         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2358         assuming the lowest-addressed segment maps the start of the file.
2360 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
2362         * INSTALL: Regenerated.
2364 2014-03-13  Will Newton  <will.newton@linaro.org>
2366         * manual/setjmp.texi (System V contexts): Improve
2367         clarity and grammar of documentation.
2369 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2371         [BZ #16381]
2372         * elf/Makefile (tests): Add tst-pie2.
2373         (tests-pie): Add tst-pie2.
2374         * elf/tst-pie2.c: New file.
2375         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2376         for ET_EXEC.
2377         * elf/rtld.c (map_doit): Load executable as lt_executable.
2378         (dl_main): Likewise.
2380 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
2382         [BZ #16642]
2383         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2384         (__ASSUME_PSELECT): Undefine.
2386 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2388         [BZ #16689]
2389         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2390         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2391         static build.
2392         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2393         selector for static builds.
2395 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2397         [BZ #16695]
2398         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2399         key in the buffer.
2401 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2403         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2404         IFUNC selector for static builds.
2406 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
2408         * sysdeps/mips/math_private.h [__mips_hard_float]
2409         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2410         libc_feresetround_mips_ctx.
2411         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2412         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2413         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2415         [BZ #16677]
2416         * math/s_nextafter.c (__nextafter): Do not return value from
2417         overflowing computation.
2418         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2419         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2420         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2421         Likewise.
2422         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2423         Likewise.
2424         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2425         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2427 2014-03-11  Roland McGrath  <roland@hack.frob.com>
2429         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2430         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2431         Move sfi_sp use from the load-multiple (that no longer sets sp) to
2432         the new mov targetting sp.
2434 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2436         [BZ #16683]
2437         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2438         Define it for static builds as well.
2439         (NO_BZERO_IMPL): Likewise.
2441 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2443         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2444         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2445         multiarch strspn for PPC64.
2446         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2447         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2449         (__libc_ifunc_impl_list): Likewise.
2450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2451         multiarch optimizations
2452         * string/strspn.c (strspn): Using macro to redefine symbol name.
2454 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2455             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2457         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2458         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2459         multiarch strncat for PPC64.
2460         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2461         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2463         (__libc_ifunc_impl_list): Likewise.
2464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2465         multiarch optimizations
2467 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2469         [BZ #16639]
2470         * nscd/nscd.service: Make service type forking.
2472 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2474         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2475         sign in non default rounding modes.
2476         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2478 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
2480         * math/libm-test.inc (ALL_RM_TEST): New macro.
2481         (ceil_test): Use ALL_RM_TEST.
2482         (cimag_test): Likewise.
2483         (conj_test): Likewise.
2484         (copysign_test): Likewise.
2485         (cproj_test): Likewise.
2486         (creal_test): Likewise.
2487         (fabs_test): Likewise.
2488         (floor_test): Likewise.
2489         (fmax_test): Likewise.
2490         (fmin_test): Likewise.
2491         (fmod_test): Likewise.
2492         (fpclassify_test): Likewise.
2493         (frexp_test): Likewise.
2494         (ilogb_test): Likewise.
2495         (isfinite_test): Likewise.
2496         (finite_test): Likewise.
2497         (isgreater_test): Likewise.
2498         (isgreaterequal_test): Likewise.
2499         (isinf_test): Likewise.
2500         (isless_test): Likewise.
2501         (islessequal_test): Likewise.
2502         (islessgreater_test): Likewise.
2503         (isnan_test): Likewise.
2504         (isnormal_test): Likewise.
2505         (issignaling_test): Likewise.
2506         (isunordered_test): Likewise.
2507         (logb_test): Likewise.
2508         (logb_downward_test_data): Remove.
2509         (logb_test_downward): Likewise.
2510         (lround_test): Use ALL_RM_TEST.
2511         (llround_test): Likewise.
2512         (modf_test): Likewise.
2513         (nexttoward_test): Likewise.
2514         (remainder_test): Likewise.
2515         (drem_test): Likewise.
2516         (remainder_tonearest_test_data): Likewise.
2517         (remainder_test_tonearest): Likewise.
2518         (drem_test_tonearest): Likewise.
2519         (remainder_towardzero_test_data): Likewise.
2520         (remainder_test_towardzero): Likewise.
2521         (drem_test_towardzero): Likewise.
2522         (remainder_downward_test_data): Likewise.
2523         (remainder_test_downward): Likewise.
2524         (drem_test_downward): Likewise.
2525         (remainder_upward_test_data): Likewise.
2526         (remainder_test_upward): Likewise.
2527         (drem_test_upward): Likewise.
2528         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
2529         (round_test): Use ALL_RM_TEST.
2530         (signbit_test): Likewise.
2531         (trunc_test): Likewise.
2532         (significand_test): Likewise.
2533         (main): Don't call removed functions.
2535 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2537         [BZ #16674]
2538         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2539         || __USE_XOPEN2K8].
2540         (ILL_ILLOPN): Likewise.
2541         (ILL_ILLADR): Likewise.
2542         (ILL_ILLTRP): Likewise.
2543         (ILL_PRVOPC): Likewise.
2544         (ILL_PRVREG): Likewise.
2545         (ILL_COPROC): Likewise.
2546         (ILL_BADSTK): Likewise.
2547         (FPE_INTDIV): Likewise.
2548         (FPE_INTOVF): Likewise.
2549         (FPE_FLTDIV): Likewise.
2550         (FPE_FLTOVF): Likewise.
2551         (FPE_FLTUND): Likewise.
2552         (FPE_FLTRES): Likewise.
2553         (FPE_FLTINV): Likewise.
2554         (FPE_FLTSUB): Likewise.
2555         (SEGV_MAPERR): Likewise.
2556         (SEGV_ACCERR): Likewise.
2557         (BUS_ADRALN): Likewise.
2558         (BUS_ADRERR): Likewise.
2559         (BUS_OBJERR): Likewise.
2560         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2561         (TRAP_TRACE): Likewise.
2562         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2563         __USE_XOPEN2K8].
2564         (CLD_KILLED): Likewise.
2565         (CLD_DUMPED): Likewise.
2566         (CLD_TRAPPED): Likewise.
2567         (CLD_STOPPED): Likewise.
2568         (CLD_CONTINUED): Likewise.
2569         (POLL_IN): Likewise.
2570         (POLL_OUT): Likewise.
2571         (POLL_MSG): Likewise.
2572         (POLL_ERR): Likewise.
2573         (POLL_PRI): Likewise.
2574         (POLL_HUP): Likewise.
2575         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2576         Likewise.
2577         (ILL_ILLOPN): Likewise.
2578         (ILL_ILLADR): Likewise.
2579         (ILL_ILLTRP): Likewise.
2580         (ILL_PRVOPC): Likewise.
2581         (ILL_PRVREG): Likewise.
2582         (ILL_COPROC): Likewise.
2583         (ILL_BADSTK): Likewise.
2584         (FPE_INTDIV): Likewise.
2585         (FPE_INTOVF): Likewise.
2586         (FPE_FLTDIV): Likewise.
2587         (FPE_FLTOVF): Likewise.
2588         (FPE_FLTUND): Likewise.
2589         (FPE_FLTRES): Likewise.
2590         (FPE_FLTINV): Likewise.
2591         (FPE_FLTSUB): Likewise.
2592         (SEGV_MAPERR): Likewise.
2593         (SEGV_ACCERR): Likewise.
2594         (BUS_ADRALN): Likewise.
2595         (BUS_ADRERR): Likewise.
2596         (BUS_OBJERR): Likewise.
2597         (BUS_MCEERR_AR): Likewise.
2598         (BUS_MCEERR_AO): Likewise.
2599         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2600         (TRAP_TRACE): Likewise.
2601         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2602         __USE_XOPEN2K8].
2603         (CLD_KILLED): Likewise.
2604         (CLD_DUMPED): Likewise.
2605         (CLD_TRAPPED): Likewise.
2606         (CLD_STOPPED): Likewise.
2607         (CLD_CONTINUED): Likewise.
2608         (POLL_IN): Likewise.
2609         (POLL_OUT): Likewise.
2610         (POLL_MSG): Likewise.
2611         (POLL_ERR): Likewise.
2612         (POLL_PRI): Likewise.
2613         (POLL_HUP): Likewise.
2614         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2615         (ILL_ILLOPN): Likewise.
2616         (ILL_ILLADR): Likewise.
2617         (ILL_ILLTRP): Likewise.
2618         (ILL_PRVOPC): Likewise.
2619         (ILL_PRVREG): Likewise.
2620         (ILL_COPROC): Likewise.
2621         (ILL_BADSTK): Likewise.
2622         (FPE_INTDIV): Likewise.
2623         (FPE_INTOVF): Likewise.
2624         (FPE_FLTDIV): Likewise.
2625         (FPE_FLTOVF): Likewise.
2626         (FPE_FLTUND): Likewise.
2627         (FPE_FLTRES): Likewise.
2628         (FPE_FLTINV): Likewise.
2629         (FPE_FLTSUB): Likewise.
2630         (SEGV_MAPERR): Likewise.
2631         (SEGV_ACCERR): Likewise.
2632         (BUS_ADRALN): Likewise.
2633         (BUS_ADRERR): Likewise.
2634         (BUS_OBJERR): Likewise.
2635         (BUS_MCEERR_AR): Likewise.
2636         (BUS_MCEERR_AO): Likewise.
2637         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2638         (TRAP_TRACE): Likewise.
2639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2640         __USE_XOPEN2K8].
2641         (CLD_KILLED): Likewise.
2642         (CLD_DUMPED): Likewise.
2643         (CLD_TRAPPED): Likewise.
2644         (CLD_STOPPED): Likewise.
2645         (CLD_CONTINUED): Likewise.
2646         (POLL_IN): Likewise.
2647         (POLL_OUT): Likewise.
2648         (POLL_MSG): Likewise.
2649         (POLL_ERR): Likewise.
2650         (POLL_PRI): Likewise.
2651         (POLL_HUP): Likewise.
2652         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2653         Likewise.
2654         (ILL_ILLOPN): Likewise.
2655         (ILL_ILLADR): Likewise.
2656         (ILL_ILLTRP): Likewise.
2657         (ILL_PRVOPC): Likewise.
2658         (ILL_PRVREG): Likewise.
2659         (ILL_COPROC): Likewise.
2660         (ILL_BADSTK): Likewise.
2661         (ILL_BADIADDR): Likewise.
2662         (ILL_BREAK): Likewise.
2663         (FPE_INTDIV): Likewise.
2664         (FPE_INTOVF): Likewise.
2665         (FPE_FLTDIV): Likewise.
2666         (FPE_FLTOVF): Likewise.
2667         (FPE_FLTUND): Likewise.
2668         (FPE_FLTRES): Likewise.
2669         (FPE_FLTINV): Likewise.
2670         (FPE_FLTSUB): Likewise.
2671         (FPE_DECOVF): Likewise.
2672         (FPE_DECDIV): Likewise.
2673         (FPE_DECERR): Likewise.
2674         (FPE_INVASC): Likewise.
2675         (FPE_INVDEC): Likewise.
2676         (SEGV_MAPERR): Likewise.
2677         (SEGV_ACCERR): Likewise.
2678         (SEGV_PSTKOVF): Likewise.
2679         (BUS_ADRALN): Likewise.
2680         (BUS_ADRERR): Likewise.
2681         (BUS_OBJERR): Likewise.
2682         (BUS_MCEERR_AR): Likewise.
2683         (BUS_MCEERR_AO): Likewise.
2684         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2685         (TRAP_TRACE): Likewise.
2686         (TRAP_BRANCH): Likewise.
2687         (TRAP_HWBKPT): Likewise.
2688         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2689         __USE_XOPEN2K8].
2690         (CLD_KILLED): Likewise.
2691         (CLD_DUMPED): Likewise.
2692         (CLD_TRAPPED): Likewise.
2693         (CLD_STOPPED): Likewise.
2694         (CLD_CONTINUED): Likewise.
2695         (POLL_IN): Likewise.
2696         (POLL_OUT): Likewise.
2697         (POLL_MSG): Likewise.
2698         (POLL_ERR): Likewise.
2699         (POLL_PRI): Likewise.
2700         (POLL_HUP): Likewise.
2701         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2702         (ILL_ILLOPN): Likewise.
2703         (ILL_ILLADR): Likewise.
2704         (ILL_ILLTRP): Likewise.
2705         (ILL_PRVOPC): Likewise.
2706         (ILL_PRVREG): Likewise.
2707         (ILL_COPROC): Likewise.
2708         (ILL_BADSTK): Likewise.
2709         (FPE_INTDIV): Likewise.
2710         (FPE_INTOVF): Likewise.
2711         (FPE_FLTDIV): Likewise.
2712         (FPE_FLTOVF): Likewise.
2713         (FPE_FLTUND): Likewise.
2714         (FPE_FLTRES): Likewise.
2715         (FPE_FLTINV): Likewise.
2716         (FPE_FLTSUB): Likewise.
2717         (SEGV_MAPERR): Likewise.
2718         (SEGV_ACCERR): Likewise.
2719         (BUS_ADRALN): Likewise.
2720         (BUS_ADRERR): Likewise.
2721         (BUS_OBJERR): Likewise.
2722         (BUS_MCEERR_AR): Likewise.
2723         (BUS_MCEERR_AO): Likewise.
2724         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2725         (TRAP_TRACE): Likewise.
2726         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2727         __USE_XOPEN2K8].
2728         (CLD_KILLED): Likewise.
2729         (CLD_DUMPED): Likewise.
2730         (CLD_TRAPPED): Likewise.
2731         (CLD_STOPPED): Likewise.
2732         (CLD_CONTINUED): Likewise.
2733         (POLL_IN): Likewise.
2734         (POLL_OUT): Likewise.
2735         (POLL_MSG): Likewise.
2736         (POLL_ERR): Likewise.
2737         (POLL_PRI): Likewise.
2738         (POLL_HUP): Likewise.
2739         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2740         (ILL_ILLOPN): Likewise.
2741         (ILL_ILLADR): Likewise.
2742         (ILL_ILLTRP): Likewise.
2743         (ILL_PRVOPC): Likewise.
2744         (ILL_PRVREG): Likewise.
2745         (ILL_COPROC): Likewise.
2746         (ILL_BADSTK): Likewise.
2747         (FPE_INTDIV): Likewise.
2748         (FPE_INTOVF): Likewise.
2749         (FPE_FLTDIV): Likewise.
2750         (FPE_FLTOVF): Likewise.
2751         (FPE_FLTUND): Likewise.
2752         (FPE_FLTRES): Likewise.
2753         (FPE_FLTINV): Likewise.
2754         (FPE_FLTSUB): Likewise.
2755         (SEGV_MAPERR): Likewise.
2756         (SEGV_ACCERR): Likewise.
2757         (BUS_ADRALN): Likewise.
2758         (BUS_ADRERR): Likewise.
2759         (BUS_OBJERR): Likewise.
2760         (BUS_MCEERR_AR): Likewise.
2761         (BUS_MCEERR_AO): Likewise.
2762         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2763         (TRAP_TRACE): Likewise.
2764         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2765         __USE_XOPEN2K8].
2766         (CLD_KILLED): Likewise.
2767         (CLD_DUMPED): Likewise.
2768         (CLD_TRAPPED): Likewise.
2769         (CLD_STOPPED): Likewise.
2770         (CLD_CONTINUED): Likewise.
2771         (POLL_IN): Likewise.
2772         (POLL_OUT): Likewise.
2773         (POLL_MSG): Likewise.
2774         (POLL_ERR): Likewise.
2775         (POLL_PRI): Likewise.
2776         (POLL_HUP): Likewise.
2777         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2778         (ILL_ILLOPN): Likewise.
2779         (ILL_ILLADR): Likewise.
2780         (ILL_ILLTRP): Likewise.
2781         (ILL_PRVOPC): Likewise.
2782         (ILL_PRVREG): Likewise.
2783         (ILL_COPROC): Likewise.
2784         (ILL_BADSTK): Likewise.
2785         (FPE_INTDIV): Likewise.
2786         (FPE_INTOVF): Likewise.
2787         (FPE_FLTDIV): Likewise.
2788         (FPE_FLTOVF): Likewise.
2789         (FPE_FLTUND): Likewise.
2790         (FPE_FLTRES): Likewise.
2791         (FPE_FLTINV): Likewise.
2792         (FPE_FLTSUB): Likewise.
2793         (SEGV_MAPERR): Likewise.
2794         (SEGV_ACCERR): Likewise.
2795         (BUS_ADRALN): Likewise.
2796         (BUS_ADRERR): Likewise.
2797         (BUS_OBJERR): Likewise.
2798         (BUS_MCEERR_AR): Likewise.
2799         (BUS_MCEERR_AO): Likewise.
2800         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2801         (TRAP_TRACE): Likewise.
2802         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2803         __USE_XOPEN2K8].
2804         (CLD_KILLED): Likewise.
2805         (CLD_DUMPED): Likewise.
2806         (CLD_TRAPPED): Likewise.
2807         (CLD_STOPPED): Likewise.
2808         (CLD_CONTINUED): Likewise.
2809         (POLL_IN): Likewise.
2810         (POLL_OUT): Likewise.
2811         (POLL_MSG): Likewise.
2812         (POLL_ERR): Likewise.
2813         (POLL_PRI): Likewise.
2814         (POLL_HUP): Likewise.
2815         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2816         (ILL_ILLOPN): Likewise.
2817         (ILL_ILLADR): Likewise.
2818         (ILL_ILLTRP): Likewise.
2819         (ILL_PRVOPC): Likewise.
2820         (ILL_PRVREG): Likewise.
2821         (ILL_COPROC): Likewise.
2822         (ILL_BADSTK): Likewise.
2823         (ILL_DBLFLT): Likewise.
2824         (ILL_HARDWALL): Likewise.
2825         (FPE_INTDIV): Likewise.
2826         (FPE_INTOVF): Likewise.
2827         (FPE_FLTDIV): Likewise.
2828         (FPE_FLTOVF): Likewise.
2829         (FPE_FLTUND): Likewise.
2830         (FPE_FLTRES): Likewise.
2831         (FPE_FLTINV): Likewise.
2832         (FPE_FLTSUB): Likewise.
2833         (SEGV_MAPERR): Likewise.
2834         (SEGV_ACCERR): Likewise.
2835         (BUS_ADRALN): Likewise.
2836         (BUS_ADRERR): Likewise.
2837         (BUS_OBJERR): Likewise.
2838         (BUS_MCEERR_AR): Likewise.
2839         (BUS_MCEERR_AO): Likewise.
2840         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2841         (TRAP_TRACE): Likewise.
2842         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2843         __USE_XOPEN2K8].
2844         (CLD_KILLED): Likewise.
2845         (CLD_DUMPED): Likewise.
2846         (CLD_TRAPPED): Likewise.
2847         (CLD_STOPPED): Likewise.
2848         (CLD_CONTINUED): Likewise.
2849         (POLL_IN): Likewise.
2850         (POLL_OUT): Likewise.
2851         (POLL_MSG): Likewise.
2852         (POLL_ERR): Likewise.
2853         (POLL_PRI): Likewise.
2854         (POLL_HUP): Likewise.
2855         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2856         (ILL_ILLOPN): Likewise.
2857         (ILL_ILLADR): Likewise.
2858         (ILL_ILLTRP): Likewise.
2859         (ILL_PRVOPC): Likewise.
2860         (ILL_PRVREG): Likewise.
2861         (ILL_COPROC): Likewise.
2862         (ILL_BADSTK): Likewise.
2863         (FPE_INTDIV): Likewise.
2864         (FPE_INTOVF): Likewise.
2865         (FPE_FLTDIV): Likewise.
2866         (FPE_FLTOVF): Likewise.
2867         (FPE_FLTUND): Likewise.
2868         (FPE_FLTRES): Likewise.
2869         (FPE_FLTINV): Likewise.
2870         (FPE_FLTSUB): Likewise.
2871         (SEGV_MAPERR): Likewise.
2872         (SEGV_ACCERR): Likewise.
2873         (BUS_ADRALN): Likewise.
2874         (BUS_ADRERR): Likewise.
2875         (BUS_OBJERR): Likewise.
2876         (BUS_MCEERR_AR): Likewise.
2877         (BUS_MCEERR_AO): Likewise.
2878         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2879         (TRAP_TRACE): Likewise.
2880         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2881         __USE_XOPEN2K8].
2882         (CLD_KILLED): Likewise.
2883         (CLD_DUMPED): Likewise.
2884         (CLD_TRAPPED): Likewise.
2885         (CLD_STOPPED): Likewise.
2886         (CLD_CONTINUED): Likewise.
2887         (POLL_IN): Likewise.
2888         (POLL_OUT): Likewise.
2889         (POLL_MSG): Likewise.
2890         (POLL_ERR): Likewise.
2891         (POLL_PRI): Likewise.
2892         (POLL_HUP): Likewise.
2893         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2894         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2896         [BZ #16670]
2897         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2898         before #include of <time.h>.
2899         [!__USE_XOPEN2K] (__need_timespec): Likewise.
2900         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2901         (test-xfail-UNIX98/sched.h/conform): Likewise.
2903 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2905         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2906         error absence of trapping exception support.
2907         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2909 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2911         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2912         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2913         * timezone/Makefile (testdata): Move definition above include of
2914         Rules.
2915         (test-zones): New variable.
2916         (tests-special): Add zone files.
2917         (build-testdata): Use $(evaluate-test).
2919         * elf/Makefile (tests-special): Rename tests to end with .out.
2920         ($(objpfx)noload-mem): Likewise.
2921         ($(objpfx)tst-leaks1-mem): Likewise.
2922         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2923         * iconv/Makefile (xtests-special): Change test-iconvconfig to
2924         $(objpfx)test-iconvconfig.out.
2925         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
2926         set -e inside subshell and redirect output to file.
2927         * iconvdata/Makefile (generated): Rename tests to end with .out.
2928         Correct type.
2929         (tests-special): Rename tests to end with .out.
2930         ($(objpfx)mtrace-tst-loading): Likewise.
2931         * intl/Makefile (generated): Likewise.
2932         (tests-special): Likewise.
2933         ($(objpfx)mtrace-tst-gettext): Likewise.
2934         * misc/Makefile (generated): Likewise.
2935         (tests-special): Likewise.
2936         ($(objpfx)tst-error1-mem): Likewise.
2937         * nptl/Makefile (tests-special): Likewise.
2938         ($(objpfx)tst-stack3-mem): Likewise.
2939         (generated): Likewise.
2940         * posix/Makefile (generated): Likewise.
2941         (tests-special): Likewise.
2942         (xtests-special): Likewise.
2943         ($(objpfx)tst-fnmatch-mem): Likewise.
2944         ($(objpfx)bug-regex2-mem): Likewise.
2945         ($(objpfx)bug-regex14-mem): Likewise.
2946         ($(objpfx)bug-regex21-mem): Likewise.
2947         ($(objpfx)bug-regex31-mem): Likewise.
2948         ($(objpfx)tst-vfork3-mem): Likewise.
2949         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2950         ($(objpfx)tst-pcre-mem): Likewise.
2951         ($(objpfx)tst-boost-mem): Likewise.
2952         ($(objpfx)bug-ga2-mem): Likewise.
2953         ($(objpfx)bug-glob2-mem): Likewise.
2954         * resolv/Makefile (generate): Likewise.
2955         (tests-special): Likewise.
2956         (xtests-special): Likewise.
2957         (generated): Likewise.
2958         ($(objpfx)mtrace-tst-leaks): Likewise.
2959         ($(objpfx)mtrace-tst-leaks2): Likewise.
2961         * scripts/merge-test-results.sh: New file.
2962         * Makefile (tests-special-notdir): New variable.
2963         (tests): Run merge-test-results.sh.
2964         (xtests): Likewise.
2965         * Rules (tests-special-notdir): New variable.
2966         (xtests-special-notdir): Likewise.
2967         (tests): Run merge-test-results.sh
2968         (xtests): Likewise.
2970         * Makeconfig (test-xfail-name): New variable.
2971         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2972         compute variable name for expected failures.
2973         * conform/Makefile (conformtest-headers-data): New variable.
2974         (conformtest-standards): Likewise.
2975         (conformtest-headers-ISO): Likewise.
2976         (conformtest-headers-ISO99): Likewise.
2977         (conformtest-headers-ISO11): Likewise.
2978         (conformtest-headers-POSIX): Likewise.
2979         (conformtest-headers-XPG3): Likewise.
2980         (conformtest-headers-XPG4): Likewise.
2981         (conformtest-headers-UNIX98): Likewise.
2982         (conformtest-headers-XOPEN2K): Likewise.
2983         (conformtest-headers-POSIX2008): Likewise.
2984         (conformtest-headers-XOPEN2K8): Likewise.
2985         (conformtest-header-list-base): Likewise.
2986         (conformtest-header-list-tests): Likewise.
2987         (conformtest-header-base): Likewise.
2988         (conformtest-header-tests): Likewise.
2989         (tests-special): Add $(conformtest-header-list-tests).  If
2990         [$(fast-check) && !$(cross-compiling)], add
2991         $(conformtest-header-tests) instead of
2992         $(objpfx)run-conformtest.out.
2993         (generated): Add $(conformtest-header-list-base).  If
2994         [$(fast-check) && !$(cross-compiling)], add
2995         $(conformtest-header-base).  Remove previous setting.
2996         ($(conformtest-header-list-tests)): New target.
2997         (test-xfail-run-conformtest): Remove variable.
2998         ($(objpfx)run-conformtest.out): Remove target.
2999         (test-xfail-ISO11/complex.h/conform): New variable.
3000         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3001         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3002         (test-xfail-XPG3/varargs.h/conform): Likewise.
3003         (test-xfail-XPG4/varargs.h/conform): Likewise.
3004         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3005         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3006         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3007         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3008         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3009         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3010         (test-xfail-XPG3/ftw.h/conform): Likewise.
3011         (test-xfail-XPG3/grp.h/conform): Likewise.
3012         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3013         (test-xfail-XPG3/limits.h/conform): Likewise.
3014         (test-xfail-XPG3/pwd.h/conform): Likewise.
3015         (test-xfail-XPG3/search.h/conform): Likewise.
3016         (test-xfail-XPG3/signal.h/conform): Likewise.
3017         (test-xfail-XPG3/stdio.h/conform): Likewise.
3018         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3019         (test-xfail-XPG3/string.h/conform): Likewise.
3020         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3021         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3022         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3023         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3024         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3025         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3026         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3027         (test-xfail-XPG3/termios.h/conform): Likewise.
3028         (test-xfail-XPG3/time.h/conform): Likewise.
3029         (test-xfail-XPG3/unistd.h/conform): Likewise.
3030         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3031         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3032         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3033         (test-xfail-XPG4/netdb.h/conform): Likewise.
3034         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3035         (test-xfail-XPG4/signal.h/conform): Likewise.
3036         (test-xfail-XPG4/stdio.h/conform): Likewise.
3037         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3038         (test-xfail-XPG4/stropts.h/conform): Likewise.
3039         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3040         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3041         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3042         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3043         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3044         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3045         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3046         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3047         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3048         (test-xfail-XPG4/termios.h/conform): Likewise.
3049         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3050         (test-xfail-XPG4/unistd.h/conform): Likewise.
3051         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3052         (test-xfail-POSIX/sched.h/conform): Likewise.
3053         (test-xfail-POSIX/signal.h/conform): Likewise.
3054         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3055         (test-xfail-POSIX/tar.h/conform): Likewise.
3056         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3057         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3058         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3059         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3060         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3061         (test-xfail-UNIX98/sched.h/conform): Likewise.
3062         (test-xfail-UNIX98/signal.h/conform): Likewise.
3063         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3064         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3065         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3066         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3067         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3068         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3069         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3070         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3071         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3072         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3073         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3074         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3075         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3076         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3077         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3078         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3079         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3080         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3081         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3082         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3083         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3084         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3085         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3086         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3087         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3088         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3089         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3090         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3091         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3092         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3093         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3094         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3095         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3096         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3097         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3098         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3099         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3100         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3101         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3102         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3103         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3104         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3105         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3106         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3107         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3108         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3109         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3110         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3111         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3112         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3113         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3114         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3115         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3116         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3117         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3118         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3119         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3120         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3121         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3122         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3123         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3124         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3125         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3126         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3127         (conformtest-cc-flags): Likewise.
3128         ($(conformtest-header-tests): New target.
3129         * conform/check-header-lists.sh: New file.
3130         * conform/run-conformtest.sh: Remove.
3132         * conform/conformtest.pl: Allow ' and \ in values given for
3133         constants.
3134         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3135         inclusion.
3136         [POSIX] (sys/types.h): Likewise.
3137         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3138         inclusion.
3139         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3140         inclusion.
3141         * conform/data/signal.h-data (SIGIO): Remove expectation.
3142         [XPG3] (SIGBUS): Do not expect.
3143         [POSIX || XPG3] (SIGPOLL): Likewise.
3144         [POSIX || XPG3] (SIGPROF): Likewise.
3145         [POSIX || XPG3] (SIGSYS): Likewise.
3146         [XPG3] (SIGTRAP): Likewise.
3147         [POSIX || XPG3] (SIGURG): Likewise.
3148         [POSIX || XPG3] (SIGVTALRM): Likewise.
3149         [POSIX || XPG3] (SIGXCPU): Likewise.
3150         [POSIX || XPG3] (SIGXFSZ): Likewise.
3151         [POSIX] (SA_SIGINFO): Expect.
3152         [XPG3] (siginfo_t): Do not expect type or contents.
3153         [POSIX] (si_pid): Do not expect element.
3154         [POSIX] (si_uid): Likewise.
3155         [POSIX] (si_addr): Likewise.
3156         [POSIX] (si_status): Likewise.
3157         [POSIX] (si_band): Likewise.
3158         [XPG4] (si_value): Likewise.
3159         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3160         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3161         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3162         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3163         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3164         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3165         [POSIX || XPG3] (ILL_COPROC): Likewise.
3166         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3167         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3168         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3169         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3170         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3171         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3172         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3173         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3174         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3175         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3176         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3177         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3178         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3179         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3180         [POSIX || XPG3] (CLD_EXITED): Likewise.
3181         [POSIX || XPG3] (CLD_KILLED): Likewise.
3182         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3183         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3184         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3185         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3186         [POSIX || XPG3] (POLL_IN): Likewise.
3187         [POSIX || XPG3] (POLL_OUT): Likewise.
3188         [POSIX || XPG3] (POLL_MSG): Likewise.
3189         [POSIX || XPG3] (POLL_ERR): Likewise.
3190         [POSIX || XPG3] (POLL_PRI): Likewise.
3191         [POSIX || XPG3] (POLL_HUP): Likewise.
3192         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3193         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3194         (SIG*): Do not allow.
3195         [XPG3] (si_*): Likewise.
3196         [XPG3] (SI_*): Likewise.
3197         [XPG3 || XPG4] (sigev_*): Likewise.
3198         [XPG3 || XPG4] (SIGEV_*): Likewise.
3199         [XPG3 || XPG4] (sival_*): Likewise.
3200         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3201         [POSIX || XPG3] (BUS_*): Likewise.
3202         [POSIX || XPG3] (CLD_*): Likewise.
3203         [POSIX || XPG3] (FPE_*): Likewise.
3204         [POSIX || XPG3] (ILL_*): Likewise.
3205         [POSIX || XPG3] (POLL_*): Likewise.
3206         [POSIX || XPG3] (SEGV_*): Likewise.
3207         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3208         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3209         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3210         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3211         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3212         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3213         Specify type and value.
3214         (TVERSLEN): Likewise.
3215         (REGTYPE): Likewise.
3216         (AREGTYPE): Likewise.
3217         (LNKTYPE): Likewise.
3218         (SYMTYPE): Likewise.
3219         (CHRTYPE): Likewise.
3220         (BLKTYPE): Likewise.
3221         (DIRTYPE): Likewise.
3222         (FIFOTYPE): Likewise.
3223         (CONTTYPE): Likewise.
3224         (TSUID): Likewise.
3225         (TSGID): Likewise.
3226         (TSVTX): Likewise.
3227         (TUREAD): Likewise.
3228         (TUWRITE): Likewise.
3229         (TUEXEC): Likewise.
3230         (TGREAD): Likewise.
3231         (TGWRITE): Likewise.
3232         (TGEXEC): Likewise.
3233         (TOREAD): Likewise.
3234         (TOWRITE): Likewise.
3235         (TOEXEC): Likewise.
3236         [POSIX] (TSVTX): Expect constant.
3238 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3240         * Makefile (tests): Change dependencies to ....
3241         (tests-special): ... additions to this variable.
3242         (tests): Depend on $(tests-special).
3243         * Makerules (check-abi-list): New variable.
3244         (check-abi): Depend on $(check-abi-list).
3245         [$(subdir) = elf] (tests-special): Add
3246         $(objpfx)check-abi-libc.out.
3247         [$(build-shared) = yes && subdir] (tests-special): Add
3248         $(check-abi-list).
3249         [$(build-shared) = yes && subdir] (tests): Do not depend on
3250         check-abi.
3251         * Rules (tests): Depend on $(tests-special).
3252         (xtests): Depend on $(xtests-special).
3253         * catgets/Makefile (tests): Change dependencies to ....
3254         (tests-special): ... additions to this variable.
3255         * conform/Makefile (tests): Change dependencies to ....
3256         (tests-special): ... additions to this variable.
3257         * elf/Makefile (tests): Change dependencies to ....
3258         (tests-special): ... additions to this variable.
3259         * grp/Makefile (tests): Change dependencies to ....
3260         (tests-special): ... additions to this variable.
3261         * iconv/Makefile (xtests): Change dependencies to ....
3262         (xtests-special): ... additions to this variable.
3263         * iconvdata/Makefile (tests): Change dependencies to ....
3264         (tests-special): ... additions to this variable.
3265         * intl/Makefile (tests): Change dependencies to ....
3266         (tests-special): ... additions to this variable.  Also add
3267         $(objpfx)tst-gettext.out.
3268         * io/Makefile (tests): Change dependencies to ....
3269         (tests-special): ... additions to this variable.
3270         * libio/Makefile (tests): Change dependencies to ....
3271         (tests-special): ... additions to this variable.
3272         * malloc/Makefile (tests): Change dependencies to ....
3273         (tests-special): ... additions to this variable.
3274         * misc/Makefile (tests): Change dependencies to ....
3275         (tests-special): ... additions to this variable.
3276         * nptl/Makefile (tests): Change dependencies to ....
3277         (tests-special): ... additions to this variable.
3278         * nptl_db/Makefile (tests): Change dependencies to ....
3279         (tests-special): ... additions to this variable.
3280         * posix/Makefile (tests): Change dependencies to ....
3281         (tests-special): ... additions to this variable.
3282         (xtests): Change dependencies to ....
3283         (xtests-special): ... additions to this variable.
3284         * resolv/Makefile (tests): Change dependencies to ....
3285         (tests-special): ... additions to this variable.
3286         (xtests): Change dependencies to ....
3287         (xtests-special): ... additions to this variable.
3288         * stdio-common/Makefile (tests): Change dependencies to ....
3289         (tests-special): ... additions to this variable.
3290         (do-tst-unbputc): Remove target.
3291         (do-tst-printf): Likewise.
3292         * stdlib/Makefile (tests): Change dependencies to ....
3293         (tests-special): ... additions to this variable.
3294         * string/Makefile (tests): Change dependencies to ....
3295         (tests-special): ... additions to this variable.
3296         * sysdeps/x86/Makefile (tests): Change dependencies to ....
3297         (tests-special): ... additions to this variable.
3299         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3300         whole file.
3301         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3302         whole file.
3303         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3304         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3306         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3307         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3308         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3309         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3310         * conform/data/libgen.h-data [XPG3]: Likewise.
3311         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3312         * conform/data/ndbm.h-data [XPG3]: Likewise.
3313         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3314         * conform/data/netdb.h-data [XPG3]: Likewise.
3315         * conform/data/netinet/in.h-data [XPG3]: Likewise.
3316         * conform/data/poll.h-data [XPG3]: Likewise.
3317         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3318         * conform/data/strings.h-data [XPG3]: Likewise.
3319         * conform/data/stropts.h-data [XPG3]: Likewise.
3320         * conform/data/sys/mman.h-data [XPG3]: Likewise.
3321         * conform/data/sys/resource.h-data [XPG3]: Likewise.
3322         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3323         Likewise.
3324         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3325         * conform/data/sys/time.h-data [XPG3]: Likewise.
3326         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3327         * conform/data/sys/uio.h-data [XPG3]: Likewise.
3328         * conform/data/sys/un.h-data [XPG3]: Likewise.
3329         * conform/data/syslog.h-data [XPG3]: Likewise.
3330         * conform/data/ucontext.h-data [XPG3]: Likewise.
3331         * conform/data/utmpx.h-data [XPG3]: Likewise.
3332         * conform/data/varargs.h-data [UNIX98]: Enable file.
3334         * manual/Makefile (INSTALL_INFO): Remove variable setting.
3336         * math/libm-test.inc (struct test_f_f_data): Move expected results
3337         into structure for each rounding mode.
3338         (struct test_ff_f_data): Likewise.
3339         (struct test_ff_f_data_nexttoward): Likewise.
3340         (struct test_fi_f_data): Likewise.
3341         (struct test_fl_f_data): Likewise.
3342         (struct test_if_f_data): Likewise.
3343         (struct test_fff_f_data): Likewise.
3344         (struct test_c_f_data): Likewise.
3345         (struct test_f_f1_data): Likewise.
3346         (struct test_fF_f1_data): Likewise.
3347         (struct test_ffI_f1_data): Likewise.
3348         (struct test_c_c_data): Likewise.
3349         (struct test_cc_c_data): Likewise.
3350         (struct test_f_i_data): Likewise.
3351         (struct test_ff_i_data): Likewise.
3352         (struct test_f_l_data): Likewise.
3353         (struct test_f_L_data): Likewise.
3354         (struct test_fFF_11_data): Likewise.
3355         (RM_): New macro.
3356         (RM_FE_DOWNWARD): Likewise.
3357         (RM_FE_TONEAREST): Likewise.
3358         (RM_FE_TOWARDZERO): Likewise.
3359         (RM_FE_UPWARD): Likewise.
3360         (RUN_TEST_LOOP_f_f): Update references to expected results.
3361         (RUN_TEST_LOOP_2_f): Likewise.
3362         (RUN_TEST_LOOP_fff_f): Likewise.
3363         (RUN_TEST_LOOP_c_f): Likewise.
3364         (RUN_TEST_LOOP_f_f1): Likewise.
3365         (RUN_TEST_LOOP_fF_f1): Likewise.
3366         (RUN_TEST_LOOP_fI_f1): Likewise.
3367         (RUN_TEST_LOOP_ffI_f1): Likewise.
3368         (RUN_TEST_LOOP_c_c): Likewise.
3369         (RUN_TEST_LOOP_cc_c): Likewise.
3370         (RUN_TEST_LOOP_f_i): Likewise.
3371         (RUN_TEST_LOOP_f_i_tg): Likewise.
3372         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3373         (RUN_TEST_LOOP_f_b): Likewise.
3374         (RUN_TEST_LOOP_f_b_tg): Likewise.
3375         (RUN_TEST_LOOP_f_l): Likewise.
3376         (RUN_TEST_LOOP_f_L): Likewise.
3377         (RUN_TEST_LOOP_fFF_11): Likewise.
3378         * math/gen-libm-test.pl (parse_args): Output four copies of
3379         expected results for each test.
3381         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3382         (__ASSUME_UTIMES): Remove.
3383         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3384         (__ASSUME_UTIMES): Likewise.
3386         * math/gen-auto-libm-tests.c: Update comment on output format.
3387         (output_for_one_input_case): Generate before-rounding and
3388         after-rounding information as conditions on output flags not
3389         floating-point format.
3390         * math/auto-libm-test-out: Regenerated.
3391         * math/gen-libm-test.pl (cond_value): New function.
3392         (or_cond_value): Use cond_value.
3393         (generate_testfile): Handle conditional exceptions.
3395 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
3397         * math/libm-test.inc (max_valid_error): New variable.
3398         (init_max_error): Take new argument specifying whether function
3399         results are exactly determined.  Set max_valid_error and bound
3400         other variables for errors based on this argument.
3401         (set_max_error): Do not record results above max_valid_error.
3402         (check_float_internal): Only accept errors of up to 0.5ulps if
3403         also at most max_valid_error.
3404         (START): Take new argument EXACT and pass it to init_max_error.
3405         (acos_test): Update call to START.
3406         (acos_test_tonearest): Likewise.
3407         (acos_test_towardzero): Likewise.
3408         (acos_test_downward): Likewise.
3409         (acos_test_upward): Likewise.
3410         (acosh_test): Likewise.
3411         (asin_test): Likewise.
3412         (asin_test_tonearest): Likewise.
3413         (asin_test_towardzero): Likewise.
3414         (asin_test_downward): Likewise.
3415         (asin_test_upward): Likewise.
3416         (asinh_test): Likewise.
3417         (atan_test): Likewise.
3418         (atanh_test): Likewise.
3419         (atan2_test): Likewise.
3420         (cabs_test): Likewise.
3421         (cacos_test): Likewise.
3422         (cacosh_test): Likewise.
3423         (carg_test): Likewise.
3424         (casin_test): Likewise.
3425         (casinh_test): Likewise.
3426         (catan_test): Likewise.
3427         (catanh_test): Likewise.
3428         (cbrt_test): Likewise.
3429         (ccos_test): Likewise.
3430         (ccosh_test): Likewise.
3431         (ceil_test): Likewise.
3432         (cexp_test): Likewise.
3433         (cimag_test): Likewise.
3434         (clog_test): Likewise.
3435         (clog10_test): Likewise.
3436         (conj_test): Likewise.
3437         (copysign_test): Likewise.
3438         (cos_test): Likewise.
3439         (cos_test_tonearest): Likewise.
3440         (cos_test_towardzero): Likewise.
3441         (cos_test_downward): Likewise.
3442         (cos_test_upward): Likewise.
3443         (cosh_test): Likewise.
3444         (cosh_test_tonearest): Likewise.
3445         (cosh_test_towardzero): Likewise.
3446         (cosh_test_downward): Likewise.
3447         (cosh_test_upward): Likewise.
3448         (cpow_test): Likewise.
3449         (cproj_test): Likewise.
3450         (creal_test): Likewise.
3451         (csin_test): Likewise.
3452         (csinh_test): Likewise.
3453         (csqrt_test): Likewise.
3454         (ctan_test): Likewise.
3455         (ctan_test_tonearest): Likewise.
3456         (ctan_test_towardzero): Likewise.
3457         (ctan_test_downward): Likewise.
3458         (ctan_test_upward): Likewise.
3459         (ctanh_test): Likewise.
3460         (ctanh_test_tonearest): Likewise.
3461         (ctanh_test_towardzero): Likewise.
3462         (ctanh_test_downward): Likewise.
3463         (ctanh_test_upward): Likewise.
3464         (erf_test): Likewise.
3465         (erfc_test): Likewise.
3466         (exp_test): Likewise.
3467         (exp_test_tonearest): Likewise.
3468         (exp_test_towardzero): Likewise.
3469         (exp_test_downward): Likewise.
3470         (exp_test_upward): Likewise.
3471         (exp10_test): Likewise.
3472         (exp10_test_tonearest): Likewise.
3473         (exp10_test_towardzero): Likewise.
3474         (exp10_test_downward): Likewise.
3475         (exp10_test_upward): Likewise.
3476         (pow10_test): Likewise.
3477         (exp2_test): Likewise.
3478         (expm1_test): Likewise.
3479         (expm1_test_tonearest): Likewise.
3480         (expm1_test_towardzero): Likewise.
3481         (expm1_test_downward): Likewise.
3482         (expm1_test_upward): Likewise.
3483         (fabs_test): Likewise.
3484         (fdim_test): Likewise.
3485         (floor_test): Likewise.
3486         (fma_test): Likewise.
3487         (fma_test_towardzero): Likewise.
3488         (fma_test_downward): Likewise.
3489         (fma_test_upward): Likewise.
3490         (fmax_test): Likewise.
3491         (fmin_test): Likewise.
3492         (fmod_test): Likewise.
3493         (fpclassify_test): Likewise.
3494         (frexp_test): Likewise.
3495         (hypot_test): Likewise.
3496         (ilogb_test): Likewise.
3497         (isfinite_test): Likewise.
3498         (finite_test): Likewise.
3499         (isgreater_test): Likewise.
3500         (isgreaterequal_test): Likewise.
3501         (isinf_test): Likewise.
3502         (isless_test): Likewise.
3503         (islessequal_test): Likewise.
3504         (islessgreater_test): Likewise.
3505         (isnan_test): Likewise.
3506         (isnormal_test): Likewise.
3507         (issignaling_test): Likewise.
3508         (isunordered_test): Likewise.
3509         (j0_test): Likewise.
3510         (j1_test): Likewise.
3511         (jn_test): Likewise.
3512         (ldexp_test): Likewise.
3513         (lgamma_test): Likewise.
3514         (gamma_test): Likewise.
3515         (lrint_test): Likewise.
3516         (lrint_test_tonearest): Likewise.
3517         (lrint_test_towardzero): Likewise.
3518         (lrint_test_downward): Likewise.
3519         (lrint_test_upward): Likewise.
3520         (llrint_test): Likewise.
3521         (llrint_test_tonearest): Likewise.
3522         (llrint_test_towardzero): Likewise.
3523         (llrint_test_downward): Likewise.
3524         (llrint_test_upward): Likewise.
3525         (log_test): Likewise.
3526         (log10_test): Likewise.
3527         (log1p_test): Likewise.
3528         (log2_test): Likewise.
3529         (logb_test): Likewise.
3530         (logb_test_downward): Likewise.
3531         (lround_test): Likewise.
3532         (llround_test): Likewise.
3533         (modf_test): Likewise.
3534         (nearbyint_test): Likewise.
3535         (nextafter_test): Likewise.
3536         (nexttoward_test): Likewise.
3537         (pow_test): Likewise.
3538         (pow_test_tonearest): Likewise.
3539         (pow_test_towardzero): Likewise.
3540         (pow_test_downward): Likewise.
3541         (pow_test_upward): Likewise.
3542         (remainder_test): Likewise.
3543         (drem_test): Likewise.
3544         (remainder_test_tonearest): Likewise.
3545         (drem_test_tonearest): Likewise.
3546         (remainder_test_towardzero): Likewise.
3547         (drem_test_towardzero): Likewise.
3548         (remainder_test_downward): Likewise.
3549         (drem_test_downward): Likewise.
3550         (remainder_test_upward): Likewise.
3551         (drem_test_upward): Likewise.
3552         (remquo_test): Likewise.
3553         (rint_test): Likewise.
3554         (rint_test_tonearest): Likewise.
3555         (rint_test_towardzero): Likewise.
3556         (rint_test_downward): Likewise.
3557         (rint_test_upward): Likewise.
3558         (round_test): Likewise.
3559         (scalb_test): Likewise.
3560         (scalbn_test): Likewise.
3561         (scalbln_test): Likewise.
3562         (signbit_test): Likewise.
3563         (sin_test): Likewise.
3564         (sin_test_tonearest): Likewise.
3565         (sin_test_towardzero): Likewise.
3566         (sin_test_downward): Likewise.
3567         (sin_test_upward): Likewise.
3568         (sincos_test): Likewise.
3569         (sinh_test): Likewise.
3570         (sinh_test_tonearest): Likewise.
3571         (sinh_test_towardzero): Likewise.
3572         (sinh_test_downward): Likewise.
3573         (sinh_test_upward): Likewise.
3574         (sqrt_test): Likewise.
3575         (sqrt_test_tonearest): Likewise.
3576         (sqrt_test_towardzero): Likewise.
3577         (sqrt_test_downward): Likewise.
3578         (sqrt_test_upward): Likewise.
3579         (tan_test): Likewise.
3580         (tan_test_tonearest): Likewise.
3581         (tan_test_towardzero): Likewise.
3582         (tan_test_downward): Likewise.
3583         (tan_test_upward): Likewise.
3584         (tanh_test): Likewise.
3585         (tgamma_test): Likewise.
3586         (trunc_test): Likewise.
3587         (y0_test): Likewise.
3588         (y1_test): Likewise.
3589         (yn_test): Likewise.
3590         (significand_test): Likewise.
3592         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3593         individual tests in comment.
3594         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3595         (prev_max_error): New variable.
3596         (prev_real_max_error): Likewise.
3597         (prev_imag_max_error): Likewise.
3598         (compare_ulp_data): Don't refer to test names in comment.
3599         (find_test_ulps): Remove function.
3600         (find_function_ulps): Likewise.
3601         (find_complex_function_ulps): Likewise.
3602         (init_max_error): Take function name as argument.  Look up ulps
3603         for that function.
3604         (print_ulps): Remove function.
3605         (print_max_error): Use prev_max_error instead of calling
3606         find_function_ulps.
3607         (print_complex_max_error): Use prev_real_max_error and
3608         prev_imag_max_error instead of calling find_complex_function_ulps.
3609         (check_float_internal): Take max_ulp parameter instead of calling
3610         find_test_ulps.  Don't call print_ulps.
3611         (check_float): Update call to check_float_internal.
3612         (check_complex): Update calls to check_float_internal.
3613         (START): Pass argument to init_max_error.
3614         * math/gen-libm-test.pl (%results): Don't include "kind"
3615         information.
3616         (parse_ulps): Don't handle ulps of individual tests.
3617         (print_ulps_file): Likewise.
3618         (output_ulps): Likewise.
3619         * math/README.libm-test: Update.
3620         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3621         individual tests.
3622         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3623         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3624         * sysdeps/arm/libm-test-ulps: Likewise.
3625         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3626         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3627         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3628         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3629         * sysdeps/microblaze/libm-test-ulps: Likewise.
3630         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3631         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3632         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3633         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3634         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3635         * sysdeps/sh/libm-test-ulps: Likewise.
3636         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3637         * sysdeps/tile/libm-test-ulps: Likewise.
3638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3640 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
3642         * math/libm-test.inc (print_complex_max_error): Check separately
3643         whether real and imaginary errors are within allowed range and
3644         pass 0 to print_complex_function_ulps instead of value within
3645         allowed range.
3647 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3649         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3650         formatting.
3651         (get_handles_fopen): Likewise.
3652         (do_write_test): Likewise.
3654         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3656         * libio/fileops.c (do_ftell): Use cached offset when
3657         available.
3658         * libio/iofwide.c (do_ftell_wide): Likewise.
3659         * libio/iofdopen.c (_IO_new_fdopen): Don't use
3660         _IO_file_attach.
3661         * libio/wfileops.c (_IO_fwide): Don't cache offset.
3663         [BZ #16532]
3664         * libio/libioP.h (get_file_offset): New function.
3665         * libio/fileops.c (get_file_offset): Likewise.
3666         (do_ftell): Likewise.
3667         (_IO_new_file_seekoff): Split out ftell logic.
3668         * libio/wfileops.c (do_ftell_wide): Likewise.
3669         (_IO_wfile_seekoff): Split out ftell logic.
3670         * libio/tst-ftell-active-handler.c: New test case.
3671         * libio/Makefile (tests): Add it.
3673 2014-03-03  Roland McGrath  <roland@hack.frob.com>
3675         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3676         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3678 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3680         [BZ #16639]
3681         * nscd/connections.c (nscd_init): Call do_exit.
3682         (start_threads): Call do_exit and notify_parent.
3683         (begin_drop_privileges): Call do_exit.
3684         (finish_drop_privileges): Likewise.
3685         * nscd/selinux.c (preserve_capabilities): Likewise.
3686         (install_real_capabilities): Likewise.
3687         (nscd_selinux_enabled): Likewise.
3688         (avc_create_thread): Likewise.
3689         (avc_alloc_lock): Likewise.
3690         (nscd_avc_init): Likewise.
3691         * nscd/nscd.c (parent_fd): New static variable.
3692         (main): Create a pipe between parent and child processes.
3693         Skip closing parent_fd.
3694         (monitor_child): New function.
3695         (do_exit): Likewise.
3696         (notify_parent): Likewise.
3697         * nscd/nscd.h (notify_parent): Likewise.
3698         (do_exit): Likewise.
3700 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
3702         * malloc/malloc.c (__libc_calloc): Revert last change.
3704 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3708 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3710         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3712         implementation.
3713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3714         (__libc_ifunc_impl_list): Likewise.
3715         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3716         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3717         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3718         * string/strrchr.c: Define STRRCHR.
3720 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
3722         * benchtest/bench-strtok.c (simple_strtok): Delete.
3723         (strtok_string): Use as benchmark.
3724         * string/strtok (STRTOK): New macro.
3726 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
3728         * manual/threads.texi: Add header and standard comments to all
3729         functions.
3731         * elf/dl-lookup.c (check_match): New function.
3732         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3733         (do_lookup_x): Remove nested function check_match. Use non-nested
3734         function check_match.
3736 2014-02-28  Roland McGrath  <roland@hack.frob.com>
3738         * csu/Makefile (generated, before-compile): Use += rather than =.
3739         * catgets/Makefile (generated, generated-dirs): Likewise.
3740         * debug/Makefile (generated): Likewise.
3741         * dlfcn/Makefile (generated): Likewise.
3742         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3743         * iconvdata/Makefile (before-compile, generated): Likewise.
3744         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3745         * libio/Makefile (generated): Likewise.
3746         * malloc/Makefile (generated): Likewise.
3747         * manual/Makefile (generated, generated-dirs): Likewise.
3748         * misc/Makefile (generated): Likewise.
3749         * posix/Makefile (generated): Likewise.
3750         * resolv/Makefile (generated): Likewise.
3751         * sunrpc/Makefile (generated, generated-dirs): Likewise.
3752         * timezone/Makefile (generated, generated-dirs): Likewise.
3754         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3756 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3758         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3759         power8 implementation.
3760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3761         file: POWER8 llround ifunc implementation.
3762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3763         (__lllround): Add POWER8 implementation.
3764         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3765         POWER8 llround implementation.
3767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3768         power8 implementation.
3769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3770         file: POWER8 llrint ifunc implementation.
3771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3772         Add POWER8 implementation.
3773         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3774         POWER8 llrint implementation.
3776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3777         power8 implementation.
3778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3779         file: POWER8 finite ifunc implementation.
3780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3781         Add POWER8 implementation.
3782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3783         Likewise.
3784         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3785         POWER8 finite implementation.
3786         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3789         power8 implementation.
3790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3791         file: POWER8 isinf ifunc implementation.
3792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3793         POWER8 implementation.
3794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3795         Likewise.
3796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3797         isinf implementation.
3798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3800         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3801         (INIT_ARCH): Add hwcap2 initialization.
3802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3803         power8 implementation.
3804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3805         file: POWER8 isnan ifunc implementation.
3806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3807         POWER8 implementation.
3808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3809         Likewise.
3810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3811         isnan implementation.
3812         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3814 2014-02-27  Joey Ye  <joey.ye@arm.com>
3816         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3817         (_FP_NANFRAC_Q): Set to zero.
3819 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3821         [BZ #16623]
3822         * math/auto-libm-test-in: New test inputs.
3823         * math/auto-libm-test-out: Regenerate.
3824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3825         and DA.
3826         (__cos): Likewise.
3827         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3829 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
3831         * scripts/evaluate-test.sh: Take new argument indicating whether
3832         failure is expected.
3833         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3834         indicating whether failure is expected.
3835         * conform/Makefile (test-xfail-run-conformtest): New variable.
3836         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3837         level.
3838         * posix/Makefile (test-xfail-annexc): New variable.
3839         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3841 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
3843         * argp/Makefile: Include Makeconfig immediately after defining
3844         subdir.
3845         * assert/Makefile: Likewise.
3846         * benchtests/Makefile: Likewise.
3847         * catgets/Makefile: Likewise.
3848         * conform/Makefile: Likewise.
3849         * crypt/Makefile: Likewise.
3850         * csu/Makefile: Likewise.
3851         (all): Remove target.
3852         * ctype/Makefile: Include Makeconfig immediately after defining
3853         subdir.
3854         * debug/Makefile: Likewise.
3855         * dirent/Makefile: Likewise.
3856         * dlfcn/Makefile: Likewise.
3857         * gmon/Makefile: Likewise.
3858         * gnulib/Makefile: Likewise.
3859         * grp/Makefile: Likewise.
3860         * gshadow/Makefile: Likewise.
3861         * hesiod/Makefile: Likewise.
3862         * hurd/Makefile: Likewise.
3863         (all): Remove target.
3864         * iconvdata/Makefile: Include Makeconfig immediately after
3865         defining subdir.
3866         * inet/Makefile: Likewise.
3867         * intl/Makefile: Likewise.
3868         * io/Makefile: Likewise.
3869         * libio/Makefile: Likewise.
3870         (all): Remove target.
3871         * locale/Makefile: Include Makeconfig immediately after defining
3872         subdir.
3873         * login/Makefile: Likewise.
3874         * mach/Makefile: Likewise.
3875         (all): Remove target.
3876         * malloc/Makefile: Include Makeconfig immediately after defining
3877         subdir.
3878         (all): Remove target.
3879         * manual/Makefile: Include Makeconfig immediately after defining
3880         subdir.
3881         * math/Makefile: Likewise.
3882         * misc/Makefile: Likewise.
3883         * nis/Makefile: Likewise.
3884         * nss/Makefile: Likewise.
3885         * po/Makefile: Likewise.
3886         (all): Remove target.
3887         * posix/Makefile: Include Makeconfig immediately after defining
3888         subdir.
3889         * pwd/Makefile: Likewise.
3890         * resolv/Makefile: Likewise.
3891         * resource/Makefile: Likewise.
3892         * rt/Makefile: Likewise.
3893         * setjmp/Makefile: Likewise.
3894         * shadow/Makefile: Likewise.
3895         * signal/Makefile: Likewise.
3896         * socket/Makefile: Likewise.
3897         * soft-fp/Makefile: Likewise.
3898         * stdio-common/Makefile: Likewise.
3899         * stdlib/Makefile: Likewise.
3900         * streams/Makefile: Likewise.
3901         * string/Makefile: Likewise.
3902         * sunrpc/Makefile: Likewise.
3903         (all): Remove target.
3904         * sysvipc/Makefile: Include Makeconfig immediately after defining
3905         subdir.
3906         * termios/Makefile: Likewise.
3907         * time/Makefile: Likewise.
3908         * timezone/Makefile: Likewise.
3909         (all): Remove target.
3910         * wcsmbs/Makefile: Include Makeconfig immediately after defining
3911         subdir.
3912         * wctype/Makefile: Likewise.
3914 2014-02-26  Steve Ellcey  <sellcey@mips.com>
3916         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3917         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3918         (libc_feholdexcept_setround_mips): Ditto.
3919         (libc_feholdsetround): New.
3920         (libc_feholdsetroundf): New.
3921         (libc_feholdsetroundl): New.
3922         (libc_feupdateenv_test_mips): New.
3923         (libc_feupdateenv_test): New.
3924         (libc_feupdateenv_testf): New.
3925         (libc_feupdateenv_testl): New.
3926         (libc_feresetround): New.
3927         (libc_feresetroundf): New.
3928         (libc_feresetroundl): New.
3929         (libc_fetestexcept_mips): New.
3930         (libc_fetestexcept): New.
3931         (libc_fetestexceptf): New.
3932         (libc_fetestexceptl): New.
3933         (HAVE_RM_CTX): New.
3934         (libc_feholdexcept_setround_mips_ctx): New.
3935         (libc_feholdexcept_setround_ctx): New.
3936         (libc_feholdexcept_setroundf_ctx): New.
3937         (libc_feholdexcept_setroundl_ctx): New.
3938         (libc_fesetenv_mips_ctx): New.
3939         (libc_fesetenv_ctx): New.
3940         (libc_fesetenv_ctxf): New.
3941         (libc_fesetenv_ctxl): New.
3942         (libc_feupdateenv_mips_ctx): New.
3943         (libc_feupdateenv_ctx): New.
3944         (libc_feupdateenvf_ctx): New.
3945         (libc_feupdateenvl_ctx): New.
3946         (libc_feholdsetround_mips_ctx): New.
3947         (libc_feholdsetround_ctx): New.
3948         (libc_feholdsetroundf_ctx): New.
3949         (libc_feholdsetroundl_ctx): New.
3950         (libc_feresetround_mips_ctx): New.
3951         (libc_feresetround_ctx): New.
3952         (libc_feresetroundf_ctx): New.
3953         (libc_feresetroundl_ctx): New.
3955 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
3957         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3959         * manual/ipc.texi: New file.
3960         * manual/Makefile (chapters): Add ipc.
3961         * manual/job.texi: Add "Inter-Process Communication" to next.
3962         * manual/process.texi: Add "Inter-Process Communication" to prev.
3964 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3968 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
3970         * malloc/malloc.c (__libc_calloc): Simplify implementation.
3972         * manual/arith.texi: Fix spaces after sentences.
3973         * manual/charset.texi: Likewise.
3974         * manual/errno.texi: Likewise.
3975         * manual/install.texi: Likewise.
3976         * manual/llio.texi: Likewise.
3977         * manual/locale.texi: Likewise.
3978         * manual/maint.texi: Likewise.
3979         * manual/math.texi: Likewise.
3980         * manual/memory.texi: Likewise.
3981         * manual/message.texi: Likewise.
3982         * manual/probes.texi: Likewise.
3983         * manual/resource.texi: Likewise.
3984         * manual/signal.texi: Likewise.
3985         * manual/socket.texi: Likewise.
3986         * manual/stdio.texi: Likewise.
3987         * manual/string.texi: Likewise.
3988         * manual/time.texi: Likewise.
3989         * manual/users.texi: Likewise.
3991 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
3993         [BZ #16632]
3994         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3995         _DEFAULT_SOURCE is defined.
3997 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
3998             Carlos O'Donell  <carlos@redhat.com>
4000         [BZ #16613]
4001         * elf/dl-tls.c (_dl_count_modids): New function.
4002         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4003         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4004         audit library and increment generation counter.
4005         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4006         * elf/tst-audit9.c: New file.
4007         * elf/tst-auditmod9a.c: New file.
4008         * elf/tst-auditmod9b.c: New file.
4009         * elf/Makefile: Add rules to build and run tst-audit9.
4011 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4013         [BZ #15347]
4014         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4016 2014-02-25  Will Newton  <will.newton@linaro.org>
4018         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4019         (__longjmp): Restore sp and lr before restoring callee
4020         saved registers.  Add longjmp and longjmp_target
4021         SystemTap probe point.
4022         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4023         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4024         Define to zero to match jmpbuf layout.
4025         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4026         (__sigsetjmp): Save sp and lr before saving callee
4027         saved registers.  Add setjmp SystemTap probe point.
4029 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4031         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4033 2014-02-24  Andreas Schwab  <schwab@suse.de>
4035         [BZ #15804]
4036         * elf/pldd.c (wait_for_ptrace_stop): New function.
4037         (main): Call it after attaching.
4039 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4041         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4042         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4043         Versions files is now verboten.
4044         * hurd/Versions (libc: GLIBC_2.0):
4045         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4046         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4047         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4048         * mach/Versions: Likewise.
4050         * csu/Versions: Remove unused %include.
4051         * resolv/Versions: Likewise.
4053 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4055         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4056         ($(objpfx)check-local-headers.out): Likewise.
4057         ($(objpfx)begin-end-check.out): Likewise.
4058         * Makerules (check-abi-%.out): Likewise.
4059         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4060         ($(objpfx)test2.cat): Likewise.
4061         ($(objpfx)de/libc.cat): Likewise.
4062         ($(objpfx)test-gencat.out): Likewise.
4063         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4064         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4065         ($(objpfx)noload-mem): Likewise.
4066         ($(objpfx)tst-pathopt.out): Likewise.
4067         ($(objpfx)tst-rtld-load-self.out): Likewise.
4068         ($(objpfx)tst-array1-cmp.out): Likewise.
4069         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4070         ($(objpfx)tst-array2-cmp.out): Likewise.
4071         ($(objpfx)tst-array3-cmp.out): Likewise.
4072         ($(objpfx)tst-array4-cmp.out): Likewise.
4073         ($(objpfx)tst-array5-cmp.out): Likewise.
4074         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4075         ($(objpfx)check-textrel.out): Likewise.
4076         ($(objpfx)check-execstack.out): Likewise.
4077         ($(objpfx)check-localplt.out): Likewise.
4078         ($(objpfx)order2-cmp.out): Likewise.
4079         ($(objpfx)tst-leaks1-mem): Likewise.
4080         ($(objpfx)tst-leaks1-static-mem): Likewise.
4081         ($(objpfx)tst-initorder-cmp.out): Likewise.
4082         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4083         ($(objpfx)tst-unused-dep.out): Likewise.
4084         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4085         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4086         * iconv/Makefile (test-iconvconfig): Likewise.
4087         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4088         ($(objpfx)iconv-test.out): Likewise.
4089         ($(objpfx)tst-tables.out): Likewise.
4090         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4091         ($(objpfx)tst-gettext.out): Likewise.
4092         ($(objpfx)tst-translit.out): Likewise.
4093         ($(objpfx)tst-gettext2.out): Likewise.
4094         ($(objpfx)tst-gettext4.out): Likewise.
4095         ($(objpfx)tst-gettext6.out): Likewise.
4096         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4097         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4098         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4099         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4100         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4101         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4102         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4103         ($(objpfx)wordexp-tst.out): Likewise.
4104         ($(objpfx)annexc.out): Likewise.
4105         ($(objpfx)tst-fnmatch-mem): Likewise.
4106         ($(objpfx)bug-regex2-mem): Likewise.
4107         ($(objpfx)bug-regex14-mem): Likewise.
4108         ($(objpfx)bug-regex21-mem): Likewise.
4109         ($(objpfx)bug-regex31-mem): Likewise.
4110         ($(objpfx)tst-vfork3-mem): Likewise.
4111         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4112         ($(objpfx)tst-pcre-mem): Likewise.
4113         ($(objpfx)tst-boost-mem): Likewise.
4114         ($(objpfx)tst-getconf.out): Likewise.
4115         ($(objpfx)bug-ga2-mem): Likewise.
4116         ($(objpfx)bug-glob2-mem): Likewise.
4117         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4118         ($(objpfx)mtrace-tst-leaks2): Likewise.
4119         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4120         ($(objpfx)tst-printf.out): Likewise.
4121         ($(objpfx)tst-setvbuf1.out): Likewise.
4122         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4123         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4124         ($(objpfx)tst-fmtmsg.out): Likewise.
4125         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4126         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4128         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4129         * bits/sigaction.h [__USE_MISC]: Likewise.
4130         * bits/waitstatus.h: Update #endif comments.
4131         * ctype/ctype.h: Likewise.
4132         * dirent/dirent.h: Likewise.
4133         [__USE_MISC]: Remove redundant conditionals.
4134         * grp/grp.h: Update #endif comments.
4135         [__USE_GNU]: Remove redundant conditionals.
4136         [__USE_MISC]: Likewise.
4137         * inet/netinet/in.h [__USE_GNU]: Likewise.
4138         * io/sys/stat.h [__USE_MISC]: Likewise.
4139         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4140         * libio/bits/stdio.h: Update #endif comments.
4141         [__USE_MISC]: Remove redundant conditionals.
4142         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4143         * libio/stdio.h: Update #endif comments.
4144         [__USE_MISC]: Remove redundant conditionals.
4145         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4146         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4147         * math/math.h: Update #else and #endif comments.
4148         [__USE_MISC]: Remove redundant conditionals.
4149         * misc/sys/uio.h: Update #endif comments.
4150         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4151         * posix/glob.h [__USE_MISC]: Likewise.
4152         * posix/sys/types.h: Update #endif comments.
4153         [__USE_MISC]: Remove redundant conditionals.
4154         * posix/sys/wait.h: Update #endif comments.
4155         [__USE_MISC]: Remove redundant conditionals.
4156         * posix/unistd.h: Update #endif comments.
4157         [__USE_MISC]: Remove redundant conditionals.
4158         * pwd/pwd.h [__USE_GNU]: Likewise.
4159         [__USE_MISC]: Likewise.
4160         * resolv/netdb.h [__USE_GNU]: Likewise.
4161         * signal/signal.h: Update #endif comments.
4162         [__USE_MISC]: Remove redundant conditionals.
4163         * stdlib/stdlib.h: Update #else and #endif comments.
4164         [__USE_MISC]: Remove redundant conditionals.
4165         [__USE_GNU]: Likewise.
4166         * string/bits/string2.h [__USE_MISC]: Likewise.
4167         * string/string.h: Update #endif comments.
4168         [__USE_MISC]: Remove redundant conditionals.
4169         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4170         Likewise.
4171         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4172         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4173         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4174         Likewise.
4175         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4176         Likewise.
4177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4178         comments.
4179         [__USE_MISC]: Remove redundant conditionals.
4180         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4181         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4182         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4183         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4184         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4185         Likewise.
4186         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4187         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4188         Likewise.
4189         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4190         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4191         Likewise.
4192         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4193         Likewise.
4194         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4195         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4196         Likewise.
4197         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4198         Likewise.
4199         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4200         * sysdeps/x86/bits/string.h: Update #endif comments.
4201         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4202         conditionals.
4203         * time/sys/time.h: Update #endif comments.
4204         * time/time.h: Likewise.
4205         [__USE_MISC]: Remove redundant conditionals.
4207 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4209         [BZ #16600]
4210         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4212 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4214         * Versions.def (librt): Add GLIBC_2.17.
4216 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4218         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4219         synonym for _SYS_AUXV_H to allow direct inclusion.
4220         * sysdeps/sparc/bits/hwcap.h: Likewise.
4221         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4222         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4223         * sysdeps/sparc/sysdep.h: Likewise.
4225 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4227         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4229 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4231         * benchtests/bench-strrchr.c: Print length instead of position.
4233 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4235         [BZ #16611]
4236         * sysdeps/unix/sysv/linux/kernel-features.h
4237         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4238         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4239         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4240         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4241         Likewise.
4242         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4243         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4244         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4245         (__ASSUME_SENDMMSG): Define instead of using previous
4246         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4247         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4248         (__ASSUME_SENDMMSG_SYSCALL): Define.
4249         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4250         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4251         Likewise.
4252         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4253         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4254         Likewise.
4255         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4256         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4257         Likewise.
4258         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4259         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4260         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4261         [__ASSUME_SENDMMSG]: Change conditionals to
4262         [__ASSUME_SENDMMSG_SOCKETCALL].
4263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4264         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4265         Define.
4266         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4267         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4268         Likewise.
4269         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4270         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4271         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4272         [!__ASSUME_SENDMMSG]: Change conditional to
4273         [!__ASSUME_SENDMMSG_SOCKETCALL].
4274         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4275         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4276         Define.
4278         [BZ #16610]
4279         * sysdeps/unix/sysv/linux/kernel-features.h
4280         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4281         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4282         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4283         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4284         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4285         [__i386__ || __sparc__]
4286         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4287         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4288         (__ASSUME_RECVMMSG): Define instead of using previous
4289         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4290         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4291         (__ASSUME_RECVMMSG_SYSCALL): Define.
4292         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4293         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4294         Likewise.
4295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4296         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4297         Likewise.
4298         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4299         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4300         Likewise.
4301         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4302         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4303         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4304         [__ASSUME_RECVMMSG]: Change condition to
4305         [__ASSUME_RECVMMSG_SOCKETCALL].
4306         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4307         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4308         Define.
4309         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4310         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4311         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4312         Likewise.
4313         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4314         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4315         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4316         [!__ASSUME_RECVMMSG]: Change condition to
4317         [!__ASSUME_RECVMMSG_SOCKETCALL].
4318         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4319         (__ASSUME_RECVMMSG_SYSCALL): Define.
4321         [BZ #16609]
4322         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4323         __powerpc__ || __s390__ || __sh__ || __sparc__]
4324         (__ASSUME_SOCKETCALL): Define.
4325         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4326         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4327         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4328         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4329         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4330         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4331         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4332         (__ASSUME_ACCEPT4): Define instead of using previous
4333         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4334         __powerpc__ || __sparc__ || __s390__)] condition.
4335         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4336         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4337         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4338         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4339         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4340         [!__ASSUME_ACCEPT4]: Change condition to
4341         [!__ASSUME_ACCEPT4_SOCKETCALL].
4342         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4343         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
4344         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4345         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4346         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4347         __ASSUME_ACCEPT4_SYSCALL.
4348         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4349         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4350         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4351         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4352         __ASSUME_ACCEPT4_SYSCALL.
4353         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4354         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4355         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4356         [__ASSUME_ACCEPT4]: Change condition to
4357         [__ASSUME_ACCEPT4_SOCKETCALL].
4358         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4359         (__ASSUME_SOCKETCALL): Define.
4360         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4362         (__ASSUME_SOCKETCALL): Define.
4363         (__ASSUME_ACCEPT4): Remove.
4364         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4365         Define.
4366         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4367         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4368         Likewise.
4369         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4370         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4372         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4373         macro.
4374         (HWCAP_ARM_LPAE): Likewise.
4375         (HWCAP_ARM_EVTSTRM): Likewise.
4376         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4377         Add vpfd32, lpae and evtstrm.
4378         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4379         Increase to 22.
4381 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
4383         * math/auto-libm-test-in: Add tests of clog10.
4384         * math/auto-libm-test-out: Regenerated.
4385         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4386         * sysdeps/i386/fpu/libm-test-ulps: Update.
4387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4389 2014-02-18  Andreas Schwab  <schwab@suse.de>
4391         [BZ #16574]
4392         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4393         Store non-zero if the second buffer was newly allocated.
4394         (send_dg): Likewise.
4395         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4396         to send_vc and send_dg.
4397         (res_nsend): Pass NULL for ansp2_malloced.
4398         * resolv/res_query.c (__libc_res_nquery): Add parameter
4399         answerp2_malloced and pass it down to __libc_res_nsend.
4400         (res_nquery): Pass additional NULL to __libc_res_nquery.
4401         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4402         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
4403         second answer buffer if answerp2_malloced was set.
4404         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4405         (__libc_res_nquerydomain): Add parameter
4406         answerp2_malloced and pass it down to __libc_res_nquery.
4407         (res_nquerydomain): Pass additional NULL to
4408         __libc_res_nquerydomain.
4409         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4410         additional NULL to __libc_res_nsend and __libc_res_nquery.
4411         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4412         additional NULL to __libc_res_nsearch.
4413         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
4414         parameter of __libc_res_nsearch to check for separately allocated
4415         second buffer.
4416         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4417         __libc_res_nquery.
4418         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4419         additional NULL to __libc_res_nquery.
4420         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4421         __libc_res_nsearch.
4422         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4423         * include/resolv.h: Update prototypes of __libc_res_nquery,
4424         __libc_res_nsearch, __libc_res_nsend.
4426 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
4428         * math/auto-libm-test-in: Add tests of fma.
4429         * math/auto-libm-test-out: Regenerated.
4430         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4431         (fma_towardzero_test_data): Likewise.
4432         (fma_downward_test_data): Likewise.
4433         (fma_upward_test_data): Likewise.
4434         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4435         mpc_mode.
4436         (rounding_modes): Add values for new field.
4437         (func_calc_method): Add value mpfr_fff_f.
4438         (func_calc_desc): Add mpfr_fff_f union field.
4439         (test_function): Add field exact_args.
4440         (FUNC): Add macro argument EXACT_ARGS.
4441         (FUNC_mpfr_f_f): Update call to FUNC.
4442         (FUNC_mpfr_f_f): Likewise.
4443         (FUNC_mpfr_ff_f): Likewise.
4444         (FUNC_mpfr_if_f): Likewise.
4445         (FUNC_mpc_c_f): Likewise.
4446         (FUNC_mpc_c_c): Likewise.
4447         (test_functions): Add fma.  Update calls to FUNC.
4448         (handle_input_arg): Add argument exact_args.
4449         (add_test): Update call to handle_input_arg.
4450         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
4451         (output_for_one_input_case): Update call to calc_generic_results.
4452         Recalculate exact zero results in each rounding mode.
4454         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4455         non-negative before setting low bit.
4456         * math/auto-libm-test-in: Mark one asin test possibly having
4457         spurious underflow.
4458         * math/auto-libm-test-out: Regenerated.
4459         * sysdeps/i386/fpu/libm-test-ulps: Update.
4460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4462 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
4464         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4465         * sysdeps/unix/sysv/linux/microblaze: Move directory from
4466         ports/sysdeps/unix/sysv/linux/microblaze.
4467         * README: Add missing listing for microblaze*-*-linux-gnu.
4469 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
4471         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4472         * sysdeps/unix/sysv/linux/ia64: Move directory from
4473         ports/sysdeps/unix/sysv/linux/ia64.
4474         * README: Update listing for ia64-*-linux-gnu.
4476 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
4477             Joseph Myers  <joseph@codesourcery.com>
4479         * Makeconfig (test-name): New variable.
4480         (evaluate-test): Likewise.
4481         * Makerules (do-test-clean): Remove .test-result files.
4482         (common-mostlyclean): Likewise.
4483         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4484         * scripts/evaluate-test.sh: New file.
4486 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
4488         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4489         separate $(objpfx)tst-fopenloc-cmp.out and
4490         $(objpfx)tst-fopenloc-mem.out targets.
4491         (tests): Update dependencies.
4492         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4493         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4494         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4495         (tst-rxspencer-no-utf8-ARGS): New variable.
4496         (tst-rxspencer-no-utf8-ENV): Likewise.
4497         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4498         instead of $(objpfx)tst-rxspencer-mem.
4499         ($(objpfx)tst-rxspencer-mem): Change target to
4500         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
4501         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4502         * posix/tst-rxspencer-no-utf8.c: New file.
4504         * elf/Makefile ($(objpfx)order.out): Remove rule.
4505         [$(run-built-tests) = yes] (tests): Depend on
4506         $(objpfx)order-cmp.out.
4507         ($(objpfx)order-cmp.out): New rule.
4508         [$(run-built-tests) = yes] (tests): Depend on
4509         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4510         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4511         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4512         $(objpfx)tst-array5-static-cmp.out.
4513         ($(objpfx)tst-array1.out): Remove rule.
4514         ($(objpfx)tst-array1-cmp.out): New rule.
4515         ($(objpfx)tst-array1-static.out): Remove rule.
4516         ($(objpfx)tst-array1-static-cmp.out): New rule.
4517         ($(objpfx)tst-array2.out): Remove rule.
4518         ($(objpfx)tst-array2-cmp.out): New rule.
4519         ($(objpfx)tst-array3.out): Remove rule.
4520         ($(objpfx)tst-array3-cmp.out): New rule.
4521         ($(objpfx)tst-array4.out): Remove rule.
4522         ($(objpfx)tst-array4-cmp.out): New rule.
4523         ($(objpfx)tst-array5.out): Remove rule.
4524         ($(objpfx)tst-array5-cmp.out): New rule.
4525         ($(objpfx)tst-array5-static.out): Remove rule.
4526         ($(objpfx)tst-array5-static-cmp.out): New rule.
4527         [$(run-built-tests) = yes] (tests): Depend on
4528         $(objpfx)order2-cmp.out.
4529         ($(objpfx)order2.out): Remove rule.
4530         ($(objpfx)order2-cmp.out): New rule.
4531         ($(objpfx)tst-initorder.out): Remove rule.
4532         [$(run-built-tests) = yes] (tests): Depend on
4533         $(objpfx)tst-initorder-cmp.out.
4534         ($(objpfx)tst-initorder-cmp.out): New rule.
4535         ($(objpfx)tst-initorder2.out): Remove rule.
4536         [$(run-built-tests) = yes] (tests): Depend on
4537         $(objpfx)tst-initorder2-cmp.out.
4538         ($(objpfx)tst-initorder2-cmp.out): New rule.
4539         [$(run-built-tests) = yes] (tests): Depend on
4540         $(objpfx)tst-unused-dep-cmp.out.
4541         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4542         ($(objpfx)tst-unused-dep-cmp.out): New rule.
4543         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4544         on $(objpfx)tst-setvbuf1-cmp.out.
4545         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4546         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4547         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4548         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4549         ($(objpfx)tst-svc.out): Remove rule.
4550         ($(objpfx)tst-svc-cmp.out): New rule.
4552 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
4554         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4555         * ctype/ctype.h [__USE_MISC]: Likewise.
4556         * dirent/dirent.h [__USE_MISC]: Likewise.
4557         * grp/grp.h [__USE_MISC]: Likewise.
4558         * io/fcntl.h [__USE_MISC]: Likewise.
4559         * io/sys/stat.h [__USE_MISC]: Likewise.
4560         * libio/stdio.h [__USE_MISC]: Likewise.
4561         * posix/unistd.h [__USE_MISC]: Likewise.
4562         * pwd/pwd.h [__USE_MISC]: Likewise.
4563         * stdlib.h [__USE_MISC]: Likewise.
4564         * string/bits/string2.h [__USE_MISC]: Likewise.
4565         * string/string.h [__USE_MISC]: Likewise.
4566         * time/time.h [__USE_MISC]: Likewise.
4568 2014-02-13  Andreas Schwab  <schwab@suse.de>
4570         [BZ #16574]
4571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4572         second answer buffer if it was separately allocated.
4574 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4576         * sysdeps/mips/math-tests.h: Include <features.h>.
4577         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4578         (ROUNDING_TESTS_long_double): Do not define.
4579         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4580         (EXCEPTION_TESTS_long_double): Likewise.
4581         * sysdeps/mips/mips64/libm-test-ulps: Update.
4583         * include/features.h (__USE_BSD): Remove macro definitions.
4584         (__USE_SVID): Likewise.
4585         (_BSD_SOURCE): Likewise.
4586         (_SVID_SOURCE): Likewise.
4587         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4588         from definition of _DEFAULT_SOURCE.
4589         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4590         [_DEFAULT_SOURCE].
4591         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4592         * bits/mman.h [__USE_BSD]: Likewise.
4593         * bits/termios.h [__USE_BSD]: Likewise.
4594         * bits/waitstatus.h [__USE_BSD]: Likewise.
4595         * ctype/ctype.h [__USE_SVID]: Likewise.
4596         * dirent/dirent.h [__USE_BSD]: Likewise.
4597         * grp/grp.h [__USE_SVID]: Likewise.
4598         [__USE_BSD]: Likewise.
4599         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4600         * io/fcntl.h [__USE_BSD]: Likewise.
4601         * io/ftw.h [__USE_BSD]: Likewise.
4602         * io/sys/stat.h [__USE_BSD]: Likewise.
4603         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4604         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4605         * libio/stdio.h [__USE_SVID]: Likewise.
4606         [__USE_BSD]: Likewise.
4607         * math/math.h [__USE_SVID]: Likewise.
4608         [__USE_BSD]: Likewise.
4609         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4610         * misc/bits/syslog.h [__USE_BSD]: Likewise.
4611         * misc/search.h [__USE_SVID]: Likewise.
4612         * misc/sys/mman.h [__USE_BSD]: Likewise.
4613         * misc/sys/syslog.h [__USE_BSD]: Likewise.
4614         * misc/sys/uio.h [__USE_BSD]: Likewise.
4615         * posix/bits/unistd.h [__USE_BSD]: Likewise.
4616         * posix/glob.h [__USE_BSD]: Likewise.
4617         * posix/regex.h [__USE_BSD]: Likewise.
4618         * posix/sys/types.h [__USE_BSD]: Likewise.
4619         [__USE_SVID]: Likewise.
4620         * posix/sys/utsname.h [__USE_SVID]: Likewise.
4621         * posix/sys/wait.h [__USE_BSD]: Likewise.
4622         [__USE_SVID]: Likewise.
4623         * posix/unistd.h [__USE_BSD]: Likewise.
4624         [__USE_SVID]: Likewise.
4625         * pwd/pwd.h [__USE_SVID]: Likewise.
4626         * resolv/netdb.h [__USE_BSD]: Likewise.
4627         * setjmp/setjmp.h [__USE_BSD]: Likewise.
4628         * signal/signal.h [__USE_BSD]: Likewise.
4629         [__USE_SVID]: Likewise.
4630         * socket/sys/socket.h [__USE_BSD]: Likewise.
4631         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4632         * stdlib/stdlib.h [__USE_BSD]: Likewise.
4633         [__USE_SVID]: Likewise.
4634         * string/bits/string2.h [__USE_BSD]: Likewise.
4635         [__USE_SVID]: Likewise.
4636         * string/bits/string3.h [__USE_BSD]: Likewise.
4637         * string/endian.h [__USE_BSD]: Likewise.
4638         * string/string.h [__USE_SVID]: Likewise.
4639         [__USE_BSD]: Likewise.
4640         * string/strings.h [__USE_BSD]: Likewise.
4641         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4642         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4643         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4644         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4645         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4646         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4647         Likewise.
4648         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4649         Likewise.
4650         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4651         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4652         Likewise.
4653         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4654         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4655         Likewise.
4656         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4657         Likewise.
4658         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4659         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4660         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4661         Likewise.
4662         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4663         Likewise.
4664         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4665         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4666         * termios/termios.h [__USE_BSD]: Likewise.
4667         * time/sys/time.h [__USE_BSD]: Likewise.
4668         * time/time.h [__USE_BSD]: Likewise.
4669         [__USE_SVID]: Likewise.
4671         * Makefile (subdir_targets): Remove subdir_lint.out.
4673         * stdio-common/Makefile (do-tst-unbputc): Remove target.
4674         (do-tst-printf): Likewise.
4675         (tests): Depend directly on $(objpfx)tst-unbputc.out and
4676         $(objpfx)tst-printf.out.
4678         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4680         * Makerules (check-abi-%): Change target to
4681         $(objpfx)check-abi-%.out.
4682         (check-abi target): Update dependencies.
4683         (check-abi-pattern variable): Redirect output of diff to $@.
4684         (check-abi variable): Likewise.
4685         * elf/Makefile (check-abi): Update dependencies.
4687         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4688         unused.
4689         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4690         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4691         subnormal range.
4692         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4693         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4694         value has largest subnormal exponent.
4695         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4696         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4697         * sysdeps/aarch64/soft-fp/sfp-machine.h
4698         (_FP_TININESS_AFTER_ROUNDING): New macro.
4699         * sysdeps/alpha/soft-fp/sfp-machine.h
4700         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4701         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4702         Likewise.
4703         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4704         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4705         * sysdeps/mips/soft-fp/sfp-machine.h
4706         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4707         * sysdeps/powerpc/soft-fp/sfp-machine.h
4708         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4709         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4710         Likewise.
4711         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4712         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4713         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4714         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4715         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4716         Likewise.
4718 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
4720         [BZ #16545]
4721         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4722         model 1.
4724 2014-02-12  Richard Henderson  <rth@redhat.com>
4726         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4727         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4728         * sysdeps/unix/sysv/linux/alpha: Move directory from
4729         ports/sysdeps/unix/sysv/linux/alpha.
4730         * README: Update listing for alpha-*-linux-gnu.
4732 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
4734         * include/features.h: Update comment documenting feature test
4735         macros.
4736         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
4737         _DEFAULT_SOURCE.
4738         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4739         (_SVID_SOURCE): Likewise.
4740         (_DEFAULT_SOURCE): Update description of default features.
4741         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4742         with _GNU_SOURCE.
4743         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4744         (S_ISVTX): Likewise.
4745         * manual/math.texi (Mathematical Constants): Likewise.
4746         * manual/signal.texi (Interrupted Primitives): Likewise.
4747         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4748         * math/test-matherr.c (_SVID_SOURCE): Do not define.
4749         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4750         Don't refer to _SVID_SOURCE in warning text.
4752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4754         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4755         already defined.
4756         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4757         * sysdeps/mips/dl-lookup.c: Remove.
4758         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4760 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4762         [BZ #16447]
4763         * math/auto-libm-test-in: Add testcase for expl.
4764         * math/auto-libm-test-out: Regenerate.
4765         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4766         calculation of unsafe.
4767         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4769 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4771         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4772         * sysdeps/unix/sysv/linux/aarch64: Move directory from
4773         ports/sysdeps/unix/sysv/linux/aarch64.
4774         * README: Update listing for aarch64*-*-linux-gnu.
4776 2014-02-11  Will Newton  <will.newton@linaro.org>
4778         * manual/probes.texi (Mathematical Function Probes): Use
4779         "triggered" instead of "hit".
4781         * manual/probes.texi (Internal Probes): Add documentation
4782         of setjmp, longjmp and longjmp_target probes.
4784         * include/stap-probe.h: Add comment about probe argument
4785         format.
4787         * malloc/mtrace.c (attribute_hidden): Remove unused macro
4788         definition.  (tr_where, tr_freehook, tr_mallochook,
4789         tr_reallochook, tr_memalignhook): Use ANSI protoype.
4791 2014-02-11  David S. Miller  <davem@davemloft.net>
4793         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4794         processing int_tests.
4796 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
4798         * sysdeps/mips: Move directory from ports/sysdeps/mips.
4799         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4800         * sysdeps/unix/sysv/linux/mips: Move directory from
4801         ports/sysdeps/unix/sysv/linux/mips.
4802         * README: Update listing for mips-*-linux-gnu and
4803         mips64-*-linux-gnu.
4805 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
4807         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4808         * sysdeps/unix/sysv/linux/m68k: Move directory from
4809         ports/sysdeps/unix/sysv/linux/m68k.
4810         * README: Update listing for m68k-*-linux-gnu.
4812 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
4814         * sysdeps/tile: Move directory from ports/sysdeps/tile.
4815         * sysdeps/unix/sysv/linux/generic: Move directory from
4816         ports/sysdeps/unix/sysv/linux/generic.
4817         * sysdeps/unix/sysv/linux/tile: Move directory from
4818         ports/sysdeps/unix/sysv/linux/tile.
4819         * README: Update listing for tile*-*-linux-gnu.
4821 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4823         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4824         __builtin_expect.
4825         * benchtests/bench-memmem.c (simple_memmem): Likewise.
4826         * catgets/open_catalog.c (__open_catalog): Likewise.
4827         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4828         * debug/confstr_chk.c: Likewise.
4829         * debug/fread_chk.c (__fread_chk): Likewise.
4830         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4831         * debug/getgroups_chk.c: Likewise.
4832         * debug/mbsnrtowcs_chk.c: Likewise.
4833         * debug/mbsrtowcs_chk.c: Likewise.
4834         * debug/mbstowcs_chk.c: Likewise.
4835         * debug/memcpy_chk.c: Likewise.
4836         * debug/memmove_chk.c: Likewise.
4837         * debug/mempcpy_chk.c: Likewise.
4838         * debug/memset_chk.c: Likewise.
4839         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4840         * debug/strcat_chk.c (__strcat_chk): Likewise.
4841         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4842         * debug/strncat_chk.c (__strncat_chk): Likewise.
4843         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4844         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4845         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4846         * debug/wcpncpy_chk.c: Likewise.
4847         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4848         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4849         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4850         * debug/wcsncpy_chk.c: Likewise.
4851         * debug/wcsnrtombs_chk.c: Likewise.
4852         * debug/wcsrtombs_chk.c: Likewise.
4853         * debug/wcstombs_chk.c: Likewise.
4854         * debug/wmemcpy_chk.c: Likewise.
4855         * debug/wmemmove_chk.c: Likewise.
4856         * debug/wmempcpy_chk.c: Likewise.
4857         * debug/wmemset_chk.c: Likewise.
4858         * dirent/scandirat.c (SCANDIRAT): Likewise.
4859         * dlfcn/dladdr1.c (dladdr1): Likewise.
4860         * dlfcn/dladdr.c (dladdr): Likewise.
4861         * dlfcn/dlclose.c (dlclose_doit): Likewise.
4862         * dlfcn/dlerror.c (__dlerror): Likewise.
4863         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4864         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4865         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4866         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4867         * dlfcn/dlsym.c (dlsym_doit): Likewise.
4868         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4869         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4870         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4871         Likewise.
4872         * elf/dl-conflict.c: Likewise.
4873         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4874         * elf/dl-dst.h: Likewise.
4875         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4876         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4877         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4878         * elf/dl-init.c (call_init, _dl_init): Likewise.
4879         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4880         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4881         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4882         Likewise.
4883         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4884         Likewise.
4885         * elf/dl-minimal.c (__libc_memalign): Likewise.
4886         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4887         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4888         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4889         * elf/dl-sym.c (do_sym): Likewise.
4890         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4891         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4892         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4893         * elf/dl-writev.h (_dl_writev): Likewise.
4894         * elf/ldconfig.c (search_dir): Likewise.
4895         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4896         (dl_main): Likewise.
4897         * elf/setup-vdso.h (setup_vdso): Likewise.
4898         * grp/compat-initgroups.c (compat_call): Likewise.
4899         * grp/fgetgrent.c (fgetgrent): Likewise.
4900         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4901         * grp/putgrent.c (putgrent): Likewise.
4902         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4903         Likewise.
4904         * hurd/hurdinit.c: Likewise.
4905         * iconvdata/8bit-gap.c (struct): Likewise.
4906         * iconvdata/ansi_x3.110.c : Likewise.
4907         * iconvdata/big5.c : Likewise.
4908         * iconvdata/big5hkscs.c : Likewise.
4909         * iconvdata/cp1255.c: Likewise.
4910         * iconvdata/cp1258.c : Likewise.
4911         * iconvdata/cp932.c : Likewise.
4912         * iconvdata/euc-cn.c: Likewise.
4913         * iconvdata/euc-jisx0213.c : Likewise.
4914         * iconvdata/euc-jp.c: Likewise.
4915         * iconvdata/euc-jp-ms.c : Likewise.
4916         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4917         * iconvdata/gb18030.c : Likewise.
4918         * iconvdata/gbbig5.c (const): Likewise.
4919         * iconvdata/gbgbk.c: Likewise.
4920         * iconvdata/gbk.c : Likewise.
4921         * iconvdata/ibm1364.c : Likewise.
4922         * iconvdata/ibm930.c : Likewise.
4923         * iconvdata/ibm932.c: Likewise.
4924         * iconvdata/ibm933.c : Likewise.
4925         * iconvdata/ibm935.c : Likewise.
4926         * iconvdata/ibm937.c : Likewise.
4927         * iconvdata/ibm939.c : Likewise.
4928         * iconvdata/ibm943.c: Likewise.
4929         * iconvdata/iso_11548-1.c: Likewise.
4930         * iconvdata/iso-2022-cn.c : Likewise.
4931         * iconvdata/iso-2022-cn-ext.c : Likewise.
4932         * iconvdata/iso-2022-jp-3.c: Likewise.
4933         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4934         * iconvdata/iso-2022-kr.c : Likewise.
4935         * iconvdata/iso646.c (gconv_end): Likewise.
4936         * iconvdata/iso_6937-2.c : Likewise.
4937         * iconvdata/iso_6937.c : Likewise.
4938         * iconvdata/iso8859-1.c: Likewise.
4939         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4940         * iconvdata/shift_jisx0213.c : Likewise.
4941         * iconvdata/sjis.c : Likewise.
4942         * iconvdata/t.61.c : Likewise.
4943         * iconvdata/tcvn5712-1.c : Likewise.
4944         * iconvdata/tscii.c: Likewise.
4945         * iconvdata/uhc.c : Likewise.
4946         * iconvdata/unicode.c (gconv_end): Likewise.
4947         * iconvdata/utf-16.c (gconv_end): Likewise.
4948         * iconvdata/utf-32.c (gconv_end): Likewise.
4949         * iconvdata/utf-7.c (base64): Likewise.
4950         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4951         * iconv/gconv_close.c (__gconv_close): Likewise.
4952         * iconv/gconv_open.c (__gconv_open): Likewise.
4953         * iconv/gconv_simple.c (internal_ucs4_loop_single)
4954         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4955         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4956         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4957         (ucs4le_internal_loop_single): Likewise.
4958         * iconv/iconv.c (iconv): Likewise.
4959         * iconv/iconv_close.c: Likewise.
4960         * iconv/loop.c (SINGLE): Likewise.
4961         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4962         * include/atomic.h: Likewise.
4963         * inet/inet6_option.c (option_alloc): Likewise.
4964         * intl/bindtextdom.c (set_binding_values): Likewise.
4965         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4966         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4967         * intl/localealias.c (read_alias_file): Likewise.
4968         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4969         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4970         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4971         * libio/fmemopen.c (fmemopen): Likewise.
4972         * libio/iofgets.c (_IO_fgets): Likewise.
4973         * libio/iofgets_u.c (fgets_unlocked): Likewise.
4974         * libio/iofgetws.c (fgetws): Likewise.
4975         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4976         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4977         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4978         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4979         * locale/findlocale.c (_nl_find_locale): Likewise.
4980         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4981         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4982         Likewise.
4983         * locale/setlocale.c (setlocale): Likewise.
4984         * login/programs/pt_chown.c (main): Likewise.
4985         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4986         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4987         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4988         (mmap, mmap64, mremap, munmap): Likewise.
4989         * math/e_exp2l.c: Likewise.
4990         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4991         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4992         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4993         * math/s_catan.c (__catan): Likewise.
4994         * math/s_catanf.c (__catanf): Likewise.
4995         * math/s_catanh.c (__catanh): Likewise.
4996         * math/s_catanhf.c (__catanhf): Likewise.
4997         * math/s_catanhl.c (__catanhl): Likewise.
4998         * math/s_catanl.c (__catanl): Likewise.
4999         * math/s_ccosh.c (__ccosh): Likewise.
5000         * math/s_ccoshf.c (__ccoshf): Likewise.
5001         * math/s_ccoshl.c (__ccoshl): Likewise.
5002         * math/s_cexp.c (__cexp): Likewise.
5003         * math/s_cexpf.c (__cexpf): Likewise.
5004         * math/s_cexpl.c (__cexpl): Likewise.
5005         * math/s_clog10.c (__clog10): Likewise.
5006         * math/s_clog10f.c (__clog10f): Likewise.
5007         * math/s_clog10l.c (__clog10l): Likewise.
5008         * math/s_clog.c (__clog): Likewise.
5009         * math/s_clogf.c (__clogf): Likewise.
5010         * math/s_clogl.c (__clogl): Likewise.
5011         * math/s_csin.c (__csin): Likewise.
5012         * math/s_csinf.c (__csinf): Likewise.
5013         * math/s_csinh.c (__csinh): Likewise.
5014         * math/s_csinhf.c (__csinhf): Likewise.
5015         * math/s_csinhl.c (__csinhl): Likewise.
5016         * math/s_csinl.c (__csinl): Likewise.
5017         * math/s_csqrt.c (__csqrt): Likewise.
5018         * math/s_csqrtf.c (__csqrtf): Likewise.
5019         * math/s_csqrtl.c (__csqrtl): Likewise.
5020         * math/s_ctan.c (__ctan): Likewise.
5021         * math/s_ctanf.c (__ctanf): Likewise.
5022         * math/s_ctanh.c (__ctanh): Likewise.
5023         * math/s_ctanhf.c (__ctanhf): Likewise.
5024         * math/s_ctanhl.c (__ctanhl): Likewise.
5025         * math/s_ctanl.c (__ctanl): Likewise.
5026         * math/w_pow.c: Likewise.
5027         * math/w_powf.c: Likewise.
5028         * math/w_powl.c: Likewise.
5029         * math/w_scalb.c (sysv_scalb): Likewise.
5030         * math/w_scalbf.c (sysv_scalbf): Likewise.
5031         * math/w_scalbl.c (sysv_scalbl): Likewise.
5032         * misc/error.c (error_tail): Likewise.
5033         * misc/pselect.c (__pselect): Likewise.
5034         * nis/nis_callback.c (__nis_create_callback): Likewise.
5035         * nis/nis_call.c (__nisfind_server): Likewise.
5036         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5037         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5038         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5039         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5040         * nis/nis_lookup.c (nis_lookup): Likewise.
5041         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5042         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5043         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5044         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5045         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5046         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5047         * nis/nss_compat/compat-initgroups.c (add_group)
5048         (internal_getgrent_r): Likewise.
5049         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5050         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5051         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5052         (internal_getspnam_r): Likewise.
5053         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5054         (_nss_nis_getaliasbyname_r): Likewise.
5055         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5056         (_nss_nis_getntohost_r): Likewise.
5057         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5058         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5059         (_nss_nis_getgrgid_r): Likewise.
5060         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5061         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5062         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5063         (_nss_nis_gethostbyname4_r): Likewise.
5064         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5065         (initgroups_netid): Likewise.
5066         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5067         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5068         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5069         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5070         (_nss_nis_getprotobynumber_r): Likewise.
5071         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5072         (_nss_nis_getsecretkey): Likewise.
5073         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5074         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5075         (_nss_nis_getpwuid_r): Likewise.
5076         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5077         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5078         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5079         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5080         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5081         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5082         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5083         Likewise.
5084         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5085         (_nss_nisplus_getntohost_r): Likewise.
5086         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5087         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5088         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5089         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5090         Likewise.
5091         * nis/nss_nisplus/nisplus-initgroups.c
5092         (_nss_nisplus_initgroups_dyn): Likewise.
5093         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5094         (_nss_nisplus_getnetbyaddr_r): Likewise.
5095         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5096         (_nss_nisplus_getprotobynumber_r): Likewise.
5097         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5098         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5099         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5100         Likewise.
5101         * nis/nss_nisplus/nisplus-service.c
5102         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5103         (_nss_nisplus_getservbyport_r): Likewise.
5104         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5105         (_nss_nisplus_getspnam_r): Likewise.
5106         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5107         Likewise.
5108         * nscd/aicache.c (addhstaiX): Likewise.
5109         * nscd/cache.c (cache_search, prune_cache): Likewise.
5110         * nscd/connections.c (register_traced_file, send_ro_fd)
5111         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5112         (main_loop_epoll): Likewise.
5113         * nscd/grpcache.c (addgrbyX): Likewise.
5114         * nscd/hstcache.c (addhstbyX): Likewise.
5115         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5116         * nscd/mem.c (gc, mempool_alloc): Likewise.
5117         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5118         (addinnetgrX): Likewise.
5119         * nscd/nscd-client.h (__nscd_acquire_maplock)
5120         (__nscd_drop_map_ref): Likewise.
5121         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5122         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5123         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5124         Likewise.
5125         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5126         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5127         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5128         (__nscd_get_map_ref): Likewise.
5129         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5130         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5131         Likewise.
5132         * nscd/pwdcache.c (addpwbyX): Likewise.
5133         * nscd/selinux.c (preserve_capabilities): Likewise.
5134         * nscd/servicescache.c (addservbyX): Likewise.
5135         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5136         * posix/fnmatch.c (fnmatch): Likewise.
5137         * posix/getopt.c (_getopt_internal_r): Likewise.
5138         * posix/glob.c (glob, glob_in_dir): Likewise.
5139         * posix/wordexp.c (exec_comm_child): Likewise.
5140         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5141         (getanswer_r, gaih_getanswer_slice): Likewise.
5142         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5143         * resolv/res_init.c: Likewise.
5144         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5145         * resolv/res_query.c (__libc_res_nquery): Likewise.
5146         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5147         Likewise.
5148         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5149         * stdio-common/perror.c (perror): Likewise.
5150         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5151         * stdio-common/tmpnam.c (tmpnam): Likewise.
5152         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5153         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5154         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5155         Likewise.
5156         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5157         * stdlib/putenv.c (putenv): Likewise.
5158         * stdlib/setenv.c (__add_to_environ): Likewise.
5159         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5160         * stdlib/strtol_l.c (INTERNAL): Likewise.
5161         * string/memmem.c (memmem): Likewise.
5162         * string/strerror.c (strerror): Likewise.
5163         * string/strnlen.c (__strnlen): Likewise.
5164         * string/test-memmem.c (simple_memmem): Likewise.
5165         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5166         * sunrpc/pm_getport.c (__get_socket): Likewise.
5167         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5168         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5169         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5170         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5171         Likewise.
5172         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5173         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5174         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5175         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5176         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5177         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5178         Likewise.
5179         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5180         Likewise.
5181         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5182         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5183         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5184         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5185         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5187         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5188         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5189         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5190         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5191         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5192         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5193         Likewise.
5194         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5195         Likewise.
5196         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5197         Likewise.
5198         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5199         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5200         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5201         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5202         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5203         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5204         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5205         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5206         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5207         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5208         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5210         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5211         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5212         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5213         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5214         Likewise.
5215         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5216         Likewise.
5217         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5218         Likewise.
5219         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5220         Likewise.
5221         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5222         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5223         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5224         Likewise.
5225         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5226         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5227         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5228         * sysdeps/posix/sleep.c: Likewise.
5229         * sysdeps/posix/tempname.c: Likewise.
5230         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5231         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5232         Likewise.
5233         * sysdeps/powerpc/powerpc32/dl-machine.h
5234         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5235         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5236         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5237         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5238         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5239         Likewise.
5240         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5241         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5242         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5243         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5244         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5245         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5246         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5247         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5248         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5249         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5251         (elf_machine_lazy_rel): Likewise.
5252         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5254         (elf_machine_lazy_rel): Likewise.
5255         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5256         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5257         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5258         * sysdeps/unix/grantpt.c (grantpt): Likewise.
5259         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5260         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5261         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5263         Likewise.
5264         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5265         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5266         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5267         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5268         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5269         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5270         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5271         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5272         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5273         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5274         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5275         Likewise.
5276         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5277         (__posix_fallocate64_l64): Likewise.
5278         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5279         (posix_fallocate): Likewise.
5280         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5281         Likewise.
5282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5283         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5284         (getifaddrs_internal): Likewise.
5285         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5286         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5287         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5288         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5289         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5290         (__posix_fallocate64_l64): Likewise.
5291         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5292         Likewise.
5293         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5294         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5295         (__get_clockfreq): Likewise.
5296         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5297         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5298         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5299         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5301         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5302         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5303         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5304         Likewise.
5305         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5306         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5307         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5308         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5309         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5310         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5311         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5312         Likewise.
5313         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5314         (posix_fallocate): Likewise.
5315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5316         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5317         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5318         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5319         (elf_machine_rela, elf_machine_rela_relative)
5320         (elf_machine_lazy_rel): Likewise.
5321         * time/asctime.c (asctime_internal): Likewise.
5322         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5323         * time/tzset.c (__tzset_parse_tz): Likewise.
5324         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5325         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5326         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5327         * wcsmbs/wcsmbsload.h: Likewise.
5329         [BZ #15894]
5330         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5332         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5333         (arena_get2): Remove THREAD_STATS conditionals.
5334         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5335         (__malloc_stats, int): Likewise.
5337 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
5339         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5340         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
5342         * manual/setjmp.texi: Fix typos/grammar errors.
5344         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5345         Only return early when n is <= 0.  Delete unused return statement.
5347         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5348         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5349         * debug/tst-longjmp_chk3.c: New file.
5351         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5352         (test_main): Replace code with set_fortify_handler call.
5353         * debug/test-strcpy_chk.c: Likewise.
5354         * debug/tst-chk1.c: Likewise.
5355         * debug/tst-longjmp_chk.c: Likewise.
5356         * test-skeleton.c: Include fcntl.h & paths.h
5357         (set_fortify_handler): Define.
5359         * debug/tst-longjmp_chk.c: Add header comment and include
5360         ../test-skeleton.c.
5361         (do_test): Mark static.
5362         (TEST_FUNCTION): Define.
5364         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5365         (IP_PMTUDISC_INTERFACE): Likewise.
5366         (IP_MULTICAST_IF): Likewise.
5367         (IP_MULTICAST_TTL): Likewise.
5368         (IP_MULTICAST_LOOP): Likewise.
5369         (IP_ADD_MEMBERSHIP): Likewise.
5370         (IP_DROP_MEMBERSHIP): Likewise.
5371         (IP_UNBLOCK_SOURCE): Likewise.
5372         (IP_BLOCK_SOURCE): Likewise.
5373         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5374         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5375         (IP_MSFILTER): Likewise.
5376         (MCAST_JOIN_GROUP): Likewise.
5377         (MCAST_BLOCK_SOURCE): Likewise.
5378         (MCAST_UNBLOCK_SOURCE): Likewise.
5379         (MCAST_LEAVE_GROUP): Likewise.
5380         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5381         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5382         (MCAST_MSFILTER): Likewise.
5383         (IP_MULTICAST_ALL): Likewise.
5384         (IP_UNICAST_IF): Likewise.
5386         * timezone/Makefile: Delete $(have-ksh) check.
5387         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5388         * timezone/tzselect.ksh: Add +x mode bits.
5390         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5391         (ANON_INODE_FS_MAGIC): Likewise.
5392         (BDEVFS_MAGIC): Likewise.
5393         (BINFMTFS_MAGIC): Likewise.
5394         (BTRFS_TEST_MAGIC): Likewise.
5395         (CRAMFS_MAGIC_WEND): Likewise.
5396         (DEBUGFS_MAGIC): Likewise.
5397         (ECRYPTFS_SUPER_MAGIC): Likewise.
5398         (EXT3_SUPER_MAGIC): Likewise.
5399         (EXT4_SUPER_MAGIC): Likewise.
5400         (FUTEXFS_SUPER_MAGIC): Likewise.
5401         (HOSTFS_SUPER_MAGIC): Likewise.
5402         (HUGETLBFS_MAGIC): Likewise.
5403         (MINIX3_SUPER_MAGIC): Likewise.
5404         (MTD_INODE_FS_MAGIC): Likewise.
5405         (NILFS_SUPER_MAGIC): Likewise.
5406         (OPENPROM_SUPER_MAGIC): Likewise.
5407         (PIPEFS_MAGIC): Likewise.
5408         (PSTOREFS_MAGIC): Likewise.
5409         (QNX6_SUPER_MAGIC): Likewise.
5410         (RAMFS_MAGIC): Likewise.
5411         (REISERFS_SUPER_MAGIC_STRING): Likewise.
5412         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5413         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5414         (SECURITYFS_MAGIC): Likewise.
5415         (SELINUX_MAGIC): Likewise.
5416         (SMACK_MAGIC): Likewise.
5417         (SOCKFS_MAGIC): Likewise.
5418         (SQUASHFS_MAGIC): Likewise.
5419         (STACK_END_MAGIC): Likewise.
5420         (TMPFS_MAGIC): Likewise.
5421         (USBDEVICE_SUPER_MAGIC): Likewise.
5422         (V9FS_MAGIC): Likewise.
5423         (XENFS_SUPER_MAGIC): Likewise.
5424         (CRAMFS_MAGIC): Fix typo in comment.
5425         (EXT2_SUPER_MAGIC): Update comment.
5426         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5428 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
5430         * sysdeps/arm: Move directory from ports/sysdeps/arm.
5431         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5432         * sysdeps/unix/sysv/linux/arm: Move directory from
5433         ports/sysdeps/unix/sysv/linux/arm.
5434         * README: Update listing for arm-*-linux-gnueabi.
5436         * README: Remove mention of am33.
5438 2014-02-07  Roland McGrath  <roland@hack.frob.com>
5440         * bits/sigset.h (__sigemptyset): Use a statement expression rather
5441         than the comma operator, to avoid "rhs of comma has no effect"
5442         compiler warnings.
5443         (__sigfillset, __sigandset, __sigorset): Likewise.
5444         * include/signal.h (__sigemptyset): Likewise.
5445         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5447 2014-02-07  Allan McRae  <allan@archlinux.org>
5449         * version.h (RELEASE): Set to "development".
5450         (VERSION): Set to "2.19.90"
5451         * NEWS: Add 2.20 section.
5453 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
5455         [BZ #16529]
5456         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5458 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5460         * manual/contrib.texi: Update entry for Carlos O'Donell,
5461         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5463 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
5465         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5467         * sysdeps/unix/sysv/linux/kernel-features.h
5468         [__LINUX_KERNEL_VERSION >= 0x020621]
5469         (__ASSUME_PROC_PID_TASK_COMM): Define.
5471 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5473         [BZ #16398]
5474         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5475         conversion when destination buffer does not have enough space.
5476         * libio/tst-ftell-partial-wide.c: New test case.
5477         * libio/Makefile (tests): Add tst-ftell-partial-wide.
5479         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5480         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
5481         Leonard and Allan McRae.
5483 2014-02-04  David S. Miller  <davem@davemloft.net>
5485         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5486         32-bit.
5488 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5491         New file
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5493         New file
5494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5495         New file.
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5497         New file.
5498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5499         New file.
5500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5501         New file.
5502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5503         New file.
5504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5505         New file.
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5507         New file.
5508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5509         New file.
5510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5511         New file.
5512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5513         New file.
5514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5515         New file.
5517 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5519         * nptl/shlib-versions: Change powerpc*le start to 2.17.
5520         * shlib-versions: Likewise.
5522 2014-02-04  Roland McGrath  <roland@hack.frob.com>
5523             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5525         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5526         (abilist-pattern): New variable, set to %-le.abilist.
5528         * Makerules (abilist-pattern): New variable.
5529         (vpath): Use $(abilist-pattern) in place of %.abilist.
5530         (check-abi-% pattern rule): Likewise.
5531         (check-abi, update-abi): Likewise.
5533 2014-02-04  Eric Wong  <normalperson@yhbt.net>
5535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5537 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
5539         * manual/startup.texi: Add next, previous, and top entries for
5540         the `Program Arguments' and `Environment Variables' nodes.
5542 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
5544         * manual/macros.texi: Add comments before MTASC-safety macros.
5546         * manual/users.texi: Document MTASC-safety properties.
5548         * manual/threads.texi (pthread_key_create, pthread_key_delete)
5549         (pthread_getspecific, pthread_setspecific): Format with
5550         @deftypefun, and add @safety note.
5551         * manual/signal.texi: Move comments that analyze the above
5552         functions to their home place.
5554 2014-02-03  Allan McRae  <allan@archlinux.org>
5556         * po/sl.po: Update Slovenian translation from translation project.
5558 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
5560         * manual/time.texi (timegm): Add missing blank after @c.
5561         Reported by Joseph Myers <joseph@codesourcery.com>.
5563 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
5565         * manual/check-safety.sh: New.
5566         * manual/Makefile ($(objpfx)stamp-summary): Run it.
5568         * manual/terminal.texi: Document MTASC-safety properties.
5570         * manual/filesys.texi: Document MTASC-safety properties.
5572         * manual/errno.texi: Document MTASC-safety properties.
5574         * manual/intro.texi: Document safety identifiers and
5575         conditionals.
5577         * manual/string.texi (wcstok): Fix prototype.
5578         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5580         * manual/time.texi: Document MTASC-safety properties.
5582         * manual/string.texi: Document MTASC-safety properties.
5584         * manual/threads.texi: Document MTASC-safety properties.
5586         * manual/stdio.texi: Document MTASC-safety properties.
5588         * manual/syslog.texi: Document MTASC-safety properties.
5590         * manual/sysinfo.texi: Document MTASC-safety properties.
5592         * manual/startup.texi: Document MTASC-safety properties.
5594         * manual/socket.texi: Document MTASC-safety properties.
5596         * manual/signal.texi: Document MTASC-safety properties.
5598 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
5600         * manual/setjmp.texi: Document MTASC-safety properties.
5602         * manual/search.texi: Document MTASC-safety properties.
5604         * manual/resource.texi: Document MTASC-safety properties.
5606         * manual/process.texi: Document MTASC-safety properties.
5608         * manual/platform.texi: Document MTASC-safety properties.
5610         * manual/pipe.texi: Document MTASC-safety properties.
5612         * manual/pattern.texi: Document MTASC-safety properties.
5614         * manual/message.texi: Document MTASC-safety properties.
5616         [BZ #12751]
5617         * manual/memory.texi: Document MTASC-safety properties.
5619         * manual/math.texi: Document MTASC-safety properties.
5621         * manual/locale.texi: Document MTASC-safety properties.
5623         * manual/llio.texi: Document MTASC-safety properties.
5625         * manual/libdl.texi: New.
5627         * manual/lang.texi: Document MTASC-safety properties.
5629         * manual/job.texi: Document MTASC-safety properties.
5631         * manual/getopt.texi: Document MTASC-safety properties.
5633         * manual/ctype.texi: Document MTASC-safety properties.
5635 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
5637         [BZ #16046]
5638         * csu/libc-tls.c (static_map): Remove variable.
5639         (__libc_setup_tls): Use main executable's link map for TLS data.
5640         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5641         casing for LM_ID_BASE and GL(dl_nns).
5642         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5643         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
5644         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5645         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5646         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5647         member.
5648         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5649         l_phnum members.
5651 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
5653         * manual/debug.texi: Document MTASC-safety properties.
5655 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
5657         [BZ #16510]
5658         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5659         of __x86_64__ when disabling x87 inline functions.
5661 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
5663         * manual/charset.texi: Document MTASC-safety properties.
5665         * manual/crypt.texi: Document MTASC-safety properties.
5667         * manual/conf.texi: Document MTASC-safety properties.
5669         * manual/arith.texi: Document MTASC-safety properties.
5671         * manual/argp.texi: Document MTASC-safety properties.
5673         * manual/macros.texi: Introduce macros to document multi
5674         thread, asynchronous signal and asynchronous cancellation
5675         safety properties.
5676         * manual/intro.texi: Introduce the properties themselves.
5678 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5680         * sysdeps/sh/sh4/Makefile: New file.
5682 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
5684         * math/gen-libm-test.pl ($srcdir): New variable.
5685         ($auto_input): Use it.
5687 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5689         [BZ #16506]
5690         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5691         access beyond array bounds when parsing netgroups file.
5693         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5694         the old buffer before realloc.
5696 2014-01-27  Allan McRae  <allan@archlinux.org>
5698         * po/fr.po: Update French translation from translation project.
5700 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5702         * sysdeps/sh/libm-test-ulps: Regenerate.
5704 2014-01-24  David S. Miller  <davem@davemloft.net>
5706         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5708 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5710         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5711         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5713 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5715         [BZ #16474]
5716         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5717         string pointers after reallocation.
5719 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5721         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5722         __SH4A__ instead of __SH_FPU_ANY__.
5724 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5726         * sysdeps/sh/fpu_control.h: New file.
5727         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5728         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5729         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5730         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5731         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5732         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5733         * sysdeps/sh/sys/ucontext.h: Remove.
5734         * sysdeps/sh/sys: Remove directory.
5736 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5738         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5739         s390/sys/ucontext.h.
5740         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5741         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5743 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
5745         [BZ #15605]
5746         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5748 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5750         [BZ#16431]
5751         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5752         Adjust the vDSO correctly for internal calls.
5753         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5755 2014-01-20  Allan McRae  <allan@archlinux.org>
5757         * po/ca.po: Update Catalan translation from translation project.
5759 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
5761         * sysdeps/s390/sotruss-lib.c: New file.
5763 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5765         [BZ#16430]
5766         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5767         (__GI___gettimeofday): Alias for a different internal symbol to avoid
5768         local calls issues by not having a PLT stub required for IFUNC calls.
5769         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5771 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
5773         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5774         * math/test-fpucw-static.c: Likewise.
5776 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5778         [BZ #16453]
5779         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5781 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5783         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5784         implementation for powerpc.
5786 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
5788         [BZ #14782]
5789         * sysdeps/posix/system.c (__libc_system): Do not enable
5790         asynchronous cancellation.
5792 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5794         [BZ #16427]
5795         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5796         handling only for numbers special also in the IEEE case.
5798 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5800         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5802 2014-01-11  Allan McRae  <allan@archlinux.org>
5804         * po/bg.po: Update Bulgarian translation from translation project.
5806         * po/de.po: Update German translation from translation project.
5808 2014-01-10  Roland McGrath  <roland@hack.frob.com>
5810         * sysdeps/generic/gcc-compat.h: New file.
5812 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5814         * benchtests/asin-inputs: Correct slow inputs.
5815         * benchtests/acos-inputs: Likewise.
5817 2014-01-10  Allan McRae  <allan@archlinux.org>
5819         * po:sv.po: Update Swedish translation from translation project.
5821         * po/vi.po: Update Vietnamese translation from translation project.
5823         * po/eo.po: Update Esperanto translation from translation project.
5825         * po/cs.po: Update Czech translation from translation project.
5827         * po/nl.po: Update Dutch translation from translation project.
5829         * po/pl.po: Update Polish translation from translation project.
5831         * po/ru.po: Update Russian translation from translation project.
5833         * po/uk.po: Update Ukrainian translation from translation project.
5835 2014-01-08  Brooks Moses  <bmoses@google.com>
5837         * elf/dl-load.c: Fix comment typo.
5839 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
5841         * po/header.pot: Rename to...
5842         * po/pot.header: ... this.
5843         * po/Makefile: Use pot.header.
5845 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
5846             Maxim Kuvyrkov  <maxim@kugelworks.com>
5848         [BZ #16394]
5849         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5850         SRC and DEST against LEN.
5852 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5854         [BZ #16414]
5855         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5856         implementation.
5857         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5859 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5863 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
5865         [BZ #16408]
5866         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5867         for large positive arguments.
5869 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
5871         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5873         * math/auto-libm-test-in: Mark various tests with
5874         xfail-rounding:ldbl-128ibm.
5875         * math/auto-libm-test-out: Regenerated.
5877         [BZ #16407]
5878         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5879         Increase overflow threshold.
5881 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
5883         [BZ #14286]
5884         * stdio-common/vfprintf.c: Check for integer overflow.
5886 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5888         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5889         the first argument and return value of __tls_get_addr_internal.
5891 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5893         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5894         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5896 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5898         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5899         * sysdeps/s390/rtld-global-offsets.sym: New file.
5900         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5901         GLIBC_2.19 symbol.
5902         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5903         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5904         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5905         ... this.
5906         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5907         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5908         ... this.
5909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5910         Regenerate.
5911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5912         Regenerate.
5913         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5914         halfs of GPRs for high_gprs contexts.
5915         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5916         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
5917         field.
5918         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5919         uc_flags field.
5920         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5921         64 bit versions:
5922         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5923         for high GPRs (uc_high_gprs) and for future extensions
5924         (__reserved).
5925         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5926         for future extensions (__reserved).
5927         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5928         64 bit versions:
5929         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5930         SC_HIGHGPRS offset definition.
5931         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5932         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5934         * Versions.def: Add GLIBC_2.19 for libpthread.
5935         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5936         siglongjmp for libpthread with GLIBC_2.19 symver.
5937         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5938         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5939         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5940         * sysdeps/s390/__longjmp.c: New file.
5941         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5942         * sysdeps/s390/longjmp.c: New file.
5943         * sysdeps/s390/setjmp.S: New file.
5944         * sysdeps/s390/sigjmp.S: New file.
5945         * sysdeps/s390/v1-longjmp.c: New file.
5946         * sysdeps/s390/v1-setjmp.h: New file.
5947         * sysdeps/s390/v1-sigjmp.c: New file.
5948         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5949         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5950         GLIBC_2.19 version.
5951         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5952         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5953         versioned symbols for ____longjmp_chk.
5954         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5955         Likewise.
5956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5957         Regenerate.
5958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5959         Regenerate.
5960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5961         Regenerate.
5962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5963         Regenerate.
5964         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5965         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5966         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5967         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5968         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5969         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5970         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5971         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5972         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5973         * sysdeps/s390/rtld-__longjmp.c: New file.
5974         * sysdeps/s390/rtld-setjmp.S: New file.
5976 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
5978         [BZ #16400]
5979         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5980         Return -__logl (x) for small positive arguments without evaluating
5981         a polynomial.
5983 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
5985         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5986         Rename to ...
5987         (__ptrace_peeksiginfo_args): ... this.
5988         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5989         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5990         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5992 2014-01-06  Allan McRae  <allan@archlinux.org>
5994         * inet/netinet/in.h: Fix typo in comment.
5996 2014-01-05  Andreas Jaeger  <aj@suse.de>
5998         * sysdeps/i386/fpu/libm-test-ulps: Update.
6000 2014-01-05  Allan McRae  <allan@archlinux.org>
6002         * po/libc.pot: Regenerated.
6004         * malloc/memusagestat.c: Fix gettext call formatting.
6006 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6008         * nscd/nscd.c: Improve usage() output.
6010 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6012         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6013         * sysdeps/unix/sysv/linux/configure: Regenerated.
6014         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6015         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6017 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6019         [BZ #16390]
6020         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6021         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6023 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6026         extra tokens at end of #undef directive.
6027         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6028         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6029         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6031 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6033         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6035         * math/auto-libm-test-in: Mark various tests with
6036         xfail-rounding:ldbl-128ibm.
6037         * math/auto-libm-test-out: Regenerated.
6039 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6041         [BZ #16386]
6042         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6043         numbers with subnormal high part when calculating exponent.
6045         [BZ #16385]
6046         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6047         fabs.
6049         [BZ #16384]
6050         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6051         M_LN2l.
6052         (__ieee754_acoshl): Use __log1pl not __log1p.
6054 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6056         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6057         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6058         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6059         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6060         (reused_arena, arena_get2): Convert to GNU style.
6061         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6062         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6063         (memalign_check, __malloc_set_state): Likewise.
6064         * malloc/mallocbug.c (main): Likewise.
6065         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6066         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6067         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6068         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6069         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6070         (__posix_memalign, malloc_info): Likewise.
6071         * malloc/malloc.h: Likewise.
6072         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6073         (mallochook, memalignhook, reallochook, mabort): Likewise.
6074         * malloc/mcheck.h: Likewise.
6075         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6076         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6077         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6078         * malloc/morecore.c (__default_morecore): Likewise.
6079         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6080         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6081         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6082         (print_and_abort): Likewise.
6083         * malloc/obstack.h: Likewise.
6084         * malloc/set-freeres.c (__libc_freeres): Likewise.
6085         * malloc/tst-mallocstate.c (main): Likewise.
6086         * malloc/tst-mtrace.c (main): Likewise.
6087         * malloc/tst-realloc.c (do_test): Likewise.
6089 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6091         [BZ #16366]
6092         * nscd/netgroupcache.c (do_notfound): New function.
6093         (addgetnetgrentX): Use it.
6095         [BZ # 16365]
6096         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6097         NSS_STATUS_NOTFOUND.
6099 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6101         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6104 2014-01-01  Allan McRae  <allan@archlinux.org>
6106         * scripts/update-copyrights: Update configure input file suffix.
6108         * NEWS: Update copyright year.
6109         * catgets/gencat.c: Likewise.
6110         * csu/version.c: Likewise.
6111         * debug/catchsegv.sh: Likewise.
6112         * debug/pcprofiledump.c: Likewise.
6113         * debug/xtrace.sh: Likewise.
6114         * elf/ldconfig.c: Likewise.
6115         * elf/ldd.bash.in: Likewise.
6116         * elf/pldd.c: Likewise.
6117         * elf/sotruss.ksh: Likewise.
6118         * elf/sprof.c: Likewise.
6119         * iconv/iconv_prog.c: Likewise.
6120         * iconv/iconvconfig.c: Likewise.
6121         * locale/programs/locale.c: Likewise.
6122         * locale/programs/localedef.c: Likewise.
6123         * login/programs/pt_chown.c: Likewise.
6124         * malloc/memusage.sh: Likewise.
6125         * malloc/memusagestat.c: Likewise.
6126         * malloc/mtrace.pl: Likewise.
6127         * manual/libc.texinfo: Likewise.
6128         * nscd/nscd.c: Likewise.
6129         * nss/getent.c: Likewise.
6130         * nss/makedb.c: Likewise.
6131         * posix/getconf.c: Likewise.
6132         * scripts/test-installation.pl: Likewise.
6134         * All files with FSF copyright notices: Update copyright dates
6135         using scripts/update-copyrights.
6136         * intl/plural.c: Regenerated.
6137         * locale/programs/charmap-kw.h: Likewise.
6138         * locale/programs/locfile-kw.h: Likewise.
6140 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6142         * sysdeps/unix/sysv/linux/configure: Regenerated.
6143         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6144         the linux/fanotify.h header.
6145         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6146         HAVE_LINUX_FANOTIFY_H is defined.
6148 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6150         * benchtests/cos-inputs: New inputs.
6151         * benchtests/sin-inputs: Likewise.
6153         * benchtests/atan-inputs: New inputs. Fix name of multiple
6154         precision fallback inputs.
6156         * benchtests/atanh-inputs: New inputs.
6157         * benchtests/tanh-inputs: Likewise.
6159         * benchtests/acosh-inputs: New inputs.
6160         * benchtests/asinh-inputs: Likewise.
6162         * benchtests/cosh-inputs: New inputs.
6163         * benchtests/sinh-inputs: Likewise.
6165         * benchtests/acos-inputs: Add more inputs.
6166         * benchtests/asin-inputs: Likewise.
6168 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6170         [BZ #16375]
6171         * manual/arith.texi: Fix spelling.
6172         * manual/charset.texi: Likewise.
6173         * manual/errno.texi: Likewise.
6174         * manual/filesys.texi: Likewise.
6175         * manual/lang.texi: Likewise.
6176         * manual/llio.texi: Likewise.
6177         * manual/locale.texi: Likewise.
6178         * manual/message.texi: Likewise.
6179         * manual/resource.texi: Likewise.
6180         * manual/search.texi: Likewise.
6181         * manual/setjmp.texi: Likewise.
6182         * manual/stdio.texi: Likewise.
6183         * manual/string.texi: Likewise.
6184         * manual/sysinfo.texi: Likewise.
6185         * manual/time.texi: Likewise.
6187 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6189         * po/sl.po: New file.
6191 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6193         * .gitignore: Add core/.gdbinit/.gdb_history.
6195 2013-12-27  Allan McRae  <allan@archlinux.org>
6197         [BZ #16369]
6198         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6199         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6201 2013-12-24  Brooks Moses  <bmoses@google.com>
6203         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6204         all compilers that claim C++98 compliance, not just GCC.
6205         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6206         Likewise.
6208 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6210         * NEWS: Restore accidentally deleted bug-fix entries.
6212 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6213             Ondřej Bílka  <neleai@seznam.cz>
6215         [BZ #15073]
6216         * malloc/malloc.c (_int_free): Perform sanity check only if we
6217         have_lock.
6219 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6221         [BZ #12986]
6222         * manual/stdio.texi (String Input Conversions): Clarify that character
6223         classes are not supported.
6225 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6229 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6231         [BZ #16337]
6232         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6233         Calculate results for small negative arguments directly rather
6234         than using reflection formula with special underflow handling.
6236         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6237         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6238         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6239         (fchflags): Likewise.
6240         (revoke): Likewise.
6241         (setlogin): Likewise.
6242         (sigaltstack): Likewise.
6243         (wait4): Likewise.
6244         (sigblock): Remove.
6245         (sigsetmask): Likewise.
6246         (wait3): Likewise.
6247         (waitpid): Likewise.
6248         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6249         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6250         file.
6251         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6252         * sysdeps/unix/bsd/Makefile: ... here.
6253         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6254         * sysdeps/unix/bsd/Versions: ... here.
6255         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6256         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6257         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6258         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6259         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6260         * sysdeps/unix/bsd/sigblock.c: ... here.
6261         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6262         * sysdeps/unix/bsd/sigsetmask.c: ... here.
6263         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6264         * sysdeps/unix/bsd/sigvec.c: ... here.
6265         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6266         * sysdeps/unix/bsd/tcdrain.c: ... here.
6267         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6268         * sysdeps/unix/bsd/tcgetattr.c: ... here.
6269         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6270         * sysdeps/unix/bsd/tcsetattr.c: ... here.
6271         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6272         * sysdeps/unix/bsd/wait.c: ... here.
6273         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6274         * sysdeps/unix/bsd/wait3.c: ... here.
6275         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6276         * sysdeps/unix/bsd/waitpid.c: ... here.
6278 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
6280         [BZ #16356]
6281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6282         round-to-nearest for [!USE_AS_EXPM1L].
6283         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6284         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
6285         more tests of exp and exp10.  Expect some exp10 tests to miss
6286         exceptions or fail in directed rounding modes.
6287         * math/auto-libm-test-out: Regenerated.
6288         * math/libm-test.inc (exp10_tonearest_test_data): New array.
6289         (exp10_test_tonearest): New function.
6290         (exp10_towardzero_test_data): New array.
6291         (exp10_test_towardzero): New function.
6292         (exp10_downward_test_data): New array.
6293         (exp10_test_downward): New function.
6294         (exp10_upward_test_data): New array.
6295         (exp10_test_upward): New function.
6296         (main): Call the new functions.
6297         * sysdeps/i386/fpu/libm-test-ulps: Update.
6298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6300 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
6302         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6303         asinh, atan, atan2, atanh, cbrt, cos and cosh.
6304         * math/auto-libm-test-out: Regenerated.
6305         * math/libm-test.inc (acosh_test_data): Add more tests.
6306         (atanh_test_data): Likewise.
6307         (ceil_test_data): Likewise.
6308         (copysign_test_data): Likewise.
6309         * sysdeps/i386/fpu/libm-test-ulps: Update.
6310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6312         * timezone/checktab.awk: Update from tzcode 2013i.
6313         * timezone/private.h: Likewise.
6314         * timezone/scheck.c: Likewise.
6315         * timezone/tzfile.h: Likewise.
6316         * timezone/tzselect.ksh: Likewise.
6317         * timezone/zdump.c: Likewise.
6318         * timezone/zic.c: Likewise.
6320         * math/auto-libm-test-in: Add tests of cpow.
6321         * math/auto-libm-test-out: Regenerated.
6322         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6323         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6324         mpc_cc_c.
6325         (func_calc_desc): Add mpc_cc_c union field.
6326         (test_functions): Add cpow.
6327         (special_fill_2pi): New function.
6328         (special_real_inputs): Add 2pi.
6329         (calc_generic_results): Handle mpc_cc_c.
6330         * sysdeps/i386/fpu/libm-test-ulps: Update.
6331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6333         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6334         csqrt, ctan and ctanh.
6335         * math/auto-libm-test-out: Regenerated.
6336         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6337         (TEST_COND_x86): Likewise.
6338         (ccos_test_data): Use AUTO_TESTS_c_c.
6339         (ccosh_test_data): Likewise.
6340         (cexp_test_data): Likewise.
6341         (clog_test_data): Likewise.
6342         (csqrt_test_data): Likewise.
6343         (ctan_test_data): Likewise.
6344         (ctan_tonearest_test_data): Likewise.
6345         (ctan_towardzero_test_data): Likewise.
6346         (ctan_downward_test_data): Likewise.
6347         (ctan_upward_test_data): Likewise.
6348         (ctanh_test_data): Likewise.
6349         (ctanh_tonearest_test_data): Likewise.
6350         (ctanh_towardzero_test_data): Likewise.
6351         (ctanh_downward_test_data): Likewise.
6352         (ctanh_upward_test_data): Likewise.
6353         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6354         mpc_c_c.
6355         (func_calc_desc): Add mpc_c_c union field.
6356         (FUNC_mpc_c_c): New macro.
6357         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6358         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6359         ctanh.
6360         (special_fill_min_subnorm_p120): New function.
6361         (special_real_inputs): Add min_subnorm_p120.
6362         (calc_generic_results): Handle mpc_c_c.
6363         * sysdeps/i386/fpu/libm-test-ulps: Update.
6364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6366 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6368         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6369         (do_sin_slow): New functions.
6370         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6371         (cslow2, csloww1, csloww2): Use the new functions.
6373         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6374         Use M to change sign of result instead of X.  Assume X is
6375         positive.
6376         (csloww1): Likewise.
6377         (__sin): Adjust.
6378         (__cos): Adjust.
6380         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6381         arguments A and DA.
6382         (__sin): Adjust.
6383         (__cos): Likewise.
6385         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6386         (__cos): Likewise.
6387         (sloww1): Don't adjust sign of DX.
6388         (csloww1): Likewise.
6389         (sloww2): Use X directly and don't adjust sign of DX.
6390         (csloww2): Likewise.
6392 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6394         * math/auto-libm-test-in: Add tests of cabs and carg.
6395         * math/auto-libm-test-out: Regenerated.
6396         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6397         (carg_test_data): Likewise.
6398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6399         mpc_c_f.
6400         (func_calc_desc): Add mpc_c_f union field.
6401         (test_functions): Add cabs and carg.
6402         (calc_generic_results): Handle mpc_c_f.
6404         * sysdeps/powerpc/powerpc32/libgcc-compat.S
6405         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6406         as a macro and a compat symbol.
6407         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6408         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6409         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6410         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6411         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6412         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6413         not use .hidden.
6414         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6415         Likewise.
6416         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6417         Likewise.
6418         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6419         Likewise.
6420         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6421         Likewise.
6422         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6423         Likewise.
6424         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6425         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6426         from GLIBC_2.3.2.
6428 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6432 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6434         * manual/texinfo.tex: Update to version 2013-11-26.10 with
6435         trailing whitespace removed.
6436         * scripts/config.guess: Update to version 2013-11-29.
6437         * scripts/config.sub: Update to version 2013-10-01.
6439         * math/auto-libm-test-in: Add tests of sincos.
6440         * math/auto-libm-test-out: Regenerated.
6441         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6442         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6443         mpfr_f_11.
6444         (func_calc_desc): Add mpfr_f_11 union field.
6445         (test_functions): Add sincos.
6446         (calc_generic_results): Handle mpfr_f_11.
6447         * sysdeps/i386/fpu/libm-test-ulps: Update.
6448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6450 2013-12-19  Andreas Schwab  <schwab@suse.de>
6452         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6453         CALL_MCOUNT.
6454         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6455         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6456         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6458 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6460         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6461         * sysdeps/i386/fpu/libm-test-ulps: Update.
6462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6464         [BZ #16293]
6465         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6466         round-to-nearest mode when using frndint.
6467         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6468         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6469         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6470         Likewise.
6471         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
6472         sinh test to fail.
6473         * math/auto-libm-test-out: Regenerated.
6474         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6475         (TEST_COND_x86): Likewise.
6476         (expm1_tonearest_test_data): New array.
6477         (expm1_test_tonearest): New function.
6478         (expm1_towardzero_test_data): New array.
6479         (expm1_test_towardzero): New function.
6480         (expm1_downward_test_data): New array.
6481         (expm1_test_downward): New function.
6482         (expm1_upward_test_data): New array.
6483         (expm1_test_upward): New function.
6484         (main): Run the new test functions.
6485         * sysdeps/i386/fpu/libm-test-ulps: Update.
6486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488         * include/features.h: Update comment documenting feature test
6489         macros.  Mention _DEFAULT_SOURCE in comment.
6490         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6491         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6492         _BSD_SOURCE and _SVID_SOURCE.
6493         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6494         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6495         !_SVID_SOURCE]: Likewise.
6496         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6497         (__USE_POSIX_IMPLICITLY): Define.
6498         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6499         (_POSIX_SOURCE): Undefine and redefine.
6500         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6501         (_POSIX_C_SOURCE): Likewise.
6502         * manual/creature.texi (_DEFAULT_SOURCE): Document.
6503         (Feature Test Macros): Update documentation of default features.
6505 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6507         * benchtests/Makefile: Add bench-strtok.
6508         * benchtests/bench-strtok.c: New file: strtok benchtest.
6510 2013-12-19  Allan McRae  <allan@archlinux.org>
6512         * manual/install.texi: Suppress menu for plain text output.
6513         * INSTALL: Regenerated.
6515 2013-12-18  Brooks Moses  <bmoses@google.com>
6517         [BZ #15846]
6518         * misc/getauxval.c: Include errno.h.
6519         (__getauxval): Set errno to ENOENT if the requested type is not
6520         found.
6521         * misc/sys/auxv.h (getauxval): Document that it may set errno;
6522         don't declare with __attribute_const__.
6523         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6524         * manual/startup.texi: Document that getauxval sets errno.
6526 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6528         * math/auto-libm-test-in: Add tests of jn and yn.
6529         * math/auto-libm-test-out: Regenerated.
6530         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6531         (yn_test_data): Likewise.
6532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6533         mpfr_if_f.
6534         (func_calc_desc): Add mpfr_if_f union field.
6535         (FUNC_mpfr_if_f): New macro.
6536         (test_functions): Add jn and yn.
6537         (calc_generic_results): Assert type of second input for
6538         mpfr_ff_f.  Handle mpfr_if_f.
6539         (output_for_one_input_case): Disable all checking for arguments
6540         fitting floating-point types in case of an integer argument.
6541         * sysdeps/i386/fpu/libm-test-ulps: Update.
6542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6545         Don't expect fegetround reference in libm.so.
6547 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6549         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6550         $(config-cflags-nofma).
6552 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6554         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6555         * math/auto-libm-test-out: Regenerated.
6557         [BZ #16338]
6558         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6559         to determine exponent and adjust argument to have exponent of -1.
6560         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6561         log2.
6562         * math/auto-libm-test-out: Regenerated.
6563         * sysdeps/i386/fpu/libm-test-ulps: Update.
6564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6566 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
6568         * manual/probes.texi: Remove cases when per-thread arenas are
6569         disabled.
6571 2013-12-18  Andreas Schwab  <schwab@suse.de>
6573         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6574         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6575         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6576         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6577         * sysdeps/i386/i686/multiarch/Makefile: Update.
6578         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6580 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6582         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6583         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6585 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
6587         [BZ #15968]
6588         Support TZ transition times < 00:00:00.
6589         This is needed for version-3 tz-format files; it supports time
6590         stamps past 2037 for America/Godthab (the only entry in the tz
6591         database for which this change is relevant).
6592         * manual/time.texi (TZ Variable): Document transition times
6593         from -167:59:59 through -00:00:01.
6594         * time/tzset.c (tz_rule): Time of day is now signed.
6595         (__tzset_parse_tz): Parse negative time of day.
6597         Document TZ transition times >= 25:00:00.
6598         * manual/time.texi (TZ Variable): Document transition times from
6599         25:00:00 through 167:59:59.  These are already supported, and this
6600         support will help with version-3 tz-format files.
6602         * manual/time.texi (TZ Variable): Modernize North America example
6603         to reflect current (i.e., 2007-and-later) daylight saving rules.
6605         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6607 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6609         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6610         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6611         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6613         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6614         * sysdeps/unix/bsd/bsdstat.h: Likewise.
6615         * sysdeps/unix/bsd/clock.c: Likewise.
6616         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6617         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6618         * sysdeps/unix/bsd/init-posix.c: Likewise.
6619         * sysdeps/unix/bsd/poll.c: Likewise.
6620         * sysdeps/unix/bsd/ptsname.c: Likewise.
6621         * sysdeps/unix/bsd/seekdir.c: Likewise.
6622         * sysdeps/unix/bsd/setegid.c: Likewise.
6623         * sysdeps/unix/bsd/seteuid.c: Likewise.
6624         * sysdeps/unix/bsd/setgid.c: Likewise.
6625         * sysdeps/unix/bsd/setrgid.c: Likewise.
6626         * sysdeps/unix/bsd/setruid.c: Likewise.
6627         * sysdeps/unix/bsd/setsid.c: Likewise.
6628         * sysdeps/unix/bsd/setuid.c: Likewise.
6629         * sysdeps/unix/bsd/sigaction.c: Likewise.
6630         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6631         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6632         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6633         * sysdeps/unix/bsd/telldir.c: Likewise.
6634         * sysdeps/unix/bsd/times.c: Likewise.
6635         * sysdeps/unix/bsd/usleep.c: Likewise.
6637         * misc/Makefile (install-lib): Remove libbsd-compat.a.
6638         ($(objpfx)libbsd-compat.a): Remove rule.
6640         * include/features.h (__FAVOR_BSD): Do not define.
6641         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6642         features conflicting with POSIX.
6643         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6644         (_BSD_SOURCE): Remove description of not being a subset of other
6645         feature test macros.
6646         * manual/job.texi (getpgrp): Do not document BSD version.
6647         (getpgid): Do not document by reference to BSD getpgrp.
6648         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6649         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6650         * signal/signal.h [__FAVOR_BSD]: Likewise.
6651         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6652         instead of making contents conditional on [__FAVOR_BSD].
6653         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6655 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6659 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6661         [BZ #16314]
6662         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6663         values below 2**-450, not 2**-500.
6664         * math/auto-libm-test-in: Don't allow spurious underflow from
6665         hypot.
6666         * math/auto-libm-test-out: Regenerated.
6668         [BZ #16316]
6669         [BZ #16330]
6670         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6671         values of ha and hb and sort them after adjusting subnormal
6672         arguments.
6673         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6674         Likewise.
6675         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6676         values of ea and eb and sort them after adjusting subnormal
6677         arguments.
6678         * math/auto-libm-test-in: Do not expect some hypot tests of
6679         subnormals to fail.  Add more hypot tests.
6680         * math/auto-libm-test-out: Regenerated.
6682 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6684         [BZ #13304]
6685         * sysdeps/sh/s_fma.c: New file.
6686         * sysdeps/sh/s_fmaf.c: New file.
6687         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
6688         version.
6689         * sysdeps/sh/Implies: Add sh/soft-fp.
6691 2013-12-16  Roland McGrath  <roland@hack.frob.com>
6693         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
6694         level of indirection to members `objname', `errstring', `malloced'.
6695         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6696         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
6697         it as the __longjmp argument (just pass 1 instead).
6698         (_dl_catch_error): Initialize C with argument pointers and address of
6699         volatile local ERRCODE rather than copying values out of C at return.
6701 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
6703         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6704         * math/auto-libm-test-out: Regenerated.
6705         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6706         (hypot_test_data): Likewise.
6707         (pow_test_data): Likewise.
6708         (pow_tonearest_test_data): Likewise.
6709         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6710         mpfr_ff_f.
6711         (func_calc_desc): Add mpfr_ff_f union field.
6712         (FUNC_mpfr_ff_f): New macro.
6713         (test_functions): Add atan2, hypot and pow.
6714         (special_fill_min): New function.
6715         (special_fill_minus_min): Likewise.
6716         (special_fill_min_subnorm): Likewise.
6717         (special_fill_minus_min_subnorm): Likewise.
6718         (special_real_inputs): Add min, -min, min_subnorm and
6719         -min_subnorm.
6720         (calc_generic_results): Handle mpfr_ff_f.
6721         * sysdeps/i386/fpu/libm-test-ulps: Update.
6722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6724 2013-12-16  Will Newton  <will.newton@linaro.org>
6726         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6727         (Aligned Memory Blocks): Add documentation for aligned_alloc
6728         and suggest it as an alternative to posix_memalign.
6729         (Hooks for Malloc): Document __memalign_hook is also called
6730         for aligned_alloc.  (Summary of Malloc): Add summary for
6731         aligned alloc.  Document __memalign_hook is also called
6732         for aligned_alloc.
6734 2013-12-16  Will Newton  <will.newton@linaro.org>
6736         * manual/memory.texi (Malloc Examples): Clarify default
6737         alignment documentation.  Suggest posix_memalign rather
6738         than memalign or valloc.
6739         (Aligned Memory Blocks): Remove suggestion to use memalign
6740         or valloc.  Remove obsolete comment about BSD.
6741         Document memalign errno values and mark the function obsolete.
6742         Document posix_memalign returned error codes.  Mark valloc
6743         as obsolete.  (Hooks for Malloc): __memalign_hook is also
6744         called for posix_memalign and valloc.
6745         (Summary of Malloc): Add posix_memalign to function summary.
6746         __memalign_hook is also called for posix_memalign and valloc.
6748 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6750         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6751         TAYLOR_SIN.
6752         (__sin): Adjust.
6753         (__cos): Likewise.
6754         (sloww): Use mynumber union.  Expand ternary operator into
6755         if-else statements.
6756         (cslow): use mynumber union.
6758 2013-12-16  Allan McRae  <allan@archlinux.org>
6760         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6761         * configure: Regenerated.
6763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6765         [BZ #14120]
6766         * configure.ac: Added --enable-maintainer-mode. Check for
6767         autoconf when enabled.
6768         * configure: Regenerated.
6770         * nscd/nscd.service: New file.
6771         * nscd/nscd.tmpfiles: New file.
6773 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
6775         [BZ #12100]
6776         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6777         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6778         * sysdeps/x86_64/multiarch/strstr.c: ... here.
6779         (strstr): Add __strstr_sse2_unaligned ifunc.
6780         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6781         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6782         (strcasestr): Remove __strcasestr_sse42 ifunc.
6783         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6787 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6789         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6790         * sysdeps/sh/bits/fenv.h: ... here.
6791         * sysdeps/sh/sh4/fpu/bits: Remove directory.
6793 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6795         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6798         hypotf multiarch implementations.
6799         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6800         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6801         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6802         multiarch hypot for PPC64.
6803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6804         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6805         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6806         multiarch hypotf for PPC64.
6808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6809         modff multiarch implementations.
6810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6813         multiarch modf for PPC64.
6814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6817         multiarch modff for PPC64.
6819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6820         and logl multiarch implementations.
6821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6824         multiarch logb for PPC64.
6825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6828         multiarch logb for PPC64.
6829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6832         multiarch logb for PPC64.
6834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6835         isinff multiarch implementation.
6836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6837         file.
6838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6840         multiarch isinf for PPC64.
6841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6842         file.
6843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6844         multiarch isinff for PPC64.
6846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6847         finitef multiarch implementation.
6848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6849         file.
6850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6852         multiarch finite for PPC64.
6853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6854         file.
6855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6856         multiarch finitef for PPC64.
6858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6859         lrint multiarch implementation.
6860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6861         file.
6862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6864         multiarch llrint for PPC64.
6865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6866         multiarch lrint for PPC64.
6868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6869         copysignf multiarch implementation.
6870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6871         file.
6872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6873         file.
6874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6875         multiarch copysign for PPC64.
6876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6877         multiarch copysignf for PPC64.
6879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6880         multiarch implementation.
6881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6882         file.
6883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6884         file.
6885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6886         file.
6887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6888         file.
6889         multiarch llround for PPC64.
6890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6891         multiarch trunc for PPC64.
6892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6893         multiarch truncf for PPC64.
6895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6896         multiarch implementation.
6897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6898         file.
6899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6900         file.
6901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6902         file.
6903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6904         file.
6905         multiarch llround for PPC64.
6906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6907         multiarch round for PPC64.
6908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6909         multiarch roundf for PPC64.
6911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6912         multiarch implementation.
6913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6914         file.
6915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6916         file.
6917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6918         file.
6919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6920         file.
6921         multiarch llround for PPC64.
6922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6923         multiarch floor for PPC64.
6924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6925         multiarch floorf for PPC64.
6927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6928         multiarch implementation.
6929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6930         file.
6931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6932         file.
6933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6934         file.
6935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6936         file.
6937         multiarch llround for PPC64.
6938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6939         multiarch ceil for PPC64.
6940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6941         multiarch ceilf for PPC64.
6943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6944         multiarch implementation.
6945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6946         file.
6947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6948         file.
6949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6950         file.
6951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6952         multiarch llround for PPC64.
6953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6954         multiarch lround for PPC64.
6956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6957         multiarch implementation.
6958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6961         file.
6962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6965         multiarch isnan for PPC64.
6966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6967         multiarch isnanf for PPC64.
6969         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6970         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6971         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6972         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6973         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6976         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6977         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6978         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6979         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6982         multiarch implementations.
6983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6984         (__libc_ifunc_impl_list): Likewise.
6985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6986         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6988         multiarch stpcpy for PPC64.
6990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6991         multiarch implementations.
6992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6993         (__libc_ifunc_impl_list): Likewise.
6994         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6995         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6996         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6997         multiarch strcpy for PPC64.
6999         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7000         redefine function name.
7001         (_wordcopy_fwd_dest_aligned): Likewise.
7002         (_wordcopy_bwd_aligned): Likewise.
7003         (_wordcopy_bwd_dest_aligned): Likewise.
7004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7005         multiarch implementations.
7006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7007         (__libc_ifunc_impl_list): Likewise.
7008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7010         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7011         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7012         multiarch wcscpy for PPC64.
7014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7015         multiarch implementations.
7016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7017         (__libc_ifunc_impl_list): Likewise.
7018         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7019         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7020         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7021         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7022         multiarch wcscpy for PPC64.
7024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7025         multiarch implementations.
7026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7027         (__libc_ifunc_impl_list): Likewise.
7028         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7029         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7030         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7031         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7032         multiarch wcsrchr for PPC64.
7034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7035         multiarch implementations.
7036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7037         (__libc_ifunc_impl_list): Likewise.
7038         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7039         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7040         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7041         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7042         multiarch wcschr for PPC64.
7044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7045         multiarch implementations.
7046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7047         (__libc_ifunc_impl_list): Likewise.
7048         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7049         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7050         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7051         multiarch strchrnul for PPC64.
7053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7054         implementations.
7055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7056         (__libc_ifunc_impl_list): Likewise.
7057         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7058         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7059         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7060         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7061         strchr for PPC64.
7063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7064         implementations.
7065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7066         (__libc_ifunc_impl_list): Likewise.
7067         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7068         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7069         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7070         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7071         strncmp for PPC64.
7073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7074         multiarch implementations.
7075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7076         (__libc_ifunc_impl_list): Likewise.
7077         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7078         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7079         strncasecmp for PPC64.
7080         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7081         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7082         multiarch strncasecmp_l for PPC64.
7084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7085         multiarch implementations.
7086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7087         (__libc_ifunc_impl_list): Likewise.
7088         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7089         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7090         multiarch strcasecmp for PPC64.
7091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7092         file.
7093         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7094         multiarch strcasecmp_l for PPC64.
7096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7097         implementations.
7098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7099         (__libc_ifunc_impl_list): Likewise.
7100         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7101         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7102         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7103         strnlen for PPC64.
7105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7106         implementations.
7107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7108         (__libc_ifunc_impl_list): Likewise.
7109         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7110         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7111         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7112         strlen for PPC64.
7114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7115         implementations.
7116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7117         (__libc_ifunc_impl_list): Likewise.
7118         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7119         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7120         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7121         rawmemrchr for PPC64.
7123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7124         implementation.
7125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7126         (__libc_ifunc_impl_list): Likewise.
7127         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7128         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7129         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7130         memrchr for PPC64.
7132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7133         implementation.
7134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7135         (__libc_ifunc_impl_list): Likewise.
7136         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7137         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7138         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7139         memchr for PPC64.
7141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7142         implementation.
7143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7144         (__libc_ifunc_impl_list): Likewise.
7145         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7146         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7147         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7148         mempcpy for PPC64.
7150         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7151         avoid cretion of __bzero symbol.
7152         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7153         Likewise.
7154         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7155         Likewise.
7156         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7157         Likewise.
7158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7159         multiarch implementations.
7160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7161         (__libc_ifunc_impl_list): Likewise.
7162         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7163         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7164         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7165         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7166         bzero for PPC32.
7167         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7168         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7169         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7170         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7171         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7172         memset for PPC64.
7173         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7175         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7177         implementations.
7178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7179         (__libc_ifunc_impl_list): Likewise.
7180         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7181         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7182         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7183         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7184         memcmp for PPC64.
7186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7187         multiarch for POWER/PPC64.
7188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7189         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7193         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7194         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7195         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7196         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7197         memcpy for PPC64.
7199         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7200         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7201         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7202         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7203         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7204         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7205         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7206         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7207         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7208         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7209         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7210         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7211         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7212         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7213         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7222 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7224         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7226 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7228         * benchtests/Makefile (bench): Add exp2 and log2.
7229         (LDLIBS-bench-exp2): Add -lm.
7230         (LDLIBS-bench-log2): Likewise.
7231         * benchtests/exp2-inputs: New inputs file.
7232         * benchtests/log2-inputs: New inputs file.
7233         * benchtests/log-inputs: Add new inputs.
7234         * benchtests/tan-inputs: Likewise.
7236 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7238         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7239         definition...
7240         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7241         (csloww2): ... from here.
7243         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7244         instead of structures.
7245         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7246         (POLYNOMIAL): Likewise.
7247         (TAYLOR_SLOW): Likewise.
7248         (__sin): Likewise.
7249         (__cos): Likewise.
7250         (slow1): Likewise.
7251         (slow2): Likewise.
7252         (sloww): Likewise.
7253         (sloww1); Likewise.
7254         (sloww2): Likewise.
7255         (bsloww1): Likewise.
7256         (bsloww2): Likewise.
7257         (cslow2): Likewise.
7258         (csloww): Likewise.
7259         (csloww1): Likewise.
7260         (csloww2): Likewise.
7262 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
7264         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7265         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7266         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7267         * malloc/hooks.c (realloc_check): Likewise.
7269         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7270         * malloc/arena.c: Remove PER_THREAD conditional.
7271         [!PER_THREAD]: Remove code.
7272         (ptmalloc_unlock_all2): Likewise.
7273         (ptmalloc_init): Likewise.
7274         (_int_new_arena): Likewise.
7275         (arena_get2): Likewise.
7276         * malloc/hooks.c (__malloc_get_state): Likewise.
7277         (__malloc_set_state): Likewise.
7278         * malloc/malloc.c: Likewise.
7279         (struct malloc_state): Likewise.
7280         (struct malloc_par): Likewise.
7281         (__libc_realloc): Likewise.
7282         (__libc_mallopt): Likewise.
7284 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7286         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7288 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
7290         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7291         macro to a function.  Check for zero perturb_byte.
7292         (_int_malloc, _int_free): Remove zero perturb_byte checks.
7294         * malloc/malloc.c: (force_reg): Remove.
7295         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7296         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7297         force_reg by atomic_forced_read.
7298         * malloc/arena.c (ptmalloc_init): Likewise.
7299         * malloc/hooks.c (top_check): Likewise.
7301 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7305 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7309 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7311         * math/auto-libm-test-in: Add tests of lgamma.
7312         * math/auto-libm-test-out: Regenerated.
7313         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7314         (M_LOG_2_SQRT_PIl): Likewise.
7315         (lgamma_test_data): Use AUTO_TESTS_f_f1.
7316         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7317         mpfr_f_f1.
7318         (func_calc_desc): Add mpfr_f_f1 union field.
7319         (ARGS1): New macro.
7320         (ARGS2): Likewise.
7321         (ARGS3): Likewise.
7322         (ARGS4): Likewise.
7323         (RET1): Likewise.
7324         (RET2): Likewise.
7325         (CALC): Likewise.
7326         (FUNC): Likewise.
7327         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7328         (test_functions): Add lgamma.
7329         (calc_generic_results): Handle mpfr_f_f1.
7330         * sysdeps/i386/fpu/libm-test-ulps: Update.
7331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7333 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7335         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7336         __mpn_add_n for PowerPC64/POWER7.
7337         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7338         __mpn_sub_n for PowerPC64/POWER7.
7340         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7341         __mpn_addmul_1 for PowerPC64.
7342         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7343         __mpn_submul_1 for PowerPC64.
7344         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7345         for PowerPC64.
7346         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7347         for PowerPC64.
7349 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
7351         [BZ #15089]
7352         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7354 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7356         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7358         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7359         add multiarch folders.
7360         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7361         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7362         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7363         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7364         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7365         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7366         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7367         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7368         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7369         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7370         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7379         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7381         New file.
7382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7383         New file.
7384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7385         multiarch __ieee754_hypot for PowerPC32.
7386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7387         New file.
7388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7389         New file.
7390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7391         multiarch __ieee754_hypotf for PowerPC32.
7393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7394         long_double_symbol only if __logbl is defined.
7395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7396         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7398         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7399         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7400         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7401         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7402         path for implementation.
7403         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7404         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7406         logb, and logbl multiarch implementations for PowerPC32.
7407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7408         file.
7409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7410         file.
7411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7412         multiarch logb for PowerPC32.
7413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7414         file.
7415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7416         file.
7417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7418         multiarch logbf for PowerPC32.
7419         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7421         file.
7422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7423         multiarch logbl implementation for PowerPC32.
7425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7426         and modff multiarch implementations.
7427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7428         New file.
7429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7430         New file.
7431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7432         multiarch modf for PowerPC32.
7433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7434         New file.
7435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7436         New file.
7437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7438         multiarch modff for PowerPC32.
7440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7441         and lrintf multiarch implementations.
7442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7443         New file.
7444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7445         New file.
7446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7447         multiarch lrint for PowerPC32.
7448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7449         file: multiarch lrintf for PowerPC32.
7451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7452         and lroundf multiarch implementations.
7453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7454         New file.
7455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7456         New file.
7457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7458         New file.
7459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7460         multiarch lround for PowerPC32.
7461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7462         file: multiarch lroundf for PowerPC32.
7464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7465         copysign and copysignf multiarch implementations.
7466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7467         New file.
7468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7469         New file.
7470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7471         file: multiarch copysign for PowerPC32.
7472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7473         file: multiarch copysignf for PowerPC32.
7475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7476         and truncf multiarch implementations.
7477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7478         New file.
7479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7480         file.
7481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7482         multiarch trunc for PowerPC32.
7483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7484         New file.
7485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7486         New file.
7487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7488         multiarch truncf for PowerPC32.
7490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7491         and roundf multiarch implementations.
7492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7493         New file.
7494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7495         file.
7496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7497         multiarch round for PowerPC32.
7498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7499         New file.
7500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7501         New file.
7502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7503         multiarch roundf for PowerPC32.
7505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7506         and floorf multiarch implementations.
7507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7508         New file.
7509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7510         file.
7511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7512         multiarch floor for PowerPC32.
7513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7514         New file.
7515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7516         New file.
7517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7518         multiarch floorf for PowerPC32.
7520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7521         and ceilf multiarch implementations.
7522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7523         New file.
7524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7525         file.
7526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7527         multiarch ceil for PowerPC32.
7528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7529         New file.
7530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7531         file.
7532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7533         multiarch ceilf for PowerPC32.
7535         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7536         is defined.
7537         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7538         FINITEF is defined.
7539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7540         and finitef multiarch implementations.
7541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7542         New file.
7543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7544         file.
7545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7546         multiarch finite for PowerPC32.
7547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7548         New file.
7549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7550         file: multiarch finitef for PowerPC32.
7552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7553         and isinff multiarch implementations.
7554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7555         file.
7556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7557         file.
7558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7559         multiarch isinf for PowerPC32.
7560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7561         New file.
7562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7563         multiarch isinff for PowerPC32.
7565         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7566         alias when __isnan is defined.
7567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7568         and isnanf multiarch implementations.
7569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7570         file.
7571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7572         file.
7573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7574         file.
7575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7576         file.
7577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7578         multiarch isnan for PowerPC32.
7579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7580         New file.
7581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7582         New file.
7583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7584         multiarch isnanf for PowerPC32.
7586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7587         and sqrtf multiarch implementations.
7588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7589         file.
7590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7591         file.
7592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7593         multiarch sqrt for PowerPC32.
7594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7595         file.
7596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7597         file.
7598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7599         multiarch sqrtf for PowerPC32.
7601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7602         and llroundf multiarch implementations.
7603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7604         New file.
7605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7606         New file.
7607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7608         New file.
7609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7610         file: multiarch llround for PowerPC32.
7611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7612         file: multiarch llroundf for PowerPC32.
7614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7615         multiarch PowerPC32 fpu implementations.
7616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7617         New file.
7618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7619         New file.
7620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7621         multiarch llrint for PowerPC32.
7622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7623         New file.
7624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7625         New file.
7626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7627         file.
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7631         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7632         file.
7633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7634         file.
7635         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7636         file.
7637         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7638         multiarch wordcopy for PPC32.
7639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7640         wordcopy objects.
7641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7642         (__libc_ifunc_impl_list): Likewise.
7643         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7644         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7645         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7646         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7647         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7648         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7650         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7652         file.
7653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7654         file.
7655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7656         file.
7657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7658         multiarch wcscpy for PPC32.
7659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7660         multiarch objects.
7661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7662         (__libc_ifunc_impl_list): Likewise.
7663         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7664         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7665         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7666         sysdeps/powerpc/power6/wcscpy.c.
7668         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7670         file.
7671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7672         file.
7673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7674         file.
7675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7676         multiarch wcsrchr for PPC32.
7677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7678         multiarch objects.
7679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7680         (__libc_ifunc_impl_list): Likewise.
7681         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7682         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7683         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7684         sysdeps/powerpc/power6/wcsrchr.c.
7686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7687         file.
7688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7689         file.
7690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7692         multiarch wcschr for PPc32.
7693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7694         multiarch objects.
7695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7696         (__libc_ifunc_impl_list): Likewise.
7697         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7698         * sysdeps/powerpc/power6/wcschr.c: ... to here.
7699         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7700         sysdeps/powerpc/power6/wcschr.c.
7702         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7704         file.
7705         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7706         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7707         file: multiarch strchr for PPC32.
7708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7709         multiarch objects.
7710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7711         (__libc_ifunc_impl_list): Likewise.
7713         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7714         name.
7715         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7716         file.
7717         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7718         file.
7719         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7720         multiarch strchrnul for PPC32.
7721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7722         multiarch objects.
7723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7724         (__libc_ifunc_impl_list): Likewise.
7726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7727         file.
7728         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7729         multiarch strncasecmp for PPC32.
7730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7731         file.
7732         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7733         multiarch strncasecmp_l for PPC32.
7734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7735         strncasecmp multiarch objects.
7736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7737         (__libc_ifunc_impl_list): Likewise.
7739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7740         file.
7741         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7742         multiarch strncasecmp for PPC32.
7743         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7744         New file.
7745         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7746         multiarch strcasecmp_l for PPC32.
7747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7748         multiarch objects.
7749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7750         (__libc_ifunc_impl_list): Likewise.
7752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7753         file.
7754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7755         file.
7756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7757         multiarch strncmp for PPC32.
7758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7759         multiarch objects.
7760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7761         (__libc_ifunc_impl_list): Likewise.
7763         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7764         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7765         file.
7766         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7767         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7769         multiarch objects.
7770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7771         (__libc_ifunc_impl_list): Likewise.
7773         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7774         file.
7775         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7776         file.
7777         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7779         multiarch objects.
7780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7781         (__libc_ifunc_impl_list): Likewise.
7783         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7784         file.
7785         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7786         file.
7787         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7788         multiarch rawmemchr for PPC32.
7789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7790         multiarch objects.
7791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7792         (__libc_ifunc_impl_list): Likewise.
7794         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7795         file.
7796         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7797         file.
7798         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7799         file: memrchr multiarch for PPC32.
7800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7801         multiarch objects.
7802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7803         (__libc_ifunc_impl_list): Likewise.
7805         * string/memchr.c (__memchr): Using macro to redefine symbol name.
7806         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7807         file.
7808         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7809         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7810         multiarch memchr for PPC32.
7811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7812         multiarch objects.
7813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7814         (__libc_ifunc_impl_list): Likewise.
7816         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7817         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7818         file.
7819         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7820         file.
7821         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7822         file: multiarch mempcpy for PPC32.
7823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7824         multiarch objects.
7825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7826         (__libc_ifunc_impl_list): Likewise.
7828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7829         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7830         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7831         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7832         multiarch bzero for PPC32.
7833         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7834         file.
7835         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7836         file.
7837         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7838         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7839         file: multiarch memset for PPC32.
7840         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7842         memset multiarch objects.
7843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7844         (__libc_ifunc_impl_list): Likewise.
7846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7847         file.
7848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7850         memcmp for PPC32.
7851         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7853         multiarch objects.
7854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7855         (__libc_ifunc_impl_list): Likewise.
7857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7858         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7860         file.
7861         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7862         file.
7863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7864         file.
7865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7866         multiarch memcpy for PPC32.
7867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7868         multiarch objects.
7869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7870         (__libc_ifunc_impl_list): Likewise.
7872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7873         support multiarch for POWER/PPC32.
7874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7875         Likewise.
7876         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7878         Implies file to make multiarch folder appers before the fpu and
7879         default folder for power4 configuration.
7881 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7883         * scripts/bench.pl: Append volatile keyword to type.
7885 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7887         * sysdeps/sh/sotruss-lib.c: New file.
7888         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7890 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7894 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
7896         [BZ #6810]
7897         * math/w_tgamma.c: Include <errno.h>.
7898         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
7899         * math/w_tgammaf.c: Include <errno.h>.
7900         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
7901         * math/w_tgammal.c: Include <errno.h>.
7902         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7903         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7904         underflow.  Add more tgamma tests.
7905         * math/auto-libm-test-out: Regenerated.
7906         * sysdeps/i386/fpu/libm-test-ulps: Update.
7907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7909         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7910         sin, sinh, tan, tanh, tgamma, y0 and y1.
7911         * math/auto-libm-test-out: Regenerated.
7912         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7913         (TEST_COND_x86): Likewise.
7914         (M_E2l): Remove macro.
7915         (M_E3l): Likewise.
7916         (M_2_SQRT_PIl): Likewise.
7917         (M_SQRT_PIl): Likewise.
7918         (M_1_DIV_El): Likewise.
7919         (log_test_data): Use AUTO_TESTS_f_f.
7920         (log10_test_data): Likewise.
7921         (log1p_test_data): Likewise.
7922         (log2_test_data): Likewise.
7923         (sin_test_data): Likewise.
7924         (sin_tonearest_test_data): Likewise.
7925         (sin_towardzero_test_data): Likewise.
7926         (sin_downward_test_data): Likewise.
7927         (sin_upward_test_data): Likewise.
7928         (sinh_test_data): Likewise.
7929         (sinh_tonearest_test_data): Likewise.
7930         (sinh_towardzero_test_data): Likewise.
7931         (sinh_downward_test_data): Likewise.
7932         (sinh_upward_test_data): Likewise.
7933         (tan_test_data): Likewise.
7934         (tan_tonearest_test_data): Likewise.
7935         (tan_towardzero_test_data): Likewise.
7936         (tan_downward_test_data): Likewise.
7937         (tan_upward_test_data): Likewise.
7938         (tanh_test_data): Likewise.
7939         (tgamma_test_data): Likewise.
7940         (y0_test_data): Likewise.
7941         (y1_test_data): Likewise.
7942         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7943         (special_real_inputs): Add pi/4.
7944         * sysdeps/i386/fpu/libm-test-ulps: Update.
7945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7947 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7949         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7950         "longjmp_target" static probes.
7951         (__longjmp): Rename to __longjmp_symbol.
7952         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7953         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7954         on which longjmp to generate.
7955         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7956         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7957         probe.
7958         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7959         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7960         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7961         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7962         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7963         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7965         __longjmp_symbol based on which __longjmp to generate.
7966         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7967         probe.
7968         (setjmp): Rename to setjmp_symbol.
7969         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7970         (_setjmp): Rename to _setjmp_symbol.
7971         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7972         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7973         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7974         which setjmp to generate.
7975         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7976         "longjmp_target" static probes.
7978 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7980         * benchtests/README: Add note about output arguments.
7981         * benchtests/bench-sincos.c: Remove file.
7982         * benchtests/sincos-inputs: New file.
7983         * scripts/bench.pl: Identify output arguments and define
7984         static variables for them.
7986         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7988         [BZ #15941]
7989         * Makefile (INSTALL): Add install-plain.texi as the primary
7990         dependency.
7991         * manual/install-plain.texi: New file.
7992         * manual/install.texi: Include node directive only for
7993         non-plaintext output.
7995 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7997         * stdlib/longlong.h: Update from GCC.
7999         [BZ #6807]
8000         [BZ #15901]
8001         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8002         * math/w_j0f.c (y0f): Likewise.
8003         * math/w_j0l.c (__y0l): Likewise.
8004         * math/w_j1.c (y1): Likewise.
8005         * math/w_j1f.c (y1f): Likewise.
8006         * math/w_j1l.c (__y1l): Likewise
8007         * math/w_jn.c (yn): Likewise.
8008         * math/w_jnf.c (ynf): Likewise.
8009         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8010         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8011         value for Bessel function domain errors outside _SVID_ mode.
8012         Adjust sign of return value for yn (negative integer, 0).
8013         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8014         by zero in return for negative x and set sign appropriately for
8015         negative n.
8016         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8017         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8018         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8019         expectations in error cases.
8020         (y1_test_data): Likewise.
8021         (yn_test_data): Likewise.
8022         * sysdeps/i386/fpu/libm-test-ulps: Update.
8023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8025 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8027         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8028         "64" to "64-v1".  Add "64-v2".
8029         (abi-64-options): Rename to ...
8030         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8031         (abi-64-condition): Rename to ...
8032         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8033         (abi-64-ld-soname): Rename to ...
8034         (abi-64-v1-ld-soname): ... this.
8035         (abi-64-v2-options): Define.
8036         (abi-64-v2-condition): Likewise.
8037         (abi-64-v2-ld-soname): Likewise.
8038         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8039         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8044 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8045             Alan Modra  <amodra@gmail.com>
8047         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8048         New versions for use with the ELFv2 ABI.
8049         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8050         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8051         declaration.
8052         (struct La_ppc64v2_retval): Likewise.
8053         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8054         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8055         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8056         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8057         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8058         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8059         Do not save or restore CR.
8060         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8061         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8062         return values for ELFv2 ABI.  Fix location of FPR return registers.
8063         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8064         updated values for _CALL_ELF == 2.
8065         (La_regs, La_retval, int_retval): Likewise.
8067 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8069         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8070         (FRAME_MIN_SIZE_PARM): Likewise.
8071         (FRAME_BACKCHAIN): Likewise.
8072         (FRAME_CR_SAVE): Likewise.
8073         (FRAME_LR_SAVE): Likewise.
8074         (FRAME_TOC_SAVE): Likewise.
8075         (FRAME_PARM_SAVE): Likewise.
8076         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8077         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8078         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8079         (call_mcount_parm_offset): New macro.
8080         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8081         (PROF): Use symbolic stack frame offsets.
8082         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8083         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8084         Redefine in terms of FRAME_MIN_SIZE.
8085         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8086         (_dl_profile_resolve): Likewise.  Update comment.
8087         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8088         symbols stack frame offsets.
8089         (__sigsetjmp): Likewise.
8090         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8091         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8092         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8093         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8096         (FRAME_BACKCHAIN): Remove.
8097         (FRAME_CR_SAVE): Likewise.
8098         (FRAME_LR_SAVE): Likewise.
8099         (FRAME_COMPILER_DW): Likewise.
8100         (FRAME_LINKER_DW): Likewise.
8101         (FRAME_TOC_SAVE): Likewise.
8102         (FRAME_PARM_SAVE): Likewise.
8103         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8104         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8105         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8107         (CHECK_SP): Use symbolic stack frame offsets.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8109         zone" instead of caller's parameter save area for temp storage.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8111         Likewise.  Also, use symbolic stack frame offsets.
8112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8113         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8114         our own stack frame instead of the caller's.
8115         (__socket): Use symbolic stack frame offsets.
8117 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8118             Alan Modra  <amodra@gmail.com>
8120         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8121         Define.
8122         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8123         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8124         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8125         New function.
8126         (elf_machine_fixup_plt): Call it.
8127         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8128         reloc arguments.
8129         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8130         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8131         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8132         r2 before calling target.
8134 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8135             Alan Modra  <amodra@gmail.com>
8137         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8138         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8139         versions of macros to support ELFv2 ABI.
8140         (LOCALENTRY): New macro.
8141         (ENTRY, EALIGN): Use it.
8142         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8143         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8144         fall through into ENTRY entry point.
8145         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8146         Only define if _CALL_ELF != 2.
8148         (elf_machine_matches_host): Verify ABI version matches.
8149         (RTLD_START): Use LOCALENTRY.
8150         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8151         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8152         (PLT_ENTRY_WORDS): New macro.
8153         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8154         (elf_machine_runtime_setup): Support ELFv2 ABI.
8155         (elf_machine_fixup_plt): Likewise.
8156         (elf_machine_plt_conflict): Likewise.
8157         (resolve_ifunc): Likewise.
8158         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8160         Likewise.
8161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8162         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8164         (makecontext): Support ELFv2 ABI.
8165         * elf/elf.h (EF_PPC64_ABI): Define.
8167 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8169         * sysdeps/powerpc/powerpc64/sysdep.h
8170         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8171         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8172         (ENTRY) [ASSEMBLER]: ... but instead here ...
8173         (EALIGN) [ASSEMBLER]: ... and here.
8174         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8175         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8176         (ENTRY_2) [!ASSEMBLER]: Use it.
8177         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8178         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8179         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8180         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8181         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8183         Use PPC64_LOAD_FUNCPTR.
8185         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8187 2013-12-04  Alan Modra  <amodra@gmail.com>
8189         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8190         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8191         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8192         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8195         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8196         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8197         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8198         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8199         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8201 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8204         (__makecontext): Fix incorrect CFI when backtracing out of
8205         context created via makecontext.
8206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8207         (__setcontext): Fix incorrect CFI during switch to new context.
8208         (__novec_setcontext): Likewise.
8210 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8212         [BZ #4772]
8213         * time/strptime_l.c (__strptime_internal): Allow modifiers
8214         in strptime.
8215         * time/tst-strptime.c (day_tests): Add testcase.
8217 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8219         * scripts/bench.pl: Skip over blank lines.
8221 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8223         [BZ #926]
8224         * manual/time.texi (Calendar Time): Clarify what timezone functions
8225         use.
8227 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8231 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8233         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8234         implementation.
8235         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8236         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8237         * debug/memset_chk.c (__memset_chk): Likewise.
8238         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8239         * debug/strncpy_chk.c: Likewise.
8241 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8243         [BZ #15268]
8244         [BZ #15425]
8245         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8246         (__ieee754_exp): For possibly underflowing results, check size of
8247         result and force underflow exception if required.
8248         * math/auto-libm-test-in: Add more tests of exp.
8249         * math/auto-libm-test-out: Regenerated.
8250         * sysdeps/i386/fpu/libm-test-ulps: Update.
8251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8253         [BZ #16283]
8254         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8255         * math/w_exp2f.c (__exp2f): Likewise.
8256         * math/w_exp2l.c (__exp2l): Likewise.
8257         * math/auto-libm-test-in: Do not allow missing errno on exp2
8258         underflow.
8259         * math/auto-libm-test-out: Regenerated.
8261 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
8263         [BZ #16274]
8264         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8265         handle filename validation.
8266         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8267         (do_open): Delete.
8269 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8271         [BZ #6786]
8272         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8273         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8274         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8275         <float.h>.
8276         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8277         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8278         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8279         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8280         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8281         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8282         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8283         * math/auto-libm-test-in: Don't allow missing errno from erfc.
8284         Add more erfc tests.
8285         * math/auto-libm-test-out: Regenerated.
8286         * sysdeps/i386/fpu/libm-test-ulps: Update.
8287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8289         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8290         exp2, expm1, j0 and j1.
8291         * math/auto-libm-test-out: Regenerated.
8292         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8293         (erfc_test_data): Likewise.
8294         (exp_test_data): Likewise.
8295         (exp_tonearest_test_data): Likewise.
8296         (exp_towardzero_test_data): Likewise.
8297         (exp_downward_test_data): Likewise.
8298         (exp_upward_test_data): Likewise.
8299         (exp10_test_data): Likewise.
8300         (exp2_test_data): Likewise.
8301         (expm1_test_data): Likewise.
8302         (j0_test_data): Likewise.
8303         (j1_test_data): Likewise.
8304         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8305         (input_flag_type): Add flag_xfail_rounding.
8306         (input_flags): Add xfail-rounding.
8307         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8308         (output_for_one_input_case): Handle flag_xfail_rounding.
8309         * sysdeps/i386/fpu/libm-test-ulps: Update.
8310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8312 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
8314         [BZ #16289]
8315         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8316         division by 0.
8318 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8320         [BZ #16195]
8321         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8322         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8323         (STAP_PROBE0): New macro.
8324         (STAP_PROBE1): Likewise.
8325         (STAP_PROBE2): Likewise.
8326         (STAP_PROBE3): Likewise.
8327         (STAP_PROBE4): Likewise.
8329 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
8331         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8333 2013-12-02  Steve Ellcey  <sellcey@mips.com>
8335         * benchtests/Makefile (bench): Add sqrt.
8336         (LDLIBS-bench-sqrt): New.
8337         * benchtests/sqrt-input: New.
8339 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
8341         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8342         (GAIH_EAI): Likewise.
8343         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8344         (gaih_inet): Likewise.
8345         (getaddrinfo): Don't use GAIH_EAI.
8347         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8348         (struct gaih): Remove definition.
8350 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8352         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8353         Use HERRNOP directly.
8355 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8359 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
8361         * math/gen-auto-libm-tests.c (test_functions): Add more
8362         single-argument functions.
8363         (special_fill_pi_2): New function.
8364         (special_fill_minus_pi_2): Likewise.
8365         (special_fill_pi_6): Likewise.
8366         (special_fill_minus_pi_6): Likewise.
8367         (special_fill_pi_3): Likewise.
8368         (special_fill_2pi_3): Likewise.
8369         (special_fill_e): Likewise.
8370         (special_fill_1_e): Likewise.
8371         (special_fill_e_minus_1): Likewise.
8372         (special_real_inputs): Add more special inputs.
8373         (output_for_one_input_case): Do not require ERANGE on underflow to
8374         zero if round-to-nearest result does not underflow to zero, unless
8375         exact results required.
8376         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8377         atan, atanh, cbrt, cos and cosh.
8378         * math/auto-libm-test-out: Regenerated.
8379         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8380         (acos_tonearest_test_data): Likewise.
8381         (acos_towardzero_test_data): Likewise.
8382         (acos_downward_test_data): Likewise.
8383         (acos_upward_test_data): Likewise.
8384         (acosh_test_data): Likewise.
8385         (asin_test_data): Likewise.
8386         (asin_tonearest_test_data): Likewise.
8387         (asin_towardzero_test_data): Likewise.
8388         (asin_upward_test_data): Likewise.
8389         (asinh_test_data): Likewise.
8390         (atan_test_data): Likewise.
8391         (atanh_test_data): Likewise.
8392         (cbrt_test_data): Likewise.
8393         (cos_test_data): Likewise.
8394         (cos_tonearest_test_data): Likewise.
8395         (cos_towardzero_test_data): Likewise.
8396         (cos_downward_test_data): Likewise.
8397         (cos_upward_test_data): Likewise.
8398         (cosh_test_data): Likewise.
8399         (cosh_tonearest_test_data): Likewise.
8400         (cosh_towardzero_test_data): Likewise.
8401         (cosh_downward_test_data): Likewise.
8402         (cosh_upward_test_data): Likewise.
8403         * sysdeps/i386/fpu/libm-test-ulps: Update.
8404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8406 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
8408         [BZ #6787]
8409         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8410         * math/w_exp10f.c (__exp10f): Likewise.
8411         * math/w_exp10l.c (__exp10l): Likewise.
8412         * math/libm-test.inc (exp10_test_data): Add more tests and expect
8413         errno settings in existing tests.
8415         [BZ #14032]
8416         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8417         precision control set to double precision.
8418         * sysdeps/i386/fpu/w_sqrt.c: New file.
8419         * math/auto-libm-test-in: Add more tests.
8420         * math/auto-libm-test-out: Update.
8422         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8423         (sqrt_test_tonearest): New function.
8424         (sqrt_towardzero_test_data): New variable.
8425         (sqrt_test_towardzero): New function.
8426         (sqrt_downward_test_data): New variable.
8427         (sqrt_test_downward): New function.
8428         (sqrt_upward_test_data): New variable.
8429         (sqrt_test_upward): New function.
8430         (main): Call the new functions.
8432         * math/gen-auto-libm-tests.c: New file.
8433         * math/auto-libm-test-in: Likewise.
8434         * math/auto-libm-test-out: New generated file.
8435         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8436         variables.
8437         (%beautify): Add generated representations of zero.
8438         (top level): Set $auto_input and call parse_auto_input.
8439         (beautify): Remove trailing "f" from hex float constants.
8440         (parse_args): Handle XFAIL_TEST.
8441         (convert_condition): New function.
8442         (or_value): Likewise.
8443         (or_cond_value): Likewise.
8444         (generate_testfile): Handle AUTO_TESTS_* lines.
8445         (parse_auto_input): New function.
8446         * math/libm-test.inc (XFAIL_TEST): New macro.
8447         (ERRNO_UNCHANGED): Update value.
8448         (ERRNO_EDOM): Likewise.
8449         (ERRNO_ERANGE): Likewise.
8450         (IGNORE_RESULT): Likewise.
8451         (TEST_COND_flt_32): New macro.
8452         (TEST_COND_dbl_64): Likewise.
8453         (TEST_COND_ldbl_96_intel): Likewise.
8454         (TEST_COND_ldbl_96_m68k): Likewise.
8455         (TEST_COND_ldbl_128): Likewise.
8456         (TEST_COND_ldbl_128ibm): Likewise.
8457         (TEST_COND_long32): Likewise.
8458         (TEST_COND_long64): Likewise.
8459         (TEST_COND_before_rounding): Likewise.
8460         (TEST_COND_after_rounding): Likewise.
8461         (enable_test): Handle XFAIL_TEST flag.
8462         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8463         with finite results.
8464         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8465         auto-libm-test-out.
8467 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8468             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8470         [BZ #16214]
8471         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8472         __tls_get_addr_internal instead of __tls_get_offset in order to
8473         avoid GOT pointer dependency.  Make rtld export
8474         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8475         __tls_get_addr since we are a __tls_get_offset platform.
8476         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8477         GOT pointer being set up before.
8478         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8480 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
8482         * manual/math.texi (Errors in Math Functions): Document accuracy
8483         goals.
8485         [BZ #15004]
8486         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8487         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8488         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8489         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8490         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8491         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8492         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8493         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8494         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8495         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8496         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8497         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8498         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8499         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8500         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8501         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8503         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8504         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8505         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8506         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8507         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8508         Likewise.
8509         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8510         Likewise.
8511         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8512         Likewise.
8513         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8514         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8515         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8516         atomic-feupdateenv and flt-rounds.
8517         * sysdeps/powerpc/nofpu/Versions (libc): Add
8518         __atomic_feholdexcept, __atomic_feclearexcept,
8519         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8520         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8521         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8522         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8523         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8524         here.
8525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8526         Update.
8528         * manual/arith.texi (FP Exceptions): Document that exceptions may
8529         not be raised when matherr is used.
8530         (Math Error Reporting): Document overflow in directed rounding
8531         modes.  Document that errno may not be set when finite values are
8532         returned on overflow.  Document intent to set errno on underflow
8533         only for underflow to zero.
8535         [BZ #16271]
8536         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8537         round-to-nearest then adjust result for other rounding modes.
8538         * include/fenv.h (fegetround): Use libm_hidden_proto.
8539         * math/fegetround.c (fegetround): Use libm_hidden_def.
8540         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8541         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8542         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8543         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8544         Likewise.
8545         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8546         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8547         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8548         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8550 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8552         [BZ #16077]
8553         * nss/Versions (libnss_files): Add
8554         _nss_files_gethostbyname3_r.
8555         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8556         New function.
8557         (HOST_DB_LOOKUP): Remove macro.
8558         (_nss_files_gethostbyname_r): Implement function without the
8559         HOST_DB_LOOKUP macro.
8560         (_nss_files_gethostbyname2_r): Likewise.
8562 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
8564         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8566 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
8568         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8569         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8570         warning.
8572 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8574         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8575         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8576         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8577         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8578         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8579         __fe_nomask_env_priv and attribute_hidden.
8580         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8581         (libc_feupdateenv_test_ppc): Likewise.
8582         (libc_feresetround_ppc): Likewise.
8583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8584         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8585         compat_symbol macro.
8586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8587         (__fe_nomask_env): Likewise.
8588         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8590 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8592         * string/Makefile: Remove ifunc tests.
8593         * string/test-string.h: Define TEST_IFUNC.
8594         * string/test-bcopy-ifunc.c: Remove.
8595         * string/test-bzero-ifunc.c: Likewise.
8596         * string/test-memccpy-ifunc.c: Likewise.
8597         * string/test-memchr-ifunc.c: Likewise.
8598         * string/test-memcmp-ifunc.c: Likewise.
8599         * string/test-memcpy-ifunc.c: Likewise.
8600         * string/test-memmem-ifunc.c: Likewise.
8601         * string/test-memmove-ifunc.c: Likewise.
8602         * string/test-mempcpy-ifunc.c: Likewise.
8603         * string/test-memrchr-ifunc.c: Likewise.
8604         * string/test-memset-ifunc.c: Likewise.
8605         * string/test-rawmemchr-ifunc.c: Likewise.
8606         * string/test-stpcpy-ifunc.c: Likewise.
8607         * string/test-stpncpy-ifunc.c: Likewise.
8608         * string/test-strcasecmp-ifunc.c: Likewise.
8609         * string/test-strcasestr-ifunc.c: Likewise.
8610         * string/test-strcat-ifunc.c: Likewise.
8611         * string/test-strchr-ifunc.c: Likewise.
8612         * string/test-strchrnul-ifunc.c: Likewise.
8613         * string/test-strcmp-ifunc.c: Likewise.
8614         * string/test-strcpy-ifunc.c: Likewise.
8615         * string/test-strcspn-ifunc.c: Likewise.
8616         * string/test-strlen-ifunc.c: Likewise.
8617         * string/test-strncasecmp-ifunc.c: Likewise.
8618         * string/test-strncat-ifunc.c: Likewise.
8619         * string/test-strncmp-ifunc.c: Likewise.
8620         * string/test-strncpy-ifunc.c: Likewise.
8621         * string/test-strnlen-ifunc.c: Likewise.
8622         * string/test-strpbrk-ifunc.c: Likewise.
8623         * string/test-strrchr-ifunc.c: Likewise.
8624         * string/test-strspn-ifunc.c: Likewise.
8625         * string/test-strstr-ifunc.c: Likewise.
8627 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8629         * benchtests/Makefile: Remove ifunc tests.
8630         * benchtests/bench-string.h: Define TEST_IFUNC.
8631         * benchtests/bench-bcopy-ifunc.c: Remove.
8632         * benchtests/bench-bzero-ifunc.c: Likewise.
8633         * benchtests/bench-memccpy-ifunc.c: Likewise.
8634         * benchtests/bench-memchr-ifunc.c: Likewise.
8635         * benchtests/bench-memcmp-ifunc.c: Likewise.
8636         * benchtests/bench-memcpy-ifunc.c: Likewise.
8637         * benchtests/bench-memmem-ifunc.c: Likewise.
8638         * benchtests/bench-memmove-ifunc.c: Likewise.
8639         * benchtests/bench-mempcpy-ifunc.c: Likewise.
8640         * benchtests/bench-memrchr-ifunc.c: Likewise.
8641         * benchtests/bench-memset-ifunc.c: Likewise.
8642         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8643         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8644         * benchtests/bench-stpcpy-ifunc.c: Likewise.
8645         * benchtests/bench-stpncpy-ifunc.c: Likewise.
8646         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8647         * benchtests/bench-strcasestr-ifunc.c: Likewise.
8648         * benchtests/bench-strcat-ifunc.c: Likewise.
8649         * benchtests/bench-strchr-ifunc.c: Likewise.
8650         * benchtests/bench-strchrnul-ifunc.c: Likewise.
8651         * benchtests/bench-strcmp-ifunc.c: Likewise.
8652         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8653         * benchtests/bench-strcpy-ifunc.c: Likewise.
8654         * benchtests/bench-strcspn-ifunc.c: Likewise.
8655         * benchtests/bench-strlen-ifunc.c: Likewise.
8656         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8657         * benchtests/bench-strncat-ifunc.c: Likewise.
8658         * benchtests/bench-strncmp-ifunc.c: Likewise.
8659         * benchtests/bench-strncpy-ifunc.c: Likewise.
8660         * benchtests/bench-strnlen-ifunc.c: Likewise.
8661         * benchtests/bench-strpbrk-ifunc.c: Likewise.
8662         * benchtests/bench-strrchr-ifunc.c: Likewise.
8663         * benchtests/bench-strsep-ifunc.c: Likewise.
8664         * benchtests/bench-strspn-ifunc.c: Likewise.
8665         * benchtests/bench-strstr-ifunc.c: Likewise.
8667 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8669         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8671 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8673         * resolv/netdb.h: Use __glibc_reserved instead __unused.
8674         * rt/aio.h: Likewise.
8675         * sysdeps/gnu/bits/utmp.h: Likewise.
8676         * sysdeps/gnu/bits/utmpx.h: Likewise.
8677         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8678         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8679         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8680         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8681         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8682         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8683         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8684         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8685         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8686         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8687         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8688         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8689         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8691         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8692         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8693         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8694         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8695         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8696         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8697         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8698         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8699         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8700         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8701         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8703         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8704         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8705         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8706         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8707         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8708         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8709         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8710         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8711         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8712         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8713         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8714         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8715         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8716         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8717         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8718         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8720 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
8722         [BZ #16245]
8723         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8724         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8726 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
8728         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8729         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8730         Likewise.
8732 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8735         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8736         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8737         (__fesetround): Remove define.
8738         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8739         rounding and exceptions handling.
8740         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8741         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8742         (__fe_nomask_env): Likewise.
8743         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8744         __fegetround instead of fegetround.
8745         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8746         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8748 2013-11-21  Roland McGrath  <roland@hack.frob.com>
8750         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8751         it's there.
8753         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8755 2013-11-21  Meador Inge  <meadori@codesourcery.com>
8757         [BZ #11157]
8758         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8759         (encrypt_r): Likewise.
8760         * malloc/obstack.h (obstack_free): Likewise.
8761         * posix/unistd.h (encrypt): Likewise.
8763 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
8765         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8766         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8767         DL_CALL_DT_FINI() that call the functions directly.
8768         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8769         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8770         * elf/dl-fini.c: Likewise.
8772 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
8774         * malloc/hooks.c (memalign_check): Add alignment rounding.
8775         * malloc/malloc.c (_mid_memalign): New function.
8776         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8777         Implement by calling _mid_memalign.
8778         * manual/probes.texi (Memory Allocation Probes): Remove
8779         memory_valloc_retry and memory_pvalloc_retry.
8781 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8783         * locale/programs/locarchive.c (open_archive): Add const
8784         qualifier to ARCHIVEFNAME and copy default fname to
8785         DEFAULT_FNAME.
8787         [BZ #15601]
8788         * libio/tst-widetext.input: Rename Oriya to Odia.
8789         * locale/iso-639.def: Likewise.
8791         * manual/probes.texi (Mathematical Function Probes): Add
8792         documentation for sin, cos, asin and acos probes.
8793         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8794         (__sin32): Add slowasin probe.
8795         (__cos32): Add slowacos probe.
8796         (__mpsin): Add slowsin probe.
8797         (__mpcos): Add slowcos probe.
8799 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
8801         [BZ #15483]
8802         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8803         thread-local __sim_exceptions_thread and global
8804         __sim_exceptions_global.
8805         (__sim_disabled_exceptions): Change to thread-local
8806         __sim_disabled_exceptions_thread and global
8807         __sim_disabled_exceptions_global.
8808         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8809         and global __sim_round_mode_global.
8810         (__simulate_exceptions): Use thread-local floating-point state and
8811         set global state from it as needed.
8812         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8813         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8814         __sim_round_mode_thread.
8815         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8816         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8817         and global __sim_exceptions_global.
8818         (__sim_disabled_exceptions): Change to thread-local
8819         __sim_disabled_exceptions_thread and global
8820         __sim_disabled_exceptions_global.
8821         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8822         and global __sim_round_mode_global.
8823         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8824         (SIM_SET_GLOBAL): Likewise.
8825         * sysdeps/powerpc/soft-fp/sfp-machine.h
8826         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8827         __sim_round_mode_thread.
8828         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8829         __sim_disabled_exceptions_thread.
8830         (__sim_exceptions): Change to __sim_exceptions_thread.
8831         (__sim_disabled_exceptions): Change to
8832         __sim_disabled_exceptions_thread.
8833         (__sim_round_mode): Change to __sim_round_mode_thread.
8834         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8835         thread-local floating-point state and set global state from it as
8836         needed.
8837         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8838         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8839         (__sim_disabled_exceptions): Remove extern declaration.
8840         (feenableexcept): Use thread-local floating-point state and set
8841         global state from it as needed.
8842         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8843         extern declaration.
8844         (__sim_disabled_exceptions): Likewise.
8845         (__sim_round_mode): Likewise.
8846         (__fegetenv): Use thread-local floating-point state.
8847         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8848         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8849         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8850         floating-point state and set global state from it as needed.
8851         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8852         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8853         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8854         Likewise.
8855         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8856         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8857         Likewise.
8858         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8859         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8860         Use __sim_round_mode_thread.
8861         * math/test-fenv-tls.c: New file.
8862         * math/Makefile (tests): Add test-fenv-tls.
8863         ($(objpfx)test-fenv-tls): Depend on
8864         $(common-objpfx)nptl/libpthread.so.
8866 2013-11-19  Andreas Schwab  <schwab@suse.de>
8868         * locale/programs/locale.c (show_info): Decode wordarray elements.
8869         * locale/categories.def (LC_MONETARY): Add element for
8870         _NL_MONETARY_CRNCYSTR.
8871         * locale/C-monetary.c (conversion_rate): New variable.
8872         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8873         element.
8875 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
8877         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8878         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8880 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8882         * elf/Makefile (tst-auxv): New test.
8883         * elf/tst-auxv.c: New
8884         * elf/rtld.c (dl_main): Adjust AT_EXECFN
8886 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
8888         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8889         (hidden_proto): Caller changed.
8890         (hidden_tls_proto): New macro.
8891         (libc_hidden_tls_proto): Likewise.
8892         (rtld_hidden_tls_proto): Likewise.
8893         (libm_hidden_tls_proto): Likewise.
8894         (libresolv_hidden_tls_proto): Likewise.
8895         (librt_hidden_tls_proto): Likewise.
8896         (libdl_hidden_tls_proto): Likewise.
8897         (libnss_files_hidden_tls_proto): Likewise.
8898         (libnsl_hidden_tls_proto): Likewise.
8899         (libnss_nisplus_hidden_tls_proto): Likewise.
8900         (libutil_hidden_tls_proto): Likewise.
8902 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8904         [BZ #10253]
8905         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8906         (decompose_rpath): Defer expansion to fillin_rpath.
8907         (_dl_init_paths): Pass linkmap to fillin_rpath.
8909 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8911         * benchtests/Makefile: Add strsep.
8912         * benchtests/bench-strsep.c: New file: strsep benchtest.
8913         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8915 2013-11-18  Andreas Schwab  <schwab@suse.de>
8917         * locale/programs/locale.c (show_info) [case byte]: Check for
8918         '\377' instead of '\177'.
8919         * locale/C-monetary.c (not_available): Always use "\377".
8920         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8921         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8922         detect unavailable sign_posn locale elements.
8923         * locale/localeconv.c (__localeconv): For grouping and
8924         mon_grouping handle "\177" and "\377" like no grouping.
8925         (INT_ELEM): New macro.  Use it to set all numeric members.
8926         * locale/programs/ld-monetary.c (monetary_read)
8927         <tok_mon_grouping>: Normalize single -1 to the empty string.
8928         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8929         Likewise.
8931 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8933         [BZ #16055]
8934         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8935         when we match (nil).
8936         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8938 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8940         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8941         (NO_TEST_INLINE): Update value.
8942         (ERRNO_UNCHANGED): Likewise.
8943         (ERRNO_EDOM): Likewise.
8944         (ERRNO_ERANGE): Likewise.
8945         (IGNORE_RESULT): Likewise.
8946         (check_float_internal): Check signs of NaN results if
8947         TEST_NAN_SIGN used.
8948         (check_complex): Pass TEST_NAN_SIGN flag through to second
8949         check_float_internal call.
8950         (copysign_test_data): Add tests with quiet NaNs as second
8951         argument.  Use TEST_NAN_SIGN.
8952         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8953         TEST_NAN_SIGN.
8954         (signbit_test_data): Add tests of quiet NaN argument.
8955         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8957         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8958         $ignore_result.
8959         (parse_args): Handle function results specified as IGNORE.
8960         * math/libm-test.inc (IGNORE_RESULT): New macro.
8961         (check_float_internal): Do not check numerical result if flag
8962         IGNORE_RESULT set.
8963         (check_complex): Pass through IGNORE_RESULT to second
8964         check_float_internal call.
8965         (check_int): Do not check numerical result if flag IGNORE_RESULT
8966         set.
8967         (check_long): Likewise.
8968         (check_bool): Likewise.
8969         (check_longlong): Likewise.
8970         (lrint_test_data): Add tests of infinite and NaN arguments.
8971         (lrint_tonearest_test_data): Likewise.
8972         (lrint_towardzero_test_data): Likewise.
8973         (lrint_downward_test_data): Likewise.
8974         (lrint_upward_test_data): Likewise.
8975         (llrint_test_data): Likewise.
8976         (llrint_tonearest_test_data): Likewise.
8977         (llrint_towardzero_test_data): Likewise.
8978         (llrint_downward_test_data): Likewise.
8979         (llrint_upward_test_data): Likewise.
8980         (lround_test_data): Likewise.
8981         (llround_test_data): Likewise.
8983         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8984         (ERRNO_UNCHANGED): Update value.
8985         (ERRNO_EDOM): Likewise.
8986         (ERRNO_ERANGE): Likewise.
8987         (NO_TEST_INLINE_FLOAT): New macro.
8988         (NO_TEST_INLINE_DOUBLE): Likewise.
8989         (enable_test): New function.
8990         (RUN_TEST_f_f): Check enable_test before running test.
8991         (RUN_TEST_2_f): Likewise.
8992         (RUN_TEST_fff_f): Likewise.
8993         (RUN_TEST_c_f): Likewise.
8994         (RUN_TEST_f_f1): Likewise.
8995         (RUN_TEST_fF_f1): Likewise.
8996         (RUN_TEST_fI_f1): Likewise.
8997         (RUN_TEST_ffI_f1): Likewise.
8998         (RUN_TEST_c_c): Likewise.
8999         (RUN_TEST_cc_c): Likewise.
9000         (RUN_TEST_f_i): Likewise.
9001         (RUN_TEST_f_i_tg): Likewise.
9002         (RUN_TEST_ff_i_tg): Likewise.
9003         (RUN_TEST_f_b): Likewise.
9004         (RUN_TEST_f_b_tg): Likewise.
9005         (RUN_TEST_f_l): Likewise.
9006         (RUN_TEST_f_L): Likewise.
9007         (RUN_TEST_fFF_11): Likewise.
9008         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9009         conditionals.
9010         (cosh_test_data): Likewise.
9011         (exp_test_data): Likewise.
9012         (expm1_test_data): Likewise.
9013         (hypot_test_data): Likewise.
9014         (pow_test_data): Likewise.
9015         (sinh_test_data): Likewise.
9016         (tanh_test_data): Likewise.
9017         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9018         flags argument.
9020         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9021         tests with quiet NaN input and output.
9022         (acosh_test_data): Likewise.
9023         (asin_test_data): Likewise.
9024         (asinh_test_data): Likewise.
9025         (atan_test_data): Likewise.
9026         (atanh_test_data): Likewise.
9027         (atan2_test_data): Likewise.
9028         (cbrt_test_data): Likewise.
9029         (cos_test_data): Likewise.
9030         (cosh_test_data): Likewise.
9031         (erf_test_data): Likewise.
9032         (erfc_test_data): Likewise.
9033         (exp_test_data): Likewise.
9034         (exp10_test_data): Likewise.
9035         (exp2_test_data): Likewise.
9036         (expm1_test_data): Likewise.
9037         (hypot_test_data): Likewise.
9038         (j0_test_data): Likewise.
9039         (j1_test_data): Likewise.
9040         (jn_test_data): Likewise.
9041         (lgamma_test_data): Likewise.
9042         (log_test_data): Likewise.
9043         (log10_test_data): Likewise.
9044         (log1p_test_data): Likewise.
9045         (log2_test_data): Likewise.
9046         (pow_test_data): Likewise.
9047         (scalb_test_data): Likewise.
9048         (sin_test_data): Likewise.
9049         (sincos_test_data): Likewise.
9050         (sinh_test_data): Likewise.
9051         (tan_test_data): Likewise.
9052         (tanh_test_data): Likewise.
9053         (tgamma_test_data): Likewise.
9054         (y0_test_data): Likewise.
9055         (y1_test_data): Likewise.
9056         (yn_test_data): Likewise.
9058         [BZ #16167]
9059         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9060         argument being NaN and avoid computations with second argument in
9061         that case.
9062         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9063         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9064         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9066 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9068         * locale/iso-639.def: Add Chitwani Tharu (the).
9070 2013-11-14  Andreas Schwab  <schwab@suse.de>
9072         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9073         word instead of empty string.
9075 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9078         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9080         (__fe_nomask_env): Likewise.
9082 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9084         * benchtests/bench-timing.h: Include time.h.
9086 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9088         [BZ #15997]
9089         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9090         to 3.4.0 for x32.
9091         * sysdeps/unix/sysv/linux/configure: Regenerated.
9093 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9095         [BZ #16151]
9096         * stdlib/strtod_l.c (round_and_return): Do not consider
9097         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9098         exponent one less than half the least subnormal exponent.
9099         * stdlib/test-strtod-round-data: Add more tests.
9100         * stdlib/tst-strtod-round.c (tests): Regenerated.
9102 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9104         [BZ #14143]
9105         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9106         (__fe_mask_env): Likewise.
9107         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9108         libm_hidden_proto and add function prototype.
9109         (__fe_mask_env): Add function prototype.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9111         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9113         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9115         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9117 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9119         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9120         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9122 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9124         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9125         of htab_find_slot().
9127 2013-11-11  David S. Miller  <davem@davemloft.net>
9129         [BZ #16150]
9130         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9131         symbol in the non-vis3 case in static builds.
9132         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9133         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9134         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9135         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9137 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9139         [BZ #387]
9140         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9141         it is empty.
9143 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9145         * benchtests/Makefile: Add bench-strtod.
9146         * benchtests/bench-strtod.c: New file: strtod benchtest
9148 2013-11-11  Andreas Schwab  <schwab@suse.de>
9150         [BZ #16153]
9151         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9152         terminating NUL in key length.
9154 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9156         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9157         Add artificial ODP entry for vDSO symbol for PPC64.
9158         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9159         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9161 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9163         [BZ #15374]
9164         * nss/getent.c (services_keys): Recognize services starting with digit.
9166 2013-11-06  David S. Miller  <davem@davemloft.net>
9168         [BZ #15985]
9169         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9170         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9172 2013-11-06  Will Newton  <will.newton@linaro.org>
9174         * manual/memory.texi (Malloc Examples): Remove register
9175         keyword from examples.
9177 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9179         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9181 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9183         [BZ #6981]
9184         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9185         depending on [__GCC_IEC_559 > 0].
9186         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9187         depending on [__GCC_IEC_559_COMPLEX > 0].
9189 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9191         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9192         to iso-639.def.
9194 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9196         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9198 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9200         [BZ #16112]
9201         * malloc/malloc (malloc_info): Do not handle first bin as
9202         special case.
9204 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9206         * locale/iso-639.def: Add Central Nahuatl (nhn).
9208 2013-11-01  Bruno Haible  <bruno@clisp.org>
9210         [BZ #7003]
9211         * manual/math.texi (BSD Random): Specify range upper bound as
9212         in POSIX.
9214 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9216         * locale/iso-639.def: Add Meadow Mari (mhr).
9218 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9220         [BZ #14752], [BZ #15763]
9221         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9222         Validate name.
9223         * rt/tst_shm.c: Add test for escaping directory.
9225 2013-10-31  Andreas Schwab  <schwab@suse.de>
9227         [BZ #15917]
9228         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9229         followed by 'x' as part of digit sequence.
9230         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9232 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9234         [BZ #16037]
9235         * configure.ac: allow GNU Make 4.0 and greater.
9236         * configure: Regenerated.
9238 2013-10-30  Will Newton  <will.newton@linaro.org>
9240         [BZ #16038]
9241         * malloc/hooks.c (memalign_check): Limit alignment to the
9242         maximum representable power of two.
9243         * malloc/malloc.c (__libc_memalign): Likewise.
9244         * malloc/tst-memalign.c (do_test): Add test for very
9245         large alignment values.
9246         * malloc/tst-posix_memalign.c (do_test): Likewise.
9248 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9250         [BZ #11087]
9251         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9252         (munmap_chunk): Likewise.
9253         (mremap_chunk): Likewise.
9255 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9257         [BZ #15799]
9258         * stdlib/div.c (div): Remove obsolete code.
9259         * stdlib/ldiv.c (ldiv): Likewise.
9260         * stdlib/lldiv.c (lldiv): Likewise.
9262 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9264         [BZ #16071]
9265         * nss/nss_files/files-XXX.c (get_contents_ret): New
9266         enumerator.
9267         (get_contents): New function.
9268         (internal_getent): Use it.  Expand size of LINEBUFLEN.
9270 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
9272         * configure.in: Moved to ...
9273         * configure.ac: ... here. Change reference to configure.in
9274         to configure.ac.
9275         * sysdeps/arm/preconfigure.ac: ... here.
9276         configure.in to configure.ac.
9277         * sysdeps/gnu/configure.in: Moved to ...
9278         * sysdeps/gnu/configure.ac: ... here.
9279         * sysdeps/i386/configure.in: Moved to ...
9280         * sysdeps/i386/configure.ac: ... here.
9281         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9282         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9283         * sysdeps/mach/configure.in: Moved to ...
9284         * sysdeps/mach/configure.ac: ... here.
9285         * sysdeps/mach/hurd/configure.in: Moved to ...
9286         * sysdeps/mach/hurd/configure.ac: ... here.
9287         * sysdeps/powerpc/configure.in: Moved to ...
9288         * sysdeps/powerpc/configure.ac: ... here.
9289         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9290         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9291         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9292         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9293         * sysdeps/s390/s390-32/configure.in: Moved to ...
9294         * sysdeps/s390/s390-32/configure.ac: ... here.
9295         * sysdeps/s390/s390-64/configure.in: Moved to ...
9296         * sysdeps/s390/s390-64/configure.ac: ... here.
9297         * sysdeps/sh/configure.in: Moved to ...
9298         * sysdeps/sh/configure.ac: ... here.
9299         * sysdeps/sparc/configure.in: Moved to ...
9300         * sysdeps/sparc/configure.ac: ... here.
9301         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9302         * sysdeps/unix/sysv/linux/configure.ac: ... here.
9303         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9304         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9305         * sysdeps/x86_64/configure.in: Moved to ...
9306         * sysdeps/x86_64/configure.ac: ... here.
9307         * sysdeps/x86_64/preconfigure.in: Moved to ...
9308         * sysdeps/x86_64/preconfigure.ac: ... here.
9309         * aclocal.m4: Change reference to configure.in to configure.ac.
9310         * config.h.in: Likewise.
9311         * manual/install.texi: Likewise.
9312         * manual/maint.texi: Likewise.
9313         * Makefile: Likewise.
9314         * malloc/Makefile: Likewise.
9315         * nscd/Makefile: Likewise.
9316         * Makeconfig: Change reference to configure.in and
9317         preconfigure.in to configure.ac and preconfigure.ac
9318         respectively.
9319         * INSTALL: Regenerated.
9320         * configure: Likewise.
9321         * sysdeps/gnu/configure: Likewise.
9322         * sysdeps/i386/configure: Likewise.
9323         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9324         * sysdeps/mach/configure: Likewise.
9325         * sysdeps/mach/hurd/configure: Likewise.
9326         * sysdeps/powerpc/configure: Likewise.
9327         * sysdeps/powerpc/powerpc32/configure: Likewise.
9328         * sysdeps/powerpc/powerpc64/configure: Likewise.
9329         * sysdeps/s390/s390-32/configure: Likewise.
9330         * sysdeps/s390/s390-64/configure: Likewise.
9331         * sysdeps/sh/configure: Likewise.
9332         * sysdeps/sparc/configure: Likewise.
9333         * sysdeps/unix/sysv/linux/configure: Likewise.
9334         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9335         * sysdeps/x86_64/configure: Likewise.
9336         * sysdeps/x86_64/preconfigure: Likewise.
9338 2013-10-29  Andreas Schwab  <schwab@suse.de>
9340         * stdio-common/Makefile (tst-swscanf-ENV): Define.
9342 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9344         * benchtests/pow-inputs: Add new inputs.
9346         * benchtests/exp-inputs: Add new inputs.
9348         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9349         conditional check for return value.
9350         (__cos32): Likewise.
9352 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9354         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9355         to provide a boost for large inputs with word alignment.
9356         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9357         implementation based on optimized PPC64 strcpy.
9358         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9359         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9360         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9361         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9363 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9365         [BZ #2801]
9366         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9368 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9370         [BZ #14876]
9371         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9372         * time/tst-strptime.c (day_tests): Add testcase.
9374 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9376         [BZ #14029]
9377         * manual/pattern.texi: Acknowledge that fnmatch can fail.
9379 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
9381         [BZ #16074]
9382         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9383         MAP_FAILED on error.
9385 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9387         [BZ #16072]
9388         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9389         heap for large requests.
9391 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
9393         [BZ #9954]
9394         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9395         result if the result has no associated interface.
9396         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9397         interface for all 127.X.Y.Z addresses.
9399 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
9401         * locale/iso-639.def: Add Ligurian (lij)
9403 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
9405         [BZ #15825]
9406         * sunrpc/rpc_main.c: Document rpcgen -5.
9408 2013-10-19  Michael Stahl  <mstahl@redhat.com>
9410         * elf/rtld.c (do_preload): Print the reason why preloading failed.
9412 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9414         [BZ #10278]
9415         * posix/glob.c: Match only directories when trailing slash is present.
9416         * posix/tst-gnuglob.c (my_opendir): Do not open files.
9417         (main): Add testcase.
9419 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9421         [BZ #15670]
9422         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9424 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
9426         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9427         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9428         AUTH_DES and cindex for FIPS 140-2.
9429         (DES Encryption): Add cindex FIPS 46-3.
9431         * locale/locarchive.h (struct locarhandle): Add fname.
9432         * locale/programs/localedef.c (main): Pass ARGV[remaining]
9433         if an optional argument was specified to --list-archive,
9434         otherwise NULL.
9435         * locale/programs/locarchive.c (show_archive_content): Take new
9436         argument fname and pass it via ah.fname to open_archive.
9437         * locale/programs/localedef.h: Update decl.
9438         (open_archive): If AH->fname is non-null, open that file
9439         rather than the default file name, and don't ignore ENOENT.
9440         (create_archive): Set AH.fname to NULL.
9441         (delete_locales_from_archive): Likewise.
9442         (add_locales_to_archive): Likewise.
9443         * locale/programs/locfile.c (write_all_categories): Likewise.
9445 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
9446             Aldy Hernandez  <aldyh@redhat.com>
9448         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9449         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9450         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9451         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9452         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9453         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9454         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9455         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9456         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9457         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9458         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9459         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9460         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9461         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9462         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9463         Likewise.
9464         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9465         Likewise.
9466         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9467         Likewise.
9468         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9469         Likewise.
9470         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9471         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9472         Likewise.
9473         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9474         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9475         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9476         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9477         Likewise.
9478         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9479         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9480         * sysdeps/powerpc/preconfigure: Likewise.
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9482         Likewise.
9483         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9484         Replace contents of file by #include of <fenv_libc.h>.
9485         * sysdeps/powerpc/soft-fp/sfp-machine.h
9486         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9487         and <sys/prctl.h>.
9488         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9491         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9492         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9493         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9498         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9501         Allow copysignl PLT reference to be missing.
9503 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
9504             Joseph Myers  <joseph@codesourcery.com
9506         [BZ #15948]
9507         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9508         single character.
9509         (add_to_tablewc): Assert sequence of wide characters is nonempty.
9511 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9513         * elf/tst-tls-dlinfo.c: Don't include tls.h.
9514         * elf/tst-tls1.c: Likewise.
9515         * elf/tst-tls10.h: Likewise.
9516         * elf/tst-tls14.c: Likewise.
9517         * elf/tst-tls2.c: Likewise.
9518         * elf/tst-tls3.c: Likewise.
9519         * elf/tst-tls4.c: Likewise.
9520         * elf/tst-tls5.c: Likewise.
9521         * elf/tst-tls6.c: Likewise.
9522         * elf/tst-tls7.c: Likewise.
9523         * elf/tst-tls8.c: Likewise.
9524         * elf/tst-tls9.c: Likewise.
9525         * elf/tst-tlsmod1.c: Likewise.
9526         * elf/tst-tlsmod13.c: Likewise.
9527         * elf/tst-tlsmod13a.c: Likewise.
9528         * elf/tst-tlsmod14a.c: Likewise.
9529         * elf/tst-tlsmod16a.c: Likewise.
9530         * elf/tst-tlsmod16b.c: Likewise.
9531         * elf/tst-tlsmod2.c: Likewise.
9532         * elf/tst-tlsmod3.c: Likewise.
9533         * elf/tst-tlsmod4.c: Likewise.
9534         * elf/tst-tlsmod5.c: Likewise.
9535         * elf/tst-tlsmod6.c: Likewise.
9537 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
9539         [BZ #12486]
9540         * malloc/malloc.c: remove checks for statistics.
9542 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9544         [BZ #15277]
9545         * inet/inet_net.c (inet_network): Detect additional invalid strings.
9546         * inet/tst-network.c: Add testcase.
9548 2013-10-17  Andreas Schwab  <schwab@suse.de>
9550         [BZ #15218]
9551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9552         to determine canonical name.
9554 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9556         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9557         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9559         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9561         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9562         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9563         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9564         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9565         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9566         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9567         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9568         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9569         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9570         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9571         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9572         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9573         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9574         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9575         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9576         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9577         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9578         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9579         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9580         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9581         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9582         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9583         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9584         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9585         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9586         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9588         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9589         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9590         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9591         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9592         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9593         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9594         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9595         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9596         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9597         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9598         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9599         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9600         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9601         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9602         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9603         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9604         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9605         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9606         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9607         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9608         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9609         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9610         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9611         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9612         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9613         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9615 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
9617         [BZ #16041]
9618         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9619         make result into a quiet NaN.
9621 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
9623         * soft-fp/adddf3.c: Fix horizontal whitespace.
9624         * soft-fp/addsf3.c: Likewise.
9625         * soft-fp/addtf3.c: Likewise.
9626         * soft-fp/divdf3.c: Likewise.
9627         * soft-fp/divsf3.c: Likewise.
9628         * soft-fp/divtf3.c: Likewise.
9629         * soft-fp/double.h: Likewise.
9630         * soft-fp/eqdf2.c: Likewise.
9631         * soft-fp/eqsf2.c: Likewise.
9632         * soft-fp/eqtf2.c: Likewise.
9633         * soft-fp/extenddftf2.c: Likewise.
9634         * soft-fp/extended.h: Likewise.
9635         * soft-fp/extendsfdf2.c: Likewise.
9636         * soft-fp/extendsftf2.c: Likewise.
9637         * soft-fp/extendxftf2.c: Likewise.
9638         * soft-fp/fixdfdi.c: Likewise.
9639         * soft-fp/fixdfsi.c: Likewise.
9640         * soft-fp/fixdfti.c: Likewise.
9641         * soft-fp/fixsfdi.c: Likewise.
9642         * soft-fp/fixsfsi.c: Likewise.
9643         * soft-fp/fixsfti.c: Likewise.
9644         * soft-fp/fixtfdi.c: Likewise.
9645         * soft-fp/fixtfsi.c: Likewise.
9646         * soft-fp/fixtfti.c: Likewise.
9647         * soft-fp/fixunsdfdi.c: Likewise.
9648         * soft-fp/fixunsdfsi.c: Likewise.
9649         * soft-fp/fixunsdfti.c: Likewise.
9650         * soft-fp/fixunssfdi.c: Likewise.
9651         * soft-fp/fixunssfsi.c: Likewise.
9652         * soft-fp/fixunssfti.c: Likewise.
9653         * soft-fp/fixunstfdi.c: Likewise.
9654         * soft-fp/fixunstfsi.c: Likewise.
9655         * soft-fp/fixunstfti.c: Likewise.
9656         * soft-fp/floatdidf.c: Likewise.
9657         * soft-fp/floatdisf.c: Likewise.
9658         * soft-fp/floatditf.c: Likewise.
9659         * soft-fp/floatsidf.c: Likewise.
9660         * soft-fp/floatsisf.c: Likewise.
9661         * soft-fp/floatsitf.c: Likewise.
9662         * soft-fp/floattidf.c: Likewise.
9663         * soft-fp/floattisf.c: Likewise.
9664         * soft-fp/floattitf.c: Likewise.
9665         * soft-fp/floatundidf.c: Likewise.
9666         * soft-fp/floatundisf.c: Likewise.
9667         * soft-fp/floatunditf.c: Likewise.
9668         * soft-fp/floatunsidf.c: Likewise.
9669         * soft-fp/floatunsisf.c: Likewise.
9670         * soft-fp/floatunsitf.c: Likewise.
9671         * soft-fp/floatuntidf.c: Likewise.
9672         * soft-fp/floatuntisf.c: Likewise.
9673         * soft-fp/floatuntitf.c: Likewise.
9674         * soft-fp/fmadf4.c: Likewise.
9675         * soft-fp/fmasf4.c: Likewise.
9676         * soft-fp/fmatf4.c: Likewise.
9677         * soft-fp/gedf2.c: Likewise.
9678         * soft-fp/gesf2.c: Likewise.
9679         * soft-fp/getf2.c: Likewise.
9680         * soft-fp/ledf2.c: Likewise.
9681         * soft-fp/lesf2.c: Likewise.
9682         * soft-fp/letf2.c: Likewise.
9683         * soft-fp/muldf3.c: Likewise.
9684         * soft-fp/mulsf3.c: Likewise.
9685         * soft-fp/multf3.c: Likewise.
9686         * soft-fp/negdf2.c: Likewise.
9687         * soft-fp/negsf2.c: Likewise.
9688         * soft-fp/negtf2.c: Likewise.
9689         * soft-fp/op-1.h: Likewise.
9690         * soft-fp/op-2.h: Likewise.
9691         * soft-fp/op-4.h: Likewise.
9692         * soft-fp/op-8.h: Likewise.
9693         * soft-fp/op-common.h: Likewise.
9694         * soft-fp/quad.h: Likewise.
9695         * soft-fp/single.h: Likewise.
9696         * soft-fp/soft-fp.h: Likewise.
9697         * soft-fp/sqrtdf2.c: Likewise.
9698         * soft-fp/sqrtsf2.c: Likewise.
9699         * soft-fp/sqrttf2.c: Likewise.
9700         * soft-fp/subdf3.c: Likewise.
9701         * soft-fp/subsf3.c: Likewise.
9702         * soft-fp/subtf3.c: Likewise.
9703         * soft-fp/truncdfsf2.c: Likewise.
9704         * soft-fp/trunctfdf2.c: Likewise.
9705         * soft-fp/trunctfsf2.c: Likewise.
9706         * soft-fp/trunctfxf2.c: Likewise.
9707         * soft-fp/unorddf2.c: Likewise.
9708         * soft-fp/unordsf2.c: Likewise.
9709         * soft-fp/unordtf2.c: Likewise.
9711 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
9713         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9714         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9716 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
9718         * elf/dl-libc.c: Clear initfini list after freeing.
9720 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
9722         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9723         * soft-fp/addsf3.c: Likewise.
9724         * soft-fp/addtf3.c: Likewise.
9725         * soft-fp/divdf3.c: Likewise.
9726         * soft-fp/divsf3.c: Likewise.
9727         * soft-fp/divtf3.c: Likewise.
9728         * soft-fp/double.h: Likewise.
9729         * soft-fp/eqdf2.c: Likewise.
9730         * soft-fp/eqsf2.c: Likewise.
9731         * soft-fp/eqtf2.c: Likewise.
9732         * soft-fp/extenddftf2.c: Likewise.
9733         * soft-fp/extended.h: Likewise.
9734         * soft-fp/extendsfdf2.c: Likewise.
9735         * soft-fp/extendsftf2.c: Likewise.
9736         * soft-fp/extendxftf2.c: Likewise.
9737         * soft-fp/fixdfdi.c: Likewise.
9738         * soft-fp/fixdfsi.c: Likewise.
9739         * soft-fp/fixdfti.c: Likewise.
9740         * soft-fp/fixsfdi.c: Likewise.
9741         * soft-fp/fixsfsi.c: Likewise.
9742         * soft-fp/fixsfti.c: Likewise.
9743         * soft-fp/fixtfdi.c: Likewise.
9744         * soft-fp/fixtfsi.c: Likewise.
9745         * soft-fp/fixtfti.c: Likewise.
9746         * soft-fp/fixunsdfdi.c: Likewise.
9747         * soft-fp/fixunsdfsi.c: Likewise.
9748         * soft-fp/fixunsdfti.c: Likewise.
9749         * soft-fp/fixunssfdi.c: Likewise.
9750         * soft-fp/fixunssfsi.c: Likewise.
9751         * soft-fp/fixunssfti.c: Likewise.
9752         * soft-fp/fixunstfdi.c: Likewise.
9753         * soft-fp/fixunstfsi.c: Likewise.
9754         * soft-fp/fixunstfti.c: Likewise.
9755         * soft-fp/floatdidf.c: Likewise.
9756         * soft-fp/floatdisf.c: Likewise.
9757         * soft-fp/floatditf.c: Likewise.
9758         * soft-fp/floatsidf.c: Likewise.
9759         * soft-fp/floatsisf.c: Likewise.
9760         * soft-fp/floatsitf.c: Likewise.
9761         * soft-fp/floattidf.c: Likewise.
9762         * soft-fp/floattisf.c: Likewise.
9763         * soft-fp/floattitf.c: Likewise.
9764         * soft-fp/floatundidf.c: Likewise.
9765         * soft-fp/floatundisf.c: Likewise.
9766         * soft-fp/floatunsidf.c: Likewise.
9767         * soft-fp/floatunsisf.c: Likewise.
9768         * soft-fp/floatuntidf.c: Likewise.
9769         * soft-fp/floatuntisf.c: Likewise.
9770         * soft-fp/floatuntitf.c: Likewise.
9771         * soft-fp/fmadf4.c: Likewise.
9772         * soft-fp/fmasf4.c: Likewise.
9773         * soft-fp/fmatf4.c: Likewise.
9774         * soft-fp/gedf2.c: Likewise.
9775         * soft-fp/gesf2.c: Likewise.
9776         * soft-fp/getf2.c: Likewise.
9777         * soft-fp/ledf2.c: Likewise.
9778         * soft-fp/lesf2.c: Likewise.
9779         * soft-fp/letf2.c: Likewise.
9780         * soft-fp/muldf3.c: Likewise.
9781         * soft-fp/mulsf3.c: Likewise.
9782         * soft-fp/multf3.c: Likewise.
9783         * soft-fp/negdf2.c: Likewise.
9784         * soft-fp/negsf2.c: Likewise.
9785         * soft-fp/negtf2.c: Likewise.
9786         * soft-fp/op-1.h: Likewise.
9787         * soft-fp/op-2.h: Likewise.
9788         * soft-fp/op-4.h: Likewise.
9789         * soft-fp/op-8.h: Likewise.
9790         * soft-fp/op-common.h: Likewise.
9791         * soft-fp/quad.h: Likewise.
9792         * soft-fp/single.h: Likewise.
9793         * soft-fp/soft-fp.h: Likewise.
9794         * soft-fp/sqrtdf2.c: Likewise.
9795         * soft-fp/sqrtsf2.c: Likewise.
9796         * soft-fp/sqrttf2.c: Likewise.
9797         * soft-fp/subdf3.c: Likewise.
9798         * soft-fp/subsf3.c: Likewise.
9799         * soft-fp/subtf3.c: Likewise.
9800         * soft-fp/truncdfsf2.c: Likewise.
9801         * soft-fp/trunctfdf2.c: Likewise.
9802         * soft-fp/trunctfsf2.c: Likewise.
9803         * soft-fp/trunctfxf2.c: Likewise.
9804         * soft-fp/unorddf2.c: Likewise.
9805         * soft-fp/unordsf2.c: Likewise.
9806         * soft-fp/unordtf2.c: Likewise.
9808 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
9810         [BZ #15672]
9811         * misc/error.c (error_tail): Fix possible buffer overflow.
9813 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
9815         [BZ #13028]
9816         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9817         address.
9819 2013-10-14  P. J. McDermott  <pj@pehjota.net>
9821         [BZ #832]
9822         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
9823         testing pipefail option.
9825 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9827         * soft-fp/double.h: Indent preprocessor directives inside #if.
9828         * soft-fp/extended.h: Likewise.
9829         * soft-fp/op-2.h: Likewise.
9830         * soft-fp/op-4.h: Likewise.
9831         * soft-fp/op-common.h: Likewise.
9832         * soft-fp/quad.h: Likewise.
9833         * soft-fp/single.h: Likewise.
9834         * soft-fp/soft-fp.h: Likewise.
9836 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
9838         * iconv/iconv_prog.c: Fix typos.
9839         * stdio-common/psiginfo-data.h: Likewise.
9841 2013-10-12   Reuben Thomas <rrt@sc3d.org>
9843         [BZ #15764]
9844         * locale/setlocale.c: Fix typo.
9846 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9848         [BZ #16036]
9849         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9850         signaling NaN arguments.
9851         * soft-fp/unordsf2.c (__unordsf2): Likewise.
9852         * soft-fp/unordtf2.c (__unordtf2): Likewise.
9854         [BZ #14910]
9855         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9856         unordered operands.
9857         * soft-fp/gesf2.c (__gesf2): Likewise.
9858         * soft-fp/getf2.c (__getf2): Likewise.
9859         * soft-fp/ledf2.c (__ledf2): Likewise.
9860         * soft-fp/lesf2.c (__lesf2): Likewise.
9861         * soft-fp/letf2.c (__letf2): Likewise.
9863         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9864         * soft-fp/eqsf2.c (__eqsf2): Likewise.
9865         * soft-fp/eqtf2.c (__eqtf2): Likewise.
9866         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9867         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9868         * soft-fp/fixdfti.c (__fixdfti): Likewise.
9869         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9870         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9871         * soft-fp/fixsfti.c (__fixsfti): Likewise.
9872         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9873         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9874         * soft-fp/fixtfti.c (__fixtfti): Likewise.
9875         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9876         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9877         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9878         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9879         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9880         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9881         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9882         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9883         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9884         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9885         * soft-fp/floatdisf.c (__floatdisf): Likewise.
9886         * soft-fp/floatsisf.c (__floatsisf): Likewise.
9887         * soft-fp/floattidf.c (__floattidf): Likewise.
9888         * soft-fp/floattisf.c (__floattisf): Likewise.
9889         * soft-fp/floattitf.c (__floattitf): Likewise.
9890         * soft-fp/floatundidf.c (__floatundidf): Likewise.
9891         * soft-fp/floatundisf.c (__floatundisf): Likewise.
9892         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9893         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9894         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9895         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9896         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9897         * soft-fp/gesf2.c (__gesf2): Likewise.
9898         * soft-fp/getf2.c (__getf2): Likewise.
9899         * soft-fp/ledf2.c (__ledf2): Likewise.
9900         * soft-fp/lesf2.c (__lesf2): Likewise.
9901         * soft-fp/letf2.c (__letf2): Likewise.
9903         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9904         Undefine and redefine.
9905         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9906         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9907         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9908         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9909         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9910         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9911         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9912         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9913         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9914         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9915         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9916         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9917         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9918         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9919         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9921         [BZ #16032]
9922         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9923         without decrementing exponent if mantissa >= that for the
9924         denominator, not >.
9925         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9926         denominator, not >.  Decrement exponent in < case instead of
9927         incrementing in >= case.
9928         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9929         without decrementing exponent if mantissa >= that for the
9930         denominator, not >.
9932         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9933         computing saturated result for unsigned overflow.
9935 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9936             Jeff Law  <law@redhat.com>
9938         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9939         (atan2Mp): Add systemtap probe marker.
9940         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9941         (__ieee754_log): Add systemtap probe marker.
9942         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9943         (atanMp): Add systemtap probe marker.
9944         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9945         (tanMp): Add systemtap probe marker.
9946         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9947         (__slowexp): Add systemtap probe marker.
9948         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9949         (__slowpow): Add systemtap probe marker.
9950         * manual/probes.texi: Document probes.
9952 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9954         [BZ #15362]
9955         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9956         written.
9957         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9958         written.
9959         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9960         written to buffer but not flushed.
9961         * libio/iofwrite_u.c:  Likewise.
9962         * libio/iopadn.c:  Return bytes returned even if EOF was
9963         encountered.
9964         * libio/iowpadn.c:  Likewise.
9965         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9966         if _IO_padn does not write the whole buffer.
9967         [!COMPILE_WPRINTF] (PAD): Likewise.
9969 2013-10-10  David S. Miller  <davem@davemloft.net>
9971         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9972         directory block.
9974 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9976         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9977         instead of FSF address.
9978         * soft-fp/fixdfti.c: Likewise.
9979         * soft-fp/fixsfti.c: Likewise.
9980         * soft-fp/fixtfti.c: Likewise.
9981         * soft-fp/fixunsdfti.c: Likewise.
9982         * soft-fp/fixunssfti.c: Likewise.
9983         * soft-fp/fixunstfti.c: Likewise.
9984         * soft-fp/floattidf.c: Likewise.
9985         * soft-fp/floattisf.c: Likewise.
9986         * soft-fp/floattitf.c: Likewise.
9987         * soft-fp/floatuntidf.c: Likewise.
9988         * soft-fp/floatuntisf.c: Likewise.
9989         * soft-fp/floatuntitf.c: Likewise.
9990         * soft-fp/trunctfxf2.c: Likewise.
9992         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9993         * soft-fp/fixdfti.c: Likewise.
9994         * soft-fp/fixsfti.c: Likewise.
9995         * soft-fp/fixtfti.c: Likewise.
9996         * soft-fp/fixunsdfti.c: Likewise.
9997         * soft-fp/fixunssfti.c: Likewise.
9998         * soft-fp/fixunstfti.c: Likewise.
9999         * soft-fp/floattidf.c: Likewise.
10000         * soft-fp/floattisf.c: Likewise.
10001         * soft-fp/floattitf.c: Likewise.
10002         * soft-fp/floatuntidf.c: Likewise.
10003         * soft-fp/floatuntisf.c: Likewise.
10004         * soft-fp/floatuntitf.c: Likewise.
10005         * soft-fp/trunctfxf2.c: Likewise.
10007 2013-10-10  David S. Miller  <davem@davemloft.net>
10009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10011 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10013         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10014         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10015         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10016         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10017         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10018         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10019         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10022         for NaNs before doing comparisons on argument.
10023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10024         Likewise.
10026 2013-10-10  Will Newton  <will.newton@linaro.org>
10028         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10029         passed to _int_memalign does not overflow.
10031 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10033         * scripts/bench.pl: Add include-sources directive.
10034         * benchtests/README: Update documentation.
10036 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10038         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10039         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10040         instead of FP_INIT_ROUNDMODE.
10041         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10042         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10044         [BZ #16034]
10045         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10046         copy class of input value.
10047         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10048         not handle exceptions.
10049         * soft-fp/negsf2.c (__negsf2): Likewise.
10050         * soft-fp/negtf2.c (__negtf2): Likewise.
10051         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10053 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10055         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10056         semicolon.  From Linux kernel.
10058 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10060         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10062 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10064         [BZ #156]
10065         * manual/socket.texi: Added statement about buffer
10066         for gethostbyname2_r.
10068 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10070         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10071         Use .p2align directive instead, throughout.
10072         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10073         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10074         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10075         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10077         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10078         * sysdeps/x86_64/strchr.S: Likewise.
10079         * sysdeps/x86_64/strrchr.S: Likewise.
10081 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10083         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10085         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10087         * sysdeps/generic/math_private.h (__mpsin1): Remove
10088         declaration.
10089         (__mpcos1): Likewise.
10090         (__mpsin): New argument __range_reduce.
10091         (__mpcos): Likewise.
10092         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10093         (slow): Use __mpsin and __mpcos.
10094         (slow1): Likewise.
10095         (slow2): Likewise.
10096         (sloww): Likewise.
10097         (sloww1): Likewise.
10098         (sloww2): Likewise.
10099         (bsloww): Likewise.
10100         (bsloww1): Likewise.
10101         (bsloww2): Likewise.
10102         (cslow2): Likewise.
10103         (csloww): Likewise.
10104         (csloww1): Likewise.
10105         (csloww2): Likewise.
10106         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10107         range_reduce.  Merge in __mpsin1.
10108         (__mpcos): Likewise.
10109         (__mpsin1): Remove.
10110         (__mpcos1): Likewise.
10112 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10114         * locale/loadlocale.c (_nl_intern_locale_data): Use
10115         LOCFILE_ALIGNED_P.
10116         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10117         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10118         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10119         obstack data is appropriately aligned.
10120         (obstack_int32_grow_fast): Likewise.
10121         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10122         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10123         (add_locale_uint32_array): Likewise.
10125 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10127         * benchtests/Makefile: Remove ARGLIST and RET variables.
10128         ($(objpfx)bench-%.c): Pass only function name to the script.
10129         * benchtests/README: Update documentation.
10130         * benchtests/acos-inputs: Add new directives.
10131         * benchtests/acosh-inputs: Likewise.
10132         * benchtests/asin-inputs: Likewise.
10133         * benchtests/asinh-inputs: Likewise.
10134         * benchtests/atan-inputs: Likewise.
10135         * benchtests/atanh-inputs: Likewise.
10136         * benchtests/cos-inputs: Likewise.
10137         * benchtests/cosh-inputs: Likewise.
10138         * benchtests/exp-inputs: Likewise.
10139         * benchtests/log-inputs: Likewise.
10140         * benchtests/pow-inputs: Likewise.
10141         * benchtests/rint-inputs: Likewise.
10142         * benchtests/sin-inputs: Likewise.
10143         * benchtests/sinh-inputs: Likewise.
10144         * benchtests/tan-inputs: Likewise.
10145         * benchtests/tanh-inputs: Likewise.
10146         * scripts/bench.pl: Add support for new directives.
10148 2013-10-07  Alan Modra  <amodra@gmail.com>
10150         * README: Fix careless merge.
10152 2013-10-05  Alan Modra  <amodra@gmail.com>
10154         * NEWS: Mention powerpc64le support and bugs fixed.
10155         * README: Both big-endian and little-endian powerpc64 supported.
10157 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10159         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10160         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10161         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10162         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10164 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10166         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10167         match prototype.
10169 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10171         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10172         Move -mhard-float appending from
10173         ports/sysdeps/powerpc/powerpc32/Makefile.
10174         [$(with-fp) = yes] (ASFLAGS): Likewise.
10175         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10176         * sysdeps/powerpc/nofpu: Move directory from
10177         ports/sysdeps/powerpc/nofpu.
10178         * sysdeps/powerpc/soft-fp: Move directory from
10179         ports/sysdeps/powerpc/soft-fp.
10180         * sysdeps/powerpc/powerpc32/405: Move directory from
10181         ports/sysdeps/powerpc/powerpc32/405.
10182         * sysdeps/powerpc/powerpc32/440: Move directory from
10183         ports/sysdeps/powerpc/powerpc32/440.
10184         * sysdeps/powerpc/powerpc32/464: Move directory from
10185         ports/sysdeps/powerpc/powerpc32/464.
10186         * sysdeps/powerpc/powerpc32/476: Move directory from
10187         ports/sysdeps/powerpc/powerpc32/476.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10189         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10191         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10193         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10195         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10197         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10198         * README: Update for powerpc-*-linux-gnu software floating point
10199         support in libc.
10201         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10202         case to powerpc/powerpc32*.
10203         * sysdeps/unix/sysv/linux/configure: Regenerated.
10205         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10206         (_FPU_MASK_OM): Define as 0x04.
10207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10209         0x00c10080.
10210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10211         0x0000003c.
10212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10215         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10216         getcontext_e500.
10217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10218         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10219         setcontext_e500.
10220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10221         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10222         and setcontext_e500.
10224 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10226         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10228 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10230         * manual/threads.texi (Default Thread Attributes): Fix typo.
10232 2013-10-04  Will Newton  <will.newton@linaro.org>
10234         * malloc/Makefile: Add tst-memalign.
10235         * malloc/tst-memalign.c: New file.
10237         * malloc/tst-posix_memalign.c: Add comments.
10238         (do_test): Add comments and call free on all potentially
10239         allocated pointers. Add space after cast.
10241         * malloc/tst-pvalloc.c: Add comments.
10242         (do_test): Add comments and call free on all potentially
10243         allocated pointers. Remove duplicate check for NULL pointer.
10244         Add space after cast.
10246         * malloc/tst-valloc.c: Add comments.
10247         (do_test): Add comments and call free on all potentially
10248         allocated pointers. Remove duplicate check for NULL pointer.
10249         Add space after cast.
10251 2013-10-04  Alan Modra  <amodra@gmail.com>
10253         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10254         Use stdint types in rather than __attribute__((mode())).
10255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10257 2013-10-04  Alan Modra  <amodra@gmail.com>
10259         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10260         Correct handling of unaligned relocs for little-endian.
10261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10263 2013-10-04  Alan Modra  <amodra@gmail.com>
10265         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10266         * configure: Regenerate.
10267         * nptl/shlib-versions: Powerpc*le starts at 2.18.
10268         * shlib-versions: Likewise.
10270 2013-10-04  Alan Modra  <amodra@gmail.com>
10272         * string/tester.c (test_memrchr): Increment reported test cycle.
10274 2013-10-04  Alan Modra  <amodra@gmail.com>
10276         * string/test-memcpy.c (do_one_test): When reporting errors, print
10277         string address and don't overrun end of string.
10279 2013-10-04  Alan Modra  <amodra@gmail.com>
10281         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10282         insrdi.  Make better use of reg selection to speed exit slightly.
10283         Schedule entry path a little better.  Remove useless "are we done"
10284         checks on entry to main loop.  Handle wrapping around zero address.
10285         Correct main loop count.  Handle single left-over word from main
10286         loop inline rather than by using loop_small.  Remove extra word
10287         case in loop_small caused by wrong loop count.  Add little-endian
10288         support.
10289         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
10291         cache hint.
10292         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10293         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10294         support.  Avoid rlwimi.
10295         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10297 2013-10-04  Alan Modra  <amodra@gmail.com>
10299         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10300         insrdi.  Formatting.
10301         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10302         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10303         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10304         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10305         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10306         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10308 2013-10-04  Alan Modra  <amodra@gmail.com>
10310         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10311         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10312         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10313         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10314         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10315         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10316         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10317         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10318         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
10319         use of regs.  Use power7 mtocrf.  Tidy function tails.
10321 2013-10-04  Alan Modra  <amodra@gmail.com>
10323         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10324         Formatting.  Consistently use rXXX register defines or rN defines.
10325         Use early exit labels that avoid restoring unused non-volatile regs.
10326         Make cr field use more consistent with rWORDn compares.  Rename
10327         regs used as shift registers for unaligned loop, using rN defines
10328         for short lifetime/multiple use regs.
10329         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10330         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
10331         addi 1,1,64 to pop stack frame.  Simplify return value code.
10332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10334 2013-10-04  Alan Modra  <amodra@gmail.com>
10336         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10337         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
10338         rather than rlwimi.
10339         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10340         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10341         little-endian support.  Correct typos.
10342         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
10343         rather than rlwimi.
10344         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
10345         in loop and entry code to keep "and." results.
10346         (strchr): Add little-endian support.  Comment.  Move cntlzd
10347         earlier in tail.
10348         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10350 2013-10-04  Alan Modra  <amodra@gmail.com>
10352         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10353         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10354         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10355         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10357 2013-10-04  Alan Modra  <amodra@gmail.com>
10359         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10360         (rTMP): Define as r11.
10361         (strcmp): Add little-endian support.  Optimise tail.
10362         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10363         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10364         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10365         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10366         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10368         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10370 2013-10-04  Alan Modra  <amodra@gmail.com>
10372         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10373         little-endian support.  Remove unnecessary "are we done" tests.
10374         Handle "s" wrapping around zero and extremely large "size".
10375         Correct main loop count.  Handle single left-over word from main
10376         loop inline rather than by using small_loop.  Correct comments.
10377         Delete "zero" tail, use "end_max" instead.
10378         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10380 2013-10-04  Alan Modra  <amodra@gmail.com>
10382         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10383         support.  Don't branch over align.
10384         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10385         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10386         support.  Rearrange tmp reg use to suit.  Comment.
10387         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10389 2013-10-04  Alan Modra  <amodra@gmail.com>
10391         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10393 2013-10-04  Alan Modra  <amodra@gmail.com>
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10396         conditional form of branch and link when obtaining pc.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10399 2013-10-04  Alan Modra  <amodra@gmail.com>
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10402         HIWORD/LOWORD.
10403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10406 2013-10-04  Alan Modra  <amodra@gmail.com>
10408         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10409         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10410         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10411         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10412         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10413         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10414         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10415         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10416         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10417         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10419 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10420             Alistair Popple <alistair@ozlabs.au.ibm.com>
10421             Alan Modra <amodra@gmail.com>
10423         [BZ #15723]
10424         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10425         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10426         _dl_hwcap access for little-endian.
10427         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
10428         destroy vmx regs when saving unaligned.
10429         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10430         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
10431         destroy vmx regs when saving unaligned.
10433 2013-10-04  Alan Modra  <amodra@gmail.com>
10435         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10436         Don't use a union to pack hi/low value.
10438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10440         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10441         for little-endian.
10442         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10444         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10445         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10446         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10448 2013-10-04  Alan Modra  <amodra@gmail.com>
10450         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10451         constants to usual value for .cst8 section, and remove redundant
10452         high address load.
10453         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10454         constant for 0x1p52.  Load little-endian words of double from
10455         correct stack offsets.
10457 2013-10-04  Alan Modra  <amodra@gmail.com>
10459         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10460         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10461         words of double from correct stack offsets.
10462         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10463         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10464         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10465         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10466         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10467         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10468         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10469         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10470         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10472         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10473         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10474         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10475         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10476         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10477         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10478         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10480 2013-10-04  Alan Modra  <amodra@gmail.com>
10482         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10483         64-bit int/double union.
10484         (_FPU_SETCW): Likewise.
10485         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10486         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10488 2013-10-04  Alan Modra  <amodra@gmail.com>
10490         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10491         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10493 2013-10-04  Alan Modra  <amodra@gmail.com>
10495         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10496         use vector int constants.
10497         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10499 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10501         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10502         array with long long.
10503         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10504         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10505         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10506         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10507         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10508         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10509         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10510         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10511         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10512         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10513         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10514         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10515         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10517 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10519         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10520         (__signbit): Likewise.  Correct for little-endian.
10521         (__signbitl): Call __signbit.
10522         (lrint): Correct for little-endian.
10523         (lrintf): Call lrint.
10525 2013-10-04  Alan Modra  <amodra@gmail.com>
10527         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10528         union 32-bit int array member with 64-bit int array.
10529         (t515, tm256): Double rather than long double.
10530         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10532 2013-10-04  Alan Modra  <amodra@gmail.com>
10534         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10535         Delete.
10536         (IEEE854_LONG_DOUBLE_BIAS): Delete.
10537         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10538         version of math_ldbl.h.
10540 2013-10-04  Alan Modra  <amodra@gmail.com>
10542         [BZ #15734], [BZ #15735]
10543         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10544         all uses of ieee875 long double macros and unions.  Simplify test
10545         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
10546         ldbl_extract_mantissa value for ix,iy exponents.  Properly
10547         normalize after ldbl_extract_mantissa, and don't add hidden bit
10548         already handled.  Don't treat low word of ieee854 mantissa like
10549         low word of IBM long double and mask off bit when testing for
10550         zero.
10551         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10552         all uses of ieee875 long double macros and unions.  Simplify tests
10553         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
10554         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
10555         two1022, instead use their values.  Recognise that tests for large
10556         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
10557         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10558         Rewrite all uses of ieee875 long double macros and unions.  Simplify
10559         test for 0.0L and nan.  Correct negation.
10560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10561         ieee875 long double macros and unions.  Correct output for large
10562         magnitude x.  Correct absolute value calculation.
10563         (__erfcl): Likewise.
10564         * math/libm-test.inc: Add tests for errors discovered in IBM long
10565         double versions of fmodl, remainderl, erfl and erfcl.
10567 2013-10-04  Alan Modra  <amodra@gmail.com>
10569         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10570         all uses of ieee854 long double macros and unions.  Simplify tests
10571         for long doubles that are fully specified by the high double.
10572         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10573         Likewise.
10574         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10575         Remove dead code too.
10576         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10577         (__ieee754_ynl): Likewise.
10578         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10579         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10580         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10581         Remove dead code too.
10582         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10583         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10584         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10585         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10586         Simplify.
10587         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10588         Simplify.
10589         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10590         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10591         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10592         Comment on variable precision.
10593         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10594         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10595         Likewise.
10596         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10597         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10598         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10599         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10600         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10602 2013-10-04  Alan Modra  <amodra@gmail.com>
10604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10605         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10606         all uses of ieee854 long double macros and unions.
10607         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10608         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10609         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10610         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10611         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10612         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10613         Likewise.
10614         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10615         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10617         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10618         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10619         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10620         Simplify sign and nan test too.
10621         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10622         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10623         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10624         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10625         Likewise.
10626         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10627         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10628         Likewise.
10629         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10630         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10631         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10632         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10633         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10636 2013-10-04  Alan Modra  <amodra@gmail.com>
10638         * stdio-common/printf_size.c (__printf_size): Don't use
10639         union ieee854_long_double in fpnum union.
10640         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
10641         signbit macro to retrieve sign from long double.
10642         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10643         retrieve sign from long double.
10644         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10645         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10646         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10647         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10648         * math/test-misc.c (main): Don't use union ieee854_long_double.
10650 2013-10-04  Alan Modra  <amodra@gmail.com>
10652         [BZ #15680]
10653         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10654         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10655         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10656         calculation.  Remove unnecessary test for denormal exponent.
10657         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10658         Correct handling of denormals.  Avoid undefined shift behaviour.
10659         Correct normalisation of low mantissa when low double is denormal.
10660         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10661         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
10662         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10663         Correct normalisation of low mantissa.  Test for overflow of high
10664         mantissa and normalise.
10665         (ldbl_nearbyint): Use more readable constant for two52.
10666         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10667         (__mpn_construct_long_double): Fix test for overflow of high
10668         mantissa and correct normalisation.  Avoid undefined shift.
10670 2013-10-04  Alan Modra  <amodra@gmail.com>
10672         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10673         (union ibm_extended_long_double): Define as an array of ieee754_double.
10674         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10675         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10676         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10677         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10678         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10679         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10681         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10682         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10683         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10684         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10686 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
10688         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10689         page size instead of calling getpagesize.
10691         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10692         (LOCFILE_ALIGN_MASK): Likewise.
10693         (LOCFILE_ALIGN_UP): Likewise.
10694         (LOCFILE_ALIGNED_P): Likewise.
10695         * locale/programs/ld-collate.c (collate_output): Use the new
10696         macros instead of __alignof__ (int32_t).
10697         * locale/weight.h (findidx): Likewise.
10699 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
10701         [BZ #431]
10702         * manual/string.texi: Fix strncat and wcsncat.
10704 2013-10-03  Brooks Moses  <bmoses@google.com>
10706         [BZ #15915]
10707         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10708         * Makerules: ...here, and adjust associated comments.
10710 2013-10-02  Will Newton  <will.newton@linaro.org>
10712         * malloc/Makefile: Add tst-pvalloc.
10713         * malloc/tst-pvalloc.c: New file.
10715 2013-10-02  Will Newton  <will.newton@linaro.org>
10717         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10718         improve test coverage.
10720 2013-10-02  Will Newton  <will.newton@linaro.org>
10722         * malloc/Makefile: Add tst-posix_memalign.
10723         * malloc/tst-posix_memalign.c: New file.
10725 2013-10-01  Eric Blake  <eblake@redhat.com>
10727         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10728         Use __THROWNL rather than __THROW on static functions.
10730 2013-09-30  Petr Machata  <pmachata@redhat.com>
10732         * elf/elf.h (R_AARCH64_ABS16): New macro.
10733         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10734         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10735         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10736         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10737         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10738         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10739         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10740         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10741         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10742         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10743         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10744         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10745         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10746         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10747         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10748         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10749         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10750         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10751         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10752         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10753         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10754         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10755         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10756         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10757         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10758         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10759         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10760         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10761         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10762         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10763         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10764         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10765         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10766         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10767         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10768         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10769         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10770         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10771         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10772         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10773         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10774         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10775         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10776         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10777         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10778         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10779         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10780         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10781         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10782         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10783         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10784         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10785         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10786         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10787         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10788         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10789         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10790         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10791         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10792         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10793         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10794         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10795         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10796         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10797         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10798         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10799         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10800         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10801         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10802         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10803         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10804         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10805         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10806         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10807         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10808         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10809         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10810         (R_AARCH64_TLSDESC_LDR): Likewise.
10811         (R_AARCH64_TLSDESC_ADD): Likewise.
10812         (R_AARCH64_TLSDESC_CALL): Likewise.
10814 2013-09-30  Andreas Schwab  <schwab@suse.de>
10816         [BZ #15048]
10817         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10818         the nss database lookup.
10819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10822 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
10824         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10826 2013-09-28  P. J. McDermott  <pj@pehjota.net>
10828         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10829         ${Bash-specific parameter/pattern/string} parameter expansion.
10830         * sysdeps/unix/make-syscalls.sh: Likewise.
10832 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10834         * sysdeps/sh/stackguard-macros.h: New file.
10836 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
10838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10840         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10841         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10842         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10843         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10845 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10847         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10848         Fix thread ID register.
10850 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
10852         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10853         [POSIX || UNIX98]: Require rather than permitting all symbols from
10854         <time.h>.
10855         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10856         element of struct sched_param.
10857         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10858         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10859         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10860         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10861         constant.
10863 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
10865         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10866         argument calculation.
10868 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10870         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10871         Expect macro.
10872         [POSIX] (pthread_attr_t): Do not require type.
10873         [POSIX] (pthread_cond_t): Likewise.
10874         [POSIX] (pthread_condattr_t): Likewise.
10875         [POSIX] (pthread_key_t): Likewise.
10876         [POSIX] (pthread_mutex_t): Likewise.
10877         [POSIX] (pthread_mutexattr_t): Likewise.
10878         [POSIX] (pthread_once_t): Likewise.
10879         [POSIX] (pthread_t): Likewise.
10880         [POSIX-based standards] (pthread_atfork): Expect function.
10882 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10883             Richard Sandiford  <richard@codesourcery.com>
10885         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10886         (swap_endianness_p): New extern variable.
10887         (set_big_endian): New inline function.
10888         (maybe_swap_uint32): Likewise.
10889         (maybe_swap_uint32_array): Likewise.
10890         (maybe_swap_uint32_obstack): Likewise.
10891         * locale/programs/locfile.c: Include <stdbool.h>.
10892         (swap_endianness_p): New variable.
10893         (add_locale_uint32): Call maybe_swap_uint32.
10894         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10895         (write_locale_data): Call maybe_swap_uint32_array.
10896         * locale/programs/ld-collate.c (obstack_int32_grow): Call
10897         maybe_swap_uint32.
10898         (obstack_int32_grow_fast): Likewise.
10899         (output_weightwc): Call maybe_swap_uint32_obstack.
10900         (collate_output): Likewise.
10901         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10902         (OPT_LITTLE_ENDIAN): Likewise.
10903         (options): Add --little-endian and --big-endian options.
10904         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10905         * locale/programs/locarchive.c: Include "locfile.h".
10906         (GET): New macro.
10907         (SET): Likewise.
10908         (INC): Likewise.
10909         (create_archive): Use the new macros to access fields of
10910         structures directly mapped from or written to locale archives.
10911         (oldlocrecentcmp): Likewise.
10912         (enlarge_archive): Likewise.
10913         (insert_name): Likewise.
10914         (add_alias): Likewise.
10915         (add_locale): Likewise.
10916         (delete_locales_from_archive): Likewise.
10917         (show_archive_content): Likewise.
10918         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10919         locale data.
10921 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10923         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10924         http://www.gnu.org/doc/freemanuals.texi.
10925         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10927 2013-09-24  Will Newton  <will.newton@linaro.org>
10929         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10930         macro.
10932 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10934         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10935         unsigned char.
10937 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10939         * manual/threads.texi (POSIX Threads): Fix a typo.
10941 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10943         [BZ #14547]
10944         * string/tst-strcoll-overflow.c: New test case.
10945         * string/Makefile (xtests): Add tst-strcoll-overflow.
10946         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10947         cache if string sizes may cause integer overflow.
10949         [BZ #14547]
10950         * string/strcoll_l.c (coll_seq): New members rule, idx,
10951         save_idx and back_us.
10952         (get_next_seq_nocache): New function.
10953         (do_compare_nocache): New function.
10954         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10955         when malloc fails.
10957 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10959         [BZ #15754]
10960         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10961         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10962         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10964         [BZ #15754]
10965         * elf/Makefile (tests): Add tst-ptrguard1.
10966         (tests-static): Add tst-ptrguard1-static.
10967         (tst-ptrguard1-ARGS): Define.
10968         (tst-ptrguard1-static-ARGS): Define.
10969         * elf/tst-ptrguard1.c: New file.
10970         * elf/tst-ptrguard1-static.c: New file.
10971         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10972         * sysdeps/i386/stackguard-macros.h: Likewise.
10973         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10974         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10975         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10976         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10977         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10978         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10980 2013-09-23  Hector Marco  <hecmargi@upv.es>
10981             Ismael Ripoll  <iripoll@disca.upv.es>
10982             Carlos O'Donell  <carlos@redhat.com>
10984         [BZ #15754]
10985         * sysdeps/generic/stackguard-macros.h: Define
10986         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10987         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10988         Define __pointer_chk_guard_local.
10989         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10990         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10992 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10994         [BZ #15859]
10995         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10997 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10999         * include/string.h (__ffs): Declare as hidden.
11000         * string/ffs.c (__ffs): Define as hidden.
11001         * sysdeps/i386/ffs.c (__ffs): Likewise.
11002         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11003         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11004         * sysdeps/s390/ffs.c (__ffs): Likewise.
11005         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11007 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11009         * NEWS: Mention malloc probes.
11011         * malloc/arena.c (new_heap): New memory_heap_new probe.
11012         (grow_heap): New memory_heap_more probe.
11013         (shrink_heap): New memory_heap_less probe.
11014         (heap_trim): New memory_heap_free probe.
11015         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11016         (systrim): New memory_sbrk_less probe.
11017         * manual/probes.texi: Document them.
11019         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11020         * manual/probes.texi: Document it.
11022         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11023         (__libc_realloc): Add memory_realloc_retry probe.
11024         (__libc_memalign): Add memory_memalign_retry probe.
11025         (__libc_valloc): Add memory_valloc_retry probe.
11026         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11027         (__libc_calloc): Add memory_calloc_retry probe.
11028         * manual/probes.texi: Document them.
11030         * malloc/arena.c (get_free_list): Add probe
11031         memory_arena_reuse_free_list.
11032         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11033         and memory_arena_reuse.
11034         (arena_get2) [!PER_THREAD]: Likewise.
11035         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11036         memory_arena_reuse_realloc.
11037         * manual/probes.texi: Document them.
11039         * malloc/malloc.c (__libc_free): Add
11040         memory_mallopt_free_dyn_thresholds probe.
11041         (__libc_mallopt): Add multiple memory_mallopt probes.
11042         * manual/probes.texi: Document them.
11044         * malloc/malloc.c: Include stap-probe.h.
11045         (__libc_mallopt): Add memory_mallopt probe.
11046         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11047         * manual/probes.texi: New.
11048         * manual/Makefile (chapters): Add probes.
11049         * manual/threads.texi: Set next node.
11051 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11053         [BZ #15963, #13985]
11054         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11055         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11056         Add `Chinese' to `nan' entry name.
11058 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11060         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11061         (POLYNOMIAL): Likewise.
11062         (TAYLOR_SINCOS): Likewise.
11063         (TAYLOR_SLOW): Likewise.
11064         (__sin): Use TAYLOR_SINCOS.
11065         (__cos): Likewise.
11066         (slow): Use TAYLOR_SLOW.
11067         (sloww): Likewise.
11068         (bsloww): Likewise.
11069         (csloww): Likewise.
11071 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11073         * stdlib/strtod_l.c: Fix buffer overrun.
11075 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11077         * benchtests/Makefile (bench): Add sincos.
11078         * benchtests/bench-sincos.c: New file.
11080         * math/libm-test.inc (cos_test_data): New test inputs.
11081         (sin_test_data): Likewise.
11083         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11084         macro.
11085         (__sin): Use it.
11086         (__cos): Likewise.
11087         (slow1): Likewise.
11088         (slow2): Likewise.
11089         (sloww1): Likewise.
11090         (sloww2): Likewise.
11091         (bsloww1): Likewise.
11092         (bsloww2): Likewise.
11093         (cslow2): Likewise.
11094         (csloww1): Likewise.
11095         (csloww2): Likewise.
11097         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11098         function.
11099         (__sin): Use it.
11100         (__cos): Likewise.
11102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11103         gotos.
11104         (__cos): Likewise.
11106 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11108         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11109         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11110         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11111         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11112         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11113         * elf/cache.c (print_entry): Handle the new cache flags.
11115 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11116             Aldy Hernandez  <aldyh@redhat.com>
11118         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11119         Change condition to [_SOFT_FLOAT].
11120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11132         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11135         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11136         declaration.
11138 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11140         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11141         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11142         (__longjmp): Use LOAD_GP to load saved GPRs.
11143         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11144         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11145         (__sigsetjmp): Use SAVE_GP to save GPRs.
11147         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11148         Do not append -msoft-float.
11149         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11151 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11153         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11155 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11157         [BZ #15966]
11158         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11159         (_FPU_GETCW): Use initial "__" on variable and field names but not
11160         on macro parameter name.
11161         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11162         parentheses around reference to macro parameter.
11164 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11166         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11167         prototype.
11168         (ctype_startup): Use uint32_t in cast and sizeof for
11169         ctype->charnames.
11171 2013-09-11  Jia Liu  <proljc@gmail.com>
11173         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11174         __daddr_t_defined.
11175         [__FreeBSD__]: Likewise.
11177 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11180         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11181         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11182         (strchr): Remove __strchr_sse42 ifunc selection.
11183         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11184         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11186 2013-09-11  Will Newton  <will.newton@linaro.org>
11188         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11189         parameter to RES. Remove hardcoded 1000 value.
11190         * benchtests/bench-skeleton.c (main): Pass RES parameter
11191         to TIMING_INIT and multiply result by 1000.
11193 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11197 2013-09-11  Andreas Schwab  <schwab@suse.de>
11199         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11200         if not defined.
11201         (O_TMPFILE) [__USE_GNU]: Define.
11202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11203         Define.
11205 2013-09-11  Will Newton  <will.newton@linaro.org>
11207         [BZ #15857]
11208         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11209         does not overflow.
11211 2013-09-11  Will Newton  <will.newton@linaro.org>
11213         [BZ #15856]
11214         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11215         does not overflow.
11217 2013-09-11  Will Newton  <will.newton@linaro.org>
11219         [BZ #15855]
11220         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11221         does not overflow.
11223 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11225         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11226         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11227         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11228         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11229         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11231 2013-09-10  Allan McRae  <allan@archlinux.org>
11233         [BZ #15748]
11234         * manual/arith.texi (Parsing of Floats): Clarify
11235         cross-reference.
11237         [BZ #15849]
11238         * manual/install.texi (Running make install): Mention
11239         --enable-pt-chown.
11240         * INSTALL: Regenerated.
11242 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11244         * csu/init-first.c (_init): Remove the !SHARED condition around
11245         FPU control word initialization.
11246         * elf/dl-support.c (_dl_fpu_control): New variable.
11247         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11248         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11249         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11250         * math/test-fpucw-static.c: New file.
11251         * math/test-fpucw-ieee.c: New file.
11252         * math/test-fpucw-ieee-static.c: New file.
11253         * math/Makefile (tests): Add `test-fpucw-ieee' and
11254         `$(tests-static)'.
11255         (tests-static): New variable.
11256         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11257         dependency to...
11258         [($(build-shared),yes)]
11259         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11260         ... this.
11261         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11262         New dependency.
11264 2013-09-09  Allan McRae  <allan@archlinux.org>
11266         [BZ #15939]
11267         * manual/string.texi (Collation Functions): Fix typo in
11268         strcoll example.
11269         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11271         [BZ #15893]
11272         * stdlib/isomac.c (get_null_defines): Fix memory leak.
11274         [BZ #15892]
11275         * libio/memstream.c (open_memstream): Fix memory leak.
11276         * libio/wmemstream.c (open_wmemstream): Likewise.
11278         [BZ #15895]
11279         * nscd/netgroupcache.c: Fix nesting of ifdefs.
11281 2013-09-09  Will Newton  <will.newton@linaro.org>
11283         * malloc/Makefile: Add tst-realloc to tests.
11284         * malloc/tst-realloc.c: New file.
11286 2013-09-09  Allan McRae  <allan@archlinux.org>
11288         [BZ #15844]
11289         * COPYING: Update from GNU website to fix FSF address.
11290         * COPYING.LIB: Likewise.
11292 2013-09-06  David S. Miller  <davem@davemloft.net>
11294         * po/zh_TW.po: Update Chinese (traditional) translation from
11295         translation project.
11297 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
11298             Joseph Myers  <joseph@codesourcery.com>
11300         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11301         "localeinfo.h".
11302         (obstack_chunk_alloc): New macro.
11303         (obstack_chunk_free): Likewise.
11304         (record_offset): New function.
11305         (init_locale_data): Likewise.
11306         (align_locale_data): Likewise.
11307         (add_locale_empty): Likewise.
11308         (add_locale_raw_data): Likewise.
11309         (add_locale_raw_obstack): Likewise.
11310         (add_locale_string): Likewise.
11311         (add_locale_wstring): Likewise.
11312         (add_locale_uint32): Likewise.
11313         (add_locale_uint32_array): Likewise.
11314         (add_locale_char): Likewise.
11315         (start_locale_structure): Likewise.
11316         (end_locale_structure): Likewise.
11317         (start_locale_prelude): Likewise.
11318         (end_locale_prelude): Likewise.
11319         (write_locale_data): Take locale_file structure rather than an
11320         iovec.
11321         * locale/programs/locfile.h: Include "obstack.h".
11322         (struct locale_file): Change to store locale file contents instead
11323         of header.
11324         (init_locale_data): New prototype.
11325         (align_locale_data): Likewise.
11326         (add_locale_empty): Likewise.
11327         (add_locale_raw_data): Likewise.
11328         (add_locale_raw_obstack): Likewise.
11329         (add_locale_string): Likewise.
11330         (add_locale_wstring): Likewise.
11331         (add_locale_uint32): Likewise.
11332         (add_locale_uint32_array): Likewise.
11333         (add_locale_char): Likewise.
11334         (start_locale_structure): Likewise.
11335         (end_locale_structure): Likewise.
11336         (start_locale_prelude): Likewise.
11337         (end_locale_prelude): Likewise.
11338         (write_locale_data): Update prototype.
11339         * locale/programs/3level.h (struct TABLE): Remove result field.
11340         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11341         Use new locale_file interface.
11342         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11343         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11344         * locale/programs/ld-address.c (address_output): Use new
11345         locale_file interface.
11346         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11347         NO_ADD_LOCALE.
11348         (collate_finish): Don't call collseq_table_finalize.
11349         (collate_output): Use new locale_file interface.
11350         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11351         in file.
11352         (NO_FINALIZE): Change to NO_ADD_LOCALE.
11353         (TABLE): Move defines earlier in file.
11354         (ELEMENT): Likewise.
11355         (DEFAULT): Likewise.
11356         (wctrans_table_add): Move macro and inline function earlier in
11357         file.
11358         (struct wctype_table): Move type earlier in file.
11359         (add_locale_wctype_table): New static prototype.
11360         (struct locale_ctype_t): Use logical types instead of struct iovec
11361         pointers for members.
11362         (ctype_output): Use new locale_file interface.
11363         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
11364         new locale_file interface.
11365         (allocate_arrays): Update for use of new locale_file interface.
11366         * locale/programs/ld-identification.c (identification_output): Use
11367         new locale_file interface.
11368         * locale/programs/ld-measurement.c (measurement_output): Likewise.
11369         * locale/programs/ld-messages.c (messages_output): Likewise.
11370         * locale/programs/ld-monetary.c (monetary_output): Likewise.
11371         * locale/programs/ld-name.c (name_output): Likewise.
11372         * locale/programs/ld-numeric.c (numeric_output): Likewise.
11373         * locale/programs/ld-paper.c (paper_output): Likewise.
11374         * locale/programs/ld-telephone.c (telephone_output): Likewise.
11375         * locale/programs/ld-time.c (time_output): Likewise.
11377 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11379         * benchtests/Makefile: Add memrchr benchmark.
11380         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11381         benchmark as memrchr.
11382         * benchtests/bench-memrchr-ifunc.c: New file.
11383         * benchtests/bench-memrchr.c: New file.
11385 2013-09-06   Will Newton  <will.newton@linaro.org>
11387         * benchtests/Makefile (string-bench): Add memcpy.
11389 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
11390             Cong Wang  <amwang@redhat.com>
11392         [BZ #15850]
11393         * sysdeps/unix/sysv/linux/bits/in.h
11394         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11395         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11396         before __USE_KERNEL_IPV6_DEFS uses.
11397         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11398         IPPROTO_BEETPH.
11399         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11400         sockaddr_in6, or ipv6_mreq.
11402 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11404         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11405         memory access for final bytes in some large inputs.
11406         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11408 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11410         * string/test-memrchr.c: New file.
11411         * string/test-memrchr-ifunc.c: New file.
11412         * string/Makefile: Add new memrchr testcase.
11414 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
11416         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11417         fanotify_init returns EPERM.
11419 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11421         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11422         errors.
11423         (top level): Treat second token from macro or constant entries for
11424         allowed headers as allowed.
11425         * include/complex.h: Condition internal declarations on
11426         [!_ISOMAC].
11427         * include/fenv.h: Condition include of <stdbool.h> and internal
11428         declarations on [!_ISOMAC].
11430 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
11432         [BZ #15923]
11433         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11435 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11437         * configure.in (--enable-versioning): Remove configure option.
11438         (libc_cv_asm_symver_directive): Remove configure test.
11439         (libc_cv_ld_version_script_option): Likewise.
11440         (VERSIONING): Remove variable and AC_SUBST.
11441         (DO_VERSIONING): Remove AC_DEFINE.
11442         * configure: Regenerated.
11443         * config.h.in (DO_VERSIONING): Remove macro.
11444         * Makerules [$(versioning) = yes]: Change conditionals to
11445         [$(build-shared) = yes].
11446         * config.make.in (versioning): Remove variable.
11447         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11448         [$(build-shared) = yes].
11449         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11450         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11451         * elf/Makefile [$(versioning) = yes]: Change conditionals to
11452         [$(build-shared) = yes].
11453         * extra-lib.mk [$(versioning) = yes]: Likewise.
11454         * hurd/Makefile [$(versioning) = yes]: Likewise.
11455         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11456         [SHARED].
11457         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11458         [SHARED].
11459         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11460         [SHARED && !NO_HIDDEN].
11461         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11462         [SHARED].
11463         [SHARED && DO_VERSIONING]: Likewise..
11464         * libio/Makefile [$(versioning) = yes]: Change conditionals to
11465         [$(build-shared) = yes].
11466         * manual/install.texi (--disable-versioning): Remove
11467         documentation.
11468         * INSTALL: Regenerated.
11469         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11470         to [SHARED].
11471         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11472         [$(build-shared) = yes].
11473         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11474         * sysdeps/i386/i686/multiarch/strstr-c.c
11475         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11476         [SHARED && !NO_HIDDEN].
11477         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11478         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11479         * sysdeps/powerpc/powerpc32/dl-machine.c
11480         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11481         * sysdeps/powerpc/powerpc32/sysdep.h
11482         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11483         to [SHARED && PIC && !NO_HIDDEN].
11484         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11485         conditional to [SHARED].
11487 2013-09-04   Will Newton  <will.newton@linaro.org>
11489         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11490         * benchtests/bench-string.h: Include bench-timing.h instead
11491         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11492         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11493         call to HP_TIMING_DIFF_INIT.
11494         * benchtests/bench-memccpy.c: Use bench-timing.h macros
11495         instead of hp-timing.h macros.
11496         * benchtests/bench-memchr.c: Likewise.
11497         * benchtests/bench-memcmp.c: Likewise.
11498         * benchtests/bench-memcpy.c: Likewise.
11499         * benchtests/bench-memmem.c: Likewise.
11500         * benchtests/bench-memmove.c: Likewise.
11501         * benchtests/bench-memset.c: Likewise.
11502         * benchtests/bench-rawmemchr.c: Likewise.
11503         * benchtests/bench-strcasecmp.c: Likewise.
11504         * benchtests/bench-strcasestr.c: Likewise.
11505         * benchtests/bench-strcat.c: Likewise.
11506         * benchtests/bench-strchr.c: Likewise.
11507         * benchtests/bench-strcmp.c: Likewise.
11508         * benchtests/bench-strcpy.c: Likewise.
11509         * benchtests/bench-strcpy_chk.c: Likewise.
11510         * benchtests/bench-strlen.c: Likewise.
11511         * benchtests/bench-strncasecmp.c: Likewise.
11512         * benchtests/bench-strncat.c: Likewise.
11513         * benchtests/bench-strncmp.c: Likewise.
11514         * benchtests/bench-strncpy.c: Likewise.
11515         * benchtests/bench-strnlen.c: Likewise.
11516         * benchtests/bench-strpbrk.c: Likewise.
11517         * benchtests/bench-strrchr.c: Likewise.
11518         * benchtests/bench-strspn.c: Likewise.
11519         * benchtests/bench-strstr.c: Likewise.
11521 2013-09-04  Will Newton  <will.newton@linaro.org>
11523         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11525 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
11527         [BZ #15427]
11528         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11529         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11530         * math/libm-test.inc (lgamma_test_data): Add more tests.
11531         * sysdeps/i386/fpu/libm-test-ulps: Update.
11532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11534 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
11536         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11538         Add ifunc.
11539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11540         Add strcmp-sse2-unaligned
11541         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11543 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11545         * Versions.def (libc): Add GLIBC_2.19.
11547 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11549         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11550         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11552 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
11554         [BZ #14155]
11555         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11556         intermediate calculations in recurrence.
11557         (__ieee754_ynf): Likewise.
11558         * math/libm-test.inc (jn_test_data): Do not allow spurious
11559         underflow exception.  Add more tests.
11560         (yn_test_data): Add more tests.
11561         * sysdeps/i386/fpu/libm-test-ulps: Update.
11562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11564 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
11566         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11568 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11570         * csu/init-first.c: Fix then/than typos.
11571         * locale/programs/ld-collate.c: Likewise.
11572         * locale/programs/linereader.h: Likewise.
11573         * manual/charset.texi: Likewise.
11574         * manual/filesys.texi: Likewise.
11575         * manual/stdio.texi: Likewise.
11576         * manual/string.texi: Likewise.
11577         * stdlib/fmtmsg.c: Likewise.
11578         * sysdeps/i386/stpncpy.S: Likewise.
11579         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11580         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11581         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11582         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11584 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11586         * elf/dl-open.c: Fix typos.
11587         * iconvdata/gbbig5.c: Likewise.
11588         * iconvdata/iso-2022-jp.c: Likewise.
11589         * iconv/gconv_int.h: Likewise.
11590         * iconv/loop.c: Likewise.
11591         * nis/rpcsvc/nis.h: Likewise.
11592         * resolv/ns_name.c: Likewise.
11593         * stdio-common/vfscanf.c: Likewise.
11594         * streams/stropts.h: Likewise.
11595         * sunrpc/rpc_thread.c: Likewise.
11596         * sysdeps/i386/strpbrk.S: Likewise.
11597         * sysdeps/ieee754/k_standard.c: Likewise.
11598         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11600         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11601         * sysdeps/mach/hurd/profil.c: Likewise.
11602         * sysdeps/s390/dl-procinfo.h: Likewise.
11603         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11604         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11605         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11606         * sysdeps/x86_64/dl-trampoline.S: Likewise.
11607         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11609 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
11611         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11614 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
11616         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11617         aix specific files.
11618         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11619         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11620         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11621         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11622         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11623         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11624         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11625         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11627 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11628             Roland McGrath  <roland@hack.frob.com>
11630         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11631         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11633 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11635         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11636         __executable_start symbol instead of _start.
11638 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11640         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11641         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11642         Move macros to...
11643         * sysdeps/gnu/ldsodefs.h: ... this new file.
11645         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11646         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11647         instead of ELFOSABI_LINUX.
11649         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11650         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11651         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11652         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11653         Likewise.
11654         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11655         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11656         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11657         Likewise.
11658         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11659         (ibm_extended_long_double): Add ieee_nan member.
11660         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11661         (do_test): New function.
11663         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11664         TEST_TRUNC.
11665         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11666         functions, renamed from truncdfsf_test, trunctfsf_test,
11667         trunctfdf_test.
11668         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11669         functions.
11670         (do_test): Run all these.
11672 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
11674         * argp/argp-help.c: Fix typos.
11675         * argp/argp-parse.c: Likewise.
11676         * debug/backtracesyms.c: Likewise.
11677         * elf/elf.h: Likewise.
11678         * malloc/malloc.c: Likewise.
11679         * nis/nis_print.c: Likewise.
11680         * resolv/res_comp.c: Likewise.
11681         * stdlib/stdlib.h: Likewise.
11682         * sunrpc/clnt_tcp.c: Likewise.
11683         * sunrpc/clnt_udp.c: Likewise.
11684         * sunrpc/clnt_unix.c: Likewise.
11685         * sysdeps/unix/bsd/ptsname.c: Likewise.
11686         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11687         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11689         Likewise.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11691         Likewise.
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11693         Likewise.
11694         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11696 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11698         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11701 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
11703         [BZ #15897]
11704         * dlfcn/Makefile (tests): Add bug-dl-leaf.
11705         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11706         ($(objpfx)bug-dl-leaf): New rule.
11707         ($(objpfx)bug-dl-leaf.so): Likewise.
11708         ($(objpfx)bug-dl-leaf.out): Likewise.
11709         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11710         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11711         * dlfcn/bug-dl-leaf.c: New test.
11712         * dlfcn/bug-dl-leaf-lib.c: Likewise.
11713         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11714         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11715         (dlclose): Likewise.
11716         (dlmopen): Likewise.
11718 2013-08-27  Roland McGrath  <roland@hack.frob.com>
11720         * include/netdb.h [!_ISOMAC]:
11721         Don't include <tls.h>.
11722         (h_errno, __libc_h_errno): Move declaration and macros out of
11723         [_LIBC_REENTRANT].
11725         * include/resolv.h [_RESOLV_H_]:
11726         Don't include <tls.h>.
11727         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11728         * resolv/res_libc.c: Don't include <tls.h>.
11729         (_res): Use __attribute__ ((nocommon)) in place of
11730         __attribute__ ((section (".bss"))).
11732         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11733         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11735         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11737         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11738         only under [SIOCGIFCONF && SIOCGIFNETMASK].
11740         * resolv/res_mkquery.c: Include <sys/time.h>.
11742         * inet/ifreq.c: Moved to ...
11743         * sysdeps/unix/ifreq.c: ... here.
11744         * inet/ifreq.c: New file, true stub version.
11746         * socket/sa_len.c: New file.
11747         * socket/Makefile (aux): Add it.
11748         * sysdeps/unix/sysv/linux/Makefile
11749         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11750         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11751         and #include <socket/sa_len.c>.
11752         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11753         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11755         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11756         * bits/socket.h: ... here.
11758         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11759         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11760         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11762 2013-08-27  Andreas Schwab  <schwab@suse.de>
11764         [BZ #15736]
11765         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11766         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11767         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11768         * string/test-strcasecmp.c (test_main): Run tests in several
11769         locales.
11770         * string/test-strncasecmp.c (test_main): Likewise.
11772         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11773         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11774         to __strcasecmp_nonascii and __strncasecmp_nonascii.
11775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11776         (__strncasecmp_ssse3) [PIC]: Likewise.
11778 2013-08-26  Roland McGrath  <roland@hack.frob.com>
11780         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11782         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11783         instead of explicitly declaring xdecrypt.
11784         * nis/nss_nis/nis-publickey.c: Likewise.
11786 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11788         [BZ #15890]
11789         * nscd/aicache.c: Include res_hconf.h.
11790         (addhstaiX): Initialize res_hconf.
11792 2013-08-26  Andreas Schwab  <schwab@suse.de>
11794         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11795         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11797 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11799         * nscd/aicache.c (addhstaiX): Fix indentation.
11801 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
11803         * configure.ac: Quote $build_pt_chown test.
11804         * configure: Regenerated.
11806 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
11808         [BZ #15532]
11809         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11810         * math/s_cexpf.c (__cexpf): Likewise.
11811         * math/s_cexpl.c (__cexpl): Likewise.
11812         * math/libm-test.inc (cexp_test_data): Correct expected return
11813         value for NaN + i0.  Add another test.
11815 2013-08-22  David S. Miller  <davem@davemloft.net>
11817         * po/ca.po: Update Catalan translation from translation project.
11818         * po/uk.po: Add Ukrainian translations from translation project.
11820 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
11822         [BZ #15797]
11823         * math/s_fdim.c (__fdim): Check for infinite arguments if result
11824         is infinite, not alongside NaN test.
11825         * math/s_fdimf.c (__fdimf): Likewise.
11826         * math/s_fdiml.c (__fdiml): Likewise.
11827         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
11828         errno is unchanged.
11830 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
11832         * argp/argp-help.c: Fix typos.
11833         * crypt/speeds.c: Likewise.
11834         * csu/check_fds.c: Likewise.
11835         * elf/dl-load.c: Likewise.
11836         * elf/dl-open.c: Likewise.
11837         * elf/reldep3.c: Likewise.
11838         * elf/reldep.c: Likewise.
11839         * elf/sprof.c: Likewise.
11840         * iconv/iconv_charmap.c: Likewise.
11841         * iconv/skeleton.c: Likewise.
11842         * iconv/strtab.c: Likewise.
11843         * io/lockf64.c: Likewise.
11844         * libio/libioP.h: Likewise.
11845         * resolv/gai_notify.c: Likewise.
11846         * resolv/ns_name.c: Likewise.
11847         * resolv/ns_samedomain.c: Likewise.
11848         * resolv/res_send.c: Likewise.
11849         * stdlib/random.c: Likewise.
11850         * sunrpc/rpc/xdr.h: Likewise.
11851         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11852         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11853         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11854         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11855         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11858         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11859         * sysdeps/mach/hurd/check_fds.c: Likewise.
11860         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11861         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11862         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11863         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11864         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11865         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11866         * sysdeps/pthread/aio_notify.c: Likewise.
11867         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11868         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11869         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11870         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11871         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11873 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11875         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11876         version if bit_Slow_SSE4_2 is set.
11877         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11878         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11880 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11882         [BZ #15867]
11883         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11884         trampoline stack frame information.
11885         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11886         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11887         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11888         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11889         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11890         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11891         (_libc_vdso_platform_setup): Initialize the signal trampolines.
11892         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11893         sa_flags value.
11894         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11895         interrupting a syscall and set with option SA_SIGINFO.
11897 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11899         [BZ #15531]
11900         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11901         argument is infinite.
11902         * math/s_cprojf.c (__cprojf): Likewise.
11903         * math/s_cprojl.c (__cprojl): Likewise.
11904         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11905         * math/libm-test.inc (cproj_test_data): Add more tests.
11907         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11909         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11910         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11911         size.  Use __ffs to determine corresponding shift.
11913 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11914             Roland McGrath  <roland@hack.frob.com>
11916         * Makefile (INSTALL): Remove trailing blank lines from output of
11917         makeinfo.
11919 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11921         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11922         Align 32 bit compat elf_greg to 8 bytes.
11924 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11926         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11928 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11930         * string/strcoll_l.c (coll_seq): New structure.
11931         (get_next_seq_cached): New function.
11932         (get_next_seq): New function.
11933         (do_compare): New function.
11934         (STRCOLL): Use GNU style definition.  Simplify implementation
11935         by using get_next_seq, get_next_seq_cached and do_compare.
11937 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11939         [BZ #14699]
11940         CVE-2013-4237
11941         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11942         member.
11943         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11944         member.
11945         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11946         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11947         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11948         conditional.
11949         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11950         GETDENTS_64BIT_ALIGNED.
11951         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11952         * manual/filesys.texi (Reading/Closing Directory): Document
11953         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11954         strongly.
11955         * manual/conf.texi (Limits for Files): Add portability note to
11956         NAME_MAX, PATH_MAX.
11957         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11959 2013-08-13  Andreas Schwab  <schwab@suse.de>
11961         [BZ #15749]
11962         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11963         of fabs.
11964         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11965         LDBL_MAX_EXP >= 16384]: Add tests for it.
11967 2013-08-12  David S. Miller  <davem@davemloft.net>
11969         * version.h (RELEASE): Set to "development".
11970         (VERSION): Set to "2.18.90".
11971         * NEWS: Add 2.19 section.
11973 2013-08-03  David S. Miller  <davem@davemloft.net>
11975         * po/ko.po: Update Korean translation from translation project.
11977 2013-08-01  David S. Miller  <davem@davemloft.net>
11979         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11980         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11981         Bilka.
11983 2013-07-30  David S. Miller  <davem@davemloft.net>
11985         * po/fr.po: Update French translation from translation project.
11987 2013-07-28  David S. Miller  <davem@davemloft.net>
11989         * po/cs.po: Update Czech translation from translation project.
11991         * po/sv.po: Update Swedish translation from translation project.
11993 2013-07-27  David S. Miller  <davem@davemloft.net>
11995         * po/eo.po: Update Esperanto translation from translation project.
11997         * po/vi.po: Update Vietnamese translation from translation project.
11999         * po/de.po: Update German translation from translation project.
12001 2013-07-26  David S. Miller  <davem@davemloft.net>
12003         * po/bg.po: Update Bulgarian translation from translation project.
12005         * po/nl.po: Update Dutch translation from translation project.
12006         * po/pl.po: Update Polish translation from translation project.
12007         * po/ru.po: Update Russian translation from translation project.
12009 2013-07-24  David S. Miller  <davem@davemloft.net>
12011         * po/libc.pot: Update.
12013 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12015         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12016         variable page size.
12017         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12018         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12019         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12021 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12023         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12025 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12026             Andreas Schwab  <schwab@suse.de>
12027             Roland McGrath  <roland@hack.frob.com>
12028             Joseph Myers  <joseph@codesourcery.com>
12029             Carlos O'Donell  <carlos@redhat.com>
12031         [BZ #15755]
12032         * config.h.in: Define HAVE_PT_CHOWN.
12033         * config.make.in (build-pt-chown): New variable.
12034         * configure.in (--enable-pt_chown): New configure option.
12035         * configure: Regenerate.
12036         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12037         build-pt-chown is enabled.
12038         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12039         pt_chown to fix pty ownership.
12040         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12041         CLOSE_ALL_FDS.
12042         * manual/install.texi (Configuring and compiling): Mention
12043         --enable-pt_chown. Add @findex for grantpt.
12044         * INSTALL: Regenerate.
12046 2013-07-20  David S. Miller  <davem@davemloft.net>
12048         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12049         difference between 32-bit and 64-bit.
12051 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12053         [BZ #15711]
12054         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12055         Avoid system header dependency with -ffreestanding.
12056         ($(objpfx)bits/syscall%d): Likewise.
12058 2013-07-13  David S. Miller  <davem@davemloft.net>
12060         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12061         underflows from atanl/atan2l due to bug 15319.
12062         (casinh_test_data): Likewise.
12064 2013-07-07  David S. Miller  <davem@davemloft.net>
12066         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12068 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12070         * sysdeps/i386/fpu/libm-test-ulps: Update.
12071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12073 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12075         * configure.in (--enable-lock-elision): Fix message text.
12076         * INSTALL: Regenerate.
12077         * configure: Regenerate.
12079 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12083 2013-07-03  Andreas Jaeger  <aj@suse.de>
12085         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12086         define.
12087         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12088         (ptrace_peeksiginfo_args): Add.
12089         (__ptrace_peeksiginfo_flags): Add.
12090         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12091         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12092         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12094 2013-07-03  Allan McRae  <allan@archlinux.org>
12096         * sysdeps/i386/fpu/libm-test-ulps: Update.
12098 2013-07-02  David S. Miller  <davem@davemloft.net>
12100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12102 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12106 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12108         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12111 2013-07-02  Andi Kleen <ak@linux.intel.com>
12113         * config.h.in (ENABLE_LOCK_ELISION): Add.
12114         * configure.in (--enable-lock-elision): Add option.
12115         * manual/install.texi: Document --enable lock elision.
12116         * configure: Regenerate
12117         * INSTALL: Regenerate.
12119 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12121         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12122         SSE4.2 strcasecmp for libc.a.
12123         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12125 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12127         [BZ #13304]
12128         * soft-fp/op-common.h (_FP_FMA): New macro.
12129         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12130         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12131         (_FP_MUL_MEAT_1_imm): ... here.
12132         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12133         (_FP_MUL_MEAT_1_wide): ... here.
12134         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12135         (_FP_MUL_MEAT_1_hard): ... here.
12136         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12137         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12138         (_FP_MUL_MEAT_2_wide): ... here.
12139         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12140         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12141         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12142         (_FP_MUL_MEAT_2_gmp): ... here.
12143         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12144         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12145         (_FP_MUL_MEAT_4_wide): ... here.
12146         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12147         (_FP_MUL_MEAT_4_gmp): ... here.
12148         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12149         (_FP_WFRACBITS_DW_S): Likewise.
12150         (_FP_WFRACXBITS_DW_S): Likewise.
12151         (_FP_HIGHBIT_DW_S): Likewise.
12152         (FP_FMA_S): Likewise.
12153         (_FP_FRAC_HIGH_DW_S): Likewise.
12154         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12155         (_FP_WFRACBITS_DW_D): Likewise.
12156         (_FP_WFRACXBITS_DW_D): Likewise.
12157         (_FP_HIGHBIT_DW_D): Likewise.
12158         (FP_FMA_D): Likewise.
12159         (_FP_FRAC_HIGH_DW_D): Likewise.
12160         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12161         (_FP_WFRACBITS_DW_E): Likewise.
12162         (_FP_WFRACXBITS_DW_E): Likewise.
12163         (_FP_HIGHBIT_DW_E): Likewise.
12164         (FP_FMA_E): Likewise.
12165         (_FP_FRAC_HIGH_DW_E): Likewise.
12166         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12167         (_FP_WFRACBITS_DW_Q): Likewise.
12168         (_FP_WFRACXBITS_DW_Q): Likewise.
12169         (_FP_HIGHBIT_DW_Q): Likewise.
12170         (FP_FMA_Q): Likewise.
12171         (_FP_FRAC_HIGH_DW_Q): Likewise.
12172         * soft-fp/fmasf4.c: New file.
12173         * soft-fp/fmadf4.c: Likewise.
12174         * soft-fp/fmatf4.c: Likewise.
12176 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12179         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12180         Silvermont.
12181         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12182         macro.
12183         (index_Slow_SSE4_2): Likewise.
12184         (index_Prefer_PMINUB_for_stringop): Likewise.
12185         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12186         bit_Slow_SSE4_2 is set.
12187         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12188         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12190 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12192         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12193         rtld_global._dl_hwcap2.
12194         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12195         POWER8.
12196         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12197         POWER8 feature descriptions defined in _dl_hwcap2.
12198         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12199         string handling for POWER8 feature bits.
12200         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12201         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12202         _dl_powerpc_cap_flags.
12203         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12204         * sysdeps/powerpc/rtld-global-offsets.sym
12205         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12206         _dl_hwcap2 in the rtld_global_ro structure.
12208 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12210         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12211         hardware capabilities in support of AT_HWCAP2.
12212         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12213         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12214         GLRO(dl_hwcap2).
12215         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12216         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12217         explicitly the unknown a_type display mechanism is used.
12218         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12219         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12220         struct member.
12221         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12222         to macro prototype for AT_HWCAP2 support.
12223         * sysdeps/i386/dl-procinfo.h: Likewise.
12224         * sysdeps/s390/dl-procinfo.h: Likewise.
12225         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12226         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12227         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12228         return -1 for unknown a_type display fallback.
12229         * sysdeps/sparc/dl-procinfo.h: Likewise.
12230         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12231         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12233 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12236         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12238 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12240         [BZ #12492]
12241         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12242         mprotect making __stack_prot writable.
12244 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12245             Joseph Myers  <joseph@codesourcery.com>
12247         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12248         as being properly aligned.
12250 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
12252         * dlfcn/modstatic5.c: New file.
12253         * dlfcn/tststatic5.c: New file.
12254         * dlfcn/Makefile (tests): Add tststatic5.
12255         (tests-static): Likewise.
12256         (modules-names): Add modstatic5.
12257         (tststatic5-ENV): New variable.
12258         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12260         [BZ #15022]
12261         * elf/dl-support.c (_dl_main_map): New variable.
12262         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12263         (_dl_nns, _dl_load_adds): Set to 1.
12264         (_dl_initial_searchlist): Refer to _dl_main_map.
12265         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12266         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12267         call to _dl_get_origin.
12268         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12269         around call_map.
12270         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12271         * dlfcn/modstatic3.c: New file.
12272         * dlfcn/tststatic3.c: New file.
12273         * dlfcn/tststatic4.c: New file.
12274         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12275         (tests-static): Likewise.
12276         (modules-names): Add modstatic3.
12277         (tststatic3-ENV, tststatic4-ENV): New variables.
12278         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12279         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12281 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
12283         * configure.in (CC): Require GCC version 4.4 or later.
12284         * configure: Regenerated.
12285         * manual/install.texi (Tools for Compilation): Update GCC version
12286         requirement.
12287         * INSTALL: Regenerated.
12289 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12291         [BZ #15674]
12292         * string/test-memcmp.c (check2): New.
12293         (main): Call check2.
12295         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12297 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
12299         [BZ #15022]
12300         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12301         over to...
12302         (dl_open_worker) [!SHARED]: ... here.
12304 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12306         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12308 2013-06-25  Richard Henderson  <rth@redhat.com>
12310         * locale/programs/locarchive.c: Include <libc-internal.h>
12312 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
12314         * manual/texinfo.tex: Update to version 2013-06-21.17, with
12315         trailing whitespace removed.
12317 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12319         [BZ #10283]
12320         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12321         * locale/programs/locarchive.c: Include libc-mmap.h.
12322         (prepare_address_space): Take two new outputs (the mmap base and len).
12323         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
12324         values.
12325         (create_archive): Declare new mmap base and len values for
12326         prepare_address_space, and store the result in ah.
12327         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12328         (enlarge_archive): If ah->mmap_base is not NULL, use that and
12329         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12330         Declare new mmap base and len values for
12331         prepare_address_space, and store the result in new_ah.
12332         (open_archive): Declare new mmap base and len values for
12333         prepare_address_space, and store the result in ah.
12334         (close_archive): If ah->mmap_base is not NULL, use that and
12335         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12336         * sysdeps/generic/libc-mmap.h: New file.
12338 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12340         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12341         (ALIGN_UP): Likewise.
12342         (PTR_ALIGN_DOWN): Likewise.
12343         (PTR_ALIGN_UP): Likewise.
12345 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12347         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12348         entry mapped to PPC_PLATFORM_POWER8.
12349         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12350         POWER8.
12351         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12352         (_dl_string_platform): Add case for exporting platform position for
12353         POWER8.
12354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12355         search path to sysdeps/powerpc/powerpc32/power8 directory.
12356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12357         search path to sysdeps/powerpc/powerpc64/power8 directory.
12358         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12359         power7 directories.
12360         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12361         power7 directories.
12363 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12365         * INSTALL: Regenerate.
12367         * nscd/connections.c (nscd_init): Fix comment.
12369 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
12371         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12373         [BZ #15667]
12374         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12375         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12377 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12379         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12380         DL_DST_REQ_STATIC.
12381         (DL_DST_REQ_STATIC): Remove macro.
12383 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
12385         [BZ #7006]
12386         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12387         with a shift of 0 bits.
12389 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12391         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12392         $(tststatic-ENV).
12394 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12396         [BZ #15655]
12397         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12399 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12401         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12402         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12403         accepts -fno-tree-loop-distribute-patterns.
12404         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12405         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12406         recursive call.
12407         * string/memset.c (memset): Likewise.
12408         * string/test-memmove.c (simple_memmove): Disable loop transformation
12409         to library calls.
12410         * string/test-memset.c (simple_memset): Likewise.
12411         * benchtests/bench-memmove.c (simple_memmove): Likewise.
12412         * benchtests/bench-memset.c (simple_memset): Likewise.
12413         * configure: Regenerated.
12415 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
12417         * math/test-misc.c (main): Ignore fesetround failure when failures
12418         of subsequent rounding tests would be ignored.
12420         [BZ #15654]
12421         * math/fedisblxcpt.c (fedisableexcept): Return 0.
12422         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12423         * math/fegetenv.c (__fegetenv): Return 0.
12424         * math/fegetexcept.c (fegetexcept): Return 0.
12425         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12426         FE_TONEAREST.
12427         * math/feholdexcpt.c (feholdexcept): Return 0.
12428         * math/fesetenv.c (__fesetenv): Return 0.
12429         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12430         argument FE_TONEAREST.
12431         * math/feupdateenv.c (__feupdateenv): Return 0.
12432         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12434 2013-06-18  Roland McGrath  <roland@hack.frob.com>
12436         * elf/rtld-Rules (rtld-compile-command.S): New variable.
12437         (rtld-compile-command.s, rtld-compile-command.c): New variables.
12438         ($(objpfx)rtld-%.os rules): Use them.
12440 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12442         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12443         fields.
12445 2013-06-17  Roland McGrath  <roland@hack.frob.com>
12447         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12448         length of target pattern, then descending length of dependency pattern.
12449         * configure.in (AWK): Require gawk 3.1.2 or newer.
12450         * manual/install.texi (Tools for Compilation): Say that we do.
12451         * configure: Regenerated.
12453         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12454         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12455         * scripts/sysd-rules.awk: ... this new script.
12456         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12457         than a glob-style pattern.
12459 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
12461         * math/test-misc.c (main): Do not treat incorrectly rounded
12462         conversions as failure unless ROUNDING_TESTS passes.
12464 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
12466         [BZ #15631]
12467         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12468         restore exception state around main square root computation, then
12469         check for inexactness explicitly.
12471         * math/libm-test.inc (fma_test_data): Add another test.
12473 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12475         * manual/threads.texi (Non-POSIX Extensions): New document
12476         node.  Document pthread_getattr_default_np and
12477         pthread_setattr_default_np.
12479         * Versions.def (libpthread): Add GLIBC_2.18.
12480         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12484         Likewise.
12485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12486         Likewise.
12487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12488         Likewise.
12489         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12490         Likewise.
12491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12492         Likewise.
12493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12494         Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12496         Likewise.
12497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12498         Likewise.
12500 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12503         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12505 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12506             H.J. Lu  <hjl.tools@gmail.com>
12508         [BZ #15627]
12509         * sysdeps/x86_64/rtld-memset.c: Remove file.
12510         * sysdeps/x86_64/rtld-memset.S: New file.
12512 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
12514         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12515         (test_in_one_mode): Take arguments for whether the rounding mode
12516         is supported for each floating-point type.
12517         (do_test): Pass new arguments to test_in_one_mode using
12518         ROUNDING_TESTS.
12520 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12522         * posix/tst-waitid.c (do_test): Distinguish different instances of
12523         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
12524         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12525         before entering the kernel for waitpid.
12527 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12529         * NEWS: Fix note on clock function precision.  Text by Roland
12530         McGrath.
12532 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12534         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12535         it into place only when and if the sanity check passes.
12537 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
12539         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12540         output for whether conversion result is exact.  Take argument
12541         indicating whether type is IBM long double.
12542         (round_for_all): Change need_exact field to ibm_ld.
12543         * stdlib/tst-strtod-round.c (struct exactness): New type.
12544         (struct test): Change bool ld_ok field to struct exactness exact.
12545         (TEST): Update all definitions for change to field.
12546         (tests): Regenerate array contents.
12547         (test_in_one_mode): Take pointer to new field instead of old ld_ok
12548         field value.  Check for IBM long double here.
12549         (do_test): Update calls to test_in_one_mode.
12551 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12553         [BZ #12515]
12554         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12555         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12557 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12559         [BZ #15605]
12560         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12561         generated by the compiler on loop optimizations.
12562         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12563         general definitions.
12565 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
12567         * math/bug-nextafter.c: Include <math-tests.h>.
12568         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12569         the relevant type.
12570         * math/bug-nexttoward.c: Include <math-tests.h>.
12571         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12572         the relevant type.
12573         * math/test-misc.c: Include <math-tests.h>.
12574         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12575         the relevant type.
12577 2013-06-12  Andreas Jaeger  <aj@suse.de>
12579         * po/ia.po: Update Interlingua translation from translation
12580         project.
12582 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12584         * include/fenv.h: Include stdbool.h.
12585         (struct rm_ctx): New structure.
12586         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12587         Define macro.
12588         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12589         (SET_RESTORE_ROUNDF): Likewise.
12590         (SET_RESTORE_ROUNDL): Likewise.
12591         (SET_RESTORE_ROUND_NOEX): Likewise.
12592         (SET_RESTORE_ROUND_NOEXF): Likewise.
12593         (SET_RESTORE_ROUND_NOEXL): Likewise.
12594         (SET_RESTORE_ROUND_53BIT): Likewise.
12595         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12596         (libc_feresetround_noexf_ctx): Likewise.
12597         (libc_feresetround_noexl_ctx): Likewise.
12598         (libc_feholdsetround_53bit_ctx): Likewise.
12599         (libc_feresetround_53bit_ctx): Likewise.
12600         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12601         (libc_feholdexcept_setround_sse_ctx): New function.
12602         (libc_fesetenv_sse_ctx): Likewise.
12603         (libc_feupdateenv_sse_ctx): Likewise.
12604         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12605         (libc_feholdexcept_setround_387_ctx): Likewise.
12606         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12607         (libc_feholdsetround_387_prec_ctx): Likewise.
12608         (libc_feholdsetround_387_ctx): Likewise.
12609         (libc_feholdsetround_387_53bit_ctx): Likewise.
12610         (libc_feholdsetround_sse_ctx): Likewise.
12611         (libc_feresetround_sse_ctx): Likewise.
12612         (libc_feresetround_387_ctx): Likewise.
12613         (libc_feupdateenv_387_ctx): Likewise.
12614         (libc_feholdexcept_setroundf_ctx): Define macro.
12615         (libc_fesetenvf_ctx): Likewise.
12616         (libc_feupdateenvf_ctx): Likewise.
12617         (libc_feholdsetroundf_ctx): Likewise.
12618         (libc_feresetroundf_ctx): Likewise.
12619         (libc_feholdexcept_setround_ctx): Likewise.
12620         (libc_fesetenv_ctx): Likewise.
12621         (libc_feupdateenv_ctx): Likewise.
12622         (libc_feholdsetround_ctx): Likewise.
12623         (libc_feresetround_ctx): Likewise.
12624         (libc_feholdexcept_setroundl_ctx): Likewise.
12625         (libc_feupdateenvl_ctx): Likewise.
12626         (libc_feholdsetroundl_ctx): Likewise.
12627         (libc_feresetroundl_ctx): Likewise.
12628         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12629         (libc_feresetround_53bit_ctx): Likewise.
12631 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12633         * locale/iso-639.def: Convert to UTF-8.
12635 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
12637         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12638         (EXCEPTION_TESTS_double): Likewise.
12639         (EXCEPTION_TESTS_long_double): Likewise.
12640         (EXCEPTION_TESTS): Likewise.
12641         * math/libm-test.inc (test_exceptions): Only test exceptions if
12642         EXCEPTION_TESTS (FLOAT).
12644 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12646         * benchtests/Makefile (string-bench): Add strcpy_chk and
12647         stpcpy_chk.
12648         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12649         * benchtests/bench-stpcpy_chk.c: New file.
12650         * benchtests/bench-strcpy_chk-ifunc.c: New file.
12651         * benchtests/bench-strcpy_chk.c: New file.
12652         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12653         code.
12654         (do_test): Likewise.
12656 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12658         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12659         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12660         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12661         with tabs where appropriate.
12662         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12663         dl-procinfo.h.
12664         [PPC_PLATFORM_PPC440]: Likewise.
12665         [PPC_PLATFORM_PPC464]: Likewise.
12666         [PPC_PLATFORM_PPC476]: Likewise.
12667         (_dl_string_platform): Add support for detecting ppc405, ppc440,
12668         ppc464, and ppc476 platform strings merging from ports/
12669         dl-procinfo.h.
12671 2013-06-11  Andreas Schwab  <schwab@suse.de>
12673         [BZ #14991]
12674         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12675         (from_ucs4_idx): Regenerate.
12676         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12677         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12678         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12679         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12680         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12681         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12682         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12683         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12684         from FROM_LOOP and TO_LOOP specific macros.
12685         (BODY): Handle combining characters.
12686         * iconvdata/BIG5HKSCS.irreversible: Update.
12687         * iconvdata/BIG5HKSCS.precomposed: New file.
12688         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12689         characters.
12690         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12692 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12694         * include/sys/time.h: Fix indentation and add copyright header.
12696         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12697         (do_test): Likewise.
12698         * string/test-memchr.c (do_one_test): Likewise.
12699         (do_test): Likewise.
12700         * string/test-memcmp.c (do_one_test): Likewise.
12701         (do_test): Likewise.
12702         * string/test-memcpy.c (do_one_test): Likewise.
12703         (do_test): Likewise.
12704         * string/test-memmem.c (do_one_test): Likewise.
12705         (do_test): Likewise.
12706         (do_random_tests): Likewise.
12707         * string/test-memmove.c (do_one_test): Likewise.
12708         (do_test): Likewise.
12709         * string/test-memset.c (do_one_test): Likewise.
12710         (do_test): Likewise.
12711         * string/test-rawmemchr.c (do_one_test): Likewise.
12712         (do_test): Likewise.
12713         * string/test-strcasecmp.c (do_one_test): Likewise.
12714         (do_test): Likewise.
12715         * string/test-strcasestr.c (do_one_test): Likewise.
12716         (do_test): Likewise.
12717         * string/test-strcat.c (do_one_test): Likewise.
12718         (do_test): Likewise.
12719         * string/test-strchr.c (do_one_test): Likewise.
12720         (do_test): Likewise.
12721         * string/test-strcmp.c (do_one_test): Likewise.
12722         (do_test): Likewise.
12723         * string/test-strcpy.c (do_one_test): Likewise.
12724         (do_test): Likewise.
12725         * string/test-string.h: Likewise.
12726         (test_init): Likewise.
12727         * string/test-strlen.c (do_one_test): Likewise.
12728         (do_test): Likewise.
12729         * string/test-strncasecmp.c (do_one_test): Likewise.
12730         (do_test): Likewise.
12731         * string/test-strncat.c (do_one_test): Likewise.
12732         (do_test): Likewise.
12733         * string/test-strncmp.c (do_one_test): Likewise.
12734         (do_test_limit): Likewise.
12735         (do_test): Likewise.
12736         * string/test-strncpy.c (do_one_test): Likewise.
12737         (do_test): Likewise.
12738         * string/test-strnlen.c (do_one_test): Likewise.
12739         (do_test): Likewise.
12740         * string/test-strpbrk.c (do_one_test): Likewise.
12741         (do_test): Likewise.
12742         * string/test-strrchr.c (do_one_test): Likewise.
12743         (do_test): Likewise.
12744         * string/test-strspn.c (do_one_test): Likewise.
12745         (do_test): Likewise.
12746         * string/test-strstr.c (do_one_test): Likewise.
12747         (do_test): Likewise.
12749         * benchtests/Makefile (string-bench): Add string benchmarks.
12750         * benchtests/bench-bcopy-ifunc.c: New file.
12751         * benchtests/bench-bcopy.c: New file.
12752         * benchtests/bench-bzero-ifunc.c: New file.
12753         * benchtests/bench-bzero.c: New file.
12754         * benchtests/bench-memccpy-ifunc.c: New file.
12755         * benchtests/bench-memccpy.c: New file.
12756         * benchtests/bench-memchr-ifunc.c: New file.
12757         * benchtests/bench-memchr.c: New file.
12758         * benchtests/bench-memcmp-ifunc.c: New file.
12759         * benchtests/bench-memcmp.c: New file.
12760         * benchtests/bench-memmem-ifunc.c: New file.
12761         * benchtests/bench-memmem.c: New file.
12762         * benchtests/bench-memmove-ifunc.c: New file.
12763         * benchtests/bench-memmove.c: New file.
12764         * benchtests/bench-mempcpy-ifunc.c: New file.
12765         * benchtests/bench-mempcpy.c: New file.
12766         * benchtests/bench-memset-ifunc.c: New file.
12767         * benchtests/bench-memset.c: New file.
12768         * benchtests/bench-rawmemchr-ifunc.c: New file.
12769         * benchtests/bench-rawmemchr.c: New file.
12770         * benchtests/bench-stpcpy-ifunc.c: New file.
12771         * benchtests/bench-stpcpy.c: New file.
12772         * benchtests/bench-stpncpy-ifunc.c: New file.
12773         * benchtests/bench-stpncpy.c: New file.
12774         * benchtests/bench-strcasecmp-ifunc.c: New file.
12775         * benchtests/bench-strcasecmp.c: New file.
12776         * benchtests/bench-strcasestr-ifunc.c: New file.
12777         * benchtests/bench-strcasestr.c: New file.
12778         * benchtests/bench-strcat-ifunc.c: New file.
12779         * benchtests/bench-strcat.c: New file.
12780         * benchtests/bench-strchr-ifunc.c: New file.
12781         * benchtests/bench-strchr.c: New file.
12782         * benchtests/bench-strchrnul-ifunc.c: New file.
12783         * benchtests/bench-strchrnul.c: New file.
12784         * benchtests/bench-strcmp-ifunc.c: New file.
12785         * benchtests/bench-strcmp.c: New file.
12786         * benchtests/bench-strcpy-ifunc.c: New file.
12787         * benchtests/bench-strcpy.c: New file.
12788         * benchtests/bench-strcspn-ifunc.c: New file.
12789         * benchtests/bench-strcspn.c: New file.
12790         * benchtests/bench-strlen-ifunc.c: New file.
12791         * benchtests/bench-strlen.c: New file.
12792         * benchtests/bench-strncasecmp-ifunc.c: New file.
12793         * benchtests/bench-strncasecmp.c: New file.
12794         * benchtests/bench-strncat-ifunc.c: New file.
12795         * benchtests/bench-strncat.c: New file.
12796         * benchtests/bench-strncmp-ifunc.c: New file.
12797         * benchtests/bench-strncmp.c: New file.
12798         * benchtests/bench-strncpy-ifunc.c: New file.
12799         * benchtests/bench-strncpy.c: New file.
12800         * benchtests/bench-strnlen-ifunc.c: New file.
12801         * benchtests/bench-strnlen.c: New file.
12802         * benchtests/bench-strpbrk-ifunc.c: New file.
12803         * benchtests/bench-strpbrk.c: New file.
12804         * benchtests/bench-strrchr-ifunc.c: New file.
12805         * benchtests/bench-strrchr.c: New file.
12806         * benchtests/bench-strspn-ifunc.c: New file.
12807         * benchtests/bench-strspn.c: New file.
12808         * benchtests/bench-strstr-ifunc.c: New file.
12809         * benchtests/bench-strstr.c: New file.
12811         * benchtests/Makefile: Disable parallel execution of targets.
12812         (string-bench): Add memcpy.
12813         (benchset): New variable to store a list of benchmark sets.
12814         (bench-func): Renamed from bench.
12815         (bench-set): New target.
12816         (bench): Depend on bench-func and bench-set.
12817         * benchtests/README: Add section on benchmark sets.
12818         * benchtests/bench-memcpy-ifunc.c: New file.
12819         * benchtests/bench-memcpy.c: New file.
12820         * benchtests/bench-string.h: New file.
12822 2013-06-11  Andreas Schwab  <schwab@suse.de>
12824         [BZ #15577]
12825         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12826         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12827         values in the triple.
12828         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12829         terminator in the group key.
12831 2013-06-11  Andreas Jaeger  <aj@suse.de>
12833         * po/zh_TW.po: Update Chinese (traditional) translation from
12834         translation project.
12836 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12838         * include/time.h (__clock_gettime): Add libc_hidden_proto.
12839         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12840         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
12841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12842         (clock_getcpuclockid): Likewise.
12843         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12844         Add weak_alias and libc_hidden_def.
12845         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12846         * rt/clock_gettime.c (clock_gettime): Rename to
12847         __clock_gettime.  Add weak_alias and libc_hidden_def.
12848         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12849         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12850         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
12851         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12852         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12853         Likewise.
12854         * rt/clock_settime.c (clock_settime): Rename to
12855         __clock_settime.  Add weak_alias and libc_hidden_def.
12856         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12858 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
12860         * mach/err_boot.sub: Remove trailing whitespace.
12861         * mach/err_ipc.sub: Likewise.
12862         * mach/err_mach.sub: Likewise.
12864         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12865         (ROUNDING_TESTS_double): Likewise.
12866         (ROUNDING_TESTS_long_double): Likewise.
12867         (ROUNDING_TESTS): Likewise.
12868         * math/libm-test.inc: Include <math-tests.h>.
12869         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12870         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12871         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12872         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12874 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12876         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12877         of assigning.
12879 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
12881         * sysdeps/gnu/errlist.awk: Do not generate space at end of
12882         otherwise empty TRANS lines.
12883         * sysdeps/gnu/errlist.c: Regenerated.
12885         * catgets/gencat.c (error_print): Use (void) in function
12886         definition.
12887         * crypt/crypt_util.c (__init_des): Likewise.
12888         * crypt/speeds.c (Stop): Likewise.
12889         (main): Likewise.
12890         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12891         * inet/ruserpass.c (token): Likewise.
12892         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12893         * intl/localealias.c (extend_alias_table): Likewise.
12894         * intl/plural-exp.c (init_germanic_plural): Likewise.
12895         * libio/fcloseall.c (__fcloseall): Likewise.
12896         * libio/genops.c (_IO_flush_all): Likewise.
12897         (_IO_flush_all_linebuffered): Likewise.
12898         (_IO_cleanup): Likewise.
12899         (_IO_iter_begin): Likewise.
12900         (_IO_iter_end): Likewise.
12901         (_IO_list_lock): Likewise.
12902         (_IO_list_unlock): Likewise.
12903         (_IO_list_resetlock): Likewise.
12904         * libio/getchar.c (getchar): Likewise.
12905         * libio/getchar_u.c (getchar_unlocked): Likewise.
12906         * libio/getwchar.c (getwchar): Likewise.
12907         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12908         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12909         * login/getpt.c (__getpt): Likewise.
12910         * login/tst-utmp.c (main): Likewise.
12911         * malloc/hooks.c (__malloc_check_init): Likewise.
12912         * malloc/malloc.c (__malloc_stats): Likewise.
12913         * malloc/mtrace.c (tr_break): Likewise.
12914         (mtrace): Likewise.
12915         (muntrace): Likewise.
12916         * misc/fstab.c (endfsent): Likewise.
12917         * misc/getclktck.c (__getclktck): Likewise.
12918         * misc/getdtsz.c (__getdtablesize): Likewise.
12919         * misc/gethostid.c (gethostid): Likewise.
12920         * misc/getpagesize.c (__getpagesize): Likewise.
12921         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12922         (__get_nprocs): Likewise.
12923         (__get_phys_pages): Likewise.
12924         (__get_avphys_pages): Likewise.
12925         * misc/getttyent.c (getttyent): Likewise.
12926         (setttyent): Likewise.
12927         (endttyent): Likewise.
12928         * misc/getusershell.c (getusershell): Likewise.
12929         (endusershell): Likewise.
12930         (setusershell): Likewise.
12931         (initshells): Likewise.
12932         * misc/hsearch.c (__hdestroy): Likewise.
12933         * misc/sync.c (sync): Likewise.
12934         * misc/syslog.c (closelog_internal): Likewise.
12935         (closelog): Likewise.
12936         * misc/ttyslot.c (ttyslot): Likewise.
12937         * misc/vhangup.c (vhangup): Likewise.
12938         * posix/fork.c (__fork): Likewise.
12939         * posix/getegid.c (__getegid): Likewise.
12940         * posix/geteuid.c (__geteuid): Likewise.
12941         * posix/getgid.c (__getgid): Likewise.
12942         * posix/getpid.c (__getpid): Likewise.
12943         * posix/getppid.c (__getppid): Likewise.
12944         * posix/getuid.c (__getuid): Likewise.
12945         * posix/pause.c (pause): Likewise.
12946         * posix/setpgrp.c (setpgrp): Likewise.
12947         * posix/setsid.c (__setsid): Likewise.
12948         * posix/test-vfork.c (noop): Likewise.
12949         * resolv/gethnamaddr.c (_endhtent): Likewise.
12950         (_gethtent): Likewise.
12951         (ht_endhostent): Likewise.
12952         (gethostent): Likewise.
12953         (dns_service): Likewise.
12954         * stdlib/drand48.c (drand48): Likewise.
12955         * stdlib/lrand48.c (lrand48): Likewise.
12956         * stdlib/mrand48.c (mrand48): Likewise.
12957         * stdlib/rand.c (rand): Likewise.
12958         * stdlib/random.c (__random): Likewise.
12959         * stdlib/setenv.c (clearenv): Likewise.
12960         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12961         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12962         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12963         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12964         (__get_nprocs): Likewise.
12965         (__get_phys_pages): Likewise.
12966         (__get_avphys_pages): Likewise.
12967         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12968         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12969         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12970         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12971         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12972         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12973         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12974         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12975         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12976         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12977         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12978         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12979         * sysdeps/posix/clock.c (clock): Likewise.
12980         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12981         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12982         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12983         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12984         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12985         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12986         (__get_nprocs_conf): Likewise.
12987         (__get_phys_pages): Likewise.
12988         (__get_avphys_pages): Likewise.
12989         * time/clock.c (clock): Likewise.
12990         * time/tzset.c (__tzname_max): Likewise.
12992 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12994         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12995         (__bswap_32): Do not use "register".
12996         * crypt/crypt.c (_ufc_doit_r): Likewise.
12997         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12998         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12999         * gmon/gmon.c (__monstartup): Likewise.
13000         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13001         * hurd/hurdmalloc.c (more_memory): Likewise.
13002         (malloc): Likewise.
13003         (free): Likewise.
13004         (realloc): Likewise.
13005         (malloc_fork_prepare): Likewise.
13006         (malloc_fork_parent): Likewise.
13007         (malloc_fork_child): Likewise.
13008         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13009         (_svcauth_des): Likewise.
13010         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13011         * inet/inet_net.c (inet_network): Likewise.
13012         * inet/inet_netof.c (inet_netof): Likewise.
13013         * inet/rcmd.c (__validuser2_sa): Likewise.
13014         * io/fts.c (fts_open): Likewise.
13015         (fts_load): Likewise.
13016         (fts_close): Likewise.
13017         (fts_read): Likewise.
13018         (fts_children): Likewise.
13019         (fts_build): Likewise.
13020         (fts_stat): Likewise.
13021         (fts_sort): Likewise.
13022         (fts_alloc): Likewise.
13023         (fts_lfree): Likewise.
13024         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13025         (_IO_file_xsgetn): Likewise.
13026         (_IO_file_xsgetn_mmap): Likewise.
13027         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13028         (_IO_cookie_write): Likewise.
13029         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13030         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13031         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13032         * malloc/obstack.c (_obstack_begin): Likewise.
13033         (_obstack_begin_1): Likewise.
13034         (_obstack_newchunk): Likewise.
13035         (_obstack_allocated_p): Likewise.
13036         (obstack_free): Likewise.
13037         (_obstack_memory_used): Likewise.
13038         * misc/getttyent.c (getttynam): Likewise.
13039         (getttyent): Likewise.
13040         (skip): Likewise.
13041         (value): Likewise.
13042         * misc/getusershell.c (initshells): Likewise.
13043         * misc/syslog.c (__vsyslog_chk): Likewise.
13044         * misc/ttyslot.c (ttyslot): Likewise.
13045         * nis/nis_hash.c (__nis_hash): Likewise.
13046         * posix/fnmatch_loop.c (FCT): Likewise.
13047         * posix/getconf.c (print_all): Likewise.
13048         (main): Likewise.
13049         * posix/getopt.c (exchange): Likewise.
13050         * posix/glob.c (globfree): Likewise.
13051         (prefix_array): Likewise.
13052         (__glob_pattern_type): Likewise.
13053         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13054         (NS_GET32): Likewise.
13055         (NS_PUT16): Likewise.
13056         (NS_PUT32): Likewise.
13057         * resolv/gethnamaddr.c (getanswer): Likewise.
13058         (gethostbyname2): Likewise.
13059         (gethostbyaddr): Likewise.
13060         (_gethtent): Likewise.
13061         (_gethtbyname2): Likewise.
13062         (_gethtbyaddr): Likewise.
13063         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13064         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13065         * resolv/res_init.c (__res_vinit): Likewise.
13066         (net_mask): Likewise.
13067         * resolv/res_mkquery.c (outchar): Likewise.
13068         (PRINT): Likewise.
13069         * stdio-common/printf_fp.c (outchar): Likewise.
13070         (PRINT): Likewise.
13071         * stdio-common/printf_fphex.c (outchar): Likewise.
13072         (PRINT): Likewise.
13073         * stdio-common/printf_size.c (outchar): Likewise.
13074         (PRINT): Likewise.
13075         * stdio-common/test_rdwr.c (main): Likewise.
13076         * stdio-common/tfformat.c (matches): Likewise.
13077         * stdio-common/vfprintf.c (outchar): Likewise.
13078         (printf_unknown): Likewise.
13079         (buffered_vfprintf): Likewise.
13080         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13081         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13082         (ReadFile): Likewise.
13083         * stdlib/qsort.c (SWAP): Likewise.
13084         (_quicksort): Likewise.
13085         * stdlib/setenv.c (__add_to_environ): Likewise.
13086         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13087         * stdlib/strtol_l.c (__strtol_l): Likewise.
13088         * stdlib/tst-strtod.c (main): Likewise.
13089         * stdlib/tst-strtol.c (main): Likewise.
13090         * stdlib/tst-strtoll.c (main): Likewise.
13091         * string/bits/string2.h (__strcmp_cc): Likewise.
13092         (__strcmp_cg): Likewise.
13093         (__strcspn_c1): Likewise.
13094         (__strcspn_c2): Likewise.
13095         (__strcspn_c3): Likewise.
13096         (__strspn_c1): Likewise.
13097         (__strspn_c2): Likewise.
13098         (__strspn_c3): Likewise.
13099         (__strsep_1c): Likewise.
13100         (__strsep_2c): Likewise.
13101         (__strsep_3c): Likewise.
13102         * string/memccpy.c (__memccpy): Likewise.
13103         * string/stpcpy.c (__stpcpy): Likewise.
13104         * string/strcmp.c (strcmp): Likewise.
13105         * string/strrchr.c (strrchr): Likewise.
13106         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13107         Likewise.
13108         * sysdeps/mach/hurd/getcwd.c
13109         (_hurd_canonicalize_directory_name_internal): Likewise.
13110         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13111         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13112         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13113         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13114         Likewise, in both definitions.
13115         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13116         definitions.
13117         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13118         64] (__bswap_64): Likewise.
13119         * time/test_time.c (main): Likewise.
13120         * time/tzfile.c (__tzfile_read): Likewise.
13121         (__tzfile_compute): Likewise.
13122         * time/tzset.c (__tzset_parse_tz): Likewise.
13123         (tzset_internal): Likewise.
13124         (compute_change): Likewise.
13125         * wcsmbs/wcscat.c (__wcscat): Likewise.
13126         * wcsmbs/wcschr.c (wcschr): Likewise.
13127         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13128         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13129         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13130         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13131         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13132         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13133         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13134         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13135         * wcsmbs/wmemset.c (wmemset): Likewise.
13137 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13139         * scripts/config.guess: Update to version 2013-05-16.
13140         * scripts/config.sub: Update to version 2013-04-24.
13141         * scripts/install-sh: Update to version 2011-11-20.07.
13142         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13143         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13145 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13147         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13148         * elf/sln.c: Likewise.
13149         * hurd/hurd/ioctl.h: Likewise.
13150         * hurd/hurdmalloc.c: Likewise.
13151         * hurd/xattr.c: Likewise.
13152         * include/shlib-compat.h: Likewise.
13153         * inet/ruserpass.c: Likewise.
13154         * libio/iofgets_u.c: Likewise.
13155         * libio/iofgetws_u.c: Likewise.
13156         * locale/programs/ld-identification.c: Likewise.
13157         * locale/programs/ld-time.c: Likewise.
13158         * mach/msg-destroy.c: Likewise.
13159         * nss/nss_files/files-netgrp.c: Likewise.
13160         * resolv/res_data.c: Likewise.
13161         * soft-fp/op-1.h: Likewise.
13162         * soft-fp/op-2.h: Likewise.
13163         * soft-fp/op-4.h: Likewise.
13164         * soft-fp/op-common.h: Likewise.
13165         * stdio-common/printf_fphex.c: Likewise.
13166         * stdlib/strtod_l.c: Likewise.
13167         * sunrpc/rpc/clnt.h: Likewise.
13168         * sysdeps/generic/framestate.c: Likewise.
13169         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13170         * sysdeps/i386/bsd-setjmp.S: Likewise.
13171         * sysdeps/i386/__longjmp.S: Likewise.
13172         * sysdeps/i386/setjmp.S: Likewise.
13173         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13174         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13176         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13177         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13178         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13182         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13183         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13184         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13185         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13186         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13187         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13188         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13189         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13190         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13191         * sysdeps/ieee754/support.c: Likewise.
13192         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13193         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13194         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13195         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13196         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13197         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13198         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13199         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13200         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13201         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13202         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13203         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13204         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13205         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13206         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13207         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13208         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13211 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13213         * posix/transbug.c: Remove executable mode.
13215 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13217         * crypt/speeds.c: Remove trailing whitespace.
13218         * dlfcn/default.c: Likewise.
13219         * elf/ifuncdep2.c: Likewise.
13220         * elf/ifuncmain1.c: Likewise.
13221         * elf/ifuncmain1vis.c: Likewise.
13222         * elf/testobj.h: Likewise.
13223         * elf/tst-stackguard1.c: Likewise.
13224         * gmon/sys/gmon.h: Likewise.
13225         * hurd/hurdmsg.c: Likewise.
13226         * hurd/new-fd.c: Likewise.
13227         * hurd/ports-get.c: Likewise.
13228         * iconvdata/ibm1008_420.c: Likewise.
13229         * inet/tst-getni1.c: Likewise.
13230         * inet/tst-getni2.c: Likewise.
13231         * libio/ioungetc.c: Likewise.
13232         * libio/wfiledoalloc.c: Likewise.
13233         * manual/libm-err-tab.pl: Likewise.
13234         * math/w_dremf.c: Likewise.
13235         * misc/ftruncate.c: Likewise.
13236         * posix/bug-glob2.c: Likewise.
13237         * posix/tst-pcre.c: Likewise.
13238         * posix/wait4.c: Likewise.
13239         * resolv/README: Likewise.
13240         * resolv/res_debug.h: Likewise.
13241         * resolv/tst-inet_ntop.c: Likewise.
13242         * setjmp/bug269-setjmp.c: Likewise.
13243         * soft-fp/extended.h: Likewise.
13244         * soft-fp/op-1.h: Likewise.
13245         * soft-fp/op-2.h: Likewise.
13246         * soft-fp/op-4.h: Likewise.
13247         * soft-fp/op-8.h: Likewise.
13248         * soft-fp/testit.c: Likewise.
13249         * stdio-common/bug16.c: Likewise.
13250         * stdlib/random.c: Likewise.
13251         * sunrpc/rpcsvc/rquota.x: Likewise.
13252         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13253         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13255         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13256         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13257         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13258         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13259         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13260         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13261         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13262         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13263         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13264         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13265         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13266         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13267         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13268         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13269         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13270         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13271         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13272         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13273         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13274         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13275         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13276         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13277         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13278         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13280         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13281         * sysdeps/ieee754/s_lib_version.c: Likewise.
13282         * sysdeps/mach/hurd/check_fds.c: Likewise.
13283         * sysdeps/mach/hurd/getsockname.c: Likewise.
13284         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13285         * sysdeps/mach/hurd/recvfrom.c: Likewise.
13286         * sysdeps/powerpc/bits/link.h: Likewise.
13287         * sysdeps/powerpc/dl-procinfo.c: Likewise.
13288         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13289         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13290         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13291         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13292         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13293         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13294         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13295         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13296         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13297         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13298         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13299         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13300         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13301         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13302         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13303         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13304         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13305         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13306         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13307         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13308         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13309         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13310         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13311         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13312         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13313         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13314         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13315         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13316         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13317         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13318         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13319         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13320         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13321         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13322         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13323         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13324         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13325         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13326         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13327         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13328         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13329         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13330         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13331         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13332         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13333         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13334         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13335         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13336         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13339         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13340         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13341         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13342         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13343         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13344         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13345         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13346         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13347         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13348         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13349         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13350         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13351         * sysdeps/powerpc/sysdep.h: Likewise.
13352         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13353         * sysdeps/s390/s390-64/sub_n.S: Likewise.
13354         * sysdeps/sh/dl-trampoline.S: Likewise.
13355         * sysdeps/sh/memset.S: Likewise.
13356         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13357         * sysdeps/sh/strlen.S: Likewise.
13358         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13359         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13360         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13361         * sysdeps/sparc/sparc32/rem.S: Likewise.
13362         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13363         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13364         * sysdeps/sparc/sparc32/strchr.S: Likewise.
13365         * sysdeps/sparc/sparc32/udiv.S: Likewise.
13366         * sysdeps/sparc/sparc32/urem.S: Likewise.
13367         * sysdeps/sparc/sparc64/add_n.S: Likewise.
13368         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13369         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13370         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13371         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13372         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13373         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13374         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13375         * sysdeps/unix/bsd/times.c: Likewise.
13376         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13377         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13381         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13382         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13383         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13384         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13385         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13386         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13387         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13388         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13389         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13390         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13391         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13392         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13393         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13394         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13395         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13396         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13397         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13398         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13399         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13400         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13401         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13402         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13403         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13404         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13405         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13406         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13407         * sysdeps/x86_64/strcspn.S: Likewise.
13409 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13411         * locale/C-translit.h: Revert #include <stdint.h> because this is a
13412         generated file.  Regenerate properly from gen-translit.pl.
13413         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
13414         locale/C-translit.h.
13416 2013-06-05  Andreas Schwab  <schwab@suse.de>
13418         [BZ #15100]
13419         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13420         week as 6 instead of -1.
13421         * time/tst-strptime.c (day_tests): Add test case.
13423 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13425         * sysdeps/generic/math_private.h
13426         (libc_feholdexcept_setround_53bit): Replace with
13427         libc_feholdsetround_53bit.
13428         (libc_feupdateenv_53bit): Replace with
13429         libc_feresetround_53bit.
13430         (SET_RESTORE_ROUND_53BIT): Adjust.
13432 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13434         * string/test-strchrnul.c: Add copyright header.
13436         * posix/tst-getaddrinfo4.c: Increase test timeout.
13438 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
13440         [BZ #15536]
13441         * math/libm-test.inc (MAX_EXP): Remove
13442         (MIN_EXP): Define.
13443         (ulp): Use MIN_EXP - MANT_DIG.
13444         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13446 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
13448         * po/be.po: Revert last change.
13449         * po/zh_CN.po: Likewise.
13450         * po/header.pot: Likewise.
13452 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
13454         * Makefile ($(common-objpfx)linkobj/libc.so): Define
13455         link-libc-deps to empty as target-specific variable.
13456         * Makerules (link-libc-args): New variable.
13457         (libc-for-link): Likewise.
13458         (link-libc-deps): Likewise.
13459         (lib%.so): Depend on $(link-libc-deps).  Link with
13460         $(link-libc-args).
13461         (build-module): Link with $(link-libc-args).
13462         (build-module-asneeded): Likewise.
13463         (build-module-helper-objlist): Filter out $(link-libc-deps) from
13464         list of objects.
13465         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13466         target-specific variable.
13467         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13468         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13469         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13470         libc.
13471         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13472         libc and ld.so.
13473         ($(objpfx)libpcprofile.so): Likewise.
13474         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13475         libc_nonshared.a.
13476         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13477         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13478         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13479         $(link-libc-deps).
13480         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13481         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13482         * login/Makefile ($(objpfx)libutil.so): Likewise.
13483         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13484         * math/Makefile ($(objpfx)libm.so): Likewise.
13485         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13486         $(objpfx)libnsl.so): Define libc-for-link as target-specific
13487         variable instead of depending directly on libc.
13488         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13489         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13490         $(link-libc-deps).
13491         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13492         libc.
13493         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13494         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13495         ($(objpfx)libanl.so): Likewise.
13496         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13497         ld.so.
13498         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13499         $(link-libc-deps).
13500         * sysdeps/i386/fpu/Makefile: Remove file.
13501         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13502         ($(objpfx)libm.so): Remove dependency on ld.so.
13504 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
13506         [BZ # 15553]
13507         * nis/yp_xdr.c (XDRMAXNAME): Define.
13508         (XDRMAXRECORD): Define.
13509         (xdr_domainname): Use XDRMAXNAME.
13510         (xdr_mapname): Likewise.
13511         (xdr_peername): Likewise.
13512         (xdr_keydat): Use XDRMAXRECORD.
13513         (xdr_valdat): Likewise.
13515 2013-05-30  Jeff Law  <law@redhat.com>
13517         [BZ #14256]
13518         * manual/errno.texi (ESTALE): Update to account for more than
13519         just NFS file systems.
13520         * sysdeps/gnu/errlist.c: Regenerated.
13522 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13524         [BZ #15465]
13525         * elf/Makefile (tests): Add tst-null-argv.
13526         (modules-names):  Add tst-null-argv-lib.
13527         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13528         (tst-null-argv-ENV): Set environment for tst-null-argv.
13529         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13530         (RTLD_PROGNAME): New macro.
13531         * elf/tst-null-argv.c: New test case.
13532         * elf/tst-null-argv-lib.c: Library for test case.
13533         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13534         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13535         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13536         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13537         * elf/dl-init.c (call_init): Likewise.
13538         (_dl_init): Likewise.
13539         * elf/dl-load.c (print_search_path): Likewise.
13540         (_dl_map_object): Likewise.
13541         * elf/dl-lookup.c (do_lookup_x): Likewise.
13542         (add_dependency): Likewise.
13543         (_dl_lookup_symbol_x): Likewise.
13544         (_dl_debug_bindings): Likewise.
13545         * elf/dl-open.c (_dl_show_scope): Likewise.
13546         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13547         * elf/dl-version.c (match_symbol): Likewise.
13548         (_dl_check_map_versions): Likewise.
13549         * elf/rtld.c (dl_main): Likewise.
13550         (print_unresolved): Use RTLD_PROGNAME.
13551         (print_missing_version): Likewise.
13552         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13553         (elf_machine_rela): Likewise.
13554         * sysdeps/powerpc/powerpc32/dl-machine.c
13555         (__process_machine_rela): Likewise.
13556         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13557         Likewise.
13558         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13559         Likewise.
13560         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13561         Likewise.
13562         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13563         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13564         Likewise.
13565         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13566         Likewise.
13567         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13569 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
13571         * po/be.po: Add descriptive title.
13572         * po/zh_CN.po: Likewise.
13573         * po/header.pot: Likewise.
13575 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
13577         * locale/programs/locarchive.c (create_archive): Inlucde fname in
13578         error message.
13579         (enlarge_archive): Likewise.
13581 2013-05-28  Ben North  <ben@redfrontdoor.org>
13583         * manual/arith.texi (frexp): It is the magnitude of the return
13584         value which lies in [0.5, 1), not the return value itself.
13586 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13590 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
13592         * stdio-common/bug26.c (main): Correct fscanf template.
13594         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13595         declare _dl_skip_args.
13597         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13598         Don't declare.
13600         * manual/platform.texi: Add missing @end deftypefun.
13602 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13604         [BZ #15529]
13605         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13606         bit of mantissa of 2^16382.
13607         * math/libm-test.inc (hypot_test_data): Add more tests.
13609         * math/libm-test.inc: Add drem and pow10 to list of tested
13610         functions.
13611         (pow10_test): New function.
13612         (drem_test): Likewise.
13613         (drem_test_tonearest): Likewise.
13614         (drem_test_towardzero): Likewise.
13615         (drem_test_downward): Likewise.
13616         (drem_test_upward): Likewise.
13617         (main): Call the new functions.
13619         * math/libm-test.inc (finite_test_data): Remove.
13620         (finite_test): Run tests from isfinite_test_data.
13621         (gamma_test_data): Remove.
13622         (gamma_test): Run tests from lgamma_test_data.
13623         * sysdeps/i386/fpu/libm-test-ulps: Update.
13624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13626 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13628         * manual/platform.texi: Add PowerPC PPR function set documentation.
13629         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13630         implementation.
13632 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
13634         * math/libm-test.inc (MAX_EXP): Define.
13635         (ULPDIFF): Define.
13636         (ulp): New function.
13637         (check_float_internal): Use ULPDIFF.
13638         (cpow_test): Disable failing test.
13639         (check_ulp): Test ulp() implemetnation.
13640         (main): Call check_ulp before starting tests.
13642 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13644         * math/gen-libm-test.pl (generate_testfile): Do not handle
13645         START_DATA and END_DATA.
13646         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13647         END_DATA.
13648         (acos_tonearest_test_data): Likewise.
13649         (acos_towardzero_test_data): Likewise.
13650         (acos_downward_test_data): Likewise.
13651         (acos_upward_test_data): Likewise.
13652         (acosh_test_data): Likewise.
13653         (asin_test_data): Likewise.
13654         (asin_tonearest_test_data): Likewise.
13655         (asin_towardzero_test_data): Likewise.
13656         (asin_downward_test_data): Likewise.
13657         (asin_upward_test_data): Likewise.
13658         (asinh_test_data): Likewise.
13659         (atan_test_data): Likewise.
13660         (atanh_test_data): Likewise.
13661         (atan2_test_data): Likewise.
13662         (cabs_test_data): Likewise.
13663         (cacos_test_data): Likewise.
13664         (cacosh_test_data): Likewise.
13665         (carg_test_data): Likewise.
13666         (casin_test_data): Likewise.
13667         (casinh_test_data): Likewise.
13668         (catan_test_data): Likewise.
13669         (catanh_test_data): Likewise.
13670         (cbrt_test_data): Likewise.
13671         (ccos_test_data): Likewise.
13672         (ccosh_test_data): Likewise.
13673         (ceil_test_data): Likewise.
13674         (cexp_test_data): Likewise.
13675         (cimag_test_data): Likewise.
13676         (clog_test_data): Likewise.
13677         (clog10_test_data): Likewise.
13678         (conj_test_data): Likewise.
13679         (copysign_test_data): Likewise.
13680         (cos_test_data): Likewise.
13681         (cos_tonearest_test_data): Likewise.
13682         (cos_towardzero_test_data): Likewise.
13683         (cos_downward_test_data): Likewise.
13684         (cos_upward_test_data): Likewise.
13685         (cosh_test_data): Likewise.
13686         (cosh_tonearest_test_data): Likewise.
13687         (cosh_towardzero_test_data): Likewise.
13688         (cosh_downward_test_data): Likewise.
13689         (cosh_upward_test_data): Likewise.
13690         (cpow_test_data): Likewise.
13691         (cproj_test_data): Likewise.
13692         (creal_test_data): Likewise.
13693         (csin_test_data): Likewise.
13694         (csinh_test_data): Likewise.
13695         (csqrt_test_data): Likewise.
13696         (ctan_test_data): Likewise.
13697         (ctan_tonearest_test_data): Likewise.
13698         (ctan_towardzero_test_data): Likewise.
13699         (ctan_downward_test_data): Likewise.
13700         (ctan_upward_test_data): Likewise.
13701         (ctanh_test_data): Likewise.
13702         (ctanh_tonearest_test_data): Likewise.
13703         (ctanh_towardzero_test_data): Likewise.
13704         (ctanh_downward_test_data): Likewise.
13705         (ctanh_upward_test_data): Likewise.
13706         (erf_test_data): Likewise.
13707         (erfc_test_data): Likewise.
13708         (exp_test_data): Likewise.
13709         (exp_tonearest_test_data): Likewise.
13710         (exp_towardzero_test_data): Likewise.
13711         (exp_downward_test_data): Likewise.
13712         (exp_upward_test_data): Likewise.
13713         (exp10_test_data): Likewise.
13714         (exp2_test_data): Likewise.
13715         (expm1_test_data): Likewise.
13716         (fabs_test_data): Likewise.
13717         (fdim_test_data): Likewise.
13718         (finite_test_data): Likewise.
13719         (floor_test_data): Likewise.
13720         (fma_test_data): Likewise.
13721         (fma_towardzero_test_data): Likewise.
13722         (fma_downward_test_data): Likewise.
13723         (fma_upward_test_data): Likewise.
13724         (fmax_test_data): Likewise.
13725         (fmin_test_data): Likewise.
13726         (fmod_test_data): Likewise.
13727         (fpclassify_test_data): Likewise.
13728         (frexp_test_data): Likewise.
13729         (gamma_test_data): Likewise.
13730         (hypot_test_data): Likewise.
13731         (ilogb_test_data): Likewise.
13732         (isfinite_test_data): Likewise.
13733         (isgreater_test_data): Likewise.
13734         (isgreaterequal_test_data): Likewise.
13735         (isinf_test_data): Likewise.
13736         (isless_test_data): Likewise.
13737         (islessequal_test_data): Likewise.
13738         (islessgreater_test_data): Likewise.
13739         (isnan_test_data): Likewise.
13740         (isnormal_test_data): Likewise.
13741         (issignaling_test_data): Likewise.
13742         (isunordered_test_data): Likewise.
13743         (j0_test_data): Likewise.
13744         (j1_test_data): Likewise.
13745         (jn_test_data): Likewise.
13746         (ldexp_test_data): Likewise.
13747         (lgamma_test_data): Likewise.
13748         (lrint_test_data): Likewise.
13749         (lrint_tonearest_test_data): Likewise.
13750         (lrint_towardzero_test_data): Likewise.
13751         (lrint_downward_test_data): Likewise.
13752         (lrint_upward_test_data): Likewise.
13753         (llrint_test_data): Likewise.
13754         (llrint_tonearest_test_data): Likewise.
13755         (llrint_towardzero_test_data): Likewise.
13756         (llrint_downward_test_data): Likewise.
13757         (llrint_upward_test_data): Likewise.
13758         (log_test_data): Likewise.
13759         (log10_test_data): Likewise.
13760         (log1p_test_data): Likewise.
13761         (log2_test_data): Likewise.
13762         (logb_test_data): Likewise.
13763         (logb_downward_test_data): Likewise.
13764         (lround_test_data): Likewise.
13765         (llround_test_data): Likewise.
13766         (modf_test_data): Likewise.
13767         (nearbyint_test_data): Likewise.
13768         (nextafter_test_data): Likewise.
13769         (nexttoward_test_data): Likewise.
13770         (pow_test_data): Likewise.
13771         (pow_tonearest_test_data): Likewise.
13772         (pow_towardzero_test_data): Likewise.
13773         (pow_downward_test_data): Likewise.
13774         (pow_upward_test_data): Likewise.
13775         (remainder_test_data): Likewise.
13776         (remainder_tonearest_test_data): Likewise.
13777         (remainder_towardzero_test_data): Likewise.
13778         (remainder_downward_test_data): Likewise.
13779         (remainder_upward_test_data): Likewise.
13780         (remquo_test_data): Likewise.
13781         (rint_test_data): Likewise.
13782         (rint_tonearest_test_data): Likewise.
13783         (rint_towardzero_test_data): Likewise.
13784         (rint_downward_test_data): Likewise.
13785         (rint_upward_test_data): Likewise.
13786         (round_test_data): Likewise.
13787         (scalb_test_data): Likewise.
13788         (scalbn_test_data): Likewise.
13789         (scalbln_test_data): Likewise.
13790         (signbit_test_data): Likewise.
13791         (sin_test_data): Likewise.
13792         (sin_tonearest_test_data): Likewise.
13793         (sin_towardzero_test_data): Likewise.
13794         (sin_downward_test_data): Likewise.
13795         (sin_upward_test_data): Likewise.
13796         (sincos_test_data): Likewise.
13797         (sinh_test_data): Likewise.
13798         (sinh_tonearest_test_data): Likewise.
13799         (sinh_towardzero_test_data): Likewise.
13800         (sinh_downward_test_data): Likewise.
13801         (sinh_upward_test_data): Likewise.
13802         (sqrt_test_data): Likewise.
13803         (tan_test_data): Likewise.
13804         (tan_tonearest_test_data): Likewise.
13805         (tan_towardzero_test_data): Likewise.
13806         (tan_downward_test_data): Likewise.
13807         (tan_upward_test_data): Likewise.
13808         (tanh_test_data): Likewise.
13809         (tgamma_test_data): Likewise.
13810         (trunc_test_data): Likewise.
13811         (y0_test_data): Likewise.
13812         (y1_test_data): Likewise.
13813         (yn_test_data): Likewise.
13814         (significand_test_data): Likewise.
13816         * math/gen-libm-test.pl (@functions): Remove variable.
13817         (generate_testfile): Don't handle START and END lines.
13818         * math/libm-test.inc (START): New macro.
13819         (END): Likewise.
13820         (END_COMPLEX): Likewise.
13821         (acos_test): Use END macro without arguments.
13822         (acos_test_tonearest): Likewise.
13823         (acos_test_towardzero): Likewise.
13824         (acos_test_downward): Likewise.
13825         (acos_test_upward): Likewise.
13826         (acosh_test): Likewise.
13827         (asin_test): Likewise.
13828         (asin_test_tonearest): Likewise.
13829         (asin_test_towardzero): Likewise.
13830         (asin_test_downward): Likewise.
13831         (asin_test_upward): Likewise.
13832         (asinh_test): Likewise.
13833         (atan_test): Likewise.
13834         (atanh_test): Likewise.
13835         (atan2_test): Likewise.
13836         (cabs_test): Likewise.
13837         (cacos_test): Use END_COMPLEX macro without arguments.
13838         (cacosh_test): Likewise.
13839         (carg_test): Use END macro without arguments.
13840         (casin_test): Use END_COMPLEX macro without arguments.
13841         (casinh_test): Likewise.
13842         (catan_test): Likewise.
13843         (catanh_test): Likewise.
13844         (cbrt_test): Use END macro without arguments.
13845         (ccos_test): Use END_COMPLEX macro without arguments.
13846         (ccosh_test): Likewise.
13847         (ceil_test): Use END macro without arguments.
13848         (cexp_test): Use END_COMPLEX macro without arguments.
13849         (cimag_test): Use END macro without arguments.
13850         (clog_test): Use END_COMPLEX macro without arguments.
13851         (clog10_test): Likewise.
13852         (conj_test): Likewise.
13853         (copysign_test): Use END macro without arguments.
13854         (cos_test): Likewise.
13855         (cos_test_tonearest): Likewise.
13856         (cos_test_towardzero): Likewise.
13857         (cos_test_downward): Likewise.
13858         (cos_test_upward): Likewise.
13859         (cosh_test): Likewise.
13860         (cosh_test_tonearest): Likewise.
13861         (cosh_test_towardzero): Likewise.
13862         (cosh_test_downward): Likewise.
13863         (cosh_test_upward): Likewise.
13864         (cpow_test): Use END_COMPLEX macro without arguments.
13865         (cproj_test): Likewise.
13866         (creal_test): Use END macro without arguments.
13867         (csin_test): Use END_COMPLEX macro without arguments.
13868         (csinh_test): Likewise.
13869         (csqrt_test): Likewise.
13870         (ctan_test): Likewise.
13871         (ctan_test_tonearest): Likewise.
13872         (ctan_test_towardzero): Likewise.
13873         (ctan_test_downward): Likewise.
13874         (ctan_test_upward): Likewise.
13875         (ctanh_test): Likewise.
13876         (ctanh_test_tonearest): Likewise.
13877         (ctanh_test_towardzero): Likewise.
13878         (ctanh_test_downward): Likewise.
13879         (ctanh_test_upward): Likewise.
13880         (erf_test): Use END macro without arguments.
13881         (erfc_test): Likewise.
13882         (exp_test): Likewise.
13883         (exp_test_tonearest): Likewise.
13884         (exp_test_towardzero): Likewise.
13885         (exp_test_downward): Likewise.
13886         (exp_test_upward): Likewise.
13887         (exp10_test): Likewise.
13888         (exp2_test): Likewise.
13889         (expm1_test): Likewise.
13890         (fabs_test): Likewise.
13891         (fdim_test): Likewise.
13892         (finite_test): Likewise.
13893         (floor_test): Likewise.
13894         (fma_test): Likewise.
13895         (fma_test_towardzero): Likewise.
13896         (fma_test_downward): Likewise.
13897         (fma_test_upward): Likewise.
13898         (fmax_test): Likewise.
13899         (fmin_test): Likewise.
13900         (fmod_test): Likewise.
13901         (fpclassify_test): Likewise.
13902         (frexp_test): Likewise.
13903         (gamma_test): Likewise.
13904         (hypot_test): Likewise.
13905         (ilogb_test): Likewise.
13906         (isfinite_test): Likewise.
13907         (isgreater_test): Likewise.
13908         (isgreaterequal_test): Likewise.
13909         (isinf_test): Likewise.
13910         (isless_test): Likewise.
13911         (islessequal_test): Likewise.
13912         (islessgreater_test): Likewise.
13913         (isnan_test): Likewise.
13914         (isnormal_test): Likewise.
13915         (issignaling_test): Likewise.
13916         (isunordered_test): Likewise.
13917         (j0_test): Likewise.
13918         (j1_test): Likewise.
13919         (jn_test): Likewise.
13920         (ldexp_test): Likewise.
13921         (lgamma_test): Likewise.
13922         (lrint_test): Likewise.
13923         (lrint_test_tonearest): Likewise.
13924         (lrint_test_towardzero): Likewise.
13925         (lrint_test_downward): Likewise.
13926         (lrint_test_upward): Likewise.
13927         (llrint_test): Likewise.
13928         (llrint_test_tonearest): Likewise.
13929         (llrint_test_towardzero): Likewise.
13930         (llrint_test_downward): Likewise.
13931         (llrint_test_upward): Likewise.
13932         (log_test): Likewise.
13933         (log10_test): Likewise.
13934         (log1p_test): Likewise.
13935         (log2_test): Likewise.
13936         (logb_test): Likewise.
13937         (logb_test_downward): Likewise.
13938         (lround_test): Likewise.
13939         (llround_test): Likewise.
13940         (modf_test): Likewise.
13941         (nearbyint_test): Likewise.
13942         (nextafter_test): Likewise.
13943         (nexttoward_test): Likewise.
13944         (pow_test): Likewise.
13945         (pow_test_tonearest): Likewise.
13946         (pow_test_towardzero): Likewise.
13947         (pow_test_downward): Likewise.
13948         (pow_test_upward): Likewise.
13949         (remainder_test): Likewise.
13950         (remainder_test_tonearest): Likewise.
13951         (remainder_test_towardzero): Likewise.
13952         (remainder_test_downward): Likewise.
13953         (remainder_test_upward): Likewise.
13954         (remquo_test): Likewise.
13955         (rint_test): Likewise.
13956         (rint_test_tonearest): Likewise.
13957         (rint_test_towardzero): Likewise.
13958         (rint_test_downward): Likewise.
13959         (rint_test_upward): Likewise.
13960         (round_test): Likewise.
13961         (scalb_test): Likewise.
13962         (scalbn_test): Likewise.
13963         (scalbln_test): Likewise.
13964         (signbit_test): Likewise.
13965         (sin_test): Likewise.
13966         (sin_test_tonearest): Likewise.
13967         (sin_test_towardzero): Likewise.
13968         (sin_test_downward): Likewise.
13969         (sin_test_upward): Likewise.
13970         (sincos_test): Likewise.
13971         (sinh_test): Likewise.
13972         (sinh_test_tonearest): Likewise.
13973         (sinh_test_towardzero): Likewise.
13974         (sinh_test_downward): Likewise.
13975         (sinh_test_upward): Likewise.
13976         (sqrt_test): Likewise.
13977         (tan_test): Likewise.
13978         (tan_test_tonearest): Likewise.
13979         (tan_test_towardzero): Likewise.
13980         (tan_test_downward): Likewise.
13981         (tan_test_upward): Likewise.
13982         (tanh_test): Likewise.
13983         (tgamma_test): Likewise.
13984         (trunc_test): Likewise.
13985         (y0_test): Likewise.
13986         (y1_test): Likewise.
13987         (yn_test): Likewise.
13988         (significand_test): Likewise.
13990 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13992         [BZ #15381]
13993         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13995 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13997         [BZ #14894]
13998         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13999         __ppc_mdoio and __ppc_mdoom.
14000         * manual/platform.texi: Document new functions __ppc_yield,
14001         __ppc_mdoio and __ppc_mdoom.
14003 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14005         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14006         (main): Mention "tls" pseudo-hwcap is legacy.
14007         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14009 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14011         * math/gen-libm-test.pl (parse_args): Output only string of
14012         arguments as text for test name, not full call or descriptions of
14013         tests for extra outputs.
14014         (generate_testfile): Do not pass function name to parse_args.
14015         Generate this_func variable from START.
14016         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14017         field to arg_str.
14018         (struct test_ff_f_data): Likewise.
14019         (test_ff_f_data_nexttoward): Likewise.
14020         (struct test_fi_f_data): Likewise.
14021         (struct test_fl_f_data): Likewise.
14022         (struct test_if_f_data): Likewise.
14023         (struct test_fff_f_data): Likewise.
14024         (struct test_c_f_data): Likewise.
14025         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14026         (struct test_fF_f1_data): Likewise.
14027         (struct test_ffI_f1_data): Likewise.
14028         (struct test_c_c_data): Rename test_name field to arg_str.
14029         (struct test_cc_c_data): Likewise.
14030         (struct test_f_i_data): Likewise.
14031         (struct test_ff_i_data): Likewise.
14032         (struct test_f_l_data): Likewise.
14033         (struct test_f_L_data): Likewise.
14034         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14035         and extra2_name.
14036         (COMMON_TEST_SETUP): New macro.
14037         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14038         (COMMON_TEST_CLEANUP): Likewise.
14039         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14040         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14041         macros.
14042         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14043         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14044         macros.
14045         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14046         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14047         cleanup macros.
14048         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14049         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14050         macros.
14051         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14052         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14053         macros.
14054         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14055         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14056         cleanup macros.
14057         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14058         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14059         cleanup macros.
14060         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14061         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14062         cleanup macros.
14063         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14064         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14065         macros.
14066         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14067         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14068         macros.
14069         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14070         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14071         macros.
14072         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14073         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14074         cleanup macros.
14075         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14076         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14077         cleanup macros.
14078         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14079         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14080         macros.
14081         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14082         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14083         cleanup macros.
14084         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14085         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14086         macros.
14087         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14088         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14089         macros.
14090         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14091         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14092         cleanup macros.
14093         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14095 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14097         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14098         to _sifields.sigfault.
14099         (si_addr_lsb): Define new macro.
14100         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14101         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14102         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14104 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14106         [BZ #15441]
14107         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14108         returns -1.
14109         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14110         null return -1.
14111         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14112         loading the domain.
14114 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14116         * math/gen-libm-test.pl (parse_args): Do not include expected
14117         result in test name.
14118         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14119         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14120         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14121         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14122         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14125 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14127         * benchtests/Makefile: Sort function entries.
14129         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14130         tanh, asinh, acosh, atanh.
14131         * benchtests/acos-inputs: New file.
14132         * benchtests/acosh-inputs: New file.
14133         * benchtests/asin-inputs: New file.
14134         * benchtests/asinh-inputs: New file.
14135         * benchtests/atanh-inputs: New file.
14136         * benchtests/cosh-inputs: New file.
14137         * benchtests/log-inputs: New file.
14138         * benchtests/sinh-inputs: New file.
14139         * benchtests/tanh-inputs: New file.
14141 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14143         [BZ #15339]
14144         * posix/tst-getaddrinfo4.c: New test.
14145         * posix/Makefile (tests): Add it.
14147 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14149         [BZ #15339]
14150         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14151         when no services were used.
14152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14153         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14155 2013-05-21  Andreas Schwab  <schwab@suse.de>
14157         [BZ #15014]
14158         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14159         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14160         successful.
14161         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14162         redundant variable declarations and reallocation of buffer when
14163         parsing as IPv6 address.  Always set NSS status when called from
14164         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14165         buffer too small.  Correct computation of needed size.
14166         * nss/Makefile (tests): Add test-digits-dots.
14167         * nss/test-digits-dots.c: New test.
14169 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14171         * benchtests/Makefile: Remove instructions for adding
14172         benchmark tests.
14173         * benchtests/README: New file to explain how to execute and
14174         enhance the benchmark tests.
14176 2013-05-21  Andreas Schwab  <schwab@suse.de>
14178         [BZ #15493]
14179         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14180         * setjmp/tst-sigsetjmp.c: New test.
14182 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14184         * sysdeps/x86_64/memset.S (memset): New implementation.
14185         (__bzero): Likewise.
14186         (__memset_tail): New function.
14188 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14190         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14191         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14192         __memcpy_sse2_unaligned ifunc selection.
14193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14194         Add memcpy-sse2-unaligned.S.
14195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14196         Add: __memcpy_sse2_unaligned.
14198 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14200         [BZ #15490]
14201         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14202         math_force_eval before restoring floating-point envrionment.
14203         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14204         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14205         Likewise.
14206         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14207         <math_private.h>.
14208         (__nearbyintl): Use math_force_eval before restoring
14209         floating-point environment.
14210         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14212         * math/gen-libm-test.pl (special_functions): Remove.
14213         (parse_args): Don't handle TEST_extra.  Handle functions with no
14214         return value.
14215         * math/libm-test.inc (struct test_sincos_data): Replace with
14216         struct test_fFF_11_data.
14217         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14218         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14219         (sincos_test_data): Change element type to struct
14220         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14221         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14222         RUN_TEST_LOOP_sincos.
14223         * math/README.libm-test: Don't mention special handling of
14224         individual functions.
14225         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14226         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14227         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14228         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14229         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14232         * math/gen-libm-test.pl (get_variable): Remove function.
14233         (parse_args): Don't show pointer parameters to call in test
14234         names.  Use "extra output N" in test names for extra outputs
14235         rather than naming variables.
14237 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14239         [BZ #15488]
14240         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14241         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14242         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14243         double tests.
14244         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14245         disable.
14246         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14247         check_long_double.
14249         * math/gen-libm-test.pl (@tests): Remove variable.
14250         ($count): Likewise.
14251         (new_test): Remove function.
14252         (show_exceptions): New function.
14253         (special_functions): Use show_exceptions instead of new_test.
14254         (parse_args): Likewise.
14255         (generate_testfile): Pass only function name in generated call to
14256         print_max_error or print_complex_max_error.
14257         (get_ulps): Do not handle complex tests specially.
14258         (output_test): Rename to ...
14259         (get_all_ulps_for_test): ... this.  Return a string rather than
14260         printing to a file.  Require ulps to be present.
14261         (output_ulps): Generate arrays rather than #defines.
14262         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14263         (struct ulp_data): New type.
14264         (BUILD_COMPLEX_ULP): Remove macro.
14265         (compare_ulp_data): New function.
14266         (find_ulps): Likewise.
14267         (find_test_ulps): Likewise.
14268         (find_function_ulps): Likewise.
14269         (find_complex_function_ulps): Likewise.
14270         (print_max_error): Determine allowed ulps using
14271         find_function_ulps.
14272         (print_complex_max_error): Determine allowed ulps using
14273         find_complex_function_ulps.
14274         (check_float_internal): Determine max ulps using find_test_ulps.
14275         (check_float): Do not take max_ulp parameter.  Update call to
14276         check_float_internal.
14277         (check_complex): Likewise.
14278         (check_int): Do not take max_ulp parameter.
14279         (check_long): Likewise.
14280         (check_bool): Likewise.
14281         (check_longlong): Likewise.
14282         (struct test_f_f_data): Remove max_ulp field.
14283         (struct test_ff_f_data): Likewise.
14284         (struct test_ff_f_data_nexttoward): Likewise.
14285         (struct test_fi_f_data): Likewise.
14286         (struct test_fl_f_data): Likewise.
14287         (struct test_if_f_data): Likewise.
14288         (struct test_fff_f_data): Likewise.
14289         (struct test_c_f_data): Likewise.
14290         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14291         (struct test_fF_f1_data): Likewise.
14292         (struct test_ffI_f1_data): Likewise.
14293         (struct test_c_c_data): Remove max_ulp field.
14294         (struct test_cc_c_data): Likewise.
14295         (struct test_f_i_data): Likewise.
14296         (struct test_ff_i_data): Likewise.
14297         (struct test_f_l_data): Likewise.
14298         (struct test_f_L_data): Likewise.
14299         (struct test_sincos_data): Likewise.
14300         (RUN_TEST_f_f): Do not handle ulps.
14301         (RUN_TEST_LOOP_f_f): Likewise.
14302         (RUN_TEST_2_f): Likewise.
14303         (RUN_TEST_LOOP_2_f): Likewise.
14304         (RUN_TEST_fff_f): Likewise.
14305         (RUN_TEST_LOOP_fff_f): Likewise.
14306         (RUN_TEST_c_f): Likewise.
14307         (RUN_TEST_LOOP_c_f): Likewise.
14308         (RUN_TEST_f_f1): Likewise.
14309         (RUN_TEST_LOOP_f_f1): Likewise.
14310         (RUN_TEST_fF_f1): Likewise.
14311         (RUN_TEST_LOOP_fF_f1): Likewise.
14312         (RUN_TEST_fI_f1): Likewise.
14313         (RUN_TEST_LOOP_fI_f1): Likewise.
14314         (RUN_TEST_ffI_f1): Likewise.
14315         (RUN_TEST_LOOP_ffI_f1): Likewise.
14316         (RUN_TEST_c_c): Likewise.
14317         (RUN_TEST_LOOP_c_c): Likewise.
14318         (RUN_TEST_cc_c): Likewise.
14319         (RUN_TEST_LOOP_cc_c): Likewise.
14320         (RUN_TEST_f_i): Likewise.
14321         (RUN_TEST_LOOP_f_i): Likewise.
14322         (RUN_TEST_f_i_tg): Likewise.
14323         (RUN_TEST_LOOP_f_i_tg): Likewise.
14324         (RUN_TEST_ff_i_tg): Likewise.
14325         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14326         (RUN_TEST_f_b): Likewise.
14327         (RUN_TEST_LOOP_f_b): Likewise.
14328         (RUN_TEST_f_b_tg): Likewise.
14329         (RUN_TEST_LOOP_f_b_tg): Likewise.
14330         (RUN_TEST_f_l): Likewise.
14331         (RUN_TEST_LOOP_f_l): Likewise.
14332         (RUN_TEST_f_L): Likewise.
14333         (RUN_TEST_LOOP_f_L): Likewise.
14334         (RUN_TEST_sincos): Likewise.
14335         (RUN_TEST_LOOP_sincos): Likewise.
14337 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
14339         [BZ #15480]
14340         [BZ #15485]
14341         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14342         main case of finite arguments, set rounding mode to FE_TONEAREST
14343         and discard exceptions.
14344         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14345         exceptions.
14346         (remainder_tonearest_test_data): New variable.
14347         (remainder_test_tonearest): New function.
14348         (remainder_towardzero_test_data): New variable.
14349         (remainder_test_towardzero): New function.
14350         (remainder_downward_test_data): New variable.
14351         (remainder_test_downward): New function.
14352         (remainder_upward_test_data): New variable.
14353         (remainder_test_upward): New function.
14354         (main): Call the new test functions.
14356         * math/libm-test.inc (struct test_f_f1_data): Remove field
14357         extra_init.
14358         (struct test_fF_f1_data): Likewise.
14359         (struct test_ffI_f1_data): Likewise.
14360         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
14361         based on value of EXTRA_EXPECTED.
14362         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14363         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
14364         EXTRA_VAR based on value of EXTRA_EXPECTED.
14365         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14366         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
14367         EXTRA_VAR based on value of EXTRA_EXPECTED.
14368         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14369         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
14370         EXTRA_VAR based on value of EXTRA_EXPECTED.
14371         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14372         * math/gen-libm-test.pl (parse_args): Don't output initializers
14373         for extra output values.
14375         * math/libm-test.inc (check_int): Expect result to be exactly
14376         equal to expected value and do not handle ulps.
14377         (check_long): Likewise.
14378         (check_longlong): Likewise.
14380         * math/libm-test.inc (ceil_test_data): Test for "inexact"
14381         exceptions.
14382         (cimag_test_data): Likewise.
14383         (conj_test_data): Likewise.
14384         (copysign_test_data): Likewise.
14385         (cproj_test_data): Likewise.
14386         (creal_test_data): Likewise.
14387         (fabs_test_data): Likewise.
14388         (fdim_test_data): Likewise.
14389         (finite_test_data): Likewise.
14390         (floor_test_data): Likewise.
14391         (fmax_test_data): Likewise.
14392         (fmin_test_data): Likewise.
14393         (fmod_test_data): Likewise.
14394         (fpclassify_test_data): Likewise.
14395         (frexp_test_data): Likewise.
14396         (ilogb_test_data): Likewise.
14397         (isfinite_test_data): Likewise.
14398         (isgreater_test_data): Likewise.
14399         (isgreaterequal_test_data): Likewise.
14400         (isinf_test_data): Likewise.
14401         (isless_test_data): Likewise.
14402         (islessequal_test_data): Likewise.
14403         (islessgreater_test_data): Likewise.
14404         (isnan_test_data): Likewise.
14405         (isnormal_test_data): Likewise.
14406         (issignaling_test_data): Likewise.
14407         (isunordered_test_data): Likewise.
14408         (ldexp_test_data): Likewise.
14409         (lrint_test_data): Likewise.
14410         (lrint_test_data) [TEST_FLOAT]: Disable one test.
14411         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14412         (lrint_tonearest_test_data): Test for "inexact" exceptions.
14413         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14414         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14415         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14416         test input.
14417         (lrint_towardzero_test_data): Test for "inexact" exceptions.
14418         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14419         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14420         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14421         that test input.
14422         (lrint_downward_test_data): Test for "inexact" exceptions.
14423         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14424         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14425         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14426         test input.
14427         (lrint_upward_test_data): Test for "inexact" exceptions.
14428         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14429         test input.
14430         (llrint_test_data): Test for "inexact" exceptions.
14431         (llrint_test_data) [TEST_FLOAT]: Disable one test.
14432         (llrint_tonearest_test_data): Test for "inexact" exceptions.
14433         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14434         (llrint_towardzero_test_data): Test for "inexact" exceptions.
14435         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14436         (llrint_downward_test_data): Test for "inexact" exceptions.
14437         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14438         (llrint_upward_test_data): Test for "inexact" exceptions.
14439         (logb_test_data): Likewise.
14440         (logb_downward_test_data): Likewise.
14441         (nextafter_test_data): Likewise.
14442         (nexttoward_test_data): Likewise.
14443         (remainder_test_data): Likewise.
14444         (remquo_test_data): Likewise.
14445         (scalbn_test_data): Likewise.
14446         (scalbln_test_data): Likewise.
14447         (signbit_test_data): Likewise.
14448         (sqrt_test_data): Likewise.
14449         (significand_test_data): Likewise.
14451 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14453         [BZ #15424]
14454         * benchtests/bench-modf.c (struct args): Mark arg0 as
14455         volatile.
14456         * scripts/bench.pl: Mark members of struct args as volatile.
14458 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14460         [BZ # 15497]
14461         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14462         negative infinity on POWER6 or lower.
14463         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14465 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14467         [BZ #15442]
14468         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14469         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14470         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14471         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14472         (_FP_SETQNAN): New macro.
14473         (_FP_SETQNAN_SEMIRAW): Likewise.
14474         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14475         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14476         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14477         (FP_EXTEND): Use _FP_FRAC_SNANP.
14478         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14479         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14480         into account.
14481         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14482         New macro.
14483         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14484         Likewise.
14486 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14488         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14489         with DIVIDE_BY_ZERO_EXCEPTION.
14490         (gamma_test_data): Likewise.
14491         (lgamma_test_data): Likewise.
14492         (log_test_data): Likewise.
14493         (log10_test_data): Likewise.
14494         (log2_test_data): Likewise.
14495         (tgamma_test_data): Likewise.
14497         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14498         (acos_test_tonearest): Likewise.
14499         (acos_test_towardzero): Likewise.
14500         (acos_test_downward): Likewise.
14501         (acos_test_upward): Likewise.
14502         (acosh_test): Likewise.
14503         (asin_test): Likewise.
14504         (asin_test_tonearest): Likewise.
14505         (asin_test_towardzero): Likewise.
14506         (asin_test_downward): Likewise.
14507         (asin_test_upward): Likewise.
14508         (asinh_test): Likewise.
14509         (atan_test): Likewise.
14510         (atanh_test): Likewise.
14511         (atan2_test): Likewise.
14512         (cabs_test): Likewise.
14513         (cacos_test): Likewise.
14514         (cacosh_test): Likewise.
14515         (casin_test): Likewise.
14516         (casinh_test): Likewise.
14517         (catan_test): Likewise.
14518         (catanh_test): Likewise.
14519         (cbrt_test): Likewise.
14520         (ccos_test): Likewise.
14521         (ccosh_test): Likewise.
14522         (cexp_test): Likewise.
14523         (clog_test): Likewise.
14524         (clog10_test): Likewise.
14525         (cos_test): Likewise.
14526         (cos_test_tonearest): Likewise.
14527         (cos_test_towardzero): Likewise.
14528         (cos_test_downward): Likewise.
14529         (cos_test_upward): Likewise.
14530         (cosh_test): Likewise.
14531         (cosh_test_tonearest): Likewise.
14532         (cosh_test_towardzero): Likewise.
14533         (cosh_test_downward): Likewise.
14534         (cosh_test_upward): Likewise.
14535         (cpow_test): Likewise.
14536         (csin_test): Likewise.
14537         (csinh_test): Likewise.
14538         (csqrt_test): Likewise.
14539         (ctan_test): Likewise.
14540         (ctan_test_tonearest): Likewise.
14541         (ctan_test_towardzero): Likewise.
14542         (ctan_test_downward): Likewise.
14543         (ctan_test_upward): Likewise.
14544         (ctanh_test): Likewise.
14545         (ctanh_test_tonearest): Likewise.
14546         (ctanh_test_towardzero): Likewise.
14547         (ctanh_test_downward): Likewise.
14548         (ctanh_test_upward): Likewise.
14549         (erf_test): Likewise.
14550         (erfc_test): Likewise.
14551         (exp_test): Likewise.
14552         (exp_test_tonearest): Likewise.
14553         (exp_test_towardzero): Likewise.
14554         (exp_test_downward): Likewise.
14555         (exp_test_upward): Likewise.
14556         (exp10_test): Likewise.
14557         (exp2_test): Likewise.
14558         (expm1_test): Likewise.
14559         (fmod_test): Likewise.
14560         (gamma_test): Likewise.
14561         (hypot_test): Likewise.
14562         (j0_test): Likewise.
14563         (j1_test): Likewise.
14564         (jn_test): Likewise.
14565         (lgamma_test): Likewise.
14566         (log_test): Likewise.
14567         (log10_test): Likewise.
14568         (log1p_test): Likewise.
14569         (log2_test): Likewise.
14570         (logb_test_downward): Likewise.
14571         (pow_test): Likewise.
14572         (pow_test_tonearest): Likewise.
14573         (pow_test_towardzero): Likewise.
14574         (pow_test_downward): Likewise.
14575         (pow_test_upward): Likewise.
14576         (remainder_test): Likewise.
14577         (remquo_test): Likewise.
14578         (sin_test): Likewise.
14579         (sin_test_tonearest): Likewise.
14580         (sin_test_towardzero): Likewise.
14581         (sin_test_downward): Likewise.
14582         (sin_test_upward): Likewise.
14583         (sincos_test): Likewise.
14584         (sinh_test): Likewise.
14585         (sinh_test_tonearest): Likewise.
14586         (sinh_test_towardzero): Likewise.
14587         (sinh_test_downward): Likewise.
14588         (sinh_test_upward): Likewise.
14589         (sqrt_test): Likewise.
14590         (tan_test): Likewise.
14591         (tan_test_tonearest): Likewise.
14592         (tan_test_towardzero): Likewise.
14593         (tan_test_downward): Likewise.
14594         (tan_test_upward): Likewise.
14595         (tanh_test): Likewise.
14596         (tgamma_test): Likewise.
14597         (y0_test): Likewise.
14598         (y1_test): Likewise.
14599         (yn_test): Likewise.
14601         * math/gen-libm-test.pl (adjust_arg): Remove function.
14602         (special_function): Remove argument $in_func.  Only handle
14603         generating output for tables of tests, not inside functions.
14604         (parse_args): Likewise.
14605         (generate_testfile): Remove variable $in_func.  Update call to
14606         parse_args.
14607         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14608         (MINUS_ZERO_INIT): Rename macro to minus_zero.
14609         (PLUS_INFTY_INIT): Rename macro to plus_infty.
14610         (MINUS_INFTY_INIT): Rename macro to minus_infty.
14611         (QNAN_VALUE_INIT): Rename macro to qnan_value.
14612         (MAX_VALUE_INIT): Rename macro to max_value.
14613         (MIN_VALUE_INIT): Rename macro to min_value.
14614         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14615         (plus_zero): Remove variable.
14616         (minus_zero): Likewise.
14617         (plus_infty): Likewise.
14618         (minus_infty): Likewise.
14619         (qnan_value): Likewise.
14620         (max_value): Likewise.
14621         (min_value): Likewise.
14622         (min_subnorm_value): Likewise.
14624 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14626         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14627         uint64_t or uint32_t usage.
14628         * crypt/sha256-block.c: Likewise.
14629         * crypt/sha256-crypt.c: Likewise.
14630         * crypt/sha256.c: Likewise.
14631         * crypt/sha512-block.c: Likewise.
14632         * crypt/sha512-crypt.c: Likewise.
14633         * crypt/sha512.c: Likewise.
14634         * debug/backtrace-tst.c: Likewise.
14635         * debug/pcprofiledump.c: Likewise.
14636         * elf/cache.c: Likewise.
14637         * elf/dl-cache.c: Likewise.
14638         * elf/dl-misc.c: Likewise.
14639         * elf/dl-profile.c: Likewise.
14640         * elf/dl-support.c: Likewise.
14641         * elf/ldconfig.c: Likewise.
14642         * elf/sprof.c: Likewise.
14643         * iconv/dummy-repertoire.c: Likewise.
14644         * iconv/iconv_charmap.c: Likewise.
14645         * iconv/skeleton.c: Likewise.
14646         * iconvdata/8bit-generic.c: Likewise.
14647         * iconvdata/cp737.h: Likewise.
14648         * iconvdata/cp775.h: Likewise.
14649         * iconvdata/ibm1008.h: Likewise.
14650         * iconvdata/ibm1025.h: Likewise.
14651         * iconvdata/ibm1046.h: Likewise.
14652         * iconvdata/ibm1097.h: Likewise.
14653         * iconvdata/ibm1112.h: Likewise.
14654         * iconvdata/ibm1122.h: Likewise.
14655         * iconvdata/ibm1123.h: Likewise.
14656         * iconvdata/ibm1124.h: Likewise.
14657         * iconvdata/ibm1129.h: Likewise.
14658         * iconvdata/ibm1130.h: Likewise.
14659         * iconvdata/ibm1132.h: Likewise.
14660         * iconvdata/ibm1133.h: Likewise.
14661         * iconvdata/ibm1137.h: Likewise.
14662         * iconvdata/ibm1140.h: Likewise.
14663         * iconvdata/ibm1141.h: Likewise.
14664         * iconvdata/ibm1142.h: Likewise.
14665         * iconvdata/ibm1143.h: Likewise.
14666         * iconvdata/ibm1144.h: Likewise.
14667         * iconvdata/ibm1145.h: Likewise.
14668         * iconvdata/ibm1146.h: Likewise.
14669         * iconvdata/ibm1147.h: Likewise.
14670         * iconvdata/ibm1148.h: Likewise.
14671         * iconvdata/ibm1149.h: Likewise.
14672         * iconvdata/ibm1153.h: Likewise.
14673         * iconvdata/ibm1154.h: Likewise.
14674         * iconvdata/ibm1155.h: Likewise.
14675         * iconvdata/ibm1156.h: Likewise.
14676         * iconvdata/ibm1157.h: Likewise.
14677         * iconvdata/ibm1158.h: Likewise.
14678         * iconvdata/ibm1160.h: Likewise.
14679         * iconvdata/ibm1161.h: Likewise.
14680         * iconvdata/ibm1162.h: Likewise.
14681         * iconvdata/ibm1163.h: Likewise.
14682         * iconvdata/ibm1164.h: Likewise.
14683         * iconvdata/ibm1166.h: Likewise.
14684         * iconvdata/ibm1167.h: Likewise.
14685         * iconvdata/ibm12712.h: Likewise.
14686         * iconvdata/ibm1390.h: Likewise.
14687         * iconvdata/ibm1399.h: Likewise.
14688         * iconvdata/ibm16804.h: Likewise.
14689         * iconvdata/ibm4517.h: Likewise.
14690         * iconvdata/ibm4899.h: Likewise.
14691         * iconvdata/ibm4909.h: Likewise.
14692         * iconvdata/ibm4971.h: Likewise.
14693         * iconvdata/ibm5347.h: Likewise.
14694         * iconvdata/ibm803.h: Likewise.
14695         * iconvdata/ibm856.h: Likewise.
14696         * iconvdata/ibm901.h: Likewise.
14697         * iconvdata/ibm902.h: Likewise.
14698         * iconvdata/ibm9030.h: Likewise.
14699         * iconvdata/ibm9066.h: Likewise.
14700         * iconvdata/ibm921.h: Likewise.
14701         * iconvdata/ibm922.h: Likewise.
14702         * iconvdata/ibm9448.h: Likewise.
14703         * iconvdata/isiri-3342.h: Likewise.
14704         * iconvdata/jis0201.h: Likewise.
14705         * include/link.h: Likewise.
14706         * include/netdb.h: Likewise.
14707         * inet/check_native.c: Likewise.
14708         * inet/check_pf.c: Likewise.
14709         * inet/getipv4sourcefilter.c: Likewise.
14710         * inet/getnameinfo.c: Likewise.
14711         * inet/getsourcefilter.c: Likewise.
14712         * inet/htonl.c: Likewise.
14713         * inet/setipv4sourcefilter.c: Likewise.
14714         * inet/setsourcefilter.c: Likewise.
14715         * inet/test-inet6_opt.c: Likewise.
14716         * inet/tst-network.c: Likewise.
14717         * locale/C-collate.c: Likewise.
14718         * locale/C-ctype.c: Likewise.
14719         * locale/C-time.c: Likewise.
14720         * locale/C-translit.h: Likewise.
14721         * locale/loadarchive.c: Likewise.
14722         * locale/programs/3level.h: Likewise.
14723         * locale/programs/charmap.c: Likewise.
14724         * locale/programs/charmap.h: Likewise.
14725         * locale/programs/ld-address.c: Likewise.
14726         * locale/programs/ld-collate.c: Likewise.
14727         * locale/programs/ld-ctype.c: Likewise.
14728         * locale/programs/ld-identification.c: Likewise.
14729         * locale/programs/ld-measurement.c: Likewise.
14730         * locale/programs/ld-messages.c: Likewise.
14731         * locale/programs/ld-monetary.c: Likewise.
14732         * locale/programs/ld-name.c: Likewise.
14733         * locale/programs/ld-numeric.c: Likewise.
14734         * locale/programs/ld-paper.c: Likewise.
14735         * locale/programs/ld-telephone.c: Likewise.
14736         * locale/programs/ld-time.c: Likewise.
14737         * locale/programs/linereader.c: Likewise.
14738         * locale/programs/locale.c: Likewise.
14739         * locale/programs/locarchive.c: Likewise.
14740         * locale/programs/locfile.h: Likewise.
14741         * locale/programs/repertoire.c: Likewise.
14742         * locale/programs/simple-hash.c: Likewise.
14743         * locale/programs/simple-hash.h: Likewise.
14744         * malloc/memusage.c: Likewise.
14745         * malloc/memusagestat.c: Likewise.
14746         * nis/nis_defaults.c: Likewise.
14747         * nis/nis_hash.c: Likewise.
14748         * nis/nis_print.c: Likewise.
14749         * nis/nis_xdr.c: Likewise.
14750         * nscd/connections.c: Likewise.
14751         * nscd/hstcache.c: Likewise.
14752         * nscd/nscd_gethst_r.c: Likewise.
14753         * nscd/nscd_getserv_r.c: Likewise.
14754         * nscd/nscd_helper.c: Likewise.
14755         * nscd/servicescache.c: Likewise.
14756         * nss/makedb.c: Likewise.
14757         * nss/nss_db/db-XXX.c: Likewise.
14758         * nss/nss_db/db-initgroups.c: Likewise.
14759         * nss/nss_db/db-netgrp.c: Likewise.
14760         * nss/nss_files/files-network.c: Likewise.
14761         * nss/nss_files/files-parse.c: Likewise.
14762         * posix/bug-regex5.c: Likewise.
14763         * posix/fnmatch_loop.c: Likewise.
14764         * posix/regcomp.c: Likewise.
14765         * posix/regexec.c: Likewise.
14766         * posix/tst-rfc3484-2.c: Likewise.
14767         * posix/tst-rfc3484-3.c: Likewise.
14768         * posix/tst-rfc3484.c: Likewise.
14769         * resolv/nss_dns/dns-canon.c: Likewise.
14770         * resolv/nss_dns/dns-network.c: Likewise.
14771         * resolv/res_init.c: Likewise.
14772         * resolv/res_mkquery.c: Likewise.
14773         * resolv/tst-aton.c: Likewise.
14774         * stdlib/cxa_atexit.c: Likewise.
14775         * stdlib/cxa_finalize.c: Likewise.
14776         * stdlib/gen-fpioconst.c: Likewise.
14777         * stdlib/strtol_l.c: Likewise.
14778         * string/tst-endian.c: Likewise.
14779         * sunrpc/auth_des.c: Likewise.
14780         * sunrpc/clnt_udp.c: Likewise.
14781         * sunrpc/rtime.c: Likewise.
14782         * sunrpc/svcauth_des.c: Likewise.
14783         * sunrpc/xdr.c: Likewise.
14784         * sunrpc/xdr_intXX_t.c: Likewise.
14785         * sunrpc/xdr_rec.c: Likewise.
14786         * sysdeps/generic/ldconfig.h: Likewise.
14787         * sysdeps/generic/ldsodefs.h: Likewise.
14788         * sysdeps/generic/memusage.h: Likewise.
14789         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14790         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14791         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14792         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14793         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14795         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14797         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14798         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14799         * sysdeps/posix/getaddrinfo.c: Likewise.
14800         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14801         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14802         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14803         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14804         * sysdeps/powerpc/test-gettimebase.c: Likewise.
14805         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14806         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14807         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14808         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14809         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14810         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14811         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14812         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14813         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14814         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14815         * sysdeps/x86_64/dl-tls.h: Likewise.
14816         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14817         * time/alt_digit.c: Likewise.
14818         * time/era.c: Likewise.
14819         * wcsmbs/tst-c16c32-1.c: Likewise.
14821 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14823         * math/libm-test.inc (struct test_sincos_data): New type.
14824         (RUN_TEST_LOOP_sincos): New macro.
14825         (sincos_test_data): New variable.
14826         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14828 2013-05-16  Richard Henderson  <rth@redhat.com>
14830         * math/atest-exp2.c (LIMB64): New macro.
14831         (CONSTSZ): New macro.
14832         (mp_exp1, mp_exp_m1, mp_log2): New variables.
14833         (hexdig): Move ...
14834         (print_mpn_fp): ... to function scope.
14835         (read_mpn_hex): Remove.
14836         (get_log2): Remove.
14837         (exp2_mpn): Use mp_log2.
14838         (main): Use mp_exp1.
14840 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14842         * math/libm-test.inc: Remove comment about not testing "inexact"
14843         exceptions.
14844         (INEXACT_EXCEPTION): New macro.
14845         (NO_INEXACT_EXCEPTION): Likewise.
14846         (INVALID_EXCEPTION_OK): Update value.
14847         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14848         (OVERFLOW_EXCEPTION_OK): Likewise.
14849         (UNDERFLOW_EXCEPTION_OK): Likewise.
14850         (IGNORE_ZERO_INF_SIGN): Likewise.
14851         (ERRNO_UNCHANGED): Likewise.
14852         (ERRNO_EDOM): Likewise.
14853         (ERRNO_ERANGE): Likewise.
14854         (test_exceptions): Handle testing "inexact" exceptions.
14855         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14856         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14857         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14858         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14859         INEXACT_EXCEPTION.
14860         (rint_towardzero_test_data): Likewise.
14861         (rint_downward_test_data): Likewise.
14862         (rint_upward_test_data): Likewise.
14864         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14865         with OVERFLOW_EXCEPTION.
14866         (exp10_test_data): Likewise.
14867         (exp2_test_data): Likewise.
14868         (expm1_test_data): Likewise.
14869         (lgamma_test_data): Likewise.
14870         (pow_test_data): Likewise.
14871         (tgamma_test_data): Likewise.
14872         (yn_test_data): Remove duplicate test of overflow.
14874         * math/libm-test.inc (struct test_cc_c_data): New type.
14875         (RUN_TEST_LOOP_cc_c): New macro.
14876         (cpow_test_data): New variable.
14877         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14879         * math/libm-test.inc (struct test_f_L_data): New type.
14880         (RUN_TEST_LOOP_f_L): New macro.
14881         (llrint_test_data): New variable.
14882         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14883         (llrint_tonearest_test_data): New variable.
14884         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14885         (llrint_towardzero_test_data): New variable.
14886         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14887         (llrint_downward_test_data): New variable.
14888         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14889         (llrint_upward_test_data): New variable.
14890         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14891         (llround_test_data): New variable.
14892         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14894 2013-05-13  Peter Collingbourne  <pcc@google.com>
14896         * math/atest-exp2.c (get_log2): Remove const attribute.
14898 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14900         * math/libm-test.inc (struct test_f_l_data): New type.
14901         (RUN_TEST_LOOP_f_l): New macro.
14902         (lrint_test_data): New variable.
14903         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14904         (lrint_tonearest_test_data): New variable.
14905         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14906         (lrint_towardzero_test_data): New variable.
14907         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14908         (lrint_downward_test_data): New variable.
14909         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14910         (lrint_upward_test_data): New variable.
14911         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14912         (lround_test_data): New variable.
14913         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14915 2013-05-15  Peter Collingbourne  <pcc@google.com>
14917         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14918         (EXTRACT_WORDS64) Use where appropriate.
14919         (INSERT_WORDS64) Likewise.
14921         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14922         constraints with x constraints.
14923         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14925         * malloc/obstack.c (_obstack_compat): Add initializer.
14927 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14929         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14930         si_trapno and add si_addr_lsb to _sifields.sigfault.
14931         (si_trapno): Remove macro.
14932         (si_addr_lsb): Define new macro.
14933         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14935 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14937         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14938         instead of TEST_f_l.
14939         (llrint_test_tonearest): Likewise.
14940         (llrint_test_towardzero): Likewise.
14941         (llrint_test_downward): Likewise.
14942         (llrint_test_upward): Likewise.
14943         (llround_test): Likewise.
14945         * math/libm-test.inc (struct test_f_i_data): Add comment.
14946         (RUN_TEST_LOOP_f_b): New macro.
14947         (RUN_TEST_LOOP_f_b_tg): Likewise.
14948         (finite_test_data): New variable.
14949         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14950         (isfinite_test_data): New variable.
14951         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14952         (isinf_test_data): New variable.
14953         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14954         (isnan_test_data): New variable.
14955         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14956         (isnormal_test_data): New variable.
14957         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14958         (issignaling_test_data): New variable.
14959         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14960         (signbit_test_data): New variable.
14961         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14963         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14964         with INVALID_EXCEPTION.
14965         (acosh_test_data): Likewise.
14966         (asin_test_data): Likewise.
14967         (atanh_test_data): Likewise.
14968         (fmod_test_data): Likewise.
14969         (log_test_data): Likewise.
14970         (log10_test_data): Likewise.
14971         (log2_test_data): Likewise.
14972         (pow_test_data): Likewise.
14973         (sqrt_test_data): Likewise.
14974         (y0_test_data): Likewise.
14975         (y1_test_data): Likewise.
14976         (yn_test_data): Likewise.
14978         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14979         function contents.
14981         * math/libm-test.inc (struct test_ff_i_data): New type.
14982         (RUN_TEST_LOOP_ff_i_tg): New macro.
14983         (isgreater_test_data): New variable.
14984         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14985         (isgreaterequal_test_data): New variable.
14986         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14987         (isless_test_data): New variable.
14988         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14989         (islessequal_test_data): New variable.
14990         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14991         (islessgreater_test_data): New variable.
14992         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14993         (isunordered_test_data): New variable.
14994         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14996 2013-05-14  David S. Miller  <davem@davemloft.net>
14998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15000 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15002         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15004         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15005         extra_test to int.
15006         (struct test_f_i_data): Change type of max_ulp to int.
15008         * math/libm-test.inc (test_ffI_f1_data): New type.
15009         (RUN_TEST_LOOP_ffI_f1): New macro.
15010         (remquo_test_data): New variable.
15011         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15013         * setjmp/tst-setjmp-fp.c: New file.
15014         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15015         (link-libm): New variable.
15016         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15018         * math/libm-test.inc (struct test_f_i_data): New type.
15019         (RUN_TEST_LOOP_f_i): New macro.
15020         (RUN_TEST_LOOP_f_i_tg): Likewise.
15021         (fpclassify_test_data): New variable.
15022         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15023         (ilogb_test_data): New variable.
15024         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15026         * math/libm-test.inc (scalbln_test): Correct function name in END
15027         call.
15029         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15030         (RUN_TEST_LOOP_fI_f1): New macro.
15031         (frexp_test_data): New variable.
15032         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15034         * math/libm-test.inc (struct test_fF_f1_data): New type.
15035         (RUN_TEST_LOOP_fF_f1): New macro.
15036         (modf_test_data): New variable.
15037         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15039         * math/libm-test.inc (struct test_f_f1_data): New type.
15040         (RUN_TEST_LOOP_f_f1): New macro.
15041         (gamma_test_data): New variable.
15042         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15043         (lgamma_test_data): New variable.
15044         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15046 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15048         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15049         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15050         (main): Comment "tls" pseudo-hwcap.
15052 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15054         * math/libm-test.inc (struct test_fl_f_data): New type.
15055         (RUN_TEST_LOOP_fl_f): New variable.
15056         (scalbln_test_data): New variable.
15057         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15059         * math/libm-test.inc (struct test_fi_f_data): New type.
15060         (RUN_TEST_LOOP_fi_f): New macro.
15061         (ldexp_test_data): New variable.
15062         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15063         (scalbn_test_data): New variable.
15064         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15066         * math/libm-test.inc (struct test_c_f_data): New type.
15067         (RUN_TEST_LOOP_c_f): New macro.
15068         (cabs_test_data): New variable.
15069         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15070         (carg_test_data): New variable.
15071         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15072         (cimag_test_data): New variable.
15073         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15074         (creal_test_data): New variable.
15075         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15077         * math/libm-test.inc (struct test_if_f_data): New type.
15078         (RUN_TEST_LOOP_if_f): New macro.
15079         (jn_test_data): New variable.
15080         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15081         (yn_test_data): New variable.
15082         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15084         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15086 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15088         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15089         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15091 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15093         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15094         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15095         (bench-deps): Add bench-timing.h.
15096         * benchtests-bench-skeleton.c: Include bench-timing.h.
15097         (main): Use TIMING_* macros instead of clock_gettime.
15098         * benchtests/bench-timing.h: New file.
15100         [BZ #14582]
15101         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15102         Renamed from _LIB_VERSION.
15103         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15105 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15107         * math/libm-test.inc (struct test_fff_f_data): New type.
15108         (RUN_TEST_LOOP_fff_f): New macro.
15109         (fma_test_data): New variable.
15110         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15111         (fma_towardzero_test_data): New variable.
15112         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15113         (fma_downward_test_data): New variable.
15114         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15115         (fma_upward_test_data): New variable.
15116         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15118         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15119         (struct test_c_c_data): New type.
15120         (RUN_TEST_LOOP_c_c): New macro.
15121         (cacos_test_data): New variable.
15122         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15123         (cacosh_test_data): New variable.
15124         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15125         (casin_test_data): New variable.
15126         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15127         (casinh_test_data): New variable.
15128         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15129         (catan_test_data): New variable.
15130         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15131         (catanh_test_data): New variable.
15132         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15133         (ccos_test_data): New variable.
15134         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15135         (ccosh_test_data): New variable.
15136         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15137         (cexp_test_data): New variable.
15138         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15139         (clog_test_data): New variable.
15140         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15141         (clog10_test_data): New variable.
15142         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15143         (conj_test_data): New variable.
15144         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15145         (cproj_test_data): New variable.
15146         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15147         (csin_test_data): New variable.
15148         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15149         (csinh_test_data): New variable.
15150         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15151         (csqrt_test_data): New variable.
15152         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15153         (ctan_test_data): New variable.
15154         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15155         (ctan_tonearest_test_data): New variable.
15156         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15157         (ctan_towardzero_test_data): New variable.
15158         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15159         (ctan_downward_test_data): New variable.
15160         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15161         (ctan_upward_test_data): New variable.
15162         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15163         (ctanh_test_data): New variable.
15164         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15165         (ctanh_tonearest_test_data): New variable.
15166         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15167         (ctanh_towardzero_test_data): New variable.
15168         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15169         (ctanh_downward_test_data): New variable.
15170         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15171         (ctanh_upward_test_data): New variable.
15172         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15173         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15174         of BUILD_COMPLEX.
15176         * math/libm-test.inc (struct test_ff_f_data): New type.
15177         (struct test_ff_f_data_nexttoward): Likewise.
15178         (RUN_TEST_LOOP_2_f): New macro.
15179         (RUN_TEST_LOOP_ff_f): Likewise.
15180         (atan2_test_data): New variable.
15181         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15182         (copysign_test_data): New variable.
15183         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15184         (fdim_test_data): New variable.
15185         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15186         (fmax_test_data): New variable.
15187         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15188         (fmin_test_data): New variable.
15189         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15190         (fmod_test_data): New variable.
15191         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15192         (hypot_test_data): New variable.
15193         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15194         (nextafter_test_data): New variable.
15195         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15196         (nexttoward_test_data): New variable.
15197         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15198         (pow_test_data): New variable.
15199         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15200         (pow_tonearest_test_data): New variable.
15201         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15202         (pow_towardzero_test_data): New variable.
15203         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15204         (pow_downward_test_data): New variable.
15205         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15206         (pow_upward_test_data): New variable.
15207         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15208         (remainder_test_data): New variable.
15209         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15210         (scalb_test_data): New variable.
15211         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15212         * sysdeps/i386/fpu/libm-test-ulps: Update.
15214 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15216         * math/libm-test.inc (fma_test): Use max_value instead of local
15217         variable fltmax.
15218         (nextafter_test): Likewise.
15220         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15221         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15222         (acos_downward_test_data): New variable.
15223         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15224         (acos_upward_test_data): New variable.
15225         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15226         (acosh_test_data): New variable.
15227         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15228         (asin_test_data): New variable.
15229         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15230         (asin_tonearest_test_data): New variable.
15231         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15232         (asin_towardzero_test_data): New variable.
15233         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15234         (asin_downward_test_data): New variable.
15235         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15236         (asin_upward_test_data): New variable.
15237         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15238         (asinh_test_data): New variable.
15239         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15240         (atan_test_data): New variable.
15241         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15242         (atanh_test_data): New variable.
15243         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15244         (cbrt_test_data): New variable.
15245         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15246         (ceil_test_data): New variable.
15247         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15248         (cos_test_data): New variable.
15249         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15250         (cos_tonearest_test_data): New variable.
15251         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15252         (cos_towardzero_test_data): New variable.
15253         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15254         (cos_downward_test_data): New variable.
15255         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15256         (cos_upward_test_data): New variable.
15257         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15258         (cosh_test_data): New variable.
15259         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15260         (cosh_tonearest_test_data): New variable.
15261         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15262         (cosh_towardzero_test_data): New variable.
15263         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15264         (cosh_downward_test_data): New variable.
15265         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15266         (cosh_upward_test_data): New variable.
15267         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15268         (erf_test_data): New variable.
15269         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15270         (erfc_test_data): New variable.
15271         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15272         (exp_test_data): New variable.
15273         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15274         (exp_tonearest_test_data): New variable.
15275         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15276         (exp_towardzero_test_data): New variable.
15277         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15278         (exp_downward_test_data): New variable.
15279         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15280         (exp_upward_test_data): New variable.
15281         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15282         (exp10_test_data): New variable.
15283         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15284         (exp2_test_data): New variable.
15285         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15286         (expm1_test_data): New variable.
15287         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15288         (fabs_test_data): New variable.
15289         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15290         (floor_test_data): New variable.
15291         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15292         (j0_test_data): New variable.
15293         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15294         (j1_test_data): New variable.
15295         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15296         (log_test_data): New variable.
15297         (log_test): Run tests with RUN_TEST_LOOP_f_f.
15298         (log10_test_data): New variable.
15299         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15300         (log1p_test_data): New variable.
15301         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15302         (log2_test_data): New variable.
15303         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15304         (logb_test_data): New variable.
15305         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15306         (logb_downward_test_data): New variable.
15307         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15308         (nearbyint_test_data): New variable.
15309         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15310         (rint_test_data): New variable.
15311         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15312         (rint_tonearest_test_data): New variable.
15313         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15314         (rint_towardzero_test_data): New variable.
15315         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15316         (rint_downward_test_data): New variable.
15317         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15318         (rint_upward_test_data): New variable.
15319         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15320         (round_test_data): New variable.
15321         (round_test): Run tests with RUN_TEST_LOOP_f_f.
15322         (sin_test_data): New variable.
15323         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15324         (sin_tonearest_test_data): New variable.
15325         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15326         (sin_towardzero_test_data): New variable.
15327         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15328         (sin_downward_test_data): New variable.
15329         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15330         (sin_upward_test_data): New variable.
15331         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15332         (sinh_test_data): New variable.
15333         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15334         (sinh_tonearest_test_data): New variable.
15335         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15336         (sinh_towardzero_test_data): New variable.
15337         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15338         (sinh_downward_test_data): New variable.
15339         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15340         (sinh_upward_test_data): New variable.
15341         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15342         (sqrt_test_data): New variable.
15343         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15344         (tan_test_data): New variable.
15345         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15346         (tan_tonearest_test_data): New variable.
15347         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15348         (tan_towardzero_test_data): New variable.
15349         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15350         (tan_downward_test_data): New variable.
15351         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15352         (tan_upward_test_data): New variable.
15353         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15354         (tanh_test_data): New variable.
15355         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15356         (tgamma_test_data): New variable.
15357         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15358         (trunc_test_data): New variable.
15359         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15360         (y0_test_data): New variable.
15361         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15362         (y1_test_data): New variable.
15363         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15364         (significand_test_data): New variable.
15365         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15367 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
15369         [BZ #12387]
15370         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15372 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15374         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15376 2013-05-10  Andreas Jaeger  <aj@suse.de>
15378         [BZ #15448]
15379         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15380         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15382 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15384         * math/gen-libm-test.pl (adjust_arg): New function.
15385         (special_functions): Handle generating output in both functions
15386         and arrays.
15387         (parse_args): Likewise.
15388         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
15389         $in_func argument to parse_args.
15390         * math/libm-test.inc (struct test_f_f_data): New type.
15391         (IF_ROUND_INIT_): New macro.
15392         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15393         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15394         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15395         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15396         (ROUND_RESTORE_): Likewise.
15397         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15398         (ROUND_RESTORE_FE_TONEAREST): Likewise.
15399         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15400         (ROUND_RESTORE_FE_UPWARD): Likewise.
15401         (RUN_TEST_LOOP_f_f): New macro.
15402         (acos_test_data): New variable.
15403         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15404         (acos_tonearest_test_data): New variable.
15405         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15407 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409         * benchtests/bench-skeleton.c (startup): Fix coding style.
15411 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15413         [BZ #6809]
15414         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15415         negative infinity argument.
15416         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15417         negative infinity argument.
15418         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15419         negative infinity argument.
15420         * math/libm-test.inc (tgamma_test): Expect errno to be set for
15421         domain errors.
15423 2013-05-10  Florian Weimer  <fweimer@redhat.com>
15425         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15426         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15427         * iconv/iconv_prog.c (main): Likewise.
15428         * locale/programs/charmap-dir.c (charmap_readdir)
15429         (fopen_uncompressed): Likewise.
15430         * locale/programs/locfile.c (siblings_uncached)
15431         (write_locale_data): Use lstat64 instead of lstat.
15432         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15433         stat.
15435 2013-05-10  Andreas Jaeger  <aj@suse.de>
15437         [BZ #15395]
15438         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15439         localization.
15440         Include <locale.h>.
15442 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
15444         * elf/dl-close.c (_dl_close_worker): Add comments.
15446 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
15448         [BZ #15359]
15449         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15450         high part of pi/2.
15451         (__ieee754_rem_pio2l): Update comments.
15453         [BZ #15429]
15454         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15455         high part of pi/2.
15456         (__ieee754_rem_pio2l): Update comments.
15458         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15459         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15461         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15462         M_PI_4l.
15464         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15465         (M_PI_34_LOG10El): Likewise.
15466         (M_PI2_LOG10El): Likewise.
15467         (M_PI4_LOG10El): Likewise.
15468         (M_PI_LOG10El): Likewise.
15470 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15474 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
15476         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15477         (MINUS_ZERO_INIT): Likewise.
15478         (PLUS_INFTY_INIT): Likewise.
15479         (MINUS_INFTY_INIT): Likewise.
15480         (QNAN_VALUE_INIT): Likewise.
15481         (MAX_VALUE_INIT): Likewise.
15482         (MIN_VALUE_INIT): Likewise.
15483         (MIN_SUBNORM_VALUE_INIT): Likewise.
15484         (plus_zero): Initialize with PLUS_ZERO_INIT.
15485         (minus_zero): Initialize with MINUS_ZERO_INIT.
15486         (plus_infty): Initialize with PLUS_INFTY_INIT.
15487         (minus_infty): Initialize with MINUS_INFTY_INIT.
15488         (qnan_value): Initialize with QNAN_VALUE_INIT.
15489         (max_value): Initialize with MAX_VALUE_INIT.
15490         (min_value): Initialize with MIN_VALUE_INIT.
15491         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15493         * math/libm-test.inc (RUN_TEST_if_f): New macro.
15494         (jn_test): Use TEST_if_f instead of TEST_ff_f.
15495         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15496         (yn_test): Use TEST_if_f instead of TEST_ff_f.
15498         * math/libm-test.inc (RUN_TEST_f_f): New macro.
15499         (RUN_TEST_2_f): Likewise.
15500         (RUN_TEST_ff_f): Likewise.
15501         (RUN_TEST_fi_f): Likewise.
15502         (RUN_TEST_fl_f): Likewise.
15503         (RUN_TEST_fff_f): Likewise.
15504         (RUN_TEST_c_f): Likewise.
15505         (RUN_TEST_f_f1): Likewise.
15506         (RUN_TEST_fF_f1): Likewise.
15507         (RUN_TEST_fI_f1): Likewise.
15508         (RUN_TEST_ffI_f1): Likewise.
15509         (RUN_TEST_c_c): Likewise.
15510         (RUN_TEST_cc_c): Likewise.
15511         (RUN_TEST_f_i): Likewise.
15512         (RUN_TEST_f_i_tg): Likewise.
15513         (RUN_TEST_ff_i_tg): Likewise.
15514         (RUN_TEST_f_b): Likewise.
15515         (RUN_TEST_f_b_tg): Likewise.
15516         (RUN_TEST_f_l): Likewise.
15517         (RUN_TEST_f_L): Likewise.
15518         (RUN_TEST_sincos): Likewise.
15519         * math/gen-libm-test.pl (new_test): Take new argument to indicate
15520         whether to show exceptions.  Do not include ");\n" in return
15521         value.
15522         (special_functions): Output call to RUN_TEST_sincos instead of
15523         check_float calls.  Update calls to new_test.
15524         (parse_args): Output call to single RUN_TEST_* macro instead of
15525         check_* calls and other assignments.  Update calls to new_test.
15527         [BZ #2546]
15528         [BZ #2560]
15529         [BZ #5159]
15530         [BZ #15426]
15531         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15532         input to result for tgamma overflow.
15533         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15534         (gamma_coeff): New variable.
15535         (NCOEFF): New macro.
15536         (gamma_positive): New function.
15537         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15538         underflow here.  Use gamma_positive instead of exp (lgamma) for
15539         other arguments.
15540         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15541         (gamma_coeff): New variable.
15542         (NCOEFF): New macro.
15543         (gammaf_positive): New function.
15544         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15545         underflow here.  Use gamma_positive instead of exp (lgamma) for
15546         other arguments.
15547         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15548         (gamma_coeff): New variable.
15549         (NCOEFF): New macro.
15550         (gammal_positive): New function.
15551         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15552         underflow here.  Use gamma_positive instead of exp (lgamma) for
15553         other arguments.
15554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15555         (gamma_coeff): New variable.
15556         (NCOEFF): New macro.
15557         (gammal_positive): New function.
15558         (__ieee754_gammal_r): Handle positive infinity, overflow and
15559         underflow here.  Handle NaN the same as positive infinity.  Remove
15560         check x < 0xffffffff for negative integers.  Use gamma_positive
15561         instead of exp (lgamma) for other arguments.
15562         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15563         (gamma_coeff): New variable.
15564         (NCOEFF): New macro.
15565         (gammal_positive): New function.
15566         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15567         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15568         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15569         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15570         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15571         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15572         * sysdeps/generic/math_private.h (__gamma_productf): New
15573         prototype.
15574         (__gamma_product): Likewise.
15575         (__gamma_productl): Likewise.
15576         * math/Makefile (libm-calls): Add gamma_product.
15577         * math/libm-test.inc (tgamma_test): Add more tests.
15578         * sysdeps/i386/fpu/libm-test-ulps: Update.
15579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
15583         * benchtests/bench-skeleton.c (main): Preheat CPU.
15585 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
15587         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15589 2013-05-07  Roland McGrath  <roland@hack.frob.com>
15591         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15592         and _dl_skip_args_internal.
15594 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
15596         * manual/message.texi (Message Translation): Talk about users.
15597         Message to key mapping impacts design.
15599 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15601         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15603         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15605         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15606         * sysdeps/wordsize-64/glob64.c: ... here.
15608         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15609         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15610         New macros.
15612         * debug/getlogin_r_chk.c: Moved to ...
15613         * login/getlogin_r_chk.c: ... here.
15614         * debug/Makefile (routines): Move getlogin_r_chk to ...
15615         * login/Makefile (routines): ... here.
15616         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15617         * login/Versions (libc: GLIBC_2.4): ... here.
15619         * io/poll.c (__poll): Renamed from poll.
15620         Add libc_hidden_def.
15621         (poll): Define as weak alias.
15623         * debug/ptsname_r_chk.c: Moved to ...
15624         * login/ptsname_r_chk.c: ... here.
15625         * debug/Makefile (routines): Move ptsname_r_chk to ...
15626         * login/Makefile (routines): ... here.
15627         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15628         * login/Versions (libc: GLIBC_2.4): ... here.
15630         * posix/getlogin.c: Moved to ...
15631         * login/getlogin.c: ... here.
15632         * posix/getlogin_r.c: Moved to ...
15633         * login/getlogin_r.c: ... here.
15634         * posix/getlogin_r.c: Moved to ...
15635         * login/getlogin_r.c: ... here.
15636         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15637         * login/Makefile (routines): ... here.
15638         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15639         * login/Versions (libc: GLIBC_2.0): ... here.
15641         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15642         (setrlimit): Define as weak alias.
15644         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15645         Call __ names for open, ftruncate, and close.
15646         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15647         (truncate): Define as weak alias.
15649 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
15651         * math/gen-libm-test.pl (parse_args): Initialize x before each
15652         test of frexp, modf and remquo.
15654         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15655         test signgam value.
15657 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15659         [BZ #15418]
15660         [BZ #15419]
15661         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15662         internal tests.
15663         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15665 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15667         * elf/dl-writev.h: New file.
15668         * elf/dl-misc.c: Include it.
15669         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15670         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15672 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
15674         * math/libm-test.inc (noXFails): Remove variable.
15675         (noXPasses): Likewise.
15676         (BUILD_COMPLEX_INT): Remove macro.
15677         (print_screen): Remove xfail argument.
15678         (print_screen_max_error): Likewise.
15679         (update_stats): Likewise.
15680         (print_max_error): Likewise.  Update calls to other affected
15681         functions.
15682         (print_complex_max_error): Likewise.
15683         (test_single_exception): Update calls to print_screen.
15684         (test_single_errno): Likewise.
15685         (check_float_internal): Remove xfail argument.  Update calls to
15686         other affected functions.
15687         (check_float): Likewise.
15688         (check_complex): Likewise.
15689         (check_int): Likewise.
15690         (check_long): Likewise.
15691         (check_bool): Likewise.
15692         (check_longlong): Likewise.
15693         (main): Don't print noXFails and noXPasses.
15694         * math/gen-libm-test.pl (top level): Don't mention expected
15695         failure handling in comment.
15696         (new_test): Don't handle expected failures.
15697         (parse_args): Don't mention expected failure handling in comment.
15698         (generate_testfile): Don't handle expected failures.
15699         (parse_ulps): Likewise.
15700         (print_ulps_file): Likewise.
15701         (get_failure): Remove function.
15702         (output_test): Don't handle expected failures.
15703         * make/README.libm-test: Don't mention expected failure handling.
15705         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
15706         (minus_zero): Likewise.
15707         (plus_infty): Likewise.
15708         (minus_infty): Likewise.
15709         (qnan_value): Likewise.
15710         (max_value): Likewise.
15711         (min_value): Likewise.
15712         (min_subnorm_value): Likewise.
15713         (initialize): Do not initialize those variables dynamically.
15715 2013-05-03  Roland McGrath  <roland@hack.frob.com>
15717         * io/open.c (__open_2): Moved to ...
15718         * io/open_2.c: ... this new file.
15719         * io/open64.c (__open64_2): Moved to ...
15720         * io/open64_2.c: ... this new file.
15721         * io/openat.c (__openat_2): Moved to ...
15722         * io/openat_2.c: ... this new file.
15723         * io/openat64.c (__openat64_2): Moved to ...
15724         * io/openat64_2.c: ... this new file.
15725         * io/Makefile (routines): Add them.
15726         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15727         * sysdeps/unix/sysv/linux/open_2.c: File removed.
15728         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15729         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15730         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15731         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15732         (__openat64): Add hidden_ver.
15733         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15734         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15736         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15737         Separately conditionalize setting of GLRO(dl_sysinfo) so
15738         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15739         as well, but the actual setting is only under [NEED_DL_SYSINFO].
15741 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15743         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15744         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15745         definition.
15746         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15747         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15748         (_libc_vdso_platform_setup): Add __vdso_time initialization.
15749         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15750         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15752 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
15754         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15755         test signgam value.
15757         * math/libm-test.inc (hypot_test): Do not use
15758         IGNORE_ZERO_INF_SIGN.
15760 2013-05-03  Andreas Jaeger  <aj@suse.de>
15762         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15763         Linux 3.9.
15764         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15765         (PF_MAX): Adjust for VSOCK change.
15767 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15771 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
15773         [BZ #15264]
15774         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15775         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15776         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15778 2013-05-02  David S. Miller  <davem@davemloft.net>
15780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15782 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
15784         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15786 2013-05-01  Roland McGrath  <roland@hack.frob.com>
15788         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15790 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
15792         [BZ #14952]
15793         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15794         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15795         Use __attribute__ ((__gnu_inline__)).
15796         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15797         Don't use __attribute__ ((__gnu_inline__)).
15799 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
15801         [BZ #15423]
15802         * math/s_catan.c (__catan): Handle small real or imaginary part of
15803         input specially to avoid spurious underflow.
15804         * math/s_catanf.c (__catanf): Likewise.
15805         * math/s_catanh.c (__catanh): Likewise.
15806         * math/s_catanhf.c (__catanhf): Likewise.
15807         * math/s_catanhl.c (__catanhl): Likewise.
15808         * math/s_catanl.c (__catanl): Likewise.
15809         * math/libm-test.inc (catan_test): Add more tests.
15810         (catanh_test): Likewise.
15811         * sysdeps/i386/fpu/libm-test-ulps: Update.
15812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15814 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15818 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
15820         [BZ #15416]
15821         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15822         accurately for denominator in atan2.
15823         * math/s_catanf.c (__catanf): Likewise.
15824         * math/s_catanh.c (__catanh): Likewise.
15825         * math/s_catanhf.c (__catanhf): Likewise.
15826         * math/s_catanhl.c (__catanhl): Likewise.
15827         * math/s_catanl.c (__catanl): Likewise.
15828         * math/libm-test.inc (catan_test): Add more tests.
15829         (catanh_test): Likewise.
15830         * sysdeps/i386/fpu/libm-test-ulps: Update.
15831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15833 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15835         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15837         * benchtests/Makefile (bench): Remove slow benchmarks.
15838         * benchtests/atan-inputs: Add slow benchmark inputs.
15839         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15840         (BENCH_FUNC): Accept variant offset.
15841         (VARIANT): Define.
15842         * benchtests/bench-skeleton.c (main): Run benchmark for each
15843         variant.
15844         * benchtests/cos-inputs: Add slow benchmark inputs.
15845         * benchtests/exp-inputs: Likewise.
15846         * benchtests/pow-inputs: Likewise.
15847         * benchtests/sin-inputs: Likewise.
15848         * benchtests/slowatan-inputs: Remove.
15849         * benchtests/slowatan.c: Remove.
15850         * benchtests/slowcos-inputs: Remove.
15851         * benchtests/slowcos.c: Remove.
15852         * benchtests/slowexp-inputs: Remove.
15853         * benchtests/slowexp.c: Remove.
15854         * benchtests/slowpow-inputs: Remove.
15855         * benchtests/slowpow.c: Remove.
15856         * benchtests/slowsin-inputs: Remove.
15857         * benchtests/slowsin.c: Remove.
15858         * benchtests/slowtan-inputs: Remove.
15859         * benchtests/slowtan.c: Remove.
15860         * benchtests/tan-inputs: Add slow benchmark inputs.
15861         * scripts/bench.pl: Parse comments and directives.
15863         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
15864         in CPPFLAGS.
15865         ($(objpfx)bench-%.c): Remove *-ITER.
15866         * benchtests/bench-modf.c: Remove definition of ITER.
15867         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15868         (main): Loop for DURATION seconds instead of fixed number of
15869         iterations.
15870         * scripts/bench.pl: Don't expect iterations in parameters.
15872 2013-04-29  Roland McGrath  <roland@hack.frob.com>
15874         * io/fchdir.c (__fchdir): Renamed from fchdir.
15875         (fchdir): Define as weak alias.
15877 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15879         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15880         (ERRNO_EDOM): Likewise.
15881         (ERRNO_ERANGE): Likewise.
15882         (noErrnoTests): New variable.
15883         (init_max_error): Set errno to 0.
15884         (test_single_errno): New function.
15885         (test_errno): Likewise.
15886         (check_float_internal): Call test_errno.  Set errno to 0.
15887         (check_complex): Refer to errno tests in comment.
15888         (check_int): Call test_errno.  Set errno to 0.
15889         (check_long): Likewise.
15890         (check_bool): Likewise.
15891         (check_longlong): Likewise.
15892         (cos_test): Use ERRNO_* flags for errno tests instead of
15893         check_int.
15894         (expm1_test): Likewise.
15895         (fmod_test): Likewise.
15896         (ilogb_test): Likewise.
15897         (lgamma_test): Likewise.
15898         (pow_test): Likewise.
15899         (remainder_test): Likewise.
15900         (sin_test): Likewise.
15901         (tan_test): Likewise.
15902         (yn_test): Likewise.
15903         (initialize): Set errno to 0.
15904         (main): Print number of errno tests.
15905         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15907 2013-04-29  Andreas Jaeger  <aj@suse.de>
15909         [BZ #15084]
15910         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15911         and RES_USEVC.
15913         [BZ #15085]
15914         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15915         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15916         unimplemented.
15918         [BZ #15380]
15919         * stdlib/random.c (__initstate): Return NULL if
15920         __initstate fails.
15922         [BZ #15086]
15923         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15924         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15925         RES_SNGLKUPREOP.
15927 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15931 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15933         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15934         of individual tests.
15935         (casin_test): Likewise.
15936         (casinh_test): Likewise.
15938 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15940         [BZ #15409]
15941         * math/s_catan.c (__catan): Handle arguments with large real or
15942         imaginary part separately without squaring.
15943         * math/s_catanf.c (__catanf): Likewise.
15944         * math/s_catanh.c (__catanh): Likewise.
15945         * math/s_catanhf.c (__catanhf): Likewise.
15946         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15947         and redefine.
15948         (__catanhl): Handle arguments with large real or imaginary part
15949         separately without squaring.
15950         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15951         and redefine.
15952         (__catanl): Handle arguments with large real or imaginary part
15953         separately without squaring.
15954         * math/libm-test.inc (catan_test): Add more tests.
15955         (catanh_test): Likewise.
15956         * sysdeps/i386/fpu/libm-test-ulps: Update.
15957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15959 2013-04-27  Andreas Jaeger  <aj@suse.de>
15961         [BZ #15007]
15962         * stdlib/stdlib.h: Update guards for qecvt.
15963         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15964         <stdlib.h>.
15966 2013-04-27  Allan McRae  <allan@archlinux.org>
15968         * sysdeps/i386/fpu/libm-test-ulps: Update.
15970 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15972         [BZ #15406]
15973         * math/s_catan.c: Include <float.h>.
15974         (__catan): Ensure underflow exception occurs for underflowed
15975         result.
15976         * math/s_catanf.c: Include <float.h>.
15977         (__catanf): Ensure underflow exception occurs for underflowed
15978         result.
15979         * math/s_catanh.c: Include <float.h>.
15980         (__catanh): Ensure underflow exception occurs for underflowed
15981         result.
15982         * math/s_catanhf.c: Include <float.h>.
15983         (__catanhf): Ensure underflow exception occurs for underflowed
15984         result.
15985         * math/s_catanhl.c: Include <float.h>.
15986         (__catanhl): Ensure underflow exception occurs for underflowed
15987         result.
15988         * math/s_catanl.c: Include <float.h>.
15989         (__catanl): Ensure underflow exception occurs for underflowed
15990         result.
15991         * math/libm-test.inc (catan_test): Add more tests.
15992         (catanh_test): Likewise.
15994         [BZ #15405]
15995         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15996         underflowed result.
15997         * math/s_ccoshf.c (__ccoshf): Likewise.
15998         * math/s_ccoshl.c (__ccoshl): Likewise.
15999         * math/s_csin.c (__csin): Likewise.
16000         * math/s_csinf.c (__csinf): Likewise.
16001         * math/s_csinh.c (__csinh): Likewise.
16002         * math/s_csinhf.c (__csinhf): Likewise.
16003         * math/s_csinhl.c (__csinhl): Likewise.
16004         * math/s_csinl.c (__csinl): Likewise.
16005         * math/libm-test.inc (ccos_test): Add more tests.
16006         (ccosh_test): Likewise.
16007         (csin_test): Likewise.
16008         (csinh_test): Likewise.
16010 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16012         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16013         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16014         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16015         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16016         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16017         powerpc/power5+/fpu folders.
16018         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16021 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16025 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16027         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16028         additions to variable.
16029         [$(config-machine) = x86_64] (modules-names): Likewise.
16030         ($(objpfx)tst-audit3): Remove dependency.
16031         ($(objpfx)tst-audit3.out): Likewise.
16032         ($(objpfx)tst-audit4): Likewise.
16033         ($(objpfx)tst-audit4.out): Likewise.
16034         ($(objpfx)tst-audit5): Likewise.
16035         ($(objpfx)tst-audit5.out): Likewise.
16036         ($(objpfx)tst-audit6): Likewise.
16037         ($(objpfx)tst-audit6.out): Likewise.
16038         ($(objpfx)tst-audit7): Likewise.
16039         ($(objpfx)tst-audit7.out): Likewise.
16040         (tst-audit3-ENV): Remove variable.
16041         (tst-audit4-ENV): Likewise.
16042         (tst-audit5-ENV): Likewise.
16043         (tst-audit6-ENV): Likewise.
16044         (tst-audit7-ENV): Likewise.
16045         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16046         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16047         addition to variable.
16048         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16049         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16050         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16051         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16052         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16053         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16054         tst-audit3, tst-audit4 and tst-audit5.
16055         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16056         tst-audit6 and tst-audit7.
16057         [$(subdir) = elf] (modules-names): Add audit modules for those
16058         tests.
16059         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16060         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16061         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16062         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16063         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16064         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16065         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16066         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16067         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16068         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16069         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16070         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16071         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16072         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16073         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16074         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16075         Likewise.
16076         [$(subdir) = elf && $(config-cflags-avx) = yes]
16077         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16078         [$(subdir) = elf && $(config-cflags-avx) = yes]
16079         (CFLAGS-tst-auditmod4a.c): Likewise.
16080         [$(subdir) = elf && $(config-cflags-avx) = yes]
16081         (CFLAGS-tst-auditmod4b.c): Likewise.
16082         [$(subdir) = elf && $(config-cflags-avx) = yes]
16083         (CFLAGS-tst-auditmod6b.c): Likewise.
16084         [$(subdir) = elf && $(config-cflags-avx) = yes]
16085         (CFLAGS-tst-auditmod6c.c): Likewise.
16086         [$(subdir) = elf && $(config-cflags-avx) = yes]
16087         (CFLAGS-tst-auditmod7b.c): Likewise.
16088         * elf/tst-audit3.c: Move to ...
16089         * sysdeps/x86_64/tst-audit3.c: ... here.
16090         * elf/tst-audit4.c: Move to ...
16091         * sysdeps/x86_64/tst-audit4.c: ... here.
16092         * elf/tst-audit5.c: Move to ...
16093         * sysdeps/x86_64/tst-audit5.c: ... here.
16094         * elf/tst-audit6.c: Move to ...
16095         * sysdeps/x86_64/tst-audit6.c: ... here.
16096         * elf/tst-audit7.c: Move to ...
16097         * sysdeps/x86_64/tst-audit7.c: ... here.
16098         * elf/tst-auditmod3a.c: Move to ...
16099         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16100         * elf/tst-auditmod3b.c: Move to ...
16101         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16102         * elf/tst-auditmod4a.c: Move to ...
16103         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16104         * elf/tst-auditmod4b.c: Move to ...
16105         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16106         * elf/tst-auditmod5a.c: Move to ...
16107         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16108         * elf/tst-auditmod5b.c: Move to ...
16109         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16110         * elf/tst-auditmod6a.c: Move to ...
16111         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16112         * elf/tst-auditmod6b.c: Move to ...
16113         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16114         * elf/tst-auditmod6c.c: Move to ...
16115         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16116         * elf/tst-auditmod7a.c: Move to ...
16117         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16118         * elf/tst-auditmod7b.c: Move to ...
16119         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16121 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16123         [BZ #15366]
16124         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16125         define unconditionally.
16126         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16127         define unconditionally.
16128         (INT8_C, INT16_C, etc.): Likewise.
16130 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16132         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16133         __ehdr_start with hidden visibility.
16135         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16137 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16139         * math/libm-test.inc (cos_test): Use accurate hex constants.
16140         (sincost_test): Likewise.
16142 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16144         * math/libm-test.inc (catan_test): Add more tests.
16145         (catanh_test): Likewise.
16147         * math/s_catanf.c (__catanf): Use suffixed floating-point
16148         constants.
16149         * math/s_catanhf.c (__catanhf): Likewise.
16150         * math/s_catanhl.c (__catanhl): Likewise.
16151         * math/s_catanl.c (__catanl): Likewise.
16153         [BZ #15394]
16154         * math/s_catan.c (__catan): Calculate imaginary part of result
16155         with log1p not log unless computing log of number close to 0.
16156         * math/s_catanf.c (__catanf): Likewise.
16157         * math/s_catanl.c (__catanl): Likewise.
16158         * math/s_catanh.c (__catanh): Calculate real part of result with
16159         log1p not log unless computing log of number close to 0.
16160         * math/s_catanhf.c (__catanhf): Likewise.
16161         * math/s_catanhl.c (__catanhl): Likewise.
16162         * math/libm-test.inc (catan_test): Add more tests.
16163         (catanh_test): Likewise.
16164         * sysdeps/i386/fpu/libm-test-ulps: Update.
16165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16167 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16169         * benchtests/Makefile: Mention files in which fast and slow
16170         paths of math functions are implemented.
16172 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16174         * sysdeps/posix/timespec_get.c: New file.
16176 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16178         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16179         POWER.
16180         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16181         for POWER.
16182         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16183         powerpc/power5/fpu folders.
16184         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16185         * benchtests/Makefile: Add modf testcase.
16186         * benchtests/bench-modf.c: New file: Benchmark test for mo
16188 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16190         [BZ #14888]
16191         * time/Makefile (tests): Add tst-strptime-whitespace.
16192         * time/strptime_l.c (get_number): Use ISSPACE.
16193         (__strptime_internal): Likewise.
16194         * time/tst-strptime-whitespace.c: New test case.
16196 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16198         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16199         member.
16200         (_nss_files_init): Set it here.
16202 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16204         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16205         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16206         unsigned.
16208 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16210         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16212 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16215         size just once.
16217 2013-04-21  David S. Miller  <davem@davemloft.net>
16219         * po/ru.po: Update Russion translation from translation project.
16221 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16223         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16224         and setfsgid.
16226 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16228         * configure.in: Remove i386 configure warning. Remove i386 case.
16229         * configure: Regenerate.
16230         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16231         Add example to error message.
16232         * sysdeps/i386/configure: Regenerate.
16234 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16236         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16237         slowtan.
16238         * benchtests/cos-inputs: New file.
16239         * benchtests/slowcos-inputs: New file.
16240         * benchtests/slowcos.c: New file.
16241         * benchtests/slowtan-inputs: New file.
16242         * benchtests/slowtan.c: New file.
16243         * benchtests/tan-inputs: New file.
16245 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16247         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16248         considered kosher.
16250 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16252         * benchtests/Makefile: Include cppflags-iterator.mk to add
16253         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16255         * Makefile.in (bench-clean): New target.
16256         * benchtests/Makefile (bench-clean): Likewise.
16258 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
16260         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16262 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
16264         * stdio-common/tstdiomisc.c: Fix coding-style violation.
16266 2013-04-15  Andreas Schwab  <schwab@suse.de>
16268         * nscd/grpcache.c (cache_addgr): Properly check for short write.
16269         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16270         * nscd/pwdcache.c (cache_addpw): Likewise.
16271         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
16272         more than recsize.
16274 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16276         * benchtests/Makefile (bench): Write all output to
16277         bench-out.tmp together.
16279 2013-04-15  Andreas Schwab  <schwab@suse.de>
16281         * nscd/nscd.c (main): Don't fork again after closing files.
16283 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16285         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16287         * benchtests/Rules (bench-deps): Collect dependencies into a
16288         single variable.  Add Makefile to dependencies.
16289         ($(objpfx)bench-%.c): Depend on bench-deps.
16291 2013-04-12  Roland McGrath  <roland@hack.frob.com>
16292             Xavier Roche  <roche+kml2@exalead.com>
16294         [BZ #15361]
16295         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16296         just that it's a file descriptor.
16297         * manual/llio.texi (Synchronizing AIO Operations): Update description
16298         for EBADF error from aio_fsync.
16300 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16302         * Rules (bench): Move target definition...
16303         * benchtests/Makefile: ... here.
16305 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
16307         * math/libm-test.inc (cos_test): Fix PI/2 test.
16308         (sincos_test): Likewise.
16309         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16310         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16312 2013-04-11  Andreas Schwab  <schwab@suse.de>
16314         [BZ #13988]
16315         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16316         accept exponent character only when digits were seen.
16317         * stdio-common/Makefile (tests): Add bug26.
16318         * stdio-common/bug26.c: New file.
16320         [BZ #14293]
16321         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16322         non-freeable.
16324 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16326         * Makeconfig (rtld-prefix): Define built linker prefix.
16327         * Rules (run-bench): Use it.
16328         * math/Makefile (run-regen-ulps): Likewise.
16330         * Rules (bench): Remove eval.
16332 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16333             Roland McGrath  <roland@hack.frob.com>
16334             Ondrej Bilka  <neleai@seznam.cz>
16336         [BZ #15346]
16337         * time/getdate.c: Include ctype.h and alloca.h.
16338         (__getdate_r): Trim leading and trailing spaces of input.
16339         * time/tst-getdate.c (tests): Add tests with leading and
16340         trailing spaces.
16342 2013-04-08  Roland McGrath  <roland@hack.frob.com>
16344         [BZ #14280]
16345         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16346         when computing value.
16348 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16350         * math/README.libm-test (How can I generate "libm-test-ulps"?):
16351         Use testrun.sh to run libm tests.
16353         [BZ #15309]
16354         * elf/dl-open.c (dl_open_worker): memset all of seen array.
16356 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
16358         [BZ #15264]
16359         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16361 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16363         * Makefile.in (regen-ulps): New target.
16364         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16365         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16366         [ifneq (no,$(PERL)] (regen-ulps): New target.
16367         [ifeq (no,$(PERL)] (regen-ulps): New target.
16368         * math/libm-test.inc (ulps_file_name): Define.
16369         (output_dir): New variable.
16370         (options): Add "output-dir" option.
16371         (parse_opt): Handle 'o' case.
16372         (main): If output_dir is non-NULL use it as a prefix
16373         otherwise use "".
16374         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16376 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16378         [BZ #10060, #10062]
16379         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16380         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16381         fail configure if __sync_val_compare_and_swap is not inlined.
16382         * sysdeps/i386/configure: Regenerate.
16383         * configure.in: Build for i686 when configured for i386.
16384         * configure: Regenerate.
16385         * README: Remove i386 reference.
16387 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16389         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16390         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16392 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16394         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16395         (lmsnanval): New variables.
16396         (F): Add conversion tests.
16397         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16398         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16400         * stdio-common/tstdiomisc.c (F): Properly collect individual
16401         tests' results.
16403         [BZ #14686, #15336]
16404         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16405         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16406         Instead, use input NaN values or generate a qNaN by arithmetic
16407         operation.  Also fix bugs to comply with the standard.
16408         * math/libm-test.inc (remainder_test): Add more tests.
16410         [BZ #15335, #15342]
16411         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16413         input NaN values or generate a qNaN by arithmetic operation.
16415         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16416         unreachable code.
16418         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16419         definitions.
16421 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
16423         [BZ #14478]
16424         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16425         underflowed result.
16426         * math/s_cexpf.c (__cexpf): Likewise.
16427         * math/s_cexpl.c (__cexpl): Likewise.
16428         * math/libm-test.inc (cexp_test): Add more tests.
16430 2013-04-03  Andreas Schwab  <schwab@suse.de>
16432         [BZ #15330]
16433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16434         order arrays from heap if bigger than alloca cutoff.
16436 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
16438         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16439         (SNAN_TESTS_double): Refer to GCC PR56831.
16440         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16441         GCC PR56828.
16443 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16445         * Rules (bench): Move bench.out after the run is complete.
16447         * Rules (bench): Echo currently running benchmark.
16449         * benchtests/Makefile (bench): Add atan and slowatan.
16450         * benchtests/atan-inputs: New file.
16451         * benchtests/slowatan-inputs: New file.
16452         * benchtests/slowatan.c: New file.
16454         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16455         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16456         its value.
16458         [BZ #15305]
16459         * sysdeps/unix/sysv/linux/kernel-features.h
16460         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16461         __ASSUME_XFS_RESTRICTED_CHOWN.
16462         * sysdeps/unix/sysv/linux/pathconf.c
16463         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16464         Save and restore errno.
16466 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
16468         [BZ #15327]
16469         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16470         arguments using __kernel_casinh.
16471         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16472         arguments using __kernel_casinhf.
16473         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16474         arguments using __kernel_casinhl.
16475         * math/libm-test.inc (cacosh_test): Add more tests.
16476         * sysdeps/i386/fpu/libm-test-ulps: Update.
16477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16479 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16481         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16482         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16484         * bench/Makefile (bench): Add sin and slowsin.
16485         * benchtests/sin-inputs: New file.
16486         * benchtests/slowsin-inputs: New file.
16487         * benchtests/slowsin.c: New file.
16489         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16490         (bench): Add slowexp and slowpow.
16491         (exp-ITER): Increase iterations.
16492         (pow-ITER): Likewise.
16493         * benchtests/exp-inputs: Change input.
16494         * benchtests/pow-inputs: Likewise.
16495         * benchtests/slowexp-inputs: New file.
16496         * benchtests/slowexp.c: New file.
16497         * benchtests/slowpow-inputs: New file.
16498         * benchtests/slowpow.c: New file.
16500 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16502         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16503         instructions.
16504         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16505         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16506         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16507         * benchtests/Makefile: Add rint benchtest.
16508         * benchtests/rint-inputs: Input for rint benchtest.
16510 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16512         * Versions.def (libm): Add GLIBC_2.18.
16513         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16514         hidden libm prototypes.
16515         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16516         * math/Makefile (libm-calls): Add s_issignaling.
16517         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16518         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
16519         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16520         declaration.
16521         * math/math.h [__USE_GNU] (issignaling): New macro.
16522         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16523         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16524         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16525         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16526         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16528         * manual/arith.texi (issignaling): New section.
16529         * manual/libm-err-tab.pl (@all_functions): Update comment.
16530         * math/gen-libm-test.pl (parse_args): Apply special handling for
16531         issignaling.
16532         * math/libm-test.inc (print_float, issignaling_test): New
16533         functions.
16534         (check_float_internal): Add issignaling checks.
16535         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16536         default definition.
16537         * sysdeps/powerpc/math-tests.h: New file.
16538         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16539         tests.
16540         * math/test-snan.c (TEST_FUNC): Likewise.
16542 2013-03-30  David S. Miller  <davem@davemloft.net>
16544         * po/de.po: Update from translation team.
16546 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
16548         [BZ #10357]
16549         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16550         imaginary part less than 1.0 and real part less than 0.5
16551         specially.
16552         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16553         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16554         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16555         (cacos_test): Add more tests.
16556         (casin_test): Likewise.
16557         (casinh_test): Likewise.
16558         * sysdeps/i386/fpu/libm-test-ulps: Update.
16559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16561 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16563         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16564         ONE with its value.
16566         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16567         (__pow_mp): Replace ONE and MONE with their values.
16568         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16570         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16571         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16572         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16573         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16575         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16577         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16578         (__pow_mp): Replace ZERO and MZERO with their values.
16579         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16580         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16581         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16583         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16584         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16585         (__sqr): Likewise.
16587         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16589         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16591 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16593         * include/stdlib.h [!SHARED] (__call_tls_dtors):
16594         Declare with __attribute__ ((weak)).
16595         * stdlib/exit.c (__libc_atexit) [!SHARED]:
16596         Call __call_tls_dtors only if it's not NULL.
16598 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16600         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16601         didn't do it already, then set _dl_phdr and _dl_phnum based on the
16602         magic __ehdr_start linker symbol if it's defined.
16603         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16604         them up here if it was already done.
16606         * elf/dl-support.c (_dl_phdr): Make pointer to const.
16607         (_dl_aux_init): Use const in cast when setting it.
16608         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16609         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16610         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16612         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16613         Declare them here.
16614         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16615         * csu/libc-tls.c: Nor here.
16616         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16618         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16619         (__libc_message): Never call vsyslog.
16621 2013-03-28  Alan Modra  <amodra@gmail.com>
16623         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16624         Define as empty.
16625         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16626         Likewise.
16628 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16630         [BZ #15214]
16631         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16632         underflow.
16633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16635 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16637         [BZ #15304]
16638         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16639         Don't add gid passed as argument.
16641         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16643 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
16645         [BZ #15307]
16646         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16647         imaginary part between 1.0 and 1.5 and real part less than 0.5
16648         specially.
16649         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16650         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16651         * math/libm-test.inc (cacos_test): Add more tests.
16652         (casin_test): Likewise.
16653         (casinh_test): Likewise.
16654         * sysdeps/i386/fpu/libm-test-ulps: Update.
16655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16657 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16659         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16660         constants.
16661         (norm): Likewise.
16662         (denorm): Likewise.
16663         (__dbl_mp): Likewise.
16664         (add_magnitudes): Likewise.
16665         (sub_magnitudes): Likewise.
16666         (__add): Likewise.
16667         (__sub): Likewise.
16668         (__mul): Likewise.
16669         (__sqr): Likewise.
16670         (__inv): Likewise.
16671         (__dvd): Likewise.
16673         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16674         commented code.
16675         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16676         (__dubcos): Likewise.
16677         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16678         (__ieee754_acos): Likewise.
16679         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16680         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16681         (__exp1): Likewise.
16682         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16683         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16684         (log1): Likewise.
16685         (my_log2): Likewise.
16686         (checkint): Likewise.
16687         * sysdeps/ieee754/dbl-64/e_remainder.c
16688         (__ieee754_remainder): Likewise.
16689         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16691         (bsloww): Likewise.
16692         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16694         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16695         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16696         MANTISSA_STORE_T to store computations on mantissa.  Use
16697         macros for rounding and division.
16698         (denorm): Likewise.
16699         (__dbl_mp): Likewise.
16700         (add_magnitudes): Likewise.
16701         (sub_magnitudes): Likewise.
16702         (__mul): Likewise.
16703         (__sqr): Likewise.
16704         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16705         powers of two in terms of TWOPOW macro.
16706         (mp_no): Make type of mantissa as MANTISSA_T.
16707         [!RADIXI]: Define RADIXI.
16708         [!TWO52]: Define TWO52.
16709         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16711 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16713         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16714         llroundl symbol when building for PPC32.
16716 2013-03-24  Mark H Weaver  <mhw@netris.org>
16718         * manual/arith.texi (Normalization Functions): Fix prototypes for
16719         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16721 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16723         [BZ #13889]
16724         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16725         high value to check if expl overflow.
16726         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16727         to check for underflow and overflow.
16728         * math/libm-test.inc: Add exp test.
16730 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
16732         [BZ #11120]
16733         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16734         with NOT_IN_libc.
16736 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16738         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16739         symbol.
16741 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16743         * math/gen-libm-test.pl (parse_args, special_functions): Properly
16744         wrap blocks consisting of several statements.
16746         * sysdeps/generic/math-tests.h: New file.
16747         * sysdeps/i386/fpu/math-tests.h: Likewise.
16748         * math/test-snan.c: Include it.
16749         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16751 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16753         [BZ #15285]
16754         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16755         (__ieee754_j0l): Do not improve calculations using cos of twice
16756         input for inputs above LDBL_MAX / 2.0L.
16757         (__ieee754_y0l): Likewise.
16758         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16759         (__ieee754_j1l): Do not improve calculations using cos of twice
16760         input for inputs above LDBL_MAX / 2.0L.
16761         (__ieee754_y1l): Likewise.
16762         * math/libm-test.inc (j0_test): Add another test.
16763         (j1_test): Likewise.
16764         (y0_test): Likewise.
16765         (y1_test): Likewise.
16766         * sysdeps/i386/fpu/libm-test-ulps: Update.
16768 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16770         * Rules ($(objpfx)bench-%.c): Include code from a C source
16771         file.
16773 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16775         [BZ #15287]
16776         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16777         imaginary part 1.0 and real part less than 0.5 specially.
16778         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16779         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16780         * math/libm-test.inc (cacos_test): Add more tests.
16781         (casin_test): Likewise.
16782         (casinh_test): Likewise.
16783         * sysdeps/i386/fpu/libm-test-ulps: Update.
16784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16786 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16788         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16789         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16791 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
16793         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16794         * config.make.in (config-cflags-sse4): Remove variable.
16795         (config-cflags-avx): Likewise.
16796         (config-cflags-sse2avx): Likewise.
16797         (config-cflags-novzeroupper): Likewise.
16798         (config-asflags-i686): Likewise.
16799         (have-mfma4): Likewise.
16800         (have-as-vis3): Likewise.
16801         (MIG): Likewise.
16802         * configure.in (MIG): Do not AC_SUBST.
16803         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16804         (libc_cv_cc_sse4): Do not AC_SUBST.
16805         (libc_cv_cc_avx): Likewise.
16806         (libc_cv_cc_sse2avx): Likewise.
16807         (libc_cv_cc_novzeroupper): Likewise.
16808         (libc_cv_cc_fma4): Likewise.
16809         (libc_cv_as_i686): Likewise.
16810         (libc_cv_sparc_as_vis3): Likewise.
16811         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16812         LIBC_CONFIG_VAR.
16813         (config-asflags-i686): Likewise.
16814         (config-cflags-avx): Likewise.
16815         (config-cflags-sse2avx): Likewise.
16816         (have-mfma4): Likewise.
16817         (config-cflags-novzeroupper): Likewise.
16818         * sysdeps/mach/configure.in (MIG): Likewise.
16819         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16820         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16821         LIBC_CONFIG_VAR.
16822         (config-cflags-avx): Likewise.
16823         (config-cflags-sse2avx): Likewise.
16824         (have-mfma4): Likewise.
16825         (config-cflags-novzeroupper): Likewise.
16826         * configure: Regenerated.
16827         * sysdeps/i386/configure: Likewise.
16828         * sysdeps/mach/configure: Likewise.
16829         * sysdeps/sparc/configure: Likewise.
16830         * sysdeps/x86_64/configure: Likewise.
16832 2013-03-20  Roland McGrath  <roland@hack.frob.com>
16834         [BZ #14812]
16835         * locale/programs/localedef.c (options): Put N_ translation marker
16836         on argument names, not just descriptions.
16838 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16840         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16842 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
16844         [BZ #14176]
16845         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16847 2013-03-19  Roland McGrath  <roland@hack.frob.com>
16849         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16850         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16851         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16852         [!BEFORE_ABORT] (before_abort): New function.
16853         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16854         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16855         (writev_for_fatal): New function.
16856         (WRITEV_FOR_FATAL): New macro; call that.
16857         (backtrace_and_maps): New function.
16858         (BEFORE_ABORT): New macro; call that.
16859         (struct str_list): Type removed.
16860         (__libc_message, __libc_fatal): Functions removed.
16861         Include <sysdeps/posix/libc_fatal.c> instead.
16863 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
16865         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16866         constants.
16867         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16868         double constants.
16870 2013-03-19  Andreas Schwab  <schwab@suse.de>
16872         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16873         * sysdeps/gnu/configure: Regenerate.
16875         * configure.in: Substitute libc_cv_rtlddir.
16876         * configure: Regenerate.
16877         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16878         * Makeconfig (rtlddir, inst_rtlddir): New variables.
16879         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16880         * elf/Makefile (install-others, CFLAGS-interp.c)
16881         (ldso_install, common-ldd-rewrite): Likewise.
16882         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16883         $(inst_slibdir)/$(rtld-installed-name).
16884         * scripts/rellns-sh: Add -p option.
16885         * Makerules (make-shlib-link): Use rellns-sh to get relative name
16886         for source.
16888 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16890         * manual/nptl.texi: Renamed to ...
16891         * manual/threads.texi: ... this.
16892         * manual/Makefile (chapters): Update.
16894 2013-03-18  Roland McGrath  <roland@hack.frob.com>
16896         [BZ #14812]
16897         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16898         on argument names, not just descriptions.
16899         * malloc/memusagestat.c (options): Likewise.
16900         * nss/getent.c (options): Likewise.
16902 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16904         [BZ #14812]
16905         * iconv/iconv_prog.c (options): Put N_ translation marker
16906         on argument names, not just descriptions.
16907         * iconv/iconvconfig.c (options): Likewise.
16909 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16911         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16912         implementation which is faster on all x86_64 architectures.
16913         Tested on AMD, Intel Nehalem, SNB, IVB.
16914         * sysdeps/x86_64/strnlen.S: Likewise.
16916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16917         Remove all multiarch strlen and strnlen versions.
16918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16919         Remove strlen and strnlen related parts.
16921         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16922         Inline strlen part.
16923         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16925         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16926         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16927         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16928         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16929         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16930         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16932 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16934         * manual/memory.texi (Malloc Tunable Parameters):
16935         Sort parameters alphabetically. Add comments for missing entries.
16937 2013-03-17  David S. Miller  <davem@davemloft.net>
16939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16941 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16943         [BZ #15283]
16944         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16945         for arguments at most half maximum finite value.
16946         * math/libm-test.inc (j0_test): Add more tests.
16947         (j1_test): Likewise.
16948         (y0_test): Likewise.
16949         (y1_test): Likewise.
16950         * sysdeps/i386/fpu/libm-test-ulps: Update.
16951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16953         [BZ #14155]
16954         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16955         1 / x and functions P and Q for arguments above 0x1p256L.
16956         (__ieee754_y0l): Likewise.
16957         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16958         (__ieee754_y1l): Likewise.
16959         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16960         (j1_test): Likewise.
16961         (y0_test): Likewise.
16962         (y1_test): Likewise.
16964 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16966         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16967         variable.
16969 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16971         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16972         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16973         zero since it's initialized to EXEC_PAGESIZE.
16975         * sysdeps/unix/sysv/linux/ldsodefs.h
16976         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16977         * sysdeps/generic/ldsodefs.h: ... here.
16979 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16981         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16983         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16984         math/test-snan.c.
16985         * math/test-snan.c: Renamed from
16986         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16987         * math/Makefile (tests): Add test-snan.
16988         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16989         test-powerpc-snan.
16991         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16992         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16993         functions.
16994         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16995         __builtin_nan family of functions.
16996         * math/libm-test.inc (initialize): Initialize qnan_value with
16997         __builtin_nan family of functions.
16998         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16999         Remove variables.
17000         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17001         Remove functions.
17002         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17003         storage class.  Initialize qNaN_var and sNaN_var with
17004         __builtin_nan and __builtin_nans families of functions,
17005         respectively.
17007         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17008         (sqrt_test): Remove duplicate test with qNaN input.
17009         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17010         (round_test, signbit_test, significand_test): Note missing +/-Inf
17011         as well as qNaN tests.
17013         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17014         qNaN_var.  Fix a few strings, too.
17015         * math/libm-test.inc (nan_value): Rename to qnan_value.
17016         * math/gen-libm-test.pl (%beautify): Adjust to that.
17017         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17018         * math/test-misc.c (main): Likewise.
17019         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17020         to __qnan_bytes, and __qnan_union, respectively.
17021         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17022         Likewise.
17023         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17024         and lqnanval, respectively.
17025         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17026         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17027         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17028         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17030         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17031         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17032         doubles.
17034         * math/test-misc.c (main): Fix copy'n'pastos.
17035         * misc/tst-efgcvt.c (special): Likewise.
17037         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17038         Remove declarations.
17040 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17042         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17043         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17044         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17045         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17047 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17049         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17050         macro to return vdso values correctly in IFUNC implementations.
17051         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17052         Optimization by using IFUNC.
17054 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17055             Richard Henderson  <rth@redhat.com>
17056             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17058         * Makefile.in (bench): New target.
17059         * NEWS: Mention the benchmark framework.
17060         * Rules (bench): Likewise.
17061         (binaries-bench): Generate binaries for functions to
17062         benchmark.
17063         * benchtests/Makefile: New makefile for benchmark tests.
17064         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17065         programs.
17066         * benchtests/exp-inputs: New input file for EXP function.
17067         * benchtests/pow-inputs: New input file for POW function.
17068         * scripts/bench.pl: New script to generate source files for
17069         benchmark programs.
17071 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17073         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17074         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17075         computations on mantissa.  Use macros for rounding and
17076         division.
17077         (denorm): Likewise.
17078         (__dbl_mp): Likewise.
17079         (add_magnitudes): Likewise.
17080         (sub_magnitudes): Likewise.
17081         (__mul): Likewise.
17082         (__sqr): Likewise.
17083         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17084         powers of two in terms of TWOPOW macro.
17085         (mp_no): Make type of mantissa as MANTISSA_T.
17086         [!RADIXI]: Define RADIXI.
17087         [!TWO52]: Define TWO52.
17088         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17090         * manual/nptl.texi (cindex): Modify threads to pthreads.
17092 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17094         * sysdeps/x86_64/preconfigure: Regenerated.
17096 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17098         [BZ #14155]
17099         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17100         0x1p28 and above.
17101         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17102         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17103         0x1p28 and above.
17104         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17105         * math/libm-test.inc (j0_test): Do not allow one spurious
17106         underflow exception.
17107         (y1_test): Likewise.
17109 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17111         * manual/Makefile (chapters): Add nptl.
17112         * manual/debug.texi (Debugging Support): Add link to Threads
17113         chapter.
17114         * manual/nptl.texi: New file.
17116         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17118 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17120         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17121         for non-NULL pointer before the memory validity test. Pointed
17122         out by Holger Brunck <holger.brunck@keymile.com>.
17124 2013-03-13  Andreas Schwab  <schwab@suse.de>
17126         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17127         instead of .os.
17129 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17131         * timezone/zic.c: Update from tzcode 2013b.
17133 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17135         * manual/install.texi (Configuring and compiling):
17136         Mention i686 and i586.
17137         * INSTALL: Regenerate.
17139 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17141         * sysdeps/init_array/elf-init.c: New file.
17142         * csu/elf-init.c
17143         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17144         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17146         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17147         __gmon_start__ as global, but as static with a .preinit_array pointer.
17148         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17149         * sysdeps/init_array/crti.S: New file, empty except for comments.
17150         * sysdeps/init_array/crtn.S: Likewise.
17152 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17154         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17155         definining bcopy.
17156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17157         Remove Prefer_SSE_for_memop.
17158         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17159         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17160         HAS_PREFER_SSE_FOR_MEMOP.
17161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17162         memset-x86-64.
17163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17164         Remove bzero, memset ifunc support.
17165         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17166         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17167         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17168         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17170 2013-03-11  Andreas Schwab  <schwab@suse.de>
17172         [BZ #15234]
17173         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17174         by SHLIB_COMPAT.
17175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17176         (GLIBC_2.16): Remove pthread_atfork.
17178 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17180         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17181         (ptestcases.h): Likewise.
17183 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17185         * Makeconfig ($(common-objpfx)config.status): Depend on
17186         sysdeps/*/preconfigure{,.in} too.
17188 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17190         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17191         (__free_hook): Use void * instead of __malloc_ptr_t.
17192         (__malloc_hook): Likewise.
17193         (__realloc_hook): Likewise.
17194         (__memalign_hook): Likewise.
17195         (__after_morecore_hook): Likewise.
17196         * malloc/arena.c (save_malloc_hook): Likewise.
17197         (save_free_hook): Likewise.
17198         * malloc/hooks.c (malloc_hook_ini): Likewise.
17199         (realloc_hook_ini): Likewise.
17200         (memalign_hook_ini): Likewise.
17201         * malloc/malloc.c (malloc_hook_ini): Likewise.
17202         (realloc_hook_ini): Likewise.
17203         (memalign_hook_ini): Likewise.
17204         (__free_hook): Likewise.
17205         (__malloc_hook): Likewise.
17206         (__realloc_hook): Likewise.
17207         (__memalign_hook): Likewise.
17208         (__libc_malloc): Likewise.
17209         (__libc_free): Likewise.
17210         (__libc_realloc): Likewise.
17211         (__libc_memalign): Likewise.
17212         (__libc_valloc): Likewise.
17213         (__libc_pvalloc): Likewise.
17214         (__libc_calloc): Likewise.
17215         (__posix_memalign): Likewise.
17216         * malloc/morecore.c (__sbrk): Likewise.
17217         (__default_morecore): Likewise.
17219         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17221         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17222         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17223         __malloc_ptrdiff_t.
17225         * malloc/malloc.h (__malloc_size_t): Remove macro.
17226         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17227         __malloc_size_t.
17228         (old_memalign_hook): Likewise.
17229         (old_realloc_hook): Likewise.
17230         (struct hdr): Likewise.
17231         (flood): Likewise.
17232         (mallochook): Likewise.
17233         (memalignhook): Likewise.
17234         (reallochook): Likewise.
17235         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17236         (tr_old_realloc_hook): Likewise.
17237         (tr_old_memalign_hook): Likewise.
17238         (tr_mallochook): Likewise.
17239         (tr_reallochook): Likewise.
17240         (tr_memalignhook): Likewise.
17242 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17244         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17245         default_ldbl_pack and using as default implementation.
17246         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17247         implementation.
17248         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17249         redundant definition.
17250         (ldbl_insert_mantissa): Likewise.
17251         (ldbl_canonicalize): Likewise.
17252         (ldbl_nearbyint): Likewise.
17253         (ldbl_pack): Rename to ldbl_pack_ppc.
17254         (ldbl_unpack): Rename to ldbl_unpack_ppc.
17255         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17256         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17258 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17261         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17262         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17263         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17265         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17266         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17267         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17269 2013-03-07  Andreas Jaeger  <aj@suse.de>
17271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17272         bits/mman-linux.h.
17274 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17276         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17277         Include mpa.h and declare __MPEXP.
17278         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17279         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17280         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17281         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17282         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17283         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17284         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17286         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17287         (__slowpow): Use long double EXPL and LOGL functions to
17288         compute POW.
17289         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17290         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17291         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17292         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17293         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17294         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17297         intermediate variable to calculate exponent.
17298         (__sqr): Likewise.
17299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17300         Likewise.
17301         (__sqr): Likewise.
17303         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17304         [!NO__SQR]: Define __sqr.
17305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17306         and NO__SQR.  Remove all code except __mul and __sqr.  Include
17307         sysdeps/ieee754/dbl-64/mpa.c.
17308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17310         [BZ #12723]
17311         * posix/Makefile (tests): Add tst-pathconf.
17312         * posix/tst-pathconf.c: New test case.
17313         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17314         _PC_PIPE_BUF.
17315         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17317 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
17319         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17321 2013-03-06  Andreas Jaeger  <aj@suse.de>
17323         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17324         definition via __MAP_ANONYMOUS.
17326         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17327         it's not part of Linux headers.
17329         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17330         (MAP_HUGE_MASK): Define.
17332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17333         Define.
17334         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17335         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17336         Define.
17337         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17338         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17339         Define.
17340         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17341         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17342         Define.
17343         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17345         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17346         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17347         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17348         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17349         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17350         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17352         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17353         Handle f2fs.
17355         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17356         Handle f2fs and efivarfs.
17358         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17359         f2fs.
17361         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17362         (EFIVARFS_MAGIC): Add.
17363         (F2FS_LINK_MAX): Add.
17365 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17367         * stdio-common/vfprintf.c: Replace __builtin_expect with
17368         __glibc_unlikely.
17370 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
17372         [BZ #13550]
17373         * sysdeps/generic/bp-sym.h: Remove file.
17374         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17375         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17376         <bp-sym.h> and <bp-asm.h>.
17377         (__longjmp): Don't use BP_SYM.
17378         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17379         and <bp-asm.h>.
17380         (memcpy): Don't use BP_SYM.
17381         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17382         <bp-sym.h> and <bp-asm.h>.
17383         (memcpy): Don't use BP_SYM.
17384         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17385         <bp-asm.h>.
17386         (memcpy): Don't use BP_SYM.
17387         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17388         <bp-asm.h>.
17389         (memset): Don't use BP_SYM.
17390         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17391         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17392         (__bzero): Don't use BP_SYM.
17393         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17394         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17395         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17396         <bp-sym.h> and <bp-asm.h>.
17397         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17398         pointers.
17399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17400         <bp-sym.h> and <bp-asm.h>.
17401         (memcpy): Don't use BP_SYM.
17402         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17403         <bp-sym.h> and <bp-asm.h>.
17404         (memset): Don't use BP_SYM.
17405         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17406         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17407         (__bzero): Don't use BP_SYM.
17408         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17409         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17410         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17411         <bp-sym.h> and <bp-asm.h>.
17412         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17413         pointers.
17414         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17415         <bp-sym.h> and <bp-asm.h>.
17416         (memcpy): Don't use BP_SYM.
17417         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17418         <bp-sym.h> and <bp-asm.h>.
17419         (memset): Don't use BP_SYM.
17420         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17421         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17422         (__bzero): Don't use BP_SYM.
17423         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17424         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17425         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17426         <bp-sym.h> and <bp-asm.h>.
17427         (__memchr): Don't use BP_SYM.
17428         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17429         <bp-sym.h> and <bp-asm.h>.
17430         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17431         pointers.
17432         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17433         <bp-sym.h> and <bp-asm.h>.
17434         (memcpy): Don't use BP_SYM.
17435         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17436         <bp-sym.h> and <bp-asm.h>.
17437         (__mempcpy): Don't use BP_SYM.
17438         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17439         <bp-sym.h> and <bp-asm.h>.
17440         (__memrchr): Don't use BP_SYM.
17441         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17442         <bp-sym.h> and <bp-asm.h>.
17443         (memset): Don't use BP_SYM.
17444         (__bzero): Likewise.
17445         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17446         <bp-sym.h> and <bp-asm.h>.
17447         (__rawmemchr): Don't use BP_SYM.
17448         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17449         <bp-sym.h> and <bp-asm.h>.
17450         (__STRCMP): Don't use BP_SYM.
17451         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17452         <bp-sym.h> and <bp-asm.h>.
17453         (strchr): Don't use BP_SYM.
17454         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17455         <bp-sym.h> and <bp-asm.h>.
17456         (__strchrnul): Don't use BP_SYM.
17457         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17458         <bp-sym.h> and <bp-asm.h>.
17459         (strlen): Don't use BP_SYM.
17460         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17461         <bp-sym.h> and <bp-asm.h>.
17462         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17463         pointers.
17464         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17465         <bp-sym.h> and <bp-asm.h>.
17466         (__strnlen): Don't use BP_SYM.
17467         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17468         <bp-sym.h> and <bp-asm.h>.
17469         (__GI__setjmp): Don't use BP_SYM.
17470         (_setjmp): Likewise.
17471         (__sigsetjmp): Likewise.
17472         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17473         (L(start_addresses)): Don't use BP_SYM.
17474         (_start): Likewise.
17475         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17476         <bp-asm.h>.
17477         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17478         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17479         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17480         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17481         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17482         <bp-asm.h>.
17483         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17484         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
17485         about bounded pointers.
17486         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17487         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17488         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17489         <bp-asm.h>.
17490         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17491         about bounded pointers.  Remove GKM FIXME comments.
17492         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17493         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17494         <bp-asm.h>.
17495         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17496         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
17497         Remove GKM FIXME comments.
17498         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17499         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17500         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17501         <bp-asm.h>.
17502         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17503         about bounded pointers.  Remove GKM FIXME comment.
17504         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17505         and <bp-asm.h>.
17506         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17507         pointers.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17509         <bp-sym.h> and <bp-asm.h>.
17510         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17512         <bp-sym.h> and <bp-asm.h>.
17513         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17514         comment.
17516 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17518         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17519         call free(NULL).
17521 2013-03-05  David S. Miller  <davem@davemloft.net>
17523         * po/es.po: Update from translation team.
17525 2013-03-05  Andreas Jaeger  <aj@suse.de>
17527         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17528         <bits/mman-linux.h>.
17529         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17530         is fine.
17531         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17532         <bits/mman-linux.h> to end of file.
17533         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17534         is fine.
17535         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17536         <bits/mman-linux.h> to end of file.
17537         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17538         is fine.
17539         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17540         <bits/mman-linux.h> to end of file.
17542         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17543         (MCL_CURRENT, MCL_FUTURE): Define here.
17545 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17547         [BZ #15232]
17548         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17549         attribute_hidden.
17550         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17552 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17554         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17555         fourth parameter needed for rt_sigprocmask syscall.
17556         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17557         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17558         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17559         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17560         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17561         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17563 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
17565         [BZ #13550]
17566         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17567         comment about bounded pointers.
17568         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17569         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17571 2013-03-04  Andreas Jaeger  <aj@suse.de>
17573         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17574         common definitions.
17576         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17577         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17578         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17579         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17580         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17581         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17583 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17585         [BZ #15055]
17586         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17587         __ieee754_sqrl instead of __sqrl.
17589 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
17591         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17592         * sysdeps/powerpc/fpu_control.h: ... here.
17593         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17594         * sysdeps/powerpc/bits/fenvinline.h: ... here.
17595         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17596         * sysdeps/powerpc/bits/mathinline.h: ... here.
17598 2013-03-01  Roland McGrath  <roland@hack.frob.com>
17600         * elf/dl-hwcaps.c (_dl_important_hwcaps):
17601         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17602         to just [NEED_DL_SYSINFO_DSO].
17603         * elf/dl-support.c: Likewise.
17604         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17605         * elf/rtld.c (dl_main): Likewise.
17606         * elf/setup-vdso.h (setup_vdso): Likewise.
17607         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17608         * sysdeps/unix/sysv/linux/dl-sysdep.c
17609         (_dl_discover_osversion): Likewise.
17611 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
17613         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17614         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17616 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17618         * NEWS: Mention libm performance improvements and non-x86 PI
17619         futex support.
17621         * csu/libc-start.c (__pthread_initialize_minimal): Change
17622         function arguments.
17623         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17625 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
17627         [BZ #13550]
17628         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17629         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17630         <bp-sym.h> and <bp-asm.h>.
17631         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17632         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17633         and <bp-asm.h>.
17634         (memcpy): Don't use BP_SYM.
17635         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17636         <bp-asm.h>.
17637         (__mpn_add_n): Don't use BP_SYM.
17638         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17639         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17640         and <bp-asm.h>.
17641         (__mpn_addmul_1): Don't use BP_SYM.
17642         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17643         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17644         <bp-sym.h>.
17645         (_setjmp): Don't use BP_SYM.
17646         (__novmx_setjmp): Likewise.
17647         (__GI__setjmp): Likewise.
17648         (__vmx_setjmp): Likewise.
17649         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17650         <bp-sym.h>.
17651         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17652         (__bzero): Don't use BP_SYM.
17653         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17654         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17655         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17656         <bp-sym.h> and <bp-asm.h>.
17657         (memcpy): Don't use BP_SYM.
17658         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17659         <bp-sym.h> and <bp-asm.h>.
17660         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17662         <bp-sym.h> and <bp-asm.h>.
17663         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17664         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17665         <bp-asm.h>.
17666         (__mpn_lshift): Don't use BP_SYM.
17667         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17668         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17669         <bp-asm.h>.
17670         (memset): Don't use BP_SYM.
17671         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17672         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17673         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17674         <bp-asm.h>.
17675         (__mpn_mul_1): Don't use BP_SYM.
17676         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17677         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17678         <bp-sym.h> and <bp-asm.h>.
17679         (memcmp): Don't use BP_SYM.
17680         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17681         <bp-sym.h> and <bp-asm.h>.
17682         (memcpy): Don't use BP_SYM.
17683         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17684         <bp-sym.h> and <bp-asm.h>.
17685         (memset): Don't use BP_SYM.
17686         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17687         <bp-sym.h> and <bp-asm.h>.
17688         (strncmp): Don't use BP_SYM.
17689         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17690         <bp-sym.h> and <bp-asm.h>.
17691         (memcpy): Don't use BP_SYM.
17692         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17693         <bp-sym.h> and <bp-asm.h>.
17694         (memset): Don't use BP_SYM.
17695         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17696         <bp-sym.h> and <bp-asm.h>.
17697         (__memchr): Don't use BP_SYM.
17698         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17699         <bp-sym.h> and <bp-asm.h>.
17700         (memcmp): Don't use BP_SYM.
17701         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17702         <bp-sym.h> and <bp-asm.h>.
17703         (memcpy): Don't use BP_SYM.
17704         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17705         <bp-sym.h> and <bp-asm.h>.
17706         (__mempcpy): Don't use BP_SYM.
17707         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17708         <bp-sym.h> and <bp-asm.h>.
17709         (__memrchr): Don't use BP_SYM.
17710         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17711         <bp-sym.h> and <bp-asm.h>.
17712         (memset): Don't use BP_SYM.
17713         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17714         <bp-sym.h> and <bp-asm.h>.
17715         (__rawmemchr): Don't use BP_SYM.
17716         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17717         <bp-sym.h> and <bp-asm.h>.
17718         (__STRCMP): Don't use BP_SYM.
17719         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17720         <bp-sym.h> and <bp-asm.h>.
17721         (strchr): Don't use BP_SYM.
17722         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17723         <bp-sym.h> and <bp-asm.h>.
17724         (__strchrnul): Don't use BP_SYM.
17725         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17726         <bp-sym.h> and <bp-asm.h>.
17727         (strlen): Don't use BP_SYM.
17728         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17729         <bp-sym.h> and <bp-asm.h>.
17730         (strncmp): Don't use BP_SYM.
17731         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17732         <bp-sym.h> and <bp-asm.h>.
17733         (__strnlen): Don't use BP_SYM.
17734         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17735         <bp-asm.h>.
17736         (__mpn_rshift): Don't use BP_SYM.
17737         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17738         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17739         <bp-sym.h> and <bp-asm.h>.
17740         (__sigsetjmp): Don't use BP_SYM.
17741         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17742         (L(start_addresses)): Don't use BP_SYM.
17743         (_start): Likewise.
17744         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17745         <bp-asm.h>.
17746         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17747         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17748         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17749         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17750         <bp-asm.h>.
17751         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17752         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17753         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17754         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17755         <bp-asm.h>.
17756         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17757         comments.
17758         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17759         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17760         <bp-asm.h>.
17761         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
17762         FIXME comments.
17763         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17764         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17765         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17766         <bp-asm.h>.
17767         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17768         comment.
17769         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17770         and <bp-asm.h>.
17771         (strncmp): Don't use BP_SYM,
17772         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17773         <bp-asm.h>.
17774         (__mpn_sub_n): Don't use BP_SYM.
17775         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17776         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17777         and <bp-asm.h>.
17778         (__mpn_submul_1): Don't use BP_SYM.
17779         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17781         <bp-sym.h> and <bp-asm.h>.
17782         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17784         <bp-sym.h> and <bp-asm.h>.
17785         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17786         comment.
17788 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17791         Use ZK to minimize writes to Z.
17792         (sub_magnitudes): Simplify code a bit.
17793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17794         Use ZK to minimize writes to Z.
17795         (sub_magnitudes): Simplify code a bit.
17797 2013-02-27  Roland McGrath  <roland@hack.frob.com>
17799         * csu/gmon-start.c: Add special exception to license text.
17801 2013-02-27  Richard Henderson  <rth@redhat.com>
17803         * scripts/config.guess: Update from config.git.
17804         * scripts/config.sub: Likewise.
17806 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17808         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17810         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17812         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17814         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17816         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17818 2013-02-26  Roland McGrath  <roland@hack.frob.com>
17820         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17821         [$(build-shared = yes].
17823 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17825         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17826         (__mul): Reduce iterations for calculating mantissa.
17828         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17829         MPTWO.
17830         (__mpranred): Likewise.
17832         [BZ #15160]
17833         * malloc/memusagestat.c (main): Draw graphs for heap and stack
17834         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17836 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
17838         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17839         Define __attribute__.
17841 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17843         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17844         unused.
17845         * posix/regex_internal.h (__attribute): Remove.
17846         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17847         (re_string_context_at): Likewise.
17848         (bitset_not): Use __attribute__ and mark function as possibly
17849         unused.
17850         (bitset_merge): Likewise.
17851         (bitset_mask): Likewise.
17852         (re_string_char_size_at): Likewise.
17853         (re_string_wchar_at): Likewise.
17854         (re_string_elem_size_at): Likewise.
17856 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17858         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17859         code.
17860         (cc32): Likewise.
17862         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17863         (__acr): Likewise.
17864         (__cpy): Likewise.
17865         (norm): Likewise.
17866         (denorm): Likewise.
17867         (__dbl_mp): Likewise.
17868         (add_magnitudes): Likewise.
17869         (sub_magnitudes): Likewise.
17870         (__mul): Likewise.
17871         (__inv): Likewise.
17873         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17874         style.
17876         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17877         style.
17879         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17880         code.
17882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17883         up changes with default code.
17884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17885         Likewise.
17887 2013-02-24  Allan McRae  <allan@archlinux.org>
17889         * manual/socket.texi (The Internet Namespace): Order menu items
17890         to match that in the file.
17892         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17893         node listing of the info page menu.
17895 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
17897         [BZ #13550]
17898         * sysdeps/i386/bp-asm.h: Remove file.
17899         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17900         (PARMS): Do not use macros from bp-asm.h.
17901         (S1): Likewise.
17902         (S2): Likewise.
17903         (SIZE): Likewise.
17904         (__mpn_add_n): Do not use BP_SYM
17905         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17906         "bp-asm.h".
17907         (PARMS): Do not use macros from bp-asm.h.
17908         (S1): Likewise.
17909         (SIZE): Likewise.
17910         (__mpn_addmul_1): Do not use BP_SYM
17911         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17912         "bp-asm.h".
17913         (PARMS): Do not use macros from bp-asm.h.
17914         (SIGMSK): Likewise.
17915         (_setjmp): Likewise.  Do not use BP_SYM.
17916         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17917         "bp-asm.h".
17918         (PARMS): Do not use macros from bp-asm.h.
17919         (SIGMSK): Likewise.
17920         (setjmp): Likewise.  Do not use BP_SYM.
17921         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17922         "bp-asm.h".
17923         (PARMS): Do not use macros from bp-asm.h.
17924         (__frexp): Do not use BP_SYM.
17925         (frexp): Likewise.
17926         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17927         "bp-asm.h".
17928         (PARMS): Do not use macros from bp-asm.h.
17929         (__frexpf): Do not use BP_SYM.
17930         (frexpf): Likewise.
17931         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17932         "bp-asm.h".
17933         (PARMS): Do not use macros from bp-asm.h.
17934         (__frexpl): Do not use BP_SYM.
17935         (frexpl): Likewise.
17936         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17937         "bp-asm.h".
17938         (PARMS): Do not use macros from bp-asm.h.
17939         (__remquo): Do not use BP_SYM.
17940         (remquo): Likewise.
17941         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17942         "bp-asm.h".
17943         (PARMS): Do not use macros from bp-asm.h.
17944         (__remquof): Do not use BP_SYM.
17945         (remquof): Likewise.
17946         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17947         "bp-asm.h".
17948         (PARMS): Do not use macros from bp-asm.h.
17949         (__remquol): Do not use BP_SYM.
17950         (remquol): Likewise.
17951         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17952         "bp-asm.h".
17953         (PARMS): Do not use macros from bp-asm.h.
17954         (DEST): Likewise.
17955         (SRC): Likewise.
17956         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17957         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17958         "bp-asm.h".
17959         (PARMS): Do not use macros from bp-asm.h.
17960         (strlen): Do not use BP_SYM.
17961         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17962         "bp-asm.h".
17963         (PARMS): Do not use macros from bp-asm.h.
17964         (S1): Likewise.
17965         (S2): Likewise.
17966         (SIZE): Likewise.
17967         (__mpn_add_n): Do not use BP_SYM.
17968         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17969         "bp-asm.h".
17970         (PARMS): Do not use macros from bp-asm.h.
17971         (S1): Likewise.
17972         (SIZE): Likewise.
17973         (__mpn_addmul_1): Do not use BP_SYM.
17974         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17975         weak_alias.
17976         (bzero): Likewise.
17977         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17978         "bp-asm.h".
17979         (PARMS): Do not use macros from bp-asm.h.
17980         (S): Likewise.
17981         (SIZE): Likewise.
17982         (__mpn_lshift): Do not use BP_SYM.
17983         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17984         "bp-asm.h".
17985         (PARMS): Do not use macros from bp-asm.h.
17986         (DEST): Likewise.
17987         (SRC): Likewise.
17988         (LEN): Likewise.
17989         (memcpy): Likewise.  Do not use BP_SYM.
17990         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17991         libc_hidden_def and weak_alias.
17992         (mempcpy): Do not use BP_SYM in weak_alias.
17993         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17994         "bp-asm.h".
17995         (PARMS): Do not use macros from bp-asm.h.
17996         (DEST): Likewise.
17997         (LEN): Likewise.
17998         [!BZERO_P] (CHR): Likewise.
17999         (memset): Likewise.  Do not use BP_SYM.
18000         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18001         "bp-asm.h".
18002         (PARMS): Do not use macros from bp-asm.h.
18003         (S1): Likewise.
18004         (SIZE): Likewise.
18005         (__mpn_mul_1): Do not use BP_SYM.
18006         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18007         "bp-asm.h".
18008         (PARMS): Do not use macros from bp-asm.h.
18009         (S): Likewise.
18010         (SIZE): Likewise.
18011         (__mpn_rshift): Do not use BP_SYM.
18012         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18013         "bp-asm.h".
18014         (PARMS): Do not use macros from bp-asm.h.
18015         (STR): Likewise.
18016         (CHR): Likewise.
18017         (strchr): Likewise.  Do not use BP_SYM.
18018         (index): Do not use BP_SYM in weak_alias.
18019         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18020         "bp-asm.h".
18021         (PARMS): Do not use macros from bp-asm.h.
18022         (DEST): Likewise.
18023         (SRC): Likewise.
18024         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18025         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18026         "bp-asm.h".
18027         (PARMS): Do not use macros from bp-asm.h.
18028         (strlen): Do not use BP_SYM.
18029         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18030         "bp-asm.h".
18031         (PARMS): Do not use macros from bp-asm.h.
18032         (S1): Likewise.
18033         (S2): Likewise.
18034         (SIZE): Likewise.
18035         (__mpn_sub_n): Do not use BP_SYM.
18036         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18037         "bp-asm.h".
18038         (PARMS): Do not use macros from bp-asm.h.
18039         (S1): Likewise.
18040         (SIZE): Likewise.
18041         (__mpn_submul_1): Do not use BP_SYM.
18042         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18043         "bp-asm.h".
18044         (PARMS): Do not use macros from bp-asm.h.
18045         (S1): Likewise.
18046         (S2): Likewise.
18047         (SIZE): Likewise.
18048         (__mpn_add_n): Do not use BP_SYM.
18049         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18050         weak_alias.
18051         (bzero): Likewise.
18052         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18053         "bp-asm.h".
18054         (PARMS): Do not use macros from bp-asm.h.
18055         (BLK2): Likewise.
18056         (LEN): Likewise.
18057         (memcmp): Do not use BP_SYM.
18058         (bcmp): Do not use BP_SYM in weak_alias.
18059         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18060         "bp-asm.h".
18061         (PARMS): Do not use macros from bp-asm.h.
18062         (DEST): Likewise.
18063         (SRC): Likewise.
18064         (LEN): Likewise.
18065         (memcpy): Likewise.  Do not use BP_SYM.
18066         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18067         "bp-asm.h".
18068         (PARMS): Do not use macros from bp-asm.h.
18069         (DEST): Likewise.
18070         (SRC): Likewise.
18071         (LEN): Likewise.
18072         (memmove): Likewise.  Do not use BP_SYM.
18073         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18074         "bp-asm.h".
18075         (PARMS): Do not use macros from bp-asm.h.
18076         (DEST): Likewise.
18077         (SRC): Likewise.
18078         (LEN): Likewise.
18079         (__mempcpy): Likewise.  Do not use BP_SYM.
18080         (mempcpy): Do not use BP_SYM in weak_alias.
18081         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18082         "bp-asm.h".
18083         (PARMS): Do not use macros from bp-asm.h.
18084         (DEST): Likewise.
18085         (LEN): Likewise.
18086         [!BZERO_P] (CHR): Likewise.
18087         (memset): Likewise.  Do not use BP_SYM.
18088         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18089         "bp-asm.h".
18090         (PARMS): Do not use macros from bp-asm.h.
18091         (STR2): Likewise.
18092         (strcmp): Do not use BP_SYM.
18093         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18094         "bp-asm.h".
18095         (PARMS): Do not use macros from bp-asm.h.
18096         (STR): Likewise.
18097         (DELIM): Likewise.
18098         [USE_AS_STRTOK_R] (SAVE): Likewise.
18099         (FUNCTION): Likewise.  Do not use BP_SYM.
18100         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18101         aliases.
18102         (strtok_r): Likewise.
18103         (__GI___strtok_r): Likewise.
18104         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18105         (PARMS): Do not use macros from bp-asm.h.
18106         (S): Likewise.
18107         (SIZE): Likewise.
18108         (__mpn_lshift): Do not use BP_SYM.
18109         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18110         (PARMS): Do not use macros from bp-asm.h.
18111         (STR): Likewise.
18112         (CHR): Likewise.
18113         (__memchr): Do not use BP_SYM.
18114         (memchr): Do not use BP_SYM in weak_alias.
18115         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18116         (PARMS): Do not use macros from bp-asm.h.
18117         (BLK2): Likewise.
18118         (LEN): Likewise.
18119         (memcmp): Do not use BP_SYM.
18120         (bcmp): Do not use BP_SYM in weak_alias.
18121         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18122         (PARMS): Do not use macros from bp-asm.h.
18123         (S1): Likewise.
18124         (SIZE): Likewise.
18125         (__mpn_mul_1): Do not use BP_SYM.
18126         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18127         "bp-asm.h".
18128         (PARMS): Do not use macros from bp-asm.h.
18129         (STR): Likewise.
18130         (CHR): Likewise.
18131         (__rawmemchr): Do not use BP_SYM.
18132         (rawmemchr): Do not use BP_SYM in weak_alias.
18133         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18134         (PARMS): Do not use macros from bp-asm.h.
18135         (S): Likewise.
18136         (SIZE): Likewise.
18137         (__mpn_rshift): Do not use BP_SYM.
18138         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18139         (PARMS): Do not use macros from bp-asm.h.
18140         (SIGMSK): Likewise.
18141         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18142         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18143         (_start): Do not use BP_SYM.
18144         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18145         (PARMS): Do not use macros from bp-asm.h.
18146         (DEST): Likewise.
18147         (SRC): Likewise.
18148         (__stpcpy): Likewise.  Do not use BP_SYM.
18149         (stpcpy): Do not use BP_SYM in weak_alias.
18150         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18151         "bp-asm.h".
18152         (PARMS): Do not use macros from bp-asm.h.
18153         (DEST): Likewise.
18154         (SRC): Likewise.
18155         (LEN): Likewise.
18156         (__stpncpy): Likewise.  Do not use BP_SYM.
18157         (stpncpy): Do not use BP_SYM in weak_alias.
18158         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18159         (PARMS): Do not use macros from bp-asm.h.
18160         (STR): Likewise.
18161         (CHR): Likewise.
18162         (strchr): Likewise.  Do not use BP_SYM.
18163         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18164         "bp-asm.h".
18165         (PARMS): Do not use macros from bp-asm.h.
18166         (STR): Likewise.
18167         (CHR): Likewise.
18168         (__strchrnul): Likewise.  Do not use BP_SYM.
18169         (strchrnul): Do not use BP_SYM in weak_alias.
18170         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18171         "bp-asm.h".
18172         (PARMS): Do not use macros from bp-asm.h.
18173         (STOP): Likewise.
18174         (strcspn): Do not use BP_SYM.
18175         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18176         "bp-asm.h".
18177         (PARMS): Do not use macros from bp-asm.h.
18178         (STR): Likewise.
18179         (STOP): Likewise.
18180         (strpbrk): Likewise.  Do not use BP_SYM.
18181         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18182         "bp-asm.h".
18183         (PARMS): Do not use macros from bp-asm.h.
18184         (STR): Likewise.
18185         (CHR): Likewise.
18186         (strrchr): Likewise.  Do not use BP_SYM.
18187         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18188         (PARMS): Do not use macros from bp-asm.h.
18189         (SKIP): Likewise.
18190         (strspn): Do not use BP_SYM.
18191         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18192         (PARMS): Do not use macros from bp-asm.h.
18193         (STR): Likewise.
18194         (DELIM): Likewise.
18195         (SAVE): Likewise.
18196         (FUNCTION): Likewise.  Do not use BP_SYM.
18197         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18198         aliases.
18199         (strtok_r): Likewise.
18200         (__GI___strtok_r): Likewise.
18201         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18202         (PARMS): Do not use macros from bp-asm.h.
18203         (S1): Likewise.
18204         (S2): Likewise.
18205         (SIZE): Likewise.
18206         (__mpn_sub_n): Do not use BP_SYM.
18207         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18208         "bp-asm.h".
18209         (PARMS): Do not use macros from bp-asm.h.
18210         (S1): Likewise.
18211         (SIZE): Likewise.
18212         (__mpn_submul_1): Do not use BP_SYM.
18213         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18214         <bp-sym.h>.
18215         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18216         and <bp-asm.h>.
18217         (PARMS): Do not use macros from bp-asm.h.
18218         (FLAGS): Likewise.
18219         (PTID): Likewise.
18220         (TLS): Likewise.
18221         (CTID): Likewise.
18222         (__clone): Do not use BP_SYM.
18223         (clone): Do not use BP_SYM in weak_alias.
18224         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18225         and <bp-asm.h>.
18226         (PARMS): Do not use macros from bp-asm.h.
18227         (LEN): Likewise.
18228         (__mmap64): Do not use BP_SYM.
18229         (mmap64): Do not use BP_SYM in weak_alias.
18230         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18231         <bp-sym.h> and <bp-asm.h>.
18232         (PARMS): Do not use macros from bp-asm.h.
18233         (__posix_fadvise64_l64): Do not use BP_SYM.
18234         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18235         (PARMS): Do not use macros from bp-asm.h.
18236         (NSOPS): Likewise.
18237         (semtimedop): Do not use BP_SYM.
18238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18239         and <bp-asm.h>.
18241 2013-02-21  Allan McRae  <allan@archlinux.org>
18243         * manual/message.texi (Charset conversion in gettext):
18244         Move @end statement to beginning of line.
18246 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18249         static.
18250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18251         Likewise.
18253         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18254         (denorm): Likewise.
18255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18258 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18260         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18261         tail-call to the resolved function if pltexit isn't needed.
18263 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18266         or Y being zero as being unlikely.
18267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18268         Likewise.
18270 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
18272         * manual/nss.texi (System Databases and Name Service Switch):
18273         Remove frobnicate @pxref.
18275 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18277         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18278         __attribute__ ((unused)) to __attribute__ ((__unused__)).
18280 2013-02-20  Petr Machata  <pmachata@redhat.com>
18282         * elf/elf.h (R_ARM_TARGET1): New macro.
18283         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18284         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18285         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18286         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18287         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18288         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18289         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18290         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18291         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18292         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18293         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18294         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18295         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18296         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18297         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18298         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18299         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18300         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18301         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18302         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18303         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18304         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18305         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18306         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18307         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18308         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18309         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18310         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18311         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18312         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18313         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18314         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18315         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18316         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18317         (R_ARM_THM_GOT_BREL12): Likewise.
18318         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18319         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18320         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18321         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18322         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18323         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18324         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18325         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18326         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18328 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18330         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18331         __attribute_used__ to __attribute__ ((unused)).
18333 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18335         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18336         powerpc mpa.c.
18337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18338         comment formatting.
18339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18341 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
18343         [BZ #13550]
18344         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18345         Remove macro.
18346         (ENTER): Remove both macro definitions.
18347         (LEAVE): Likewise.
18348         (CHECK_BOUNDS_LOW): Likewise.
18349         (CHECK_BOUNDS_HIGH): Likewise.
18350         (CHECK_BOUNDS_BOTH): Likewise.
18351         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18352         (RETURN_BOUNDED_POINTER): Likewise.
18353         (RETURN_NULL_BOUNDED_POINTER): Likewise.
18354         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18355         (POP_ERRNO_LOCATION_RETURN): Likewise.
18356         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18357         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18358         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18359         macros.
18360         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18361         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18362         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18363         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18364         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18365         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18366         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18367         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18368         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18369         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18370         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18371         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18372         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18373         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18374         removed macros.
18375         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18376         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18377         macros.
18378         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18379         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18380         * sysdeps/i386/i586/memset.S (memset): Likewise.
18381         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18382         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18383         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18384         macros.
18385         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18386         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18387         Change uses of L(2) to L(out).
18388         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18389         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18390         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18391         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18392         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18393         removed macros.
18394         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18395         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18396         macros.
18397         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18398         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18399         (RETURN): Do not use macro LEAVE.
18400         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18401         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18402         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18403         * sysdeps/i386/i686/memset.S (memset): Likewise.
18404         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18405         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18406         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18407         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18408         Likewise.
18409         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18410         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
18411         L(1_2) and L(1_3) into L(1).
18412         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18413         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18414         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18415         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18416         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18417         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18418         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18419         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18420         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18421         macros.
18422         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18423         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18424         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18425         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18426         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18427         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18428         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18429         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18430         * sysdeps/i386/strcspn.S (strcspn): Likewise.
18431         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18432         * sysdeps/i386/strrchr.S (strrchr): Likewise.
18433         * sysdeps/i386/strspn.S (strspn): Likewise.
18434         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18435         conditional code.
18436         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18437         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18438         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18439         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
18440         L(1_3) into L(1_1).
18441         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18442         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18443         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18444         macros.
18445         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18447 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
18449         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18450         macro.
18452 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18454         * math/atest-exp.c (exp_mpn): Remove ROUND.
18455         * math/atest-exp2.c (exp_mpn): Likewise.
18456         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18458         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18459         * stdlib/tst-tls-atexit-lib.c: Likewise.
18460         * stdlib/tst-tls-atexit.c: Likewise.
18462 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18464         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18465         and __attribute_alloc_size__.
18467 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18469         * include/programs/xmalloc.h: Change __attribute_alloc_size to
18470         __attribute_alloc_size__.
18471         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18472         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18474 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18476         * include/programs/xmalloc.h: New file.
18477         * catgets/gencat.c: Include it.
18478         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18479         * elf/pldd.c: Likewise.
18480         * iconv/iconv_charmap.c: Likewise.
18481         * iconv/iconvconfig.c: Likewise.
18482         * iconv/strtab.c: Likewise.
18483         * locale/programs/locale.c: Likewise.
18484         * locale/programs/localedef.h: Likewise.
18485         * locale/programs/simple-hash.c: Likewise.
18486         * nscd/nscd.h: Likewise.
18487         * nss/makedb.c: Likewise.
18488         * sysdeps/generic/ldconfig.h: Likewise.
18490 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18492         * Versions.def: Add GLIBC_2.18.
18493         * include/link.h (struct link_map): New member l_tls_dtor_count.
18494         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18495         (__call_tls_dtors): Likewise.
18496         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18497         __cxa_thread_atexit_impl.
18498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18499         Likewise.
18500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18501         Likewise.
18502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18503         Likewise.
18504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18505         Likewise.
18506         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18508         Likewise.
18509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18510         Likewise.
18511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18513         Likewise.
18514         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18515         (tests): Add test case tst-tls-atexit.
18516         (modules-names): Add shared library for tst-tls-atexit.
18517         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18518         (GLIBC_PRIVATE): Add __call_tls_dtors.
18519         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18520         for libstdc++.
18521         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18522         * stdlib/tst-tls-atexit.c: New test case.
18523         * stdlib/tst-tls-atexit-lib.c: New test case.
18525         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18527         * elf/Versions (ld): Add _dl_find_dso_for_object.
18528         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18529         * elf/dl-open.c (_dl_find_dso_for_object): New function.
18530         (dl_open_worker): Use _dl_find_dso_for_object.
18531         * elf/dl-sym.c (do_sym): Likewise.
18532         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18534 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18536         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18537         Syntactic changes only.
18538         (_dl_runtime_profile): Do a tail-call to the resolved function.
18540 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
18542         [BZ #13550]
18543         * sysdeps/x86_64/bp-asm.h: Remove file.
18544         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18545         <bp-sym.h> and <bp-asm.h>.
18546         (__clone): Do not use BP_SYM.
18547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18548         <bp-sym.h> and <bp-asm.h>.
18549         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18550         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18551         "bp-asm.h".
18552         (_setjmp): Do not use BP_SYM.
18553         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18554         "bp-asm.h".
18555         (setjmp): Do not use BP_SYM.
18556         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18557         libc_hidden_def.
18558         (mempcpy): Do not use BP_SYM in weak_alias.
18559         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18560         "bp-asm.h".
18561         (strchr): Do not use BP_SYM.
18562         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18563         "bp-asm.h".
18564         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18565         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18566         (_start): Do not use BP_SYM.
18567         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18568         "bp-asm.h".
18569         (strcat): Do not use BP_SYM.
18570         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18571         "bp-asm.h".
18572         (STRCMP): Do not use BP_SYM.
18573         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18574         "bp-asm.h".
18575         (STRCPY): Do not use BP_SYM.
18576         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18577         "bp-asm.h".
18578         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18579         "bp-asm.h".
18580         (FUNCTION): Do not use BP_SYM.
18581         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18582         weak_alias.
18583         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18585 2013-02-17  Andreas Jaeger  <aj@suse.de>
18587         * time/Versions: Sort entries.
18588         * string/Versions: Likewise.
18589         * resolv/Versions: Likewise.
18590         * posix/Versions: Likewise.
18591         * iconv/Versions: Likewise.
18592         * elf/Versions: Likewise.
18593         * wcsmbs/Versions: Likewise.
18595 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18597         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18598         loop termination condition.
18600         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18601         variable to calculate EZ.
18602         (__sqr): Likewise.
18604         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18605         the lower precision input.
18607 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
18609         [BZ #13550]
18610         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18611         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18612         (run-via-rtld-prefix): Do not handle %-bp tests.
18613         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18614         (all-object-suffixes): Remove .ob.
18615         (bppfx): Remove variable.
18616         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18617         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18618         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18619         [$(build-bounded) = yes] (libtype.ob): Likewise.
18620         * Makerules (elide-routines.ob): Remove variable.
18621         (do-tests-clean): Do not handle *-bp.out.
18622         (common-mostlyclean): Do not handle *-bp and *-bp.out.
18623         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18624         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18625         (tests): Do not include $(tests-bp.out).
18626         (xtests): Do not include $(xtests-bp.out).
18627         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18628         [$(build-bounded) = yes] ($(addprefix
18629         $(objpfx),$(binaries-bounded))): Remove rule.
18630         ($(objpfx)%-bp.out): Remove rule.
18631         * config.make.in (build-bounded): Remove variable.
18632         * crypt/Makefile [$(build-bounded) = yes]
18633         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18634         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18635         append to variable.
18636         [$(build-bounded) = yes] (install-lib): Likewise.
18637         [$(build-bounded) = yes] (generated): Likewise.
18638         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18639         Remove rule.
18640         * intl/Makefile [$(build-bounded) = yes]
18641         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18642         * math/Makefile [$(build-bounded) = yes]
18643         ($(tests:%=$(objpfx)%-bp): Likewise.
18644         * misc/Makefile [$(build-bounded) = yes]
18645         ($(objpfx)tst-tsearch-bp): Likewise.
18646         * nptl/Makeconfig (bounded-thread-library): Remove variable.
18647         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18648         Remove dependency.
18649         * string/Makefile (o-objects.ob): Remove variable.
18650         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18651         (CFLAGS-.ob): Remove variable.
18652         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18653         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18654         both definitions of variable.
18655         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18656         (ASFLAGS-.ob): Remove variable.
18658 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
18660         [BZ #13550]
18661         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18662         Remove __BOUNDED_POINTERS__ from condition.
18663         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18664         * string/bits/string2.h [!__NO_STRING_INLINES &&
18665         !__BOUNDED_POINTERS__]: Likewise.
18666         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18667         Likewise.
18668         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18669         Remove conditional code.
18670         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18671         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18672         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18673         condition.
18675         [BZ #13550]
18676         * csu/libc-start.c: Do not include <bp-sym.h>.
18677         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18678         * elf/dl-open.c: Do not include <bp-sym.h>.
18679         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18680         * math/fegetenv.c: Do not include <bp-sym.h>.
18681         (fegetenv): Do not use BP_SYM in versioned symbols.
18682         * nptl/sysdeps/pthread/bits/libc-lockP.h
18683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18684         <bp-sym.h>.
18685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18686         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18688         (__pthread_mutex_destroy): Likewise.
18689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18690         (__pthread_mutex_lock): Likewise.
18691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18692         (__pthread_mutex_trylock): Likewise.
18693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18694         (__pthread_mutex_unlock): Likewise.
18695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18696         (__pthread_mutexattr_init): Likewise.
18697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18698         (__pthread_mutexattr_destroy): Likewise.
18699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18700         (__pthread_mutexattr_settype): Likewise.
18701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18702         (__pthread_rwlock_init): Likewise.
18703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18704         (__pthread_rwlock_destroy): Likewise.
18705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18706         (__pthread_rwlock_rdlock): Likewise.
18707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18708         (__pthread_rwlock_tryrdlock): Likewise.
18709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18710         (__pthread_rwlock_wrlock): Likewise.
18711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18712         (__pthread_rwlock_trywrlock): Likewise.
18713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18714         (__pthread_rwlock_unlock): Likewise.
18715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18716         (__pthread_key_create): Likewise.
18717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18718         (__pthread_setspecific): Likewise.
18719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18720         (__pthread_getspecific): Likewise.
18721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18722         Likewise.
18723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18724         (_pthread_cleanup_push_defer): Likewise.
18725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18726         (_pthread_cleanup_pop_restore): Likewise.
18727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18728         (pthread_setcancelstate): Likewise.
18729         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18730         <bp-sym.h>.
18731         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18732         (memchr): Do not use BP_SYM in weak_alias.
18733         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18734         (fegetenv): Do not use BP_SYM in versioned symbols.
18735         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18736         (fesetenv): Do not use BP_SYM in versioned symbols.
18737         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18738         (feupdateenv): Do not use BP_SYM in versioned symbols.
18739         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18740         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18741         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18742         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18743         (open64): Do not use BP_SYM in weak_alias.
18744         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18745         (fegetenv): Do not use BP_SYM in versioned symbols.
18746         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18747         (fesetenv): Do not use BP_SYM in versioned symbols.
18748         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18749         (feupdateenv): Do not use BP_SYM in versioned symbols.
18750         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18751         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18752         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18753         (feraiseexcept): Do not use BP_SYM in versioned symbols.
18754         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18755         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18756         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18757         <bp-sym.h>.
18758         (__libc_start_main): Do not use BP_SYM.
18760 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18763         redundant return line.
18764         (norm): Likewise.
18765         (denorm): Likewise.
18766         (dbl_mp): Likewise.
18767         (sub_magnitudes): Likewise.
18768         (__add): Likewise.
18769         (__sub): Likewise.
18770         (__mul): Likewise.
18771         (__inv): Likewise.
18772         (__dvd): Likewise.
18773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18774         (norm): Likewise.
18775         (denorm): Likewise.
18776         (dbl_mp): Likewise.
18777         (sub_magnitudes): Likewise.
18778         (__add): Likewise.
18779         (__sub): Likewise.
18780         (__mul): Likewise.
18781         (__inv): Likewise.
18782         (__dvd): Likewise.
18784         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18785         instead of __mul.
18786         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18787         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18788         (cc32): Likewise.
18790         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18791         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18793         of __mul for squares.
18794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18795         function
18796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18797         Likewise.
18798         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18799         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18801 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
18803         [BZ #13550]
18804         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18805         code.
18806         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18807         prototype or function definition.  Rename ubp_* variables and
18808         parameters.  Remove argv definitions conditional on
18809         [__BOUNDED_POINTERS__].
18810         * debug/backtrace.c (__backtrace): Do not use __unbounded.
18811         * elf/dl-runtime.c (_dl_fixup): Likewise.
18812         * include/set-hooks.h (RUN_HOOK): Likewise.
18813         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18814         definition.
18815         * string/strcpy.c (strcpy): Do not use __unbounded.
18816         * sysdeps/generic/frame.h (struct layout): Likewise.
18817         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18818         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18819         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18820         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18821         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18822         (__backtrace): Likewise.
18823         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18824         use __ptrvalue.
18825         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18826         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18827         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18828         Likewise.
18829         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18830         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18831         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18832         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18833         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18834         Do not use __unbounded.
18835         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18836         Rename __unboundedrlimits parameter to rlimits in prototype.
18837         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18838         Do not use __unbounded.
18839         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18840         not use __ptrvalue.
18841         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18842         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18843         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18844         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18845         __ptrvalue or __unbounded.
18846         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18847         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18848         use __unbounded.
18849         (__new_msgctl): Do not use __ptrvalue.
18850         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18851         __unbounded.
18852         (__libc_msgrcv): Do not use __ptrvalue.
18853         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18854         startup_info): Do not use __unbounded.
18855         (__libc_start_main): Likewise.  Rename ubp_* variables and
18856         parameters.  Remove argv definitions conditional on
18857         [__BOUNDED_POINTERS__].
18858         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18859         __ptrvalue.
18860         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18861         use __unbounded.
18862         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18863         or __ptrvalue.
18864         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18865         use __unbounded.
18866         (__new_shmctl): Do not use __ptrvalue.
18867         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18868         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18869         Likewise.
18870         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18871         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18872         (__libc_sigaction): Likewise.
18873         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18874         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18875         Likewise.
18876         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18878 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
18880         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18882         * string/mempcpy.c: Implement by calling memcpy.
18884 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18888         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18889         evaluation.
18891         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18892         values in the mantissa.
18894         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18895         minimize writes to Z.
18896         (sub_magnitudes): Simplify code a bit.
18898 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18900         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18901         from the message.  The linker prefixes all warnings with that already.
18903 2013-02-12  Andreas Schwab  <schwab@suse.de>
18905         [BZ #15078]
18906         * posix/regexec.c (extend_buffers): Add parameter min_len.
18907         (check_matching): Pass minimum needed length.
18908         (clean_state_log_if_needed): Likewise.
18909         (get_subexp): Likewise.
18910         * posix/Makefile (tests): Add bug-regex34.
18911         (bug-regex34-ENV): Define.
18912         * posix/bug-regex34.c: New file.
18914         [BZ #11561]
18915         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18916         elements compare against the byte sequence of it, not its name.
18917         * posix/Makefile (tests): Add bug-regex35.
18918         (bug-regex35-ENV): Define.
18919         * posix/bug-regex35.c: New file.
18921 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18923         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18924         comment.
18925         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18926         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18927         (CHECK_EOL): Add undef.
18929 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18931         * bits/stdlib-bsearch.h: New file.
18932         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18933         * stdlib/stdlib.h: Likewise.
18935 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18937         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18938         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18939         declaration.
18940         * manual/search.texi (Array Search Function): Add missing const in
18941         lfind prototype.
18942         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18943         declaration to use rlim_t.
18944         (Basic Scheduling Functions): Remove erroneous const from
18945         sched_getparam prototype.  Remove erroneous * from
18946         sched_get_priority_max and sched_get_priority_min prototypes.
18947         (Resource Usage): Fix summary @comment on vtimes to refer to
18948         sys/vtimes.h rather than vtimes.h.
18949         Add missing *s in vtimes prototype.
18950         (Limits on Resources): Fix ulimit prototype to return long int.
18951         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18952         prototypes to use long int rather than double.
18953         (BSD Random): Fix initstate and setstate to use char *, not void *.
18954         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18955         prototype to make second argument 'struct aiocb64 *const[]'.
18956         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18957         (Status of AIO Operations): Remove erroneous const in aio_return and
18958         aio_return64 prototypes.
18959         (Synchronizing I/O): Fix sync prototype to return void.
18960         * manual/startup.texi (Suboptions): Remove an erroneous const in
18961         getsubopt prototype.
18962         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18963         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18964         use size_t rather than int.
18965         (Scanning All Users): Likewise for getpwent_r.
18966         (Setting Groups): Add missing const to setgroups prototype.
18967         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18968         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18969         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18970         'const void *' rather than 'const char *'.
18971         (Host Address Functions): Likewise for inet_ntop.
18972         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18973         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18974         ssize_t for return value.
18975         (Sending Data): Likewise for send, sendto, sendmsg.
18976         (Socket Option Functions): Add a missing const in setsockopt prototype.
18977         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18978         use wchar_t for the argument.
18979         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18980         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18981         take no arguments.
18982         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18983         double/float/long double for second argument.
18984         Fix return types of significand, significandf, significandl.
18985         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18986         argument in fchmod prototype.
18987         (File Owner): Use uid_t and gid_t in fchown prototype.
18988         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18989         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18990         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18991         use 'const struct dirent **' as argument types to CMP function pointer
18992         argument.
18993         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18994         (File Times): Fix summary magic @comment for struct utimbuf and utime
18995         to refer to utime.h, not time.h.
18996         * manual/string.texi (Argz Functions): Add missing const in
18997         argz_extract and argz_next prototypes.
18998         (Finding Tokens in a String): Likewise for basename.
18999         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19000         (Copying and Concatenation): Fix typo in wmemmove prototype.
19001         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19002         (Signal Stack): Remove erroneous const in sigstack prototype.
19003         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19004         prototype.
19005         (Simple Calendar Time): Likewise for stime.
19006         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19007         prototype.
19008         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19009         say sys/sysctl.h instead.
19010         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19011         and vsyslog prototypes.
19013 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19015         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19016         Remove.
19018 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19020         * misc/sys/mman.h: Fix typo in mremap comment.
19022 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19024         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19025         the '\0' terminator.
19027 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19029         [BZ #13550]
19030         * debug/segfault.c: Don't include <bp-checks.h>.
19031         * sysdeps/generic/bp-checks.h: Remove file.
19032         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19033         (__GETDENTS): Don't use CHECK_N.
19034         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19035         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19036         (__getgroups): Don't use CHECK_N.
19037         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19038         (setgroups): Don't use CHECK_N.
19039         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19040         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19041         (__libc_msgrcv): Don't use CHECK_N.
19042         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19043         (__libc_msgsnd): Don't use CHECK_N.
19044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19045         <bp-checks.h>.
19046         (__libc_pread): Don't use CHECK_N.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19048         include <bp-checks.h>.
19049         (__libc_pread64): Don't use CHECK_N.
19050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19051         include <bp-checks.h>.
19052         (__libc_pwrite): Don't use CHECK_N.
19053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19054         include <bp-checks.h>.
19055         (__libc_pwrite64): Don't use CHECK_N.
19056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19057         <bp-checks.h>.
19058         (__libc_pread): Don't use CHECK_N.
19059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19060         include <bp-checks.h>.
19061         (__libc_pread64): Don't use CHECK_N.
19062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19063         include <bp-checks.h>.
19064         (__libc_pwrite): Don't use CHECK_N.
19065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19066         include <bp-checks.h>.
19067         (__libc_pwrite64): Don't use CHECK_N.
19068         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19069         (do_pread): Don't use CHECK_N.
19070         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19071         (do_pread64): Don't use CHECK_N.
19072         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19073         (do_pwrite): Don't use CHECK_N.
19074         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19075         (do_pwrite64): Don't use CHECK_N.
19076         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19077         (__libc_readv): Don't use CHECK_N.
19078         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19079         (semop): Don't use CHECK_N.
19080         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19081         <bp-checks.h>.
19082         (semtimedop): Don't use CHECK_N.
19083         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19084         (__libc_pread): Don't use CHECK_N.
19085         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19086         <bp-checks.h>.
19087         (__libc_pread64): Don't use CHECK_N.
19088         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19089         <bp-checks.h>.
19090         (__libc_pwrite): Don't use CHECK_N.
19091         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19092         <bp-checks.h>.
19093         (__libc_pwrite64): Don't use CHECK_N.
19094         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19095         <bp-checks.h>.
19096         (__libc_msgrcv): Don't use CHECK_N.
19097         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19098         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19099         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19100         (__libc_writev): Don't use CHECK_N.
19102 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19104         * string/strcpy.c: Removed unused variable.
19106         * Makeconfig (+sysdep-includes): Define with := rather than =.
19107         Use an existing include/ subdir of each sysdeps dir before it.
19109 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19111         * nscd/connection.c (register_traced_file): Comment function.
19112         [HAVE_INOTIFY] (union __inev): Define.
19113         [HAVE_INOTIFY] (inotify_check_files): New function.
19114         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19115         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19116         clear_db_cache.
19117         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19119 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19121         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19122         loaded if not already and that a failure is permanent.
19124 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19126         [BZ #15006]
19127         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19128         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19130 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19132         [BZ #13550]
19133         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19134         (CHECK_1_NULL_OK): Likewise.
19135         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19136         (__fxstat): Do not use CHECK_1.
19137         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19138         <bp-checks.h>.
19139         (___fxstat64): Do not use CHECK_1.
19140         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19141         <bp-checks.h>.
19142         (__fxstatat): Do not use CHECK_1.
19143         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19144         <bp-checks.h>.
19145         (__fxstatat64): Do not use CHECK_1.
19146         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19147         <bp-checks.h>.
19148         (__fxstat): Do not use CHECK_1.
19149         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19150         <bp-checks.h>.
19151         (__fxstatat): Do not use CHECK_1.
19152         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19153         <bp-checks.h>.
19154         (__getresgid): Do not use CHECK_1.
19155         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19156         <bp-checks.h>.
19157         (__getresuid): Do not use CHECK_1.
19158         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19159         <bp-checks.h>.
19160         (__lxstat): Do not use CHECK_1.
19161         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19162         <bp-checks.h>.
19163         (__old_msgctl): Do not use CHECK_1.
19164         (__new_msgctl): Likewise.
19165         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19166         <bp-checks.h>.
19167         (__new_setrlimit): Do not use CHECK_1.
19168         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19169         <bp-checks.h>.
19170         (__old_shmctl): Do not use CHECK_1.
19171         (__new_shmctl): Likewise.
19172         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19173         <bp-checks.h>.
19174         (__xstat): Do not use CHECK_1.
19175         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19176         (__lxstat): Do not use CHECK_1.
19177         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19178         <bp-checks.h>.
19179         (___lxstat64): Do not use CHECK_1.
19180         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19181         (__old_msgctl): Do not use CHECK_1.
19182         (__new_msgctl): Likewise.
19183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19184         <bp-checks.h>.
19185         (__gettimeofday): Do not use CHECK_1.
19186         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19187         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19188         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19189         <bp-checks.h>.
19190         (__gettimeofday): Do not use CHECK_1.
19191         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19192         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19193         (__new_shmctl): Do not use CHECK_1.
19194         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19195         <bp-checks.h>.
19196         (do_sigtimedwait): Do not use CHECK_1.
19197         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19198         <bp-checks.h>.
19199         (do_sigwaitinfo): Do not use CHECK_1.
19200         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19201         <bp-checks.h>.
19202         (msgctl): Do not use CHECK_1.
19203         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19204         <bp-checks.h>.
19205         (shmctl): Do not use CHECK_1.
19206         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19207         (ustat): Do not use CHECK_1.
19208         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19209         <bp-checks.h>.
19210         (__fxstat): Do not use CHECK_1.
19211         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19212         <bp-checks.h>.
19213         (__fxstatat): Do not use CHECK_1.
19214         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19215         <bp-checks.h>.
19216         (__lxstat): Do not use CHECK_1.
19217         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19218         <bp-checks.h>.
19219         (__xstat): Do not use CHECK_1.
19220         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19221         (__xstat): Do not use CHECK_1.
19222         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19223         (___xstat64): Do not use CHECK_1.
19225         [BZ #13550]
19226         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19227         definitions.
19228         (CHECK_BOUNDS_HIGH): Likewise.
19229         * string/strcpy.c: Do not include <bp-checks.h>.
19230         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19232 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19234         * nscd/nscd-client.h (__nscd_drop_map_ref):
19235         Add __attribute__ ((unused)).
19236         * nis/nss-nisplus.h (niserr2nss): Likewise.
19238         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19239         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19241         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19242         Remove inline keyword.
19243         * include/rounding-mode.h (round_away): Likewise.
19244         * libio/wfileops.c (adjust_wide_data): Likewise.
19245         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19246         (__m128i_strloadu_tolower): Likewise.
19247         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19248         (__m128i_strloadu_tolower): Likewise.
19249         * time/mktime.c (ydhms_diff): Likewise.
19250         * locale/elem-hash.h (elem_hash): Likewise.
19251         * locale/setlocale.c (setdata): Likewise.
19252         * posix/regex_internal.h (re_string_char_size_at): Likewise.
19253         (re_string_wchar_at): Likewise.
19254         (bitset_not, bitset_merge, bitset_mask): Likewise.
19255         [!(__GNUC__ > 3)] (inline): Remove macro.
19256         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19257         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19258         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19259         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19260         * string/memcmp.c (memcmp_bytes): Likewise.
19261         * locale/programs/locarchive.c (compute_hashval): Likewise.
19262         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19263         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19264         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19265         * nss/getent.c (print_rpc, print_protocols): Likewise.
19266         (print_passwd, print_group, print_aliases): Likewise.
19267         * nis/nss-nisplus.h (niserr2nss): Likewise.
19268         * nscd/connections.c (restart_p): Likewise.
19269         Change return type to bool.
19271 2013-02-05  Roland McGrath  <roland@hack.frob.com>
19273         * Makeconfig (all-Depend-files): Add existing
19274         $(sorted-subdirs:=/Depend) files.
19275         (all-subdirs): Remove nss.
19276         * sysdeps/unix/inet/Subdirs: Add it here instead.
19277         * hesiod/Depend: New file.
19279         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19280         instead of calling alloca.
19282         * io/lseek.c (__lseek): Rename to __libc_lseek.
19283         Define __lseek as an alias.
19285         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19287 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
19289         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19290         else clause and remove check for non-standard endianness.
19292 2013-02-04  David S. Miller  <davem@davemloft.net>
19294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19296 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
19298         [BZ #13550]
19299         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19300         (__ubp_memchr): Remove prototype.
19301         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19302         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19303         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19304         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19305         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19306         Remove alias.
19307         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19308         (__ubp_memchr): Likewise.
19309         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19310         (__ubp_memchr): Likewise.
19311         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19312         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19313         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19314         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19315         CHECK_STRING.
19316         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19317         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19318         (__getcwd): Do not use CHECK_STRING.
19319         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19320         <bp-checks.h>.
19321         (__real_chown): Do not use CHECK_STRING.
19322         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19323         <bp-checks.h>.
19324         (fchownat): Do not use CHECK_STRING.
19325         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19326         CHECK_STRING.
19327         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19328         <bp-checks.h>.
19329         (__lchown): Do not use CHECK_STRING.
19330         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19331         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19332         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19333         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19335         include <bp-checks.h>.
19336         (truncate64): Do not use CHECK_STRING.
19337         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19338         <bp-checks.h>.
19339         (__real_chown): Do not use CHECK_STRING.
19340         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19341         <bp-checks.h>.
19342         (__lchown): Do not use CHECK_STRING.
19343         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19344         <bp-checks.h>.
19345         (__chown): Do not use CHECK_STRING.
19346         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19347         <bp-checks.h>.
19348         (truncate64): Do not use CHECK_STRING.
19349         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19350         Likewise.
19351         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19352         (__xmknod): Do not use CHECK_STRING.
19353         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19354         <bp-checks.h>.
19355         (__xmknodat): Do not use CHECK_STRING.
19356         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19357         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19359 2013-02-04  Andreas Schwab  <schwab@suse.de>
19361         [BZ #14142]
19362         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19363         * include/netdb.h: Likewise for h_errno.
19364         * elf/tst-stackguard1.c: Include <tls.h>.
19366 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
19368         * elf/link.h (struct link_map): Extend the l_addr comment.
19369         * include/link.h (struct link_map): Likewise.
19371 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
19373         [BZ #13550]
19374         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19375         (BOUNDED_1): Remove macro.
19376         * debug/backtrace.c: Don't include <bp-checks.h>.
19377         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19378         (__backtrace): Likewise.
19379         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19380         <bp-checks.h>.
19381         (__backtrace): Don't use BOUNDED_1.
19382         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19383         <bp-checks.h>.
19384         (__backtrace): Don't use BOUNDED_1.
19385         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19386         (__backtrace): Don't use BOUNDED_1.
19387         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19388         (shmat): Don't use BOUNDED_N.
19390 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
19392         [BZ #13550]
19393         * sysdeps/generic/bp-start.h: Remove file.
19394         * csu/libc-start.c: Don't include <bp-start.h>.
19395         (LIBC_START_MAIN): Set up __environ directly instead of using
19396         INIT_ARGV_and_ENVIRON.
19397         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19398         <bp-start.h>.
19400         [BZ #13550]
19401         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19402         definitions.
19403         (CHECK_FCNTL): Likewise.
19404         (CHECK_N_PAGES): Likewise.
19406         [BZ #13550]
19407         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19408         definitions.
19409         (CHECK_SIGSET_NULL_OK): Likewise.
19410         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19411         <bp-checks.h>.
19412         (sigpending): Don't use CHECK_SIGSET.
19413         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19414         <bp-checks.h>.
19415         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19416         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19417         <bp-checks.h>.
19418         (do_sigsuspend): Don't use CHECK_SIGSET.
19419         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19420         use CHECK_SIGSET.
19421         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19422         (do_sigwait): Don't use CHECK_SIGSET.
19423         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19424         use CHECK_SIGSET.
19425         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19426         include <bp-checks.h>.
19427         (sigpending): Don't use CHECK_SIGSET.
19428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19429         include <bp-checks.h>.
19430         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19431         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19432         <bp-checks.h>.
19433         (sigpending): Don't use CHECK_SIGSET.
19434         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19435         <bp-checks.h>.
19436         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19438         [BZ #13550]
19439         * sysdeps/generic/bp-semctl.h: Remove file.
19440         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19441         <bp-checks.h> and <bp-semctl.h>.
19442         (__old_semctl): Don't use CHECK_SEMCTL.
19443         (__new_semctl): Likewise.
19444         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19445         and <bp-semctl.h>.
19446         (__old_semctl): Don't use CHECK_SEMCTL.
19447         (__new_semctl): Likewise.
19448         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19449         <bp-checks.h> and <bp-semctl.h>.
19450         (__old_semctl): Don't use CHECK_SEMCTL.
19451         (__new_semctl): Likewise.
19452         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19453         <bp-checks.h> and <bp-semctl.h>.
19454         (semctl): Don't use CHECK_SEMCTL.
19456         [BZ #13550]
19457         * Makerules (elide-bp-thunks): Remove variable.
19458         (elide-routines.oS): Don't use $(elide-bp-thunks).
19459         (elide-routines.os): Likewise.
19460         (elide-routines.o): Likewise.
19461         (elide-routines.op): Likewise.
19462         (elide-routines.og): Likewise.
19463         (objects): Don't use $(bp-thunks).
19464         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19465         include.
19466         (common-generated): Do not add s-proto-bp.d.
19467         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19468         (int): Likewise.
19469         (typ): Likewise.
19470         Do not generate makefile rules for bounded-pointer thunks.
19471         * sysdeps/generic/bp-thunks.h: Remove file.
19472         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19473         * sysdeps/unix/s-proto-bp.S: Likewise.
19475         [BZ #15062]
19476         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19477         parts of result separately when argument is not close to line from
19478         -i to i and one part of argument is small.
19479         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19480         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19481         * math/libm-test.inc (cacos_test): Add more tests.
19482         (casin_test): Likewise.
19483         (casinh_test): Likewise.
19484         * sysdeps/i386/fpu/libm-test-ulps: Update.
19485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19487 2013-01-31  David S. Miller  <davem@davemloft.net>
19489         * po/de.po: Update from translation team.
19491 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
19493         * time/tzfile.c: Include stdint.h for SIZE_MAX.
19495 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
19497         * configure.in (_AC_PROG_CC_C89): New definition.
19498         * configure: Regenerate.
19500         * configure.in (AC_PROG_CPP): New definition.
19501         * configure: Regenerate.
19503 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19505         * debug/tst-backtrace.h: New file.
19506         * debug/tst-backtrace2.c: Include tst-backtrace.h.
19507         (ret): Remove variable.
19508         (x): Likewise.
19509         (FAIL): Remove macro.
19510         (NO_INLINE): Likewise.
19511         (fn1): Use match function instead of strstr.
19512         * debug/tst-backtrace3.c: Include tst-backtrace.h.
19513         (ret): Remove variable.
19514         (x): Likewise.
19515         (FAIL): Remove macro.
19516         (NO_INLINE): Likewise.
19517         (fn): Use match function instead of strstr.
19518         * debug/tst-backtrace4.c: Include tst-backtrace.h.
19519         (ret): Remove variable.
19520         (x): Likewise.
19521         (FAIL): Remove macro.
19522         (NO_INLINE): Likewise.
19523         (handle_signal): Use match function instead of strstr.
19524         * debug/tst-backtrace5.c: Include tst-backtrace.h.
19525         (ret): Remove variable.
19526         (x): Likewise.
19527         (FAIL): Remove macro.
19528         (NO_INLINE): Likewise.
19529         (handle_signal): Use match function instead of strstr.
19531 2013-01-23  Roland McGrath  <roland@hack.frob.com>
19533         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19535 2013-01-23  David S. Miller  <davem@davemloft.net>
19537         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19538         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19539         argument of CAS if possible.
19540         * sysdeps/sparc/sparc64/bits/atomic.h
19541         (__arch_compare_and_exchange_val_32_acq): Likewise.
19542         (__arch_compare_and_exchange_val_64_acq): Likewise.
19544 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
19546         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19547         * sysdeps/posix/ulimit.c: ... this.
19548         Include <limits.h>.
19549         * sysdeps/unix/bsd/ulimit.c: Remove file.
19551 2013-01-23  Adam Conrad  <adconrad@0c3.net>
19553         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19554         (LDFLAGS-tst-array5): Likewise.
19556 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19558         [BZ #15036]
19559         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19560         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19561         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19562         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19564 2013-01-21  David S. Miller  <davem@davemloft.net>
19566         * sysdeps/sparc/backtrace.c: New file.
19567         * sysdeps/sparc/sparc32/backtrace.h: New file.
19568         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19569         * sysdeps/sparc/sparc64/backtrace.h: New file.
19570         * sysdeps/sparc/sparc64/backtrace.c: Delete.
19571         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19572         -funwind-tables.
19574 2013-01-21  Andreas Schwab  <schwab@suse.de>
19576         [BZ #15020]
19577         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19578         closed its stdout.
19580 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
19582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19583         "mpa2.h".
19584         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19586 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
19587             Mark Mitchell  <mark@codesourcery.com>
19588             Tom de Vries  <tom@codesourcery.com>
19589             Paul Pluzhnikov  <ppluzhnikov@google.com>
19591         * debug/tst-backtrace2.c: New file.
19592         * debug/tst-backtrace3.c: Likewise.
19593         * debug/tst-backtrace4.c: Likewise.
19594         * debug/tst-backtrace5.c: Likewise.
19595         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19596         (CFLAGS-tst-backtrace3.c): Likewise.
19597         (CFLAGS-tst-backtrace4.c): Likewise.
19598         (CFLAGS-tst-backtrace5.c): Likewise.
19599         (LDFLAGS-tst-backtrace2): Likewise.
19600         (LDFLAGS-tst-backtrace3): Likewise.
19601         (LDFLAGS-tst-backtrace4): Likewise.
19602         (LDFLAGS-tst-backtrace5): Likewise.
19603         (tests): Add new tests tst-backtrace2, tst-backtrace3,
19604         tst-backtrace4 and tst-backtrace5.
19606 2013-01-18  Anton Blanchard  <anton@samba.org>
19607             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19609         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19610         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19611         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19612         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19614         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19615         "+r" and remove output regs list as redundant.  Add explicit inline
19616         asm to specify register of return val to work around compiler codegen
19617         bug.  Remove (int) cast on return value.  Add return type parameter to
19618         use in macro so that this macro does not truncate return value for
19619         64-bit values.
19620         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19621         pass to INTERNAL_VSYSCALL_NCS.
19622         (INLINE_VSYSCALL): Add 'long int' as return type to
19623         INTERNAL_VSYSCALL_NCS macro invocation.
19624         (INTERNAL_VSYSCALL): Add 'long int' as return type to
19625         INTERNAL_VSYSCALL_NCS macro invocation.
19626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19628 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19630         [BZ #14496]
19631         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19632         Fix application of SIMD FP exception mask.
19634         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19635         mp_no from a power of two.
19636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19637         __mpexp_twomm1.  Use __pow_mp.
19639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19640         multiplication.
19642 2013-01-17  David S. Miller  <davem@davemloft.net>
19644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19646 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19648         [BZ #15023]
19649         * include/complex.h: Condition contents on [!_COMPLEX_H].
19650         (__kernel_casinhf): New prototype.
19651         (__kernel_casinh): Likewise.
19652         (__kernel_casinhl): Likewise.
19653         * math/Makefile (libm_calls): Add k_casinh.
19654         * math/k_casinh.c: New file.
19655         * math/k_casinhf.c: Likewise.
19656         * math/k_casinhl.c: Likewise.
19657         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19658         finite nonzero arguments.
19659         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19660         finite nonzero arguments.
19661         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19662         finite nonzero arguments.
19663         * math/s_casinh.c: Do not include <float.h>.
19664         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19665         * math/s_casinhf.c: Do not include <float.h>.
19666         (__casinhf): Move code for finite nonzero arguments to
19667         k_casinhf.c.
19668         * math/s_casinhl.c: Do not include <float.h>.
19669         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19670         redefine.
19671         (__casinhl): Move code for finite nonzero arguments to
19672         k_casinhl.c.
19673         * math/libm-test.inc (cacos_test): Add more tests.
19674         * sysdeps/i386/fpu/libm-test-ulps: Update.
19675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19677 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
19679         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19680         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19681         [!HAVE_MREMAP]: Remove [defined linux] case.
19682         * malloc/arena.c: Do not include <malloc-sysdep.h>.
19684 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19686         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19688 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
19690         * elf/elf.h (R_386_SIZE32): New relocation.
19691         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19692         R_386_SIZE32.
19693         (elf_machine_rela): Likewise.
19694         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19695         R_X86_64_SIZE64 and R_X86_64_SIZE32.
19697 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19699         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19700         (FP_FAST_FMA): Do not define.
19701         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19702         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19703         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19704         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19705         !_SOFT_FLOAT]: Likewise.
19706         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19707         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19708         value.
19709         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19710         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19711         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19712         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19713         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19714         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19715         file.
19717 2013-01-16  Andreas Schwab  <schwab@suse.de>
19719         [BZ #14327]
19720         * include/stdlib.h (__mktemp): Add declaration.
19721         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19722         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19724 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19726         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19727         definitions.
19728         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19729         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19730         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19731         definitions here.
19732         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19733         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19734         definitions.
19735         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19736         and ONE.
19737         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19738         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19739         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19740         definitions.
19741         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19742         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19743         definitions.
19744         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19746         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19748 2013-01-15  David S. Miller  <davem@davemloft.net>
19750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19751         trunc{,f} to libm-sysdep_routes.
19752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19754         file.
19755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19757         file.
19758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19759         file.
19760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19762         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19763         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19764         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19765         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19766         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19767         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19770         nearbyint{,f} to libm-sysdep_routes.
19771         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19773         New file.
19774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19775         file.
19776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19777         New file.
19778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19779         file.
19780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19782         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19783         file.
19784         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19785         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19786         file.
19787         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19788         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19789         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19791         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19792         libc_feholdexcept and libc_fesetenv.
19794 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
19796         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19798 2013-01-14  David S. Miller  <davem@davemloft.net>
19800         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19801         (SPARC_ASM_VIS2_IFUNC): Likewise.
19802         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19804         use of 'siam' instruction.
19805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19806         Likewise.
19807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19808         Likewise.
19809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19810         Likewise.
19811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19816         file.
19817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19818         file.
19819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19820         file.
19821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19822         file.
19823         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19828         new VIS2 routines.
19829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19832         Likewise.
19833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19838         routines to libm-sysdep_routines.
19839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19842         fdim/fdimf to libm-sysdep_routines.
19843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19844         file.
19845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19847         file.
19848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19851         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19852         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19853         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19854         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19856 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19858         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19859         to optimize copies.
19861         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19866         local variable MPTWO.
19867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19868         Likewise.
19870 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19872         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19873         GLOB_NOESCAPE.
19875 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19877         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19879 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19881         * manual/pattern.texi (glob_t): Document gl_flags.
19882         (glob64_t): Likewise.
19884 2013-01-11  David S. Miller  <davem@davemloft.net>
19886         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19887         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19888         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
19889         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19890         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19891         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19892         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19893         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19894         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19895         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19896         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19897         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19898         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19900         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19901         sparc V9 rather than using V8 code.
19902         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19903         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19905         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19906         Move to...
19907         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19908         Here.
19910 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19912         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19913         not in the main loop.
19914         * configure: Regenerated.
19916 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19918         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19919         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19920         to just #else.
19921         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19922         [!__GLIBC_HAVE_LONG_LONG] case.
19923         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19924         condition to just #else.
19925         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19926         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19927         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19928         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19929         unconditional.
19930         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19931         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19932         #elif condition to just #else.
19933         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19934         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19935         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19936         #elif condition to just #else.
19938 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19940         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19941         (EF_MIPS_ARCH_64): Fix value.
19942         (EF_MIPS_ARCH_32R2): New.
19943         (EF_MIPS_ARCH_64R2): New.
19945 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19947         * Makeconfig (+link-pie-before-libc): New.
19948         (+link-pie-after-libc): Likewise.
19949         (+link-pie-tests): Likewise.
19950         (+link-pie): Rewritten.
19951         (link-before-libc): Remove $(config-LDFLAGS).
19952         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19953         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19954         (config-LDFLAGS): Renamed to ...
19955         (rtld-LDFLAGS): This.
19956         (rtld-tests-LDFLAGS): New macro.
19957         (link-libc-rpath-link): Likewise.
19958         (link-libc-tests-rpath-link): Likewise.
19959         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19960         (link-libc): Prepand $(link-libc-rpath-link).
19961         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19962         (test-program-prefix): New macro.
19963         (test-via-rtld-prefix): Likewise.
19964         (test-program-cmd): Likewise.
19965         (host-test-program-cmd): Likewise.
19966         * Makefile ($(common-objpfx)testrun.sh): Replace
19967         $(run-program-prefix) with $(test-program-prefix).
19968         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19969         $(rtld-LDFLAGS).
19970         ($(common-objpfx)shlib.lds): Likewise.
19971         (build-module-helper): Likewise.
19972         ($(common-objpfx)format.lds): Likewise.
19973         * Rules (binaries-pie-tests): New.
19974         (binaries-pie-notests): Likewise.
19975         (binaries-pie): Rewritten.
19976         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19977         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19978         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19979         (make-test-out): Replace $(host-built-program-cmd) with
19980         $(host-test-program-cmd).
19981         * config.make.in (build-hardcoded-path-in-tests): New variable.
19982         * configure.in (--enable-hardcoded-path-in-tests): New configure
19983         option.
19984         (hardcoded_path_in_tests): New AC_SUBST.
19985         * configure: Regenerated.
19986         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19987         $(built-program-cmd) with $(test-program-cmd).
19988         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19989         (test_program_cmd): This.
19990         * elf/Makefile ($(objpfx)order.out): Run test with
19991         $(test-program-prefix).
19992         ($(objpfx)order2.out): Likewise.
19993         ($(objpfx)tst-initorder.out): Likewise.
19994         ($(objpfx)tst-initorder2.out): Likewise.
19995         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19996         $(test-program-cmd).
19997         ($(objpfx)tst-array1-static.out): Likewise.
19998         ($(objpfx)tst-array2.out): Likewise.
19999         ($(objpfx)tst-array3.out): Likewise.
20000         ($(objpfx)tst-array4.out): Likewise.
20001         ($(objpfx)tst-array5.out): Likewise.
20002         ($(objpfx)tst-array5-static.out): Likewise.
20003         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20004         $(test-program-cmd).
20005         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20006         $(run-program-prefix) with $(test-program-prefix).
20007         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20008         (test_program_prefix): This.
20009         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20010         $(run-program-prefix) with $(test-program-prefix).
20011         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20012         (test_program_prefix): This.
20013         * iconvdata/tst-tables.sh: Likewise.
20014         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20015         $(run-program-prefix) with $(test-program-prefix).
20016         ($(objpfx)tst-translit.out): Likewise.
20017         ($(objpfx)tst-gettext2.out): Likewise.
20018         ($(objpfx)tst-gettext4.out): Likewise.
20019         ($(objpfx)tst-gettext6.out): Likewise.
20020         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20021         (test_program_prefix): This.
20022         * intl/tst-gettext2.sh: Likewise.
20023         * intl/tst-gettext4.sh  Likewise.
20024         * intl/tst-gettext6.sh: Likewise.
20025         * intl/tst-translit.sh: Likewise.
20026         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20027         with $(test-program-cmd).
20028         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20029         $(run-program-prefix) with $(test-program-prefix).
20030         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20031         (test_program_prefix): This.
20032         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20033         $(run-program-prefix) with $(test-program-prefix).
20034         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20035         (test_program_prefix): This.
20036         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20037         * posix/Makefile ($(objpfx)globtest.out): Replace
20038         $(run-via-rtld-prefix) and $(test-wrapper) with
20039         $(test-program-prefix) and $(test-via-rtld-prefix).
20040         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20041         $(test-program-prefix).
20042         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20043         $(host-test-program-cmd).
20044         (tst-spawn-ARGS): Likewise.
20045         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20046         $(test-program-prefix).
20047         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20048         (test_via_rtld_prefix): This.
20049         (test_wrapper): Renamed to ...
20050         (test_program_prefix): This.
20051         (run_program_prefix): Replaced by test_program_prefix.
20052         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20053         (test_program_prefix): This.
20054         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20055         with $(host-test-program-cmd).
20056         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20057         $(run-program-prefix) with $(test-program-prefix).
20058         ($(objpfx)tst-printf.out): Likewise.
20059         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20060         $(test-program-cmd).
20061         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20062         (test_program_prefix): This.
20063         * stdio-common/tst-unbputc.sh: Likewise.
20064         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20065         $(run-program-prefix) with $(test-program-prefix).
20066         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20067         (test_program_prefix): This.
20068         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20069         $(built-program-cmd) with $(test-program-cmd).
20071 2013-01-11  Andreas Jaeger  <aj@suse.de>
20073         [BZ #15003]
20074         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20075         value. Sync with Linux 3.7.
20077 2013-01-10  David S. Miller  <davem@davemloft.net>
20079         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20080         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20081         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20083 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20085         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20086         never set.
20087         * configure: Regenerated.
20089 2013-01-10  David S. Miller  <davem@davemloft.net>
20091         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20092         sparc V9 rather than using V8 code.
20093         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20094         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20096 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20098         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20099         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20100         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20101         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20102         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20103         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20104         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20105         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20106         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20107         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20108         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20109         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20110         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20111         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20112         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20113         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20114         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20115         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20116         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20117         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20118         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20119         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20120         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20121         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20122         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20123         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20124         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20126 2013-01-10  David S. Miller  <davem@davemloft.net>
20128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20130 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20132         * posix/Makefile (tests-static): New variable.
20133         (tests): Add $(tests-static).
20134         (tst-exec-static-ARGS): New variable.
20135         (tst-spawn-static-ARGS): Likewise.
20136         * posix/tst-exec-static.c: New file.
20137         * posix/tst-spawn-static.c: Likewise.
20138         * posix/tst-exec.c: Support run directly.
20139         * posix/tst-spawn.c: Likewise.
20141 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20143         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20144         long.
20145         * math/bits/mathcalls.h (llrint): Likewise.
20146         (llround): Likewise.
20147         * stdlib/stdlib.h (struct drand48_data): Likewise.
20148         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20149         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20150         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20151         Likewise.
20152         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20153         Likewise.
20154         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20155         (elf_greg_t): Likewise.
20156         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20157         (__jmp_buf): Likewise.
20158         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20159         definitions.
20160         (llrint): Likewise, for all definitions.
20161         (llrintl): Likewise.
20163         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20164         Remove [__GNUC__] condition.
20165         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20166         condition to just [__USE_ISOC99].
20167         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20169 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20171         [BZ #14200]
20172         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20173         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20174         defined.
20175         (_POSIX_V6_ILP32_OFF32): Likewise.
20176         (_XBS5_ILP32_OFF32): Likewise.
20177         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20178         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20180 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20182         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20185         doubles __mpexp_twomm1.  Adjust usage.
20186         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20187         Remove.
20189 2013-01-10  Andreas Schwab  <schwab@suse.de>
20191         [BZ #14964]
20192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20193         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20195 2013-01-09  David S. Miller  <davem@davemloft.net>
20197         [BZ #15003]
20198         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20199         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20200         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20201         (TCP_FASTOPEN): Define.
20202         (tcp_repair_opt): New structure.
20203         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20204         enum values.
20205         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20206         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20207         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20208         (tcp_cookie_transactions): New structure.
20210 2013-01-09  Anton Blanchard  <anton@samba.org>
20212         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20213         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20217 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20219         * include/features.h (__USE_ANSI): Remove.
20221 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20223         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20225         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20227 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20229         * sysdeps/s390/fpu/libm-test-ulps: Update.
20231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20233         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20234         (__acr): Likewise.
20235         (__cpy): Likewise.
20236         (norm): Likewise.
20237         (denorm): Likewise.
20238         (__mp_dbl): Likewise.
20239         (__dbl_mp): Likewise.
20240         (add_magnitudes): Likewise.
20241         (sub_magnitudes): Likewise.
20242         (__add): Likewise.
20243         (__sub): Likewise.
20244         (__mul): Likewise.
20245         (__inv): Likewise.
20246         (__dvd): Likewise.
20247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20248         (__acr): Likewise.
20249         (__cpy): Likewise.
20250         (norm): Likewise.
20251         (denorm): Likewise.
20252         (__mp_dbl): Likewise.
20253         (__dbl_mp): Likewise.
20254         (add_magnitudes): Likewise.
20255         (sub_magnitudes): Likewise.
20256         (__add): Likewise.
20257         (__sub): Likewise.
20258         (__mul): Likewise.
20259         (__inv): Likewise.
20260         (__dvd): Likewise.
20261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20262         (__acr): Likewise.
20263         (__cpy): Likewise.
20264         (norm): Likewise.
20265         (denorm): Likewise.
20266         (__mp_dbl): Likewise.
20267         (__dbl_mp): Likewise.
20268         (add_magnitudes): Likewise.
20269         (sub_magnitudes): Likewise.
20270         (__add): Likewise.
20271         (__sub): Likewise.
20272         (__mul): Likewise.
20273         (__inv): Likewise.
20274         (__dvd): Likewise.
20276 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
20278         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20279         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20280         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20281         2 && __USE_EXTERN_INLINES]: Likewise.
20283 2013-01-08  Andreas Jaeger  <aj@suse.de>
20285         [BZ# 14985]
20286         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20287         Remove.
20288         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20289         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20291 2013-01-07  Anton Blanchard  <anton@samba.org>
20293         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20294         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20295         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20296         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20297         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20298         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20299         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20300         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20302         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20303         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20304         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20305         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20306         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20307         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20308         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20309         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20310         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20311         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20312         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20313         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20314         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20315         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20316         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20317         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20318         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20319         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20320         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20321         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20322         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20323         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20325         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20326         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20327         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20328         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20329         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20331         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20332         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20333         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20334         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20335         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20337 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
20339         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20340         (__MALLOC_PMT): Likewise.
20341         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20342         [__GNUC__], only on [_LIBC].
20343         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20344         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20345         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20346         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20347         forward declaration.
20348         (realloc_hook_ini): Likewise.
20349         (memalign_hook_ini): Likewise.
20350         (__libc_memalign): Do not use __MALLOC_PMT in variable
20351         declaration.
20352         (__libc_valloc): Likewise.
20353         (__libc_pvalloc): Likewise.
20354         (__libc_calloc): Likewise.
20355         (__posix_memalign): Likewise.
20357         [BZ #14996]
20358         * math/s_casinh.c: Include <float.h>.
20359         (__casinh): Do not do computation with squaring and square root
20360         for large arguments.
20361         * math/s_casinhf.c: Include <float.h>.
20362         (__casinhf): Do not do computation with squaring and square root
20363         for large arguments.
20364         * math/s_casinhl.c: Include <float.h>.
20365         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20366         (__casinhl): Do not do computation with squaring and square root
20367         for large arguments.
20368         * math/libm-test.inc (casin_test): Add more tests.
20369         (casinh_test): Likewise.
20370         * sysdeps/i386/fpu/libm-test-ulps: Update.
20371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20373 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
20375         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20376         (__x86_64_raw_data_cache_size): Likewise.
20377         (__x86_64_data_cache_size_half): Likewise.
20378         (__x86_64_raw_data_cache_size_half): Likewise.
20379         (__x86_64_shared_cache_size): Likewise.
20380         (__x86_64_raw_shared_cache_size): Likewise.
20381         (__x86_64_shared_cache_size_half): Likewise.
20382         (__x86_64_raw_shared_cache_size_half): Likewise.
20383         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20384         to ...
20385         (__x86_data_cache_size): This.
20386         (__x86_64_raw_data_cache_size): Renamed to ...
20387         (__x86_raw_data_cache_size): This.
20388         (__x86_64_data_cache_size_half): Renamed to ...
20389         (__x86_data_cache_size_half): This.
20390         (__x86_64_raw_data_cache_size_half): Renamed to ...
20391         (__x86_raw_data_cache_size_half): This.
20392         (__x86_64_shared_cache_size): Renamed to ...
20393         (__x86_shared_cache_size): This.
20394         (__x86_64_raw_shared_cache_size): Renamed to ...
20395         (__x86_raw_shared_cache_size): This.
20396         (__x86_64_shared_cache_size_half): Renamed to ...
20397         (__x86_shared_cache_size_half): This.
20398         (__x86_64_raw_shared_cache_size_half): Renamed to ...
20399         (__x86_raw_shared_cache_size_half): This.
20400         * sysdeps/x86_64/memcpy.S: Updated.
20401         * sysdeps/x86_64/memset.S: Likewise.
20402         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20404         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20406 2013-01-04  David S. Miller  <davem@davemloft.net>
20408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20410 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
20412         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20413         1 to avoid redefinition warning.
20414         (__USE_GNU): Don't define.
20415         (init_signaling_nan): Protoize.
20417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20419 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20421         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20423         (__cpymn): Likewise.
20424         (norm): Remove commented code.
20425         (denorm): Likewise.
20426         (__mp_dbl): Likewise.
20427         (__inv): Likewise.
20428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20429         (__cpymn): Likewise.
20430         (norm): Remove commented code.
20431         (denorm): Likewise.
20432         (__mp_dbl): Likewise.
20433         (__inv): Likewise.
20435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20436         mp_no value for 1.0 and 2.0.
20437         (norm): Use RADIXI instead of radixi.d.
20438         (denorm): Likewise.
20439         (__mul): Use 0.0 instead of zero.d.
20440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20441         mp_no value for 1.0 and 2.0.
20442         (norm): Use RADIXI instead of radixi.d.
20443         (denorm): Likewise.
20444         (__mul): Use 0.0 instead of zero.d.
20446 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
20448         [BZ #14994]
20449         * math/s_casinh.c (__casinh): Reduce finite argument to first
20450         quadrant then set signs of results at the end.
20451         * math/s_casinhf.c (__casinhf): Likewise.
20452         * math/s_casinhl.c (__casinhl): Likewise.
20453         * math/libm-test.inc (casin_test): Add more tests.
20454         (casinh_test): Likewise.
20455         * sysdeps/i386/fpu/libm-test-ulps: Update.
20456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20458 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20460         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20462         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20464         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20465         declarations.
20466         (denorm): Likewise.
20467         (__mp_dbl): Likewise.
20468         (__inv): Likewise.
20470         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20471         and adjust the header comment.
20473         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20474         variable name from declaration.
20476 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
20478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20479         Initialize COMMON_CPUID_INDEX_7 element.
20480         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20481         (CPUID_RTM): Likewise.
20482         (HAS_RTM): Likewise.
20483         (COMMON_CPUID_INDEX_7): New enum.
20485 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
20487         [BZ #14981]
20488         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20489         size is zero, record memory as freed.
20491 2013-01-03  Andreas Jaeger  <aj@suse.de>
20493         * po/ia.po: Add new Interlingua translation.
20495 2012-01-03  Allan McRae  <allan@archlinux.org>
20497         * locale/programs/localedef.c: Fix description of '--posix' flag.
20499 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
20501         * NEWS: Update dates in second copyright notice.
20502         * README: Update copyright dates in example.
20503         * manual/libc.texinfo: Update copyright dates.
20504         * scripts/test-installation.pl: Update copyright date in --version
20505         output.
20507         * hurd/ctty-input.c: Fix copyright notice formatting.
20508         * hurd/ctty-output.c: Likewise.
20509         * hurd/dtable.c: Likewise.
20510         * hurd/hurd-raise.c: Likewise.
20511         * hurd/hurdprio.c: Likewise.
20512         * hurd/msgportdemux.c: Likewise.
20513         * misc/sys/file.h: Likewise.
20514         * misc/sys/ioctl.h: Likewise.
20515         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20516         * sysdeps/mach/hurd/chdir.c: Likewise.
20517         * sysdeps/mach/hurd/fchdir.c: Likewise.
20518         * sysdeps/mach/hurd/rename.c: Likewise.
20519         * sysdeps/mach/hurd/rmdir.c: Likewise.
20520         * sysdeps/mach/hurd/seekdir.c: Likewise.
20521         * sysdeps/mach/hurd/setsid.c: Likewise.
20522         * sysdeps/posix/wait3.c: Likewise.
20524         * All files with FSF copyright notices: Update copyright dates
20525         using scripts/update-copyrights.
20526         * intl/plural.c: Regenerated.
20527         * locale/programs/charmap-kw.h: Likewise.
20528         * locale/programs/locfile-kw.h: Likewise.
20530 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20532         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20533         four values.
20535         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20536         calculation loop and add branch prediction.
20538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20539         check access beyond bounds of m1np.
20541         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20542         MPTWO.
20543         (__inv): Remove local variable MPTWO to use the global
20544         constant.
20545         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20546         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20547         variable MPTWO.
20548         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20549         MP3HALFS static const.
20551 2013-01-01  David S. Miller  <davem@davemloft.net>
20553         * po/ca.po: Update from translation team.
20555 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
20557         * scripts/update-copyrights: New file.
20558         * Makeconfig: Reformat copyright notice.
20559         * ctype/ctype.h: Likewise.
20560         * debug/swprintf_chk.c: Likewise.
20561         * elf/dl-cache.c: Likewise.
20562         * elf/dl-debug.c: Likewise.
20563         * elf/dl-object.c: Likewise.
20564         * grp/initgroups.c: Likewise.
20565         * hurd/Makefile: Likewise.
20566         * hurd/hurd/signal.h: Likewise.
20567         * hurd/hurdfault.c: Likewise.
20568         * hurd/hurdioctl.c: Likewise.
20569         * hurd/hurdlookup.c: Likewise.
20570         * hurd/intr-msg.c: Likewise.
20571         * iconv/gconv_open.c: Likewise.
20572         * libio/swprintf.c: Likewise.
20573         * locale/lc-ctype.c: Likewise.
20574         * locale/nl_langinfo.c: Likewise.
20575         * mach/Machrules: Likewise.
20576         * mach/Makefile: Likewise.
20577         * malloc/obstack.h: Likewise.
20578         * manual/Makefile: Likewise.
20579         * manual/tsort.awk: Likewise.
20580         * misc/bits/stab.def: Likewise.
20581         * nis/nis_print_group_entry.c: Likewise.
20582         * nis/nis_table.c: Likewise.
20583         * nis/nss_compat/compat-pwd.c: Likewise.
20584         * nis/nss_compat/compat-spwd.c: Likewise.
20585         * po/Makefile: Likewise.
20586         * posix/fnmatch.c: Likewise.
20587         * posix/regex.h: Likewise.
20588         * resolv/Makefile: Likewise.
20589         * resolv/nss_dns/dns-network.c: Likewise.
20590         * resolv/res_hconf.c: Likewise.
20591         * scripts/gen-sorted.awk: Likewise.
20592         * soft-fp/soft-fp.h: Likewise.
20593         * stdio-common/printf.h: Likewise.
20594         * stdlib/monetary.h: Likewise.
20595         * stdlib/random.c: Likewise.
20596         * stdlib/random_r.c: Likewise.
20597         * sysdeps/generic/Makefile: Likewise.
20598         * sysdeps/gnu/Makefile: Likewise.
20599         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20601         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20603         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20604         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20606         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20609         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20610         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20611         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20612         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20613         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20614         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20615         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20616         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20617         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20619         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20620         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20621         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20622         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20623         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20624         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20625         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20626         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20627         * sysdeps/mach/hurd/errnos.awk: Likewise.
20628         * sysdeps/mach/hurd/fork.c: Likewise.
20629         * sysdeps/mach/hurd/getcwd.c: Likewise.
20630         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20631         * sysdeps/mach/hurd/mmap.c: Likewise.
20632         * sysdeps/mach/hurd/utimes.c: Likewise.
20633         * sysdeps/mach/hurd/xmknod.c: Likewise.
20634         * sysdeps/posix/profil.c: Likewise.
20635         * sysdeps/posix/readdir_r.c: Likewise.
20636         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20637         * sysdeps/powerpc/bits/setjmp.h: Likewise.
20638         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20639         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20641         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20642         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20643         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20645         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20646         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20647         * sysdeps/pthread/lio_listio.c: Likewise.
20648         * sysdeps/sparc/dl-procinfo.h: Likewise.
20649         * sysdeps/unix/i386/sysdep.S: Likewise.
20650         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20651         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20652         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20653         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20655         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20656         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20657         * sysdeps/unix/sysv/linux/speed.c: Likewise.
20658         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20659         * sysdeps/wordsize-32/divdi3.c: Likewise.
20660         * time/sys/time.h: Likewise.
20661         * wcsmbs/Makefile: Likewise.
20663 2013-01-01  David S. Miller  <davem@davemloft.net>
20665         * po/fr.po: Update from translation team.
20667         * catgets/gencat.c: Update copyright year.
20668         * csu/version.c: Likewise.
20669         * debug/catchsegv.sh: Likewise.
20670         * debug/pcprofiledump.c: Likewise.
20671         * debug/xtrace.sh: Likewise.
20672         * elf/ldconfig.c: Likewise.
20673         * elf/ldd.bash.in: Likewise.
20674         * elf/pldd.c: Likewise.
20675         * elf/sotruss.ksh: Likewise.
20676         * elf/sprof.c: Likewise.
20677         * iconv/iconv_prog.c: Likewise.
20678         * iconv/iconvconfig.c: Likewise.
20679         * locale/programs/locale.c: Likewise.
20680         * locale/programs/localedef.c: Likewise.
20681         * login/programs/pt_chown.c: Likewise.
20682         * malloc/memusage.sh: Likewise.
20683         * malloc/memusagestat.c: Likewise.
20684         * malloc/mtrace.pl: Likewise.
20685         * nscd/nscd.c: Likewise.
20686         * nss/getent.c: Likewise.
20687         * nss/makedb.c: Likewise.
20688         * posix/getconf.c: Likewise.
20690 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20692         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20693         numbers.
20695 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
20697         * math/bits/mathcalls.h (modf): Use __nonnull.
20699 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20702         (split): Use macro CN instead of the bare value.
20703         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20704         could be used.
20705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20706         instead of the bare value.
20707         (power1): Likewise.
20709 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20712         __ATAN_TWOM.
20713         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20715         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20716         their values.
20717         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20718         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20719         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20720         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20722 2012-12-28  Andreas Jaeger  <aj@suse.de>
20724         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
20725         values are from Linux 3.7.
20727         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20728         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
20730 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20732         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20733         TRUE case.
20735         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20736         (norm): Likewise.
20737         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20738         variables with preprocessor constants.
20739         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20740         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20741         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20743 2012-12-27  Bruno Haible  <bruno@clisp.org>
20745         [BZ #14317]
20746         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20747         only if needed.
20749 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20751         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20752         and use variable directly.
20753         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20755         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20756         MPONE.
20757         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20759         variable MPONE.
20760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20762         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20763         include directive.  Remove local variable MPONE.
20764         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20765         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20766         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20768 2012-12-25  David S. Miller  <davem@davemloft.net>
20770         * version.h (RELEASE): Set to "development".
20771         (VERSION): Set to "2.17.90".
20772         * NEWS: Add 2.18 section.
20774 2012-12-21  David S. Miller  <davem@davemloft.net>
20776         * po/hr.po: Update from translation team.
20778 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20780         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20782 2012-12-19  Steve Ellcey  <sellcey@mips.com>
20784         * NEWS:  Mention new memcpy for MIPS.
20786 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20788         * manual/contrib.texi (Contributors): Spelling correction.
20790 2012-12-15  David S. Miller  <davem@davemloft.net>
20792         * po/ru.po: Update from translation team.
20794 2012-12-13  David S. Miller  <davem@davemloft.net>
20796         * NEWS: Mention IFUNC testsuite enhancements.
20798         * po/pl.po: Update from translation team.
20799         * po/bg.po: Likewise.
20801         * manual/contrib.texi (Contributors): Update entries for Hongjiu
20802         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
20804 2012-12-11  David S. Miller  <davem@davemloft.net>
20806         * po/sv.po: Update from translation team.
20808         * po/vi.po: Update from translation team.
20810         * po/cs.po: Update from translation team.
20812         * po/de.po: Update from translation team.
20813         * po/eo.po: Likewise.
20814         * po/nl.po: Likewise.
20816 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20818         [BZ #14246]
20819         * manual/argp.texi (Argp Helper Functions): Move node to follow
20820         Argp Parsing State.
20822         [BZ #14872]
20823         * manual/conf.texi (Limits on File System Capacity): Mention if
20824         terminating null is included in the max size.
20826 2012-12-10  Andreas Jaeger  <aj@suse.de>
20828         * po/cs.po: Update from translation team.
20830 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20832         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20833         void pointer and cast to uintptr_t.
20834         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20835         path.
20836         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20837         * sysdeps/s390/s390-64/memset.S: Likewise.
20839 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
20841         [BZ #14833]
20842         * menual/message.texi (Message Translation): Fix typos.
20843         (Helper programs for gettext): Likewise.
20845 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
20847         [BZ #14898]
20848         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20849         Change to -1.
20851 2012-12-07  David S. Miller  <davem@davemloft.net>
20853         * po/libc.pot: Update.
20855 2012-12-07  Richard Henderson  <rth@redhat.com>
20857         [BZ #10114]
20858         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20859         normal/normal case to before the switch.
20860         (_FP_DIV): Likewise.
20862 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
20863             Mike Frysinger  <vapier@gentoo.org>
20865         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20866         check for __NR_fadvise64_64.
20868 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
20870         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20871         0, not just to plain "0" as a statement.
20872         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20873         with cw.
20875 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
20877         * NEWS: Use sourceware.org in Bugzilla URL.
20879 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20882         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20884         * stdio-common/tst-put-error.c (do_test): Add newline to the
20885         padded test to ensure flush.
20887 2012-12-05  Jeff Law  <law@redhat.com>
20889         * sunrpc/etc.rpc (fedfs_admin): Add entry.
20891 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
20893         * README: Don't refer to ports add-on as distributed separately.
20894         Mention AArch64 in list of systems supported in the ports add-on.
20896         * LICENSES: Add more non-FSF copyright and license notices.
20898         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20899         ((unused)).
20901         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20903         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20904         10000 as width of padded output.
20906 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20908         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20910         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20911         variable LX with __attribute__ ((unused)).
20912         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20913         Likewise.
20914         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20915         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20917         with __attribute__ ((unused)).
20919 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20921         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20923 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20925         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20926         (CFLAGS-nldbl-acos.c): New variable.
20927         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20928         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20929         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20930         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20931         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20932         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20933         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20934         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20935         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20936         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20937         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20938         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20939         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20940         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20941         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20942         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20943         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20944         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20945         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20946         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20947         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20948         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20949         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20950         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20951         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20952         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20953         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20954         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20955         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20956         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20957         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20958         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20959         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20960         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20961         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20962         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20963         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20964         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20965         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20966         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20967         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20968         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20969         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20970         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20971         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20972         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20973         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20974         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20975         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20976         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20977         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20978         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20979         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20980         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20981         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20982         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20983         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20984         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20985         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20986         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20987         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20988         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20989         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20990         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20991         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20992         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20993         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20994         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20995         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20996         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20997         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20998         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20999         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21000         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21001         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21002         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21003         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21004         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21005         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21006         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21007         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21008         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21009         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21010         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21011         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21012         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21013         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21014         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21015         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21016         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21017         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21018         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21019         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21020         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21021         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21022         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21023         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21026         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21028         [BZ #14914]
21029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21030         whole low double instead of just low 47 bits when splitting values
21031         into two parts.
21033 2012-12-03  Allan McRae  <allan@archlinux.org>
21035         * manual/stdio.texi (Predefined Printf Handlers): Remove
21036         @hsep and @vsep usage.
21038 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21040         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21041         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21043 2012-12-03  Jeff Law  <law@redhat.com>
21045         * time/sys/time.h (settimeofday): Do not mark TV argument
21046         as __nonnull.
21048 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21050         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21051         when currently writing and seek to current position when not.
21052         * libio/Makefile (tests): Remove bug-fclose1.
21053         * libio/bug-fclose1.c: Delete.
21055 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21057         * manual/arith.texi (feenableexcept): Fix typo.
21058         (fedisableexcept): Likewise.
21060 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21062         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21063         second, differently-typed declaration, rather than a cast.
21065 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21067         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21068         * include/rpc/svc.h: ... here.
21070 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21072         [BZ #13013]
21073         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21074         depending n and resplen2 to catch cases where answer
21075         equals answerp2.
21077 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21079         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21080         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21082 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21084         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21086 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21088         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21090 2012-11-28  Jeff Law  <law@redhat.com>
21092         [BZ #13761]
21093         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21094         dataset_temporary.  Track alloca usage into alloca_used.
21095         If dataset is large allocate and release it via malloc/free.
21097 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21099         [BZ #14197]
21100         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21102 2012-11-28  David S. Miller  <davem@davemloft.net>
21104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21106 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21108         [BZ #14803]
21109         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21110         of pi/2 rounded to nearest to 64 bits.
21111         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21112         nearest to 64 bits.
21113         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21114         bits.
21116 2012-11-28  Jeff Law <law@redhat.com>
21117             Martin Osvald <mosvald@redhat.com>
21119         [BZ #14889]
21120         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21121         * sunrpc/svc.c: Include time.h.
21122         (__svc_accept_failed): New function.
21123         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21124         any reason other than EINTR, call __svc_accept_failed.
21125         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21126         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21128 2012-11-28  Andreas Schwab  <schwab@suse.de>
21130         * scripts/abilist.awk: Also handle indirect functions in .opd
21131         section.
21133 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21135         [BZ #13881]
21136         * sysdeps/x86/fpu/powl_helper.c: New file.
21137         * sysdeps/x86/fpu/Makefile: Likewise.
21138         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21139         (p3): New object.
21140         (__ieee754_powl): Use __powl_helper for finite arguments except
21141         integer exponents below 8.
21142         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21143         (p3): New object.
21144         (__ieee754_powl): Use __powl_helper for finite arguments except
21145         integer exponents below 8.
21146         * math/libm-test.inc (pow_test): Add more tests and enable some
21147         previously disabled tests.
21148         * sysdeps/i386/fpu/libm-test-ulps: Update.
21149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21151 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21152             Carlos O'Donell  <carlos_odonell@mentor.com>
21154         * nss/makedb.c (is_prime): Assert that input is odd and greater
21155         than 4.  Note that fact in a comment too.
21156         (next_prime): Add 4 to input.
21158 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21160         [BZ #11741]
21161         * libio/Makefile (tests): Add test case tst-fwrite-error.
21162         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21163         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21164         * libio/tst-fwrite-error.c: New test case.
21166 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21168         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21169         before casting to void *.
21170         * include/libc-internal.h (__pointer_type): New macro.
21171         (__integer_if_pointer_type_sub): Likewise.
21172         (__integer_if_pointer_type): Likewise.
21173         (cast_to_integer): Likewise.
21174         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21175         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21176         before casting to atomic64_t.
21177         (atomic_exchange_acq): Likewise.
21178         (__arch_exchange_and_add_body): Likewise.
21179         (__arch_add_body): Likewise.
21180         (atomic_add_negative): Likewise.
21181         (atomic_add_zero): Likewise.
21183 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21185         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21186         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21187         (add_fdes): Likewise.
21188         (linear_search_fdes): Likewise.
21189         (binary_search_unencoded_fdes): Likewise.
21191 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21193         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21195 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21197         * configure.in: Autodetect C++ header directories.
21198         * configure: Regenerated.
21200 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21202         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21204 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21208 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21210         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21211         LDBL_MANT_DIG == 106]: Disable some tests.
21212         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21213         Likewise.
21214         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21215         Likewise.
21217         [BZ #14871]
21218         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21219         input for small inputs.  Return +/- pi/2 for large inputs.
21220         * math/libm-test.inc (atan_test): Add more tests.
21222         * sysdeps/generic/unwind-dw2-fde-glibc.c
21223         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21224         __attribute__ ((unused)).
21226         [BZ #14645]
21227         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21228         x * y if x and y are nonzero and z is zero.
21230         [BZ #14811]
21231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21232         nonzero exponents with absolute value below 0x1p-117 to +/-
21233         0x1p-117.
21235         [BZ #14869]
21236         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21237         up arguments below 2**-450, not just those below 2**-500.
21238         * math/libm-test.inc (hypot_test): Add another test.
21240         [BZ #14868]
21241         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21242         Return a+b for ratio over 2**120, not 2**60.
21243         * math/libm-test.inc (hypot_test): Add another test.
21245         * math/libm-test.inc (clog_test): Use
21246         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21247         (clog10_test): Likewise.
21249         [BZ #6778]
21250         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21252 2012-11-22  Andreas Schwab  <schwab@suse.de>
21254         * sysdeps/i386/fpu/libm-test-ulps: Update.
21256 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
21258         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21259         printf output with newline.
21261 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
21263         [BZ #14865]
21264         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21265         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21266         -z nodlopen, -z initfirst and -z execstack support.
21267         * configure: Regenerated.
21269         * elf/elf.h (DF_1_NODIRECT): New macro.
21270         (DF_1_IGNMULDEF): Likewise.
21271         (DF_1_NOKSYMS): Likewise.
21272         (DF_1_NOHDR): Likewise.
21273         (DF_1_EDITED): Likewise.
21274         (DF_1_NORELOC): Likewise.
21275         (DF_1_SYMINTPOSE): Likewise.
21276         (DF_1_GLOBAUDIT): Likewise.
21277         (DF_1_SINGLETON): Likewise.
21278         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21279         DT_1_SUPPORTED_MASK bits.
21280         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21282 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
21284         * sysdeps/unix/make-syscalls.sh: Document prefixes.
21286 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
21288         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21289         macro.
21291         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21292         (sendmmsg): Move declarations...
21293         * socket/sys/socket.h: ... here.
21294         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21295         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21296         include it from...
21297         * socket/recvmmsg.c: ... this new file.
21298         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21299         (sendmmsg): Rename to __sendmmsg, create weak alias and make
21300         definition of __sendmmsg hidden.
21301         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21302         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21303         Move ENOSYS stub into and include it from...
21304         * socket/sendmmsg.c: ... this new file.
21305         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21306         (sysdep_routines): Move recvmmsg and sendmmsg...
21307         * socket/Makefile (routines): ... here.
21308         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21309         (GLIBC_PRIVATE): Add __sendmmsg.
21310         * include/sys/socket.h (__sendmmsg): Add declarations.
21311         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21312         sendmmsg.
21314 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
21316         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21317         variable I1 with __attribute__ ((unused)).
21318         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21320 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21322         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21323         DUMMY variables with __attribute__ ((unused)).
21325         * bits/byteswap.h: Include <bits/types.h>.
21326         (__bswap_64): Use __uint64_t instead of unsigned long long int.
21328 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21330         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21331         string_t.  Do not manually set errno.
21332         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21333         length with __strnlen.  Make sure to both set errno and return it on
21334         failure.
21336 2012-11-19  David S. Miller  <davem@davemloft.net>
21338         With help from Joseph Myers.
21339         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21340         very large arguments properly.
21341         * math/libm-test.inc (atan_test): New tests.
21342         (atan2_test): New tests.
21343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21346 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21348         [BZ #14856]
21349         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21350         Define to 3.
21352         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21353         [POSIX] (EADDRNOTAVAIL): Likewise.
21354         [POSIX] (EAFNOSUPPORT): Likewise.
21355         [POSIX] (EALREADY): Likewise.
21356         [POSIX] (ECONNABORTED): Likewise.
21357         [POSIX] (ECONNREFUSED): Likewise.
21358         [POSIX] (ECONNRESET): Likewise.
21359         [POSIX] (EDESTADDRREQ): Likewise.
21360         [POSIX] (EDQUOT): Likewise.
21361         [POSIX] (EHOSTUNREACH): Likewise.
21362         [POSIX] (EIDRM): Likewise.
21363         [POSIX] (EISCONN): Likewise.
21364         [POSIX] (ELOOP): Likewise.
21365         [POSIX] (EMULTIHOP): Likewise.
21366         [POSIX] (ENETDOWN): Likewise.
21367         [POSIX] (ENETUNREACH): Likewise.
21368         [POSIX] (ENOBUFS): Likewise.
21369         [POSIX] (ENODATA): Likewise.
21370         [POSIX] (ENOLINK): Likewise.
21371         [POSIX] (ENOMSG): Likewise.
21372         [POSIX] (ENOPROTOOPT): Likewise.
21373         [POSIX] (ENOSR): Likewise.
21374         [POSIX] (ENOSTR): Likewise.
21375         [POSIX] (ENOTCONN): Likewise.
21376         [POSIX] (ENOTSOCK): Likewise.
21377         [POSIX] (EOPNOTSUPP): Likewise.
21378         [POSIX] (EOVERFLOW): Likewise.
21379         [POSIX] (EPROTO): Likewise.
21380         [POSIX] (EPROTONOSUPPORT): Likewise.
21381         [POSIX] (EPROTOTYPE): Likewise.
21382         [POSIX] (ESTALE): Likewise.
21383         [POSIX] (ETIME): Likewise.
21384         [POSIX] (ETXTBSY): Likewise.
21385         [POSIX] (EWOULDBLOCK): Likewise.
21386         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21387         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21388         [POSIX] (SEEK_CUR): Likewise.
21389         [POSIX] (SEEK_END): Likewise.
21390         [POSIX || UNIX98] (mode_t): Do not require.
21391         [POSIX] (off_t): Likewise.
21392         [POSIX] (pid_t): Likewise.
21393         [POSIX] (sys/stat.h): Do not allow header.
21394         [POSIX] (unistd.h): Likewise.
21395         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21396         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21397         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21398         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21399         require.
21400         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21401         sigevent): Specify elements.
21402         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21403         entry.
21404         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21405         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21407         * conform/data/cpio.h-data [POSIX]: Disable whole file.
21408         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21409         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21410         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21411         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21412         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21413         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21414         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21415         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21416         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21417         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21418         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21419         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21420         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21421         Likewise.
21422         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21423         Likewise.
21424         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21425         Likewise.
21426         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21427         Likewise.
21428         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21429         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21430         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21431         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21432         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21433         Specify lower bound on value.
21434         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21435         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21436         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21437         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21438         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21439         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21440         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21441         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21442         value.
21443         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21444         as optional.
21445         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21446         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21447         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21448         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21449         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21450         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21451         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21452         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21453         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21454         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21455         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21456         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21457         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21458         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21459         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21460         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21461         entry.
21462         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21463         optional.
21464         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21465         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21466         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21467         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21468         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21469         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21470         Likewise.
21471         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21472         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21473         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21474         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21475         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
21476         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21477         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21478         as optional.
21479         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21480         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21481         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21482         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21483         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21484         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21485         specify as optional.
21486         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21487         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21488         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21489         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21490         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21491         [XPG3] (NL_LANGMAX): Likewise.
21492         [POSIX || XPG3] (NL_MSGMAX): Likewise.
21493         [POSIX || XPG3] (NL_NMAX): Likewise.
21494         [POSIX || XPG3] (NL_SETMAX): Likewise.
21495         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21496         [XPG3] (NZERO): Likewise.
21497         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21498         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21499         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21500         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21501         (REG_ERANGE): Expect.
21502         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21503         optional-constant.
21504         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21505         Use (void) in prototype.
21506         [POSIX] (*_t): Allow.
21507         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21508         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21509         (WRDE_BADVAL): Expect.
21511         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21512         expect.
21513         [XPG3 || XPG4] (O_RSYNC): Likewise.
21514         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21515         Likewise.
21516         [XPG3 || XPG4] (pthread_sigmask): Likewise.
21517         [XPG3 || XPG4] (sigqueue): Likewise.
21518         [XPG3 || XPG4] (sigtimedwait): Likewise.
21519         [XPG3 || XPG4] (sigwaitinfo): Likewise.
21520         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21521         [XPG3 || XPG4] (vsnprintf): Likewise.
21522         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21523         Likewise.
21524         [XPG3 || XPG4] (blksize_t): Likewise.
21525         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21526         Likewise.
21527         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21528         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21529         [XPG3 || XPG4] (struct itimerspec): Likewise.
21530         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21531         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21532         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21533         [XPG3 || XPG4] (clockid_t): Likewise.
21534         [XPG3 || XPG4] (timer_t): Likewise.
21535         [XPG3 || XPG4] (clock_getres): Likewise.
21536         [XPG3 || XPG4] (clock_gettime): Likewise.
21537         [XPG3 || XPG4] (clock_settime): Likewise.
21538         [XPG3 || XPG4] (nanosleep): Likewise.
21539         [XPG3 || XPG4] (timer_create): Likewise.
21540         [XPG3 || XPG4] (timer_delete): Likewise.
21541         [XPG3 || XPG4] (timer_gettime): Likewise.
21542         [XPG3 || XPG4] (timer_getoverrun): Likewise.
21543         [XPG3 || XPG4] (timer_settime): Likewise.
21544         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21545         [XPG3 || XPG4] (getlogin_r): Likewise.
21546         [XPG3 || XPG4] (pread): Likewise.
21547         [XPG3 || XPG4] (pthread_atfork): Likewise.
21548         [XPG3 || XPG4] (pwrite): Likewise.
21550         [BZ #14835]
21551         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21552         <bits/siginfo.h>.
21554 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21556         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21557         finalizing MALLSTREAM.
21559         * sysdeps/mach/hurd/syncfs.c: New file.
21561 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21563         [BZ #14719]
21564         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21565         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21566         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21567         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21568         (_nss_dns_gethostbyname4_r): Likewise.
21569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21570         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21572 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
21574         [BZ #13763]
21575         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21577 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
21579         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21580         * elf/cache.c (print_entry): Print ",AArch64" for
21581         FLAG_AARCH64_LIB64
21583         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21584         * elf/cache.c (print_entry): Print ",hard-float" for
21585         FLAG_ARM_LIBHF.
21587 2012-11-18  David S. Miller  <davem@davemloft.net>
21589         With help from Joseph Myers.
21590         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21591         cutoff to 2**-13.
21592         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21593         cutoff to 2**-25.
21594         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21595         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21596         small.
21597         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21598         * math/libm-test.inc (y0_test): New tests.
21599         (y1_test): New tests.
21600         * sysdeps/i386/fpu/libm-test-ulps: Update.
21601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21604 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
21606         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21607         64-bit targets.
21608         * configure: Regenerated.
21610 2012-11-17  David S. Miller  <davem@davemloft.net>
21612         [BZ #14811]
21613         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21614         nonzero exponents with absolute value below 0x1p-128 to +/-
21615         0x1p-128.
21617 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
21619         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21621         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21623         * posix/getconf-speclist.c: New file.
21624         * posix/posix-envs.def: Likewise.
21625         * posix/confstr.c (START_ENV_GROUP): New macro.
21626         (END_ENV_GROUP): Likewise.
21627         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21628         (KNOWN_PRESENT_ENV_STRING): Likewise.
21629         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21630         (UNKNOWN_ENVIRONMENT): Likewise.
21631         (confstr): Include posix-envs.def instead of handling
21632         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21633         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21634         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21635         (END_ENV_GROUP): Likewise.
21636         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21637         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21638         (UNKNOWN_ENVIRONMENT): Likewise.
21639         (__sysconf): Include posix-envs.def instead of handling associated
21640         cases directly here.
21641         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21642         preprocessing getconf-speclist.c rather than running getconf or
21643         generating empty file.
21645 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
21647         * scripts/check-local-headers.sh: Ignore 'mach' headers.
21649 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
21651         [BZ #14672]
21652         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21654 2012-11-16  David S. Miller  <davem@davemloft.net>
21656         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21657         smaller than LDBL_EPSILON/2.0L, just return xm1.
21659 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
21661         * elf/tst-array1.c (init): Set constructor priority to 1000.
21662         (fini): Set destructor priority to 1000.
21663         * elf/tst-array2dep.c: Likewise.
21665 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21667         [BZ #11741]
21668         * libio/fileops.c (_IO_new_file_write): Correctly return error.
21669         (_IO_new_file_xsputn): Also return EOF if none of the input
21670         data was written when overflow failed.
21671         * libio/iopadn.c (_IO_padn): Likewise.
21672         * libio/iowpadn.c (_IO_wpadn): Likewise.
21673         * stdio-common/tst-put-error.c: Add copyright notice.
21674         (do_test): Add case for printing padded string.
21675         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21676         _IO_padn returned error.
21677         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21678         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21679         return EOF.
21681 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21683         * libio/libioP.h: Add comment note that the references to C++
21684         bits are now obsolete.
21686 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21688         * math/libm-test.inc (check_complex): Use asprintf.
21690 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
21692         * debug/pcprofiledump.c (print_version): Update copyright year.
21693         * malloc/memusagestat.c (print_version): Likewise.
21695 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21697         [BZ #14831]
21698         * elf/Makefile (tests): Add tst-audit8.
21699         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21700         ($(objpfx)tst-audit8.out): New target.
21701         (tst-audit8-ENV): New variable.
21702         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21703         audit if l_reloc_result is NULL.
21704         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21705         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21706         * elf/tst-audit8.c: New file.
21708 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21710         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21711         * misc/Makefile (CFLAGS-select.c): Define.
21712         * posix/Makefile (CFLAGS-pause.c): Define.
21714 2012-11-13  David S. Miller  <davem@davemloft.net>
21716         * crypt/Makefile: Move test targets after toplevel Rules
21717         inclusion.  Grab any necessary sysdep routines when linking.
21718         * crypt/md5.c (md5_process_block): Remove define, we will always
21719         name it __md5_process_block.
21720         (md5_finish_ctx): Update md5_process_block call.
21721         (md5_stream): Likewise.
21722         (md5_process_bytes): Likewise.
21723         (md5_process_block): Rename to __md5_process_block and move to ...
21724         * crypt/md5-block.c: ... here.
21725         * crypt/sha256.c (sha256_process_block): Move to ...
21726         * crypt/sha256-block.c: ... here.
21727         * crypt/sha512.c (sha512_process_block): Move to ...
21728         * crypt/sha512-block.c: ... here.
21729         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21730         path.
21731         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21732         * sysdeps/sparc/sparc64/multiarch/Makefile
21733         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21734         crypt subdir.
21735         (localedef-aux): Add md5 crypto assembler when in locale subdir.
21736         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21737         multiarch changes.
21738         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21739         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21740         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21741         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21742         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21743         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21744         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21745         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21746         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21747         file.
21748         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21749         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21750         file.
21751         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21753 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
21755         * timezone/tzselect.ksh: Update from tzcode git revision
21756         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21757         * timezone/zdump.c: Likewise.
21758         * timezone/zic.c: Likewise.
21759         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21760         in TZVERSION setting, not $(PKGVERSION).
21761         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
21762         REPORT_BUGS_TO settings.
21764         [BZ #14838]
21765         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21766         macro.
21768 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21770         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21771         detection to immediately after _FP_ROUND().
21772         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21773         bits are 0.
21775 2012-11-11  David S. Miller  <davem@davemloft.net>
21777         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21778         inttypes.h
21779         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21780         __close rather than their public counterparts.
21782 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
21784         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21785         file.
21786         [UNIX98] (sem_timedwait): Do not expect.
21787         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21788         [XPG4 || UNIX98] (sockatmark): Do not expect.
21789         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21790         (clock_getcpuclockid): Do not expect.
21791         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21792         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21793         Do not expect.
21794         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21795         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21796         [UNIX98] (vwscanf): Likewise.
21797         [UNIX98] (vswscanf): Likewise.
21799 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
21801         * timezone/version.h: Remove file.
21802         * timezone/README: Do not refer to version.h.
21803         * timezone/Makefile ($(objpfx)zic.o): New dependency on
21804         $(objpfx)version.h.
21805         ($(objpfx)zdump.o): Likewise.
21806         ($(objpfx)version.h): New target.
21808         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21809         2012i.
21810         * timezone/README: Don't mention modification to tzselect.ksh.
21811         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21812         work on unmodified tzselect.ksh.  Substitute version numbers in
21813         tzselect.ksh.
21815         * Makefile (format-me): Remove.
21816         (INSTALL): Adjust indentation.  Use commands directly instead of
21817         using $(format-me).
21819         * aclocal.m4 (ACX_PKGVERSION): New macro.
21820         (ACX_BUGURL): Likewise.
21821         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21822         (PKGVERSION): New AC_DEFINE_UNQUOTED.
21823         (REPORT_BUGS_TO): Likewise.
21824         * configure: Regenerated.
21825         * config.h.in (PKGVERSION): New macro.
21826         (REPORT_BUGS_TO): Likewise.
21827         * config.make.in (PKGVERSION): New variable.
21828         (PKGVERSION_TEXI): Likewise.
21829         (REPORT_BUGS_TO): Likewise.
21830         (REPORT_BUGS_TEXI): Likewise.
21831         * Makefile (format-me): Use -I$(common-objpfx)manual.
21832         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21833         ($(common-objpfx)manual/%): New target.
21834         (manual/%): Remove target.
21835         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21836         (print_version): Use PKGVERSION.
21837         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21838         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21839         and REPORT_BUGS_TO.
21840         ($(objpfx)xtrace): Likewise.
21841         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21842         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21843         (print_version): Use PKGVERSION.
21844         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21845         (do_version): Use PKGVERSION.
21846         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21847         REPORT_BUGS_TO.
21848         (common-ldd-rewrite): Likewise.
21849         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21850         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21851         (print_version): Use PKGVERSION.
21852         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21853         * elf/pldd.c (argp_program_bug_address): Remove variable.
21854         (more_help): New function.
21855         (argp): Use more_help.
21856         (print_version): Use PKGVERSION.
21857         * elf/sln.c (main): Use PKGVERSION.
21858         (usage): Use REPORT_BUGS_TO.
21859         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21860         (top level): Use PKGVERSION.
21861         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21862         (print_version): Use PKGVERSION.
21863         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21864         (print_version): Use PKGVERSION.
21865         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21866         (print_version): Use PKGVERSION.
21867         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21868         (print_version): Use PKGVERSION.
21869         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21870         (print_version): Use PKGVERSION.
21871         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21872         (print_version): Use PKGVERSION.
21873         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21874         and BUGURL.
21875         ($(objpfx)memusage): Likewise.
21876         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21877         (do_version): Use PKGVERSION.
21878         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21879         (print_version): Use PKGVERSION.
21880         * malloc/mtrace.pl ($PACKAGE): Remove variable.
21881         ($PKGVERSION): New variable.
21882         ($REPORT_BUGS_TO): Likewise.
21883         (usage): Use $REPORT_BUGS_TO.
21884         (top level): Use $PKGVERSION.
21885         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21886         ($(objpfx)pkgvers.texi): New rule.
21887         ($(objpfx)stamp-pkgvers): Likewise.
21888         * manual/install.texi: Include pkgvers.texi.
21889         (--with-pkgversion): Document new configure option.
21890         (--with-bugurl): Likewise.
21891         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21892         than necessarily for this particular distribution.  Use
21893         REPORT_BUGS_TO for where to report bugs.
21894         * INSTALL: Regenerated.
21895         * manual/libc.texinfo: Include pkgvers.texi.
21896         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21897         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21898         (print_version): Use PKGVERSION.
21899         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21900         (print_version): Use PKGVERSION.
21901         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21902         (print_version): Use PKGVERSION.
21903         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21904         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21905         macro.
21906         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21907         (print_version): Use PKGVERSION.
21908         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21909         (print_version): Use PKGVERSION.
21910         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21911         and PKGVERSION.
21913         * timezone/checktab.awk: Update from tzcode 2012i.
21914         * timezone/ialloc.c: Likewise.
21915         * timezone/private.h: Likewise.
21916         * timezone/scheck.c: Likewise.
21917         * timezone/tzfile.h: Likewise.
21918         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21919         (TZVERSION): Hardcode tzcode version number.
21920         * timezone/zdump.c: Update from tzcode 2012i.
21921         * timezone/zic.c: Likewise.
21922         * timezone/version.h: New file.
21923         * timezone/README: Describe version.h.  Update upstream location.
21925         [BZ #14824]
21926         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21927         (mktemp): Enable declaration.
21928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21930         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21931         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21932         Likewise.
21933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21934         Likewise.
21935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21936         Likewise.
21937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21938         Likewise.
21939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21940         Likewise.
21941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21942         Likewise.
21944         [BZ #14821]
21945         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21946         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21947         for copies of such integer values.
21948         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21949         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21951 2012-11-09  Andreas Jaeger  <aj@suse.de>
21953         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21954         definitions and declarations that are provided by
21955         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21957 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21959         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21960         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21961         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21962         definition.
21964 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21966         * elf/elf.h: Update comment before AArch64 relocations.
21968 2012-11-07  David S. Miller  <davem@davemloft.net>
21970         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21971         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21972         (__start_context): Declare.
21973         (__makecontext_ret): Delete.
21974         (__makecontext): Hook up __start_context instead of
21975         __makecontext_ret.
21976         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21977         (sysdep_routines): Add __start_context when in stdlib.
21979 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21981         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21982         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21983         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21984         hardcoded "nm".
21985         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21986         (READELF): New variable.  Use it instead of hardcoded "readelf".
21988 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21990         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21991         * sysdeps/x86/Makefile: Here.
21992         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21993         * sysdeps/x86/tst-xmmymm.sh: This.
21995 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21997         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21998         expectations.
21999         [UNIX98] (pthread_barrier_t): Do not expect.
22000         [UNIX98] (pthread_barrierattr_t): Likewise.
22001         [UNIX98] (pthread_spinlock_t): Likewise.
22002         [UNIX98] (pthread_barrier_destroy): Likewise.
22003         [UNIX98] (pthread_barrier_init): Likewise.
22004         [UNIX98] (pthread_barrier_wait): Likewise.
22005         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22006         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22007         [UNIX98] (pthread_barrierattr_init): Likewise.
22008         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22009         [UNIX98] (pthread_getcpuclockid): Likewise.
22010         [UNIX98] (pthread_mutex_timedlock): Likewise.
22011         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22012         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22013         [UNIX98] (pthread_sigmask): Likewise.
22014         [UNIX98] (pthread_spin_destroy): Likewise.
22015         [UNIX98] (pthread_spin_init): Likewise.
22016         [UNIX98] (pthread_spin_lock): Likewise.
22017         [UNIX98] (pthread_spin_trylock): Likewise.
22018         [UNIX98] (pthread_spin_unlock): Likewise.
22019         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22020         Do not expect.
22021         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22022         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22023         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22024         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22025         [XPG3 || XPG4] (pthread_key_t): Likewise.
22026         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22027         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22028         [XPG3 || XPG4] (pthread_once_t): Likewise.
22029         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22030         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22031         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22032         [XPG3 || XPG4] (pthread_t): Likewise.
22034         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22035         not expect.
22036         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22038         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22039         Change function return type to int.
22041         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22042         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22043         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22044         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22045         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22046         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22047         [!POSIX] (posix_madvise): Likewise.
22048         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22049         && !UNIX98].
22050         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22051         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22052         (mode_t): Likewise.
22053         (posix_mem_offset): Likewise.
22054         (posix_typed_mem_get_info): Likewise.
22055         (posix_typed_mem_open): Likewise.
22057         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22058         Change condition to [XOPEN2K8].
22060         * conform/conformtest.pl: Preprocess allow-header data with -x c
22061         instead of from stdin.
22062         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22063         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22064         [C99-based standards] (cerfc): Likewise.
22065         [C99-based standards] (cexp2): Likewise.
22066         [C99-based standards] (cexpm1): Likewise.
22067         [C99-based standards] (clog10): Likewise.
22068         [C99-based standards] (clog1p): Likewise.
22069         [C99-based standards] (clog2): Likewise.
22070         [C99-based standards] (clgamma): Likewise.
22071         [C99-based standards] (ctgamma): Likewise.
22072         [C99-based standards] (cerff): Likewise.
22073         [C99-based standards] (cerfcf): Likewise.
22074         [C99-based standards] (cexp2f): Likewise.
22075         [C99-based standards] (cexpm1f): Likewise.
22076         [C99-based standards] (clog10f): Likewise.
22077         [C99-based standards] (clog1pf): Likewise.
22078         [C99-based standards] (clog2f): Likewise.
22079         [C99-based standards] (clgammaf): Likewise.
22080         [C99-based standards] (ctgammaf): Likewise.
22081         [C99-based standards] (cerfl): Likewise.
22082         [C99-based standards] (cerfcl): Likewise.
22083         [C99-based standards] (cexp2l): Likewise.
22084         [C99-based standards] (cexpm1l): Likewise.
22085         [C99-based standards] (clog10l): Likewise.
22086         [C99-based standards] (clog1pl): Likewise.
22087         [C99-based standards] (clog2l): Likewise.
22088         [C99-based standards] (clgammal): Likewise.
22089         [C99-based standards] (ctgammal): Likewise.
22090         * conform/data/inttypes.h-data [C99-based standards]: Include
22091         stdint.h-data.  Remove all expectations for stdint.h contents.
22092         [C99-based standards] (PRI*): Do not allow.
22093         [C99-based standards] (SCN*): Likewise.
22094         [C99-based standards] (*_t): Likewise.
22095         [C99-based-standards] (PRId8): Expect macro.
22096         [C99-based-standards] (PRIi8): Likewise.
22097         [C99-based-standards] (PRIo8): Likewise.
22098         [C99-based-standards] (PRIu8): Likewise.
22099         [C99-based-standards] (PRIx8): Likewise.
22100         [C99-based-standards] (PRIX8): Likewise.
22101         [C99-based-standards] (SCNd8): Likewise.
22102         [C99-based-standards] (SCNi8): Likewise.
22103         [C99-based-standards] (SCNo8): Likewise.
22104         [C99-based-standards] (SCNu8): Likewise.
22105         [C99-based-standards] (SCNx8): Likewise.
22106         [C99-based-standards] (PRIdLEAST8): Likewise.
22107         [C99-based-standards] (PRIiLEAST8): Likewise.
22108         [C99-based-standards] (PRIoLEAST8): Likewise.
22109         [C99-based-standards] (PRIuLEAST8): Likewise.
22110         [C99-based-standards] (PRIxLEAST8): Likewise.
22111         [C99-based-standards] (PRIXLEAST8): Likewise.
22112         [C99-based-standards] (SCNdLEAST8): Likewise.
22113         [C99-based-standards] (SCNiLEAST8): Likewise.
22114         [C99-based-standards] (SCNoLEAST8): Likewise.
22115         [C99-based-standards] (SCNuLEAST8): Likewise.
22116         [C99-based-standards] (SCNxLEAST8): Likewise.
22117         [C99-based-standards] (PRIdFAST8): Likewise.
22118         [C99-based-standards] (PRIiFAST8): Likewise.
22119         [C99-based-standards] (PRIoFAST8): Likewise.
22120         [C99-based-standards] (PRIuFAST8): Likewise.
22121         [C99-based-standards] (PRIxFAST8): Likewise.
22122         [C99-based-standards] (PRIXFAST8): Likewise.
22123         [C99-based-standards] (SCNdFAST8): Likewise.
22124         [C99-based-standards] (SCNiFAST8): Likewise.
22125         [C99-based-standards] (SCNoFAST8): Likewise.
22126         [C99-based-standards] (SCNuFAST8): Likewise.
22127         [C99-based-standards] (SCNxFAST8): Likewise.
22128         [C99-based-standards] (PRId16): Likewise.
22129         [C99-based-standards] (PRIi16): Likewise.
22130         [C99-based-standards] (PRIo16): Likewise.
22131         [C99-based-standards] (PRIu16): Likewise.
22132         [C99-based-standards] (PRIx16): Likewise.
22133         [C99-based-standards] (PRIX16): Likewise.
22134         [C99-based-standards] (SCNd16): Likewise.
22135         [C99-based-standards] (SCNi16): Likewise.
22136         [C99-based-standards] (SCNo16): Likewise.
22137         [C99-based-standards] (SCNu16): Likewise.
22138         [C99-based-standards] (SCNx16): Likewise.
22139         [C99-based-standards] (PRIdLEAST16): Likewise.
22140         [C99-based-standards] (PRIiLEAST16): Likewise.
22141         [C99-based-standards] (PRIoLEAST16): Likewise.
22142         [C99-based-standards] (PRIuLEAST16): Likewise.
22143         [C99-based-standards] (PRIxLEAST16): Likewise.
22144         [C99-based-standards] (PRIXLEAST16): Likewise.
22145         [C99-based-standards] (SCNdLEAST16): Likewise.
22146         [C99-based-standards] (SCNiLEAST16): Likewise.
22147         [C99-based-standards] (SCNoLEAST16): Likewise.
22148         [C99-based-standards] (SCNuLEAST16): Likewise.
22149         [C99-based-standards] (SCNxLEAST16): Likewise.
22150         [C99-based-standards] (PRIdFAST16): Likewise.
22151         [C99-based-standards] (PRIiFAST16): Likewise.
22152         [C99-based-standards] (PRIoFAST16): Likewise.
22153         [C99-based-standards] (PRIuFAST16): Likewise.
22154         [C99-based-standards] (PRIxFAST16): Likewise.
22155         [C99-based-standards] (PRIXFAST16): Likewise.
22156         [C99-based-standards] (SCNdFAST16): Likewise.
22157         [C99-based-standards] (SCNiFAST16): Likewise.
22158         [C99-based-standards] (SCNoFAST16): Likewise.
22159         [C99-based-standards] (SCNuFAST16): Likewise.
22160         [C99-based-standards] (SCNxFAST16): Likewise.
22161         [C99-based-standards] (PRId32): Likewise.
22162         [C99-based-standards] (PRIi32): Likewise.
22163         [C99-based-standards] (PRIo32): Likewise.
22164         [C99-based-standards] (PRIu32): Likewise.
22165         [C99-based-standards] (PRIx32): Likewise.
22166         [C99-based-standards] (PRIX32): Likewise.
22167         [C99-based-standards] (SCNd32): Likewise.
22168         [C99-based-standards] (SCNi32): Likewise.
22169         [C99-based-standards] (SCNo32): Likewise.
22170         [C99-based-standards] (SCNu32): Likewise.
22171         [C99-based-standards] (SCNx32): Likewise.
22172         [C99-based-standards] (PRIdLEAST32): Likewise.
22173         [C99-based-standards] (PRIiLEAST32): Likewise.
22174         [C99-based-standards] (PRIoLEAST32): Likewise.
22175         [C99-based-standards] (PRIuLEAST32): Likewise.
22176         [C99-based-standards] (PRIxLEAST32): Likewise.
22177         [C99-based-standards] (PRIXLEAST32): Likewise.
22178         [C99-based-standards] (SCNdLEAST32): Likewise.
22179         [C99-based-standards] (SCNiLEAST32): Likewise.
22180         [C99-based-standards] (SCNoLEAST32): Likewise.
22181         [C99-based-standards] (SCNuLEAST32): Likewise.
22182         [C99-based-standards] (SCNxLEAST32): Likewise.
22183         [C99-based-standards] (PRIdFAST32): Likewise.
22184         [C99-based-standards] (PRIiFAST32): Likewise.
22185         [C99-based-standards] (PRIoFAST32): Likewise.
22186         [C99-based-standards] (PRIuFAST32): Likewise.
22187         [C99-based-standards] (PRIxFAST32): Likewise.
22188         [C99-based-standards] (PRIXFAST32): Likewise.
22189         [C99-based-standards] (SCNdFAST32): Likewise.
22190         [C99-based-standards] (SCNiFAST32): Likewise.
22191         [C99-based-standards] (SCNoFAST32): Likewise.
22192         [C99-based-standards] (SCNuFAST32): Likewise.
22193         [C99-based-standards] (SCNxFAST32): Likewise.
22194         [C99-based-standards] (PRId64): Likewise.
22195         [C99-based-standards] (PRIi64): Likewise.
22196         [C99-based-standards] (PRIo64): Likewise.
22197         [C99-based-standards] (PRIu64): Likewise.
22198         [C99-based-standards] (PRIx64): Likewise.
22199         [C99-based-standards] (PRIX64): Likewise.
22200         [C99-based-standards] (SCNd64): Likewise.
22201         [C99-based-standards] (SCNi64): Likewise.
22202         [C99-based-standards] (SCNo64): Likewise.
22203         [C99-based-standards] (SCNu64): Likewise.
22204         [C99-based-standards] (SCNx64): Likewise.
22205         [C99-based-standards] (PRIdLEAST64): Likewise.
22206         [C99-based-standards] (PRIiLEAST64): Likewise.
22207         [C99-based-standards] (PRIoLEAST64): Likewise.
22208         [C99-based-standards] (PRIuLEAST64): Likewise.
22209         [C99-based-standards] (PRIxLEAST64): Likewise.
22210         [C99-based-standards] (PRIXLEAST64): Likewise.
22211         [C99-based-standards] (SCNdLEAST64): Likewise.
22212         [C99-based-standards] (SCNiLEAST64): Likewise.
22213         [C99-based-standards] (SCNoLEAST64): Likewise.
22214         [C99-based-standards] (SCNuLEAST64): Likewise.
22215         [C99-based-standards] (SCNxLEAST64): Likewise.
22216         [C99-based-standards] (PRIdFAST64): Likewise.
22217         [C99-based-standards] (PRIiFAST64): Likewise.
22218         [C99-based-standards] (PRIoFAST64): Likewise.
22219         [C99-based-standards] (PRIuFAST64): Likewise.
22220         [C99-based-standards] (PRIxFAST64): Likewise.
22221         [C99-based-standards] (PRIXFAST64): Likewise.
22222         [C99-based-standards] (SCNdFAST64): Likewise.
22223         [C99-based-standards] (SCNiFAST64): Likewise.
22224         [C99-based-standards] (SCNoFAST64): Likewise.
22225         [C99-based-standards] (SCNuFAST64): Likewise.
22226         [C99-based-standards] (SCNxFAST64): Likewise.
22227         [C99-based-standards] (PRIdMAX): Likewise.
22228         [C99-based-standards] (PRIiMAX): Likewise.
22229         [C99-based-standards] (PRIoMAX): Likewise.
22230         [C99-based-standards] (PRIuMAX): Likewise.
22231         [C99-based-standards] (PRIxMAX): Likewise.
22232         [C99-based-standards] (PRIXMAX): Likewise.
22233         [C99-based-standards] (SCNdMAX): Likewise.
22234         [C99-based-standards] (SCNiMAX): Likewise.
22235         [C99-based-standards] (SCNoMAX): Likewise.
22236         [C99-based-standards] (SCNuMAX): Likewise.
22237         [C99-based-standards] (SCNxMAX): Likewise.
22238         [C99-based-standards] (PRIdPTR): Likewise.
22239         [C99-based-standards] (PRIiPTR): Likewise.
22240         [C99-based-standards] (PRIoPTR): Likewise.
22241         [C99-based-standards] (PRIuPTR): Likewise.
22242         [C99-based-standards] (PRIxPTR): Likewise.
22243         [C99-based-standards] (PRIXPTR): Likewise.
22244         [C99-based-standards] (SCNdPTR): Likewise.
22245         [C99-based-standards] (SCNiPTR): Likewise.
22246         [C99-based-standards] (SCNoPTR): Likewise.
22247         [C99-based-standards] (SCNuPTR): Likewise.
22248         [C99-based-standards] (SCNxPTR): Likewise.
22249         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22250         allow.
22251         * conform/data/stdint.h-data: Update comments to clarify
22252         requirements.
22253         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
22254         type.
22255         [C99-based standards] (INT8_MAX): Likewise.
22256         [C99-based standards] (INT16_MIN): Likewise.
22257         [C99-based standards] (INT16_MAX): Likewise.
22258         [C99-based standards] (INT32_MIN): Likewise.
22259         [C99-based standards] (INT32_MAX): Likewise.
22260         [C99-based standards] (INT64_MIN): Likewise.
22261         [C99-based standards] (INT64_MAX): Likewise.
22262         [C99-based standards] (UINT8_MAX): Likewise.
22263         [C99-based standards] (UINT16_MAX): Likewise.
22264         [C99-based standards] (UINT32_MAX): Likewise.
22265         [C99-based standards] (UINT64_MAX): Likewise.
22266         [C99-based standards] (INT_LEAST8_MIN): Likewise.
22267         [C99-based standards] (INT_LEAST8_MAX): Likewise.
22268         [C99-based standards] (INT_LEAST16_MIN): Likewise.
22269         [C99-based standards] (INT_LEAST16_MAX): Likewise.
22270         [C99-based standards] (INT_LEAST32_MIN): Likewise.
22271         [C99-based standards] (INT_LEAST32_MAX): Likewise.
22272         [C99-based standards] (INT_LEAST64_MIN): Likewise.
22273         [C99-based standards] (INT_LEAST64_MAX): Likewise.
22274         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22275         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22276         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22277         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22278         [C99-based standards] (INT_FAST8_MIN): Likewise.
22279         [C99-based standards] (INT_FAST8_MAX): Likewise.
22280         [C99-based standards] (INT_FAST16_MIN): Likewise.
22281         [C99-based standards] (INT_FAST16_MAX): Likewise.
22282         [C99-based standards] (INT_FAST32_MIN): Likewise.
22283         [C99-based standards] (INT_FAST32_MAX): Likewise.
22284         [C99-based standards] (INT_FAST64_MIN): Likewise.
22285         [C99-based standards] (INT_FAST64_MAX): Likewise.
22286         [C99-based standards] (UINT_FAST8_MAX): Likewise.
22287         [C99-based standards] (UINT_FAST16_MAX): Likewise.
22288         [C99-based standards] (UINT_FAST32_MAX): Likewise.
22289         [C99-based standards] (UINT_FAST64_MAX): Likewise.
22290         [C99-based standards] (INTPTR_MIN): Likewise.
22291         [C99-based standards] (INTPTR_MAX): Likewise.
22292         [C99-based standards] (UINTPTR_MAX): Likewise.
22293         [C99-based standards] (INTMAX_MIN): Likewise.
22294         [C99-based standards] (INTMAX_MAX): Likewise.
22295         [C99-based standards] (UINTMAX_MAX): Likewise.
22296         [C99-based standards] (PTRDIFF_MIN): Likewise.
22297         [C99-based standards] (PTRDIFF_MAX): Likewise.
22298         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22299         [C99-based standards] (SIZE_MAX): Likewise.
22300         [C99-based standards] (WCHAR_MAX): Likewise.
22301         [C99-based standards] (WINT_MAX): Likewise.
22302         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
22303         constraint on value.
22304         [C99-based standards] (WCHAR_MIN): Likewise.
22305         [C99-based standards] (WINT_MIN): Likewise.
22306         [C99-based standards] (*_t): Allow.
22307         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22308         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22309         Include math.h-data and complex.h-data.  Remove all expectations
22310         of math.h and complex.h contents.
22311         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22312         at end of line.
22313         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22314         (struct tm): Expect tag.
22315         [C99-based-standards] (wcstof): Expect function.
22316         [C99-based-standards] (wcstold): Likewise.
22317         [C99-based-standards] (wcstoll): Likewise.
22318         [C99-based-standards] (wcstoull): Likewise.
22319         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22320         macro-int-constant.  Specify type.
22321         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
22322         constraint on value.
22323         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22324         Specify type.
22325         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22326         Specify value.
22327         [ISO C standards]: Do not allow headers.
22328         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22329         wcs[abcdefghijklmnopqrstuvwxyz]*.
22330         [ISO C standards] (*_t): Do not allow.
22331         * conform/data/wctype.h-data [C99-based standards] (iswblank):
22332         Expect function.
22333         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22334         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22335         Specify type.
22336         [ISO C standards]: Do not allow headers.
22337         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22338         is[abcdefghijklmnopqrstuvwxyz]*.
22339         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22340         to[abcdefghijklmnopqrstuvwxyz]*.
22341         [ISO C standards] (*_t): Do not allow.
22342         * conform/data/stdalign.h-data: New file.
22343         * conform/data/stdbool.h-data: Likewise.
22344         * conform/data/stdnoreturn.h-data: Likewise.
22346 2012-11-07  Roland McGrath  <roland@hack.frob.com>
22348         [BZ #14815]
22349         * manual/filesys.texi (Directory Entries): Typo fix.
22350         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22352 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22354         * elf/elf.h (EM_AARCH64): New macro.
22355         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22356         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22357         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22358         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22359         (R_AARCH64_TLSDESC): Likewise.
22360         (NT_ARM_TLS): Likewise.
22361         (NT_ARM_HW_BREAK): Likewise.
22362         (NT_ARM_HW_WATCH): Likewise.
22364 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22366         [BZ #14811]
22367         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22368         (__ieee754_powl): Saturate nonzero exponents with absolute value
22369         below 0x1p-79 to +/- 0x1p-79.
22370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22371         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22372         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22373         nonzero exponents with absolute value below 0x1p-32 to +/-
22374         0x1p-32.
22375         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22376         (__ieee754_powl): Saturate nonzero exponents with absolute value
22377         below 0x1p-79 to +/- 0x1p-79.
22378         * math/libm-test.inc (pow_test): Add more tests.
22380 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22382         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22383         _dl_s390_cap_flags with kernel. Increase string length.
22384         (_dl_s390_platforms): Add z196 and zEC12.
22386 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22388         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22389         Change XOPEN21K to XOPEN2K.
22391 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
22393         * string/memmove.c: Use memcpy when possible.
22395 2012-11-06  Andreas Jaeger  <aj@suse.de>
22397         * po/eo.po: Update from translation team.
22399 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
22401         [BZ #14793]
22402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22403         exponent and small x and y exponents, scale x or y up.  Increase
22404         by 2 the exponent used in scaling up.
22405         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22406         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22407         * math/libm-test.inc (fma_test): Add more tests.
22408         (fma_test_towardzero): Likewise.
22409         (fma_test_downward): Likewise.
22410         (fma_test_upward): Likewise.
22412 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
22414         [BZ #14805]
22415         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22416         fenv_t *.
22418         [BZ #14801]
22419         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22420         namespace for names of struct fields.
22421         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22422         fenv_t fields.
22423         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22424         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22426 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22428         [BZ #3665]
22429         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22431 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22433         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22434         PTR_DEMANGLE.
22436         [BZ #5246]
22437         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22438         PTR_DEMANGLE.
22440 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
22442         [BZ #14797]
22443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22444         definitely overflow as x * y not x * y + z.
22445         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22446         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22447         * math/libm-test.inc (fma_test): Add more tests.
22448         (fma_test_towardzero): Likewise.
22449         (fma_test_downward): Likewise.
22450         (fma_test_upward): Likewise.
22452 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22454         [BZ #157]
22456         * include/stub-tag.h: Remove file.
22457         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22458         '#include' of it.
22459         * manual/maint.texi (Porting): Don't reference it.
22460         * Makerules ($(objpfx)stubs): Likewise.
22461         * dirent/closedir.c: Don't include <stub-tag.h>.
22462         * dirent/dirfd.c: Likewise.
22463         * dirent/fdopendir.c: Likewise.
22464         * dirent/getdents.c: Likewise.
22465         * dirent/getdents64.c: Likewise.
22466         * dirent/opendir.c: Likewise.
22467         * dirent/readdir.c: Likewise.
22468         * dirent/readdir64.c: Likewise.
22469         * dirent/readdir64_r.c: Likewise.
22470         * dirent/readdir_r.c: Likewise.
22471         * dirent/rewinddir.c: Likewise.
22472         * dirent/seekdir.c: Likewise.
22473         * dirent/telldir.c: Likewise.
22474         * gmon/profil.c: Likewise.
22475         * grp/setgroups.c: Likewise.
22476         * inet/if_index.c: Likewise.
22477         * io/access.c: Likewise.
22478         * io/chdir.c: Likewise.
22479         * io/chmod.c: Likewise.
22480         * io/chown.c: Likewise.
22481         * io/close.c: Likewise.
22482         * io/dup.c: Likewise.
22483         * io/dup2.c: Likewise.
22484         * io/dup3.c: Likewise.
22485         * io/euidaccess.c: Likewise.
22486         * io/faccessat.c: Likewise.
22487         * io/fchdir.c: Likewise.
22488         * io/fchmod.c: Likewise.
22489         * io/fchmodat.c: Likewise.
22490         * io/fchown.c: Likewise.
22491         * io/fchownat.c: Likewise.
22492         * io/fcntl.c: Likewise.
22493         * io/flock.c: Likewise.
22494         * io/fstatfs.c: Likewise.
22495         * io/fstatfs64.c: Likewise.
22496         * io/fstatvfs.c: Likewise.
22497         * io/fstatvfs64.c: Likewise.
22498         * io/futimens.c: Likewise.
22499         * io/fxstat.c: Likewise.
22500         * io/fxstat64.c: Likewise.
22501         * io/fxstatat.c: Likewise.
22502         * io/fxstatat64.c: Likewise.
22503         * io/getcwd.c: Likewise.
22504         * io/isatty.c: Likewise.
22505         * io/lchmod.c: Likewise.
22506         * io/lchown.c: Likewise.
22507         * io/link.c: Likewise.
22508         * io/linkat.c: Likewise.
22509         * io/lseek.c: Likewise.
22510         * io/lseek64.c: Likewise.
22511         * io/lxstat64.c: Likewise.
22512         * io/mkdir.c: Likewise.
22513         * io/mkdirat.c: Likewise.
22514         * io/mkfifo.c: Likewise.
22515         * io/mkfifoat.c: Likewise.
22516         * io/open.c: Likewise.
22517         * io/open64.c: Likewise.
22518         * io/openat.c: Likewise.
22519         * io/openat64.c: Likewise.
22520         * io/pipe.c: Likewise.
22521         * io/pipe2.c: Likewise.
22522         * io/poll.c: Likewise.
22523         * io/posix_fadvise.c: Likewise.
22524         * io/posix_fadvise64.c: Likewise.
22525         * io/posix_fallocate.c: Likewise.
22526         * io/posix_fallocate64.c: Likewise.
22527         * io/read.c: Likewise.
22528         * io/readlink.c: Likewise.
22529         * io/readlinkat.c: Likewise.
22530         * io/rmdir.c: Likewise.
22531         * io/sendfile.c: Likewise.
22532         * io/sendfile64.c: Likewise.
22533         * io/statfs.c: Likewise.
22534         * io/statfs64.c: Likewise.
22535         * io/statvfs.c: Likewise.
22536         * io/statvfs64.c: Likewise.
22537         * io/symlink.c: Likewise.
22538         * io/symlinkat.c: Likewise.
22539         * io/ttyname.c: Likewise.
22540         * io/ttyname_r.c: Likewise.
22541         * io/umask.c: Likewise.
22542         * io/unlink.c: Likewise.
22543         * io/unlinkat.c: Likewise.
22544         * io/utime.c: Likewise.
22545         * io/utimensat.c: Likewise.
22546         * io/write.c: Likewise.
22547         * io/xmknod.c: Likewise.
22548         * io/xmknodat.c: Likewise.
22549         * io/xstat.c: Likewise.
22550         * io/xstat64.c: Likewise.
22551         * login/getpt.c: Likewise.
22552         * login/grantpt.c: Likewise.
22553         * login/unlockpt.c: Likewise.
22554         * math/e_acoshl.c: Likewise.
22555         * math/e_acosl.c: Likewise.
22556         * math/e_asinl.c: Likewise.
22557         * math/e_atan2l.c: Likewise.
22558         * math/e_atanhl.c: Likewise.
22559         * math/e_coshl.c: Likewise.
22560         * math/e_expl.c: Likewise.
22561         * math/e_fmodl.c: Likewise.
22562         * math/e_gammal_r.c: Likewise.
22563         * math/e_hypotl.c: Likewise.
22564         * math/e_j0l.c: Likewise.
22565         * math/e_j1l.c: Likewise.
22566         * math/e_jnl.c: Likewise.
22567         * math/e_lgammal_r.c: Likewise.
22568         * math/e_log10l.c: Likewise.
22569         * math/e_log2l.c: Likewise.
22570         * math/e_logl.c: Likewise.
22571         * math/e_powl.c: Likewise.
22572         * math/e_rem_pio2l.c: Likewise.
22573         * math/e_sinhl.c: Likewise.
22574         * math/e_sqrtl.c: Likewise.
22575         * math/fclrexcpt.c: Likewise.
22576         * math/fedisblxcpt.c: Likewise.
22577         * math/feenablxcpt.c: Likewise.
22578         * math/fegetenv.c: Likewise.
22579         * math/fegetexcept.c: Likewise.
22580         * math/fegetround.c: Likewise.
22581         * math/feholdexcpt.c: Likewise.
22582         * math/fesetenv.c: Likewise.
22583         * math/fesetround.c: Likewise.
22584         * math/feupdateenv.c: Likewise.
22585         * math/fgetexcptflg.c: Likewise.
22586         * math/fraiseexcpt.c: Likewise.
22587         * math/fsetexcptflg.c: Likewise.
22588         * math/ftestexcept.c: Likewise.
22589         * math/k_cosl.c: Likewise.
22590         * math/k_rem_pio2l.c: Likewise.
22591         * math/k_sinl.c: Likewise.
22592         * math/k_tanl.c: Likewise.
22593         * math/s_asinhl.c: Likewise.
22594         * math/s_atanl.c: Likewise.
22595         * math/s_cbrtl.c: Likewise.
22596         * math/s_erfl.c: Likewise.
22597         * math/s_expm1l.c: Likewise.
22598         * math/s_log1pl.c: Likewise.
22599         * math/s_tanhl.c: Likewise.
22600         * misc/acct.c: Likewise.
22601         * misc/brk.c: Likewise.
22602         * misc/chflags.c: Likewise.
22603         * misc/chroot.c: Likewise.
22604         * misc/fchflags.c: Likewise.
22605         * misc/fgetxattr.c: Likewise.
22606         * misc/flistxattr.c: Likewise.
22607         * misc/fremovexattr.c: Likewise.
22608         * misc/fsetxattr.c: Likewise.
22609         * misc/fsync.c: Likewise.
22610         * misc/ftruncate.c: Likewise.
22611         * misc/futimes.c: Likewise.
22612         * misc/futimesat.c: Likewise.
22613         * misc/getdomain.c: Likewise.
22614         * misc/getdtsz.c: Likewise.
22615         * misc/gethostid.c: Likewise.
22616         * misc/gethostname.c: Likewise.
22617         * misc/getloadavg.c: Likewise.
22618         * misc/getpagesize.c: Likewise.
22619         * misc/getsysstats.c: Likewise.
22620         * misc/getxattr.c: Likewise.
22621         * misc/gtty.c: Likewise.
22622         * misc/ioctl.c: Likewise.
22623         * misc/lgetxattr.c: Likewise.
22624         * misc/listxattr.c: Likewise.
22625         * misc/llistxattr.c: Likewise.
22626         * misc/lremovexattr.c: Likewise.
22627         * misc/lsetxattr.c: Likewise.
22628         * misc/lutimes.c: Likewise.
22629         * misc/madvise.c: Likewise.
22630         * misc/mincore.c: Likewise.
22631         * misc/mlock.c: Likewise.
22632         * misc/mlockall.c: Likewise.
22633         * misc/mmap.c: Likewise.
22634         * misc/mprotect.c: Likewise.
22635         * misc/msync.c: Likewise.
22636         * misc/munlock.c: Likewise.
22637         * misc/munlockall.c: Likewise.
22638         * misc/munmap.c: Likewise.
22639         * misc/preadv.c: Likewise.
22640         * misc/preadv64.c: Likewise.
22641         * misc/ptrace.c: Likewise.
22642         * misc/pwritev.c: Likewise.
22643         * misc/pwritev64.c: Likewise.
22644         * misc/readv.c: Likewise.
22645         * misc/reboot.c: Likewise.
22646         * misc/remap_file_pages.c: Likewise.
22647         * misc/removexattr.c: Likewise.
22648         * misc/revoke.c: Likewise.
22649         * misc/select.c: Likewise.
22650         * misc/setdomain.c: Likewise.
22651         * misc/setegid.c: Likewise.
22652         * misc/seteuid.c: Likewise.
22653         * misc/sethostid.c: Likewise.
22654         * misc/sethostname.c: Likewise.
22655         * misc/setregid.c: Likewise.
22656         * misc/setreuid.c: Likewise.
22657         * misc/setxattr.c: Likewise.
22658         * misc/sstk.c: Likewise.
22659         * misc/stty.c: Likewise.
22660         * misc/swapoff.c: Likewise.
22661         * misc/swapon.c: Likewise.
22662         * misc/sync.c: Likewise.
22663         * misc/syncfs.c: Likewise.
22664         * misc/syscall.c: Likewise.
22665         * misc/truncate.c: Likewise.
22666         * misc/ualarm.c: Likewise.
22667         * misc/usleep.c: Likewise.
22668         * misc/ustat.c: Likewise.
22669         * misc/utimes.c: Likewise.
22670         * misc/vhangup.c: Likewise.
22671         * misc/writev.c: Likewise.
22672         * posix/_exit.c: Likewise.
22673         * posix/alarm.c: Likewise.
22674         * posix/execve.c: Likewise.
22675         * posix/fexecve.c: Likewise.
22676         * posix/fork.c: Likewise.
22677         * posix/fpathconf.c: Likewise.
22678         * posix/getaddrinfo.c: Likewise.
22679         * posix/getegid.c: Likewise.
22680         * posix/geteuid.c: Likewise.
22681         * posix/getgid.c: Likewise.
22682         * posix/getgroups.c: Likewise.
22683         * posix/getlogin.c: Likewise.
22684         * posix/getlogin_r.c: Likewise.
22685         * posix/getpgid.c: Likewise.
22686         * posix/getpid.c: Likewise.
22687         * posix/getppid.c: Likewise.
22688         * posix/getresgid.c: Likewise.
22689         * posix/getresuid.c: Likewise.
22690         * posix/getsid.c: Likewise.
22691         * posix/getuid.c: Likewise.
22692         * posix/glob64.c: Likewise.
22693         * posix/nanosleep.c: Likewise.
22694         * posix/pathconf.c: Likewise.
22695         * posix/pause.c: Likewise.
22696         * posix/posix_madvise.c: Likewise.
22697         * posix/pread.c: Likewise.
22698         * posix/pread64.c: Likewise.
22699         * posix/pwrite.c: Likewise.
22700         * posix/pwrite64.c: Likewise.
22701         * posix/sched_getaffinity.c: Likewise.
22702         * posix/sched_getp.c: Likewise.
22703         * posix/sched_gets.c: Likewise.
22704         * posix/sched_primax.c: Likewise.
22705         * posix/sched_primin.c: Likewise.
22706         * posix/sched_rr_gi.c: Likewise.
22707         * posix/sched_setaffinity.c: Likewise.
22708         * posix/sched_setp.c: Likewise.
22709         * posix/sched_sets.c: Likewise.
22710         * posix/sched_yield.c: Likewise.
22711         * posix/setgid.c: Likewise.
22712         * posix/setlogin.c: Likewise.
22713         * posix/setpgid.c: Likewise.
22714         * posix/setresgid.c: Likewise.
22715         * posix/setresuid.c: Likewise.
22716         * posix/setsid.c: Likewise.
22717         * posix/setuid.c: Likewise.
22718         * posix/sleep.c: Likewise.
22719         * posix/spawni.c: Likewise.
22720         * posix/sysconf.c: Likewise.
22721         * posix/times.c: Likewise.
22722         * posix/wait.c: Likewise.
22723         * posix/wait3.c: Likewise.
22724         * posix/wait4.c: Likewise.
22725         * posix/waitpid.c: Likewise.
22726         * resolv/gai_sigqueue.c: Likewise.
22727         * resource/getpriority.c: Likewise.
22728         * resource/getrlimit.c: Likewise.
22729         * resource/getrusage.c: Likewise.
22730         * resource/nice.c: Likewise.
22731         * resource/setpriority.c: Likewise.
22732         * resource/setrlimit.c: Likewise.
22733         * resource/ulimit.c: Likewise.
22734         * rt/aio_cancel.c: Likewise.
22735         * rt/aio_fsync.c: Likewise.
22736         * rt/aio_read.c: Likewise.
22737         * rt/aio_sigqueue.c: Likewise.
22738         * rt/aio_suspend.c: Likewise.
22739         * rt/aio_write.c: Likewise.
22740         * rt/clock_getres.c: Likewise.
22741         * rt/clock_gettime.c: Likewise.
22742         * rt/clock_nanosleep.c: Likewise.
22743         * rt/clock_settime.c: Likewise.
22744         * rt/lio_listio.c: Likewise.
22745         * rt/mq_close.c: Likewise.
22746         * rt/mq_getattr.c: Likewise.
22747         * rt/mq_notify.c: Likewise.
22748         * rt/mq_open.c: Likewise.
22749         * rt/mq_receive.c: Likewise.
22750         * rt/mq_send.c: Likewise.
22751         * rt/mq_setattr.c: Likewise.
22752         * rt/mq_timedreceive.c: Likewise.
22753         * rt/mq_timedsend.c: Likewise.
22754         * rt/mq_unlink.c: Likewise.
22755         * rt/shm_open.c: Likewise.
22756         * rt/shm_unlink.c: Likewise.
22757         * rt/timer_create.c: Likewise.
22758         * rt/timer_delete.c: Likewise.
22759         * rt/timer_getoverr.c: Likewise.
22760         * rt/timer_gettime.c: Likewise.
22761         * rt/timer_settime.c: Likewise.
22762         * setjmp/__longjmp.c: Likewise.
22763         * setjmp/setjmp.c: Likewise.
22764         * signal/kill.c: Likewise.
22765         * signal/killpg.c: Likewise.
22766         * signal/raise.c: Likewise.
22767         * signal/sigaction.c: Likewise.
22768         * signal/sigaltstack.c: Likewise.
22769         * signal/sigblock.c: Likewise.
22770         * signal/sigignore.c: Likewise.
22771         * signal/sigintr.c: Likewise.
22772         * signal/signal.c: Likewise.
22773         * signal/sigpause.c: Likewise.
22774         * signal/sigpending.c: Likewise.
22775         * signal/sigqueue.c: Likewise.
22776         * signal/sigreturn.c: Likewise.
22777         * signal/sigset.c: Likewise.
22778         * signal/sigsetmask.c: Likewise.
22779         * signal/sigstack.c: Likewise.
22780         * signal/sigsuspend.c: Likewise.
22781         * signal/sigtimedwait.c: Likewise.
22782         * signal/sigvec.c: Likewise.
22783         * signal/sigwait.c: Likewise.
22784         * signal/sigwaitinfo.c: Likewise.
22785         * signal/sysv_signal.c: Likewise.
22786         * socket/accept.c: Likewise.
22787         * socket/accept4.c: Likewise.
22788         * socket/bind.c: Likewise.
22789         * socket/connect.c: Likewise.
22790         * socket/getpeername.c: Likewise.
22791         * socket/getsockname.c: Likewise.
22792         * socket/getsockopt.c: Likewise.
22793         * socket/isfdtype.c: Likewise.
22794         * socket/listen.c: Likewise.
22795         * socket/recv.c: Likewise.
22796         * socket/recvfrom.c: Likewise.
22797         * socket/recvmsg.c: Likewise.
22798         * socket/send.c: Likewise.
22799         * socket/sendmsg.c: Likewise.
22800         * socket/sendto.c: Likewise.
22801         * socket/setsockopt.c: Likewise.
22802         * socket/shutdown.c: Likewise.
22803         * socket/sockatmark.c: Likewise.
22804         * socket/socket.c: Likewise.
22805         * socket/socketpair.c: Likewise.
22806         * stdio-common/ctermid.c: Likewise.
22807         * stdio-common/cuserid.c: Likewise.
22808         * stdio-common/remove.c: Likewise.
22809         * stdio-common/rename.c: Likewise.
22810         * stdio-common/renameat.c: Likewise.
22811         * stdio-common/tempname.c: Likewise.
22812         * stdlib/getcontext.c: Likewise.
22813         * stdlib/makecontext.c: Likewise.
22814         * stdlib/setcontext.c: Likewise.
22815         * stdlib/swapcontext.c: Likewise.
22816         * stdlib/system.c: Likewise.
22817         * streams/fattach.c: Likewise.
22818         * streams/fdetach.c: Likewise.
22819         * streams/getmsg.c: Likewise.
22820         * streams/getpmsg.c: Likewise.
22821         * streams/putmsg.c: Likewise.
22822         * streams/putpmsg.c: Likewise.
22823         * sysdeps/unix/bsd/getpt.c: Likewise.
22824         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22825         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22826         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22828         Likewise.
22829         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22830         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22831         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22832         * sysvipc/msgctl.c: Likewise.
22833         * sysvipc/msgget.c: Likewise.
22834         * sysvipc/msgrcv.c: Likewise.
22835         * sysvipc/msgsnd.c: Likewise.
22836         * sysvipc/semctl.c: Likewise.
22837         * sysvipc/semget.c: Likewise.
22838         * sysvipc/semop.c: Likewise.
22839         * sysvipc/semtimedop.c: Likewise.
22840         * sysvipc/shmat.c: Likewise.
22841         * sysvipc/shmctl.c: Likewise.
22842         * sysvipc/shmdt.c: Likewise.
22843         * sysvipc/shmget.c: Likewise.
22844         * termios/tcdrain.c: Likewise.
22845         * termios/tcflow.c: Likewise.
22846         * termios/tcflush.c: Likewise.
22847         * termios/tcgetattr.c: Likewise.
22848         * termios/tcgetpgrp.c: Likewise.
22849         * termios/tcsendbrk.c: Likewise.
22850         * termios/tcsetattr.c: Likewise.
22851         * termios/tcsetpgrp.c: Likewise.
22852         * time/adjtime.c: Likewise.
22853         * time/clock.c: Likewise.
22854         * time/getitimer.c: Likewise.
22855         * time/gettimeofday.c: Likewise.
22856         * time/setitimer.c: Likewise.
22857         * time/settimeofday.c: Likewise.
22858         * time/stime.c: Likewise.
22859         * time/time.c: Likewise.
22861 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
22863         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22864         /usr/old/bin.
22866         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22867         instead of spaces.
22868         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22870 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
22872         [BZ #14796]
22873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22874         FE_TONEAREST before applying Dekker multiplication and Knuth
22875         addition.  Clear inexact exceptions and check for exact zero
22876         results afterwards.
22877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22878         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22880         * math/libm-test.inc (fma_test): Add more tests.
22881         (fma_test_towardzero): Likewise.
22882         (fma_test_downward): Likewise.
22883         (fma_test_upward): Likewise.
22884         * sysdeps/generic/math_private.h (default_libc_fesetround): New
22885         function.
22886         (libc_fesetround): New macro.
22887         (libc_fesetroundf): Likewise.
22888         (libc_fesetroundl): Likewise.
22889         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22890         function.
22891         (libc_fesetround_387): Likewise.
22892         (libc_fesetroundf): New macro.
22893         (libc_fesetround): Likewise.
22894         (libc_fesetroundl): Likewise.
22895         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22896         function.
22897         (libc_fesetroundf): New macro.
22898         (libc_fesetround): Likewise.
22899         (libc_fesetroundl): Likewise.
22900         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22901         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22902         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22903         libm_hidden_ver.
22904         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22905         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22906         libm_hidden_def.
22907         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22908         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22909         libm_hidden_ver.
22910         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22911         libm_hidden_def.
22913         [BZ #3439]
22914         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22915         integer constant usable in #if and use that to give value to enum
22916         constant.
22917         (FE_DIVBYZERO): Likewise.
22918         (FE_UNDERFLOW): Likewise.
22919         (FE_OVERFLOW): Likewise.
22920         (FE_INVALID): Likewise.
22921         (FE_INVALID_SNAN): Likewise.
22922         (FE_INVALID_ISI): Likewise.
22923         (FE_INVALID_IDI): Likewise.
22924         (FE_INVALID_ZDZ): Likewise.
22925         (FE_INVALID_IMZ): Likewise.
22926         (FE_INVALID_COMPARE): Likewise.
22927         (FE_INVALID_SOFTWARE): Likewise.
22928         (FE_INVALID_SQRT): Likewise.
22929         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22930         (FE_TONEAREST): Likewise.
22931         (FE_TOWARDZERO): Likewise.
22932         (FE_UPWARD): Likewise.
22933         (FE_DOWNWARD): Likewise.
22934         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22935         (FE_DIVBYZERO): Likewise.
22936         (FE_OVERFLOW): Likewise.
22937         (FE_UNDERFLOW): Likewise.
22938         (FE_INEXACT): Likewise.
22939         (FE_TONEAREST): Likewise.
22940         (FE_DOWNWARD): Likewise.
22941         (FE_UPWARD): Likewise.
22942         (FE_TOWARDZERO): Likewise.
22943         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22944         (FE_UNDERFLOW): Likewise.
22945         (FE_OVERFLOW): Likewise.
22946         (FE_DIVBYZERO): Likewise.
22947         (FE_INVALID): Likewise.
22948         (FE_TONEAREST): Likewise.
22949         (FE_TOWARDZERO): Likewise.
22950         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22951         (FE_OVERFLOW): Likewise.
22952         (FE_UNDERFLOW): Likewise.
22953         (FE_DIVBYZERO): Likewise.
22954         (FE_INEXACT): Likewise.
22955         (FE_TONEAREST): Likewise.
22956         (FE_TOWARDZERO): Likewise.
22957         (FE_UPWARD): Likewise.
22958         (FE_DOWNWARD): Likewise.
22959         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22960         (FE_DIVBYZERO): Likewise.
22961         (FE_OVERFLOW): Likewise.
22962         (FE_UNDERFLOW): Likewise.
22963         (FE_INEXACT): Likewise.
22964         (FE_TONEAREST): Likewise.
22965         (FE_DOWNWARD): Likewise.
22966         (FE_UPWARD): Likewise.
22967         (FE_TOWARDZERO): Likewise.
22969 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22971         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22973 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22975         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22976         commands.  Quote $PWD.
22977         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22978         -x" by "export".
22979         (remove_newlines): Remove.
22981 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22983         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22984         * stdlib/stdlib.h (atof): Moved to ...
22985         * include/bits/stdlib-float.h: Here.  New file.
22986         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22987         * stdlib/bits/stdlib-float.h: New file.
22988         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22989         -mno-sse -mno-mmx.
22990         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22991         <xmmintrin.h>.
22993 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22995         * conform/conformtest.pl (@headers): Add fenv.h.
22996         * conform/data/fenv.h-data: New file.
22997         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22998         include of <math/fenv.h>.
23000         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23001         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23002         && !UNIX98].  Enables tests for XOPEN2K8.
23003         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23004         POSIX2008]: Likewise.
23006         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23007         (struct rusage): Do not expect type or its members.
23009         [BZ #3439]
23010         * math/math.h (FP_NAN): Define macro to integer constant usable in
23011         #if and use that to give value to enum constant.
23012         (FP_INFINITE): Likewise.
23013         (FP_ZERO): Likewise.
23014         (FP_SUBNORMAL): Likewise.
23015         (FP_NORMAL): Likewise.
23017 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23019         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23020         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23021         arguments.
23023 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23025         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23026         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23027         autoconf-time if not.
23028         * configure.in: Remove AC_PREREQ.
23030 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23032         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23033         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23034         of the internal implementation.
23036 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23038         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23039         except include of <misc/sys/syslog.h>.
23041 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23044         function returns with a NULL context exit with zero.
23046 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23048         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23050 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23052         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23053         (run_program_cmd): This.
23054         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23055         (tst_langinfo): New variable.  Use it.
23057 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23059         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23060         floating point opcodes.
23062 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23064         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23065         variable.
23067         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23069         * sysdeps/mach/hurd/powerpc: Remove directory.
23070         * sysdeps/mach/powerpc: Likewise.
23072 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23074         * scripts/check-local-headers.sh: Ignore c++ headers.
23076 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23078         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23079         __libc_cleanup_region_start argument.
23081 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23083         [BZ #14784]
23084         [BZ #14785]
23085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23086         x * y using scaling, not as x * y + z.
23087         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23088         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23089         * math/libm-test.inc (fma_test): Add more tests.
23090         (fma_test_towardzero): Likewise.
23091         (fma_test_downward): Likewise.
23092         (fma_test_upward): Likewise.
23094 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23096         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23098 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23100         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23101         New variable.
23103 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23105         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23107 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23110         Fix sort order.
23111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23112         Likewise.
23114 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23117         Fix the order of the list for glibc 2.17.
23118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23119         Likewise.
23121 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23125 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23127         [BZ #14610]
23128         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23129         for low part of x being zero before using __atanl (y).
23130         * math/libm-test.inc (atan2_test): Add another test.
23132         * manual/install.texi (Configuring and compiling): Document
23133         general use of test-wrapper and test-wrapper-env.
23134         * INSTALL: Regenerated.
23136         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23137         (__fma): Do not extract and scale down low bits on after-rounding
23138         systems when result rounded to normal precision would have normal
23139         exponent.
23140         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23141         (__fmal): Do not extract and scale down low bits on after-rounding
23142         systems when result rounded to normal precision would have normal
23143         exponent.
23144         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23145         (__fmal): Do not extract and scale down low bits on after-rounding
23146         systems when result rounded to normal precision would have normal
23147         exponent.
23148         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23149         macro.
23150         (fma_test): Add more tests.
23151         (fma_test_towardzero): Likewise.
23152         (fma_test_downward): Likewise.
23153         (fma_test_upward): Likewise.
23155 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23157         * sysdeps/i386/tininess.h: Renamed to ...
23158         * sysdeps/x86/tininess.h: This.
23159         * sysdeps/x86_64/tininess.h: Removed.
23161 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23163         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23164         input.  Use $(build-program-cmd).
23165         ($(objpfx)tst-array1-static.out): Likewise.
23166         ($(objpfx)tst-array2.out): Likewise.
23167         ($(objpfx)tst-array3.out): Likewise.
23168         ($(objpfx)tst-array4.out): Likewise.
23169         ($(objpfx)tst-array5.out): Likewise.
23170         ($(objpfx)tst-array5-static.out): Likewise.
23172 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23174         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23175         if defined.
23177         * nss/nsswitch.h (nss_interface_function): Provide new
23178         macro for use with NSS functions.
23179         * grp/initgroups.c: Use new macro.
23180         * nss/getXXbyYY.c: Likewise.
23181         * nss/getXXbyYY_r.c: Likewise.
23182         * nss/getXXent.c: Likewise.
23183         * nss/getXXent_r.c: Likewise.
23184         * sysdeps/posix/getaddrinfo.c: Likewise.
23186 2012-10-30  Andreas Jaeger  <aj@suse.de>
23188         * po/ru.po: Update Russion translation from translation project.
23190 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23192         [BZ #14152]
23193         [BZ #14783]
23194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23195         result and shift together with sticky bit instead of replicating
23196         round-to-nearest rounding.
23197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23199         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23200         missing underflow exceptions.
23201         (fma_test_towardzero): Add more tests.
23202         (fma_test_downward): Likewise.
23203         (fma_test_upward): Likewise.
23205         [BZ #14047]
23206         * sysdeps/generic/tininess.h: New file.
23207         * sysdeps/i386/tininess.h: Likewise.
23208         * sysdeps/sh/tininess.h: Likewise.
23209         * sysdeps/x86_64/tininess.h: Likewise.
23210         * stdlib/tst-strtod-underflow.c: Likewise.
23211         * stdlib/tst-tininess.c: Likewise.
23212         * stdlib/strtod_l.c: Include <tininess.h>.
23213         (round_and_return): Do not set errno for exact underflow cases.
23214         Force an underflow exception when setting errno for underflow.
23215         Determine underflow based on rounding to normal precision if
23216         TININESS_AFTER_ROUNDING.
23217         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23218         ERANGE for exact underflow cases.
23219         * stdlib/Makefile (tests): Add tst-tininess and
23220         tst-strtod-underflow.
23221         ($(objpfx)tst-tininess): Use $(link-libm).
23222         ($(objpfx)tst-strtod-underflow): Likewise.
23224 2012-10-30  Andreas Jaeger  <aj@suse.de>
23226         [BZ#14767]
23227         * elf/Makefile (tests): Remove conditional for have-initfini-array
23228         since this is now always required and the variable does not exist
23229         anymore.
23230         (tests-static): Likewise.
23231         (modules-names): Likewise.
23233         * po/eo.po: Add Esperanto translation from translation project.
23235         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23236         merged with constructor/destructor.
23237         (init_array): Likewise.
23238         * elf/tst-array2dep.c (fini_array): Likewise.
23239         (init_array): Likewise.
23241 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23243         * manual/message.texi: Delete @cartouche tags.
23245 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23247         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23248         EOPNOTSUPP.
23249         * sysdeps/mach/hurd/fsync.c: Likewise.
23251         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23252         [_POSIX_REALTIME_SIGNALS]: Change condition to
23253         [_POSIX_REALTIME_SIGNALS > 0].
23255 2012-10-27  Andreas Jaeger  <aj@suse.de>
23257         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23258         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23259         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23260         [__WORDSIZE != 64]: Likewise.
23262 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
23264         *  iconvdata/tst-table.sh: Remove ${SHELL}.
23265         *  iconvdata/tst-tables.sh: Likewise.
23267 2012-10-25  David S. Miller  <davem@davemloft.net>
23269         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23270         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23271         of strtoull.
23273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23274         ifunc-impl-list.c
23275         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23276         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23277         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23278         file.
23280 2012-10-25  Roland McGrath  <roland@hack.frob.com>
23282         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23283         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23284         __getdirentries.
23286 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23287             Jim Blandy  <jimb@codesourcery.com>
23289         * scripts/cross-test-ssh.sh: New file.
23290         * manual/install.texi (Configuring and compiling): Document use of
23291         cross-test-ssh.sh.
23292         * INSTALL: Regenerated.
23294 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
23296         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23297         EOPNOTSUPP.
23299 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23301         * Makeconfig (run-program-prefix): Fix comment.
23303 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23304             Jim Blandy  <jimb@codesourcery.com>
23306         * Makeconfig (test-wrapper): New variable,
23307         (test-wrapper-env): Likewise.
23308         [$(cross-compiling) = yes && $(test-wrapper) != ""]
23309         (run-built-tests): Define to yes.
23310         (run-program-prefix): Use $(test-wrapper).
23311         (built-program-cmd): Likewise.
23312         * Rules (make-test-out): Use $(test-wrapper-env) and
23313         $(host-built-program-cmd).
23314         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23315         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23316         tst-pathopt.sh.
23317         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23318         $(test-wrapper-env) to tst-rtld-load-self.sh.
23319         ($(objpfx)order2.out): Use $(test-wrapper).
23320         ($(objpfx)tst-initorder.out): Likewise.
23321         ($(objpfx)tst-initorder2.out): Likewise.
23322         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23323         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23324         (test_wrapper_env): New variable.  Use it to run ld.so.
23325         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23326         Use it to run ld.so.
23327         (test_wrapper_env): Likewise.
23328         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23329         $(test-wrapper) to run-iconv-test.sh.
23330         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23331         (ICONV): Use $test_wrapper.
23332         * posix/Makefile ($(objpfx)globtest.out): Pass
23333         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23334         globtest.sh, not $(run-program-prefix).
23335         * posix/globtest.sh (run_via_rtld_prefix): New variable.
23336         (test_wrapper): Likewise.
23337         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
23338         set together with run_via_rtld_prefix.
23339         (run_program_prefix): Define in terms of test_wrapper and
23340         run_via_rtld_prefix.
23342 2012-10-24  Roland McGrath  <roland@hack.frob.com>
23344         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23345         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23346         Targets removed.
23348         [BZ #14743]
23349         * include/time.h: Remove librt_hidden_proto (clock_gettime).
23350         Declare __clock_getres, __clock_gettime, __clock_settime,
23351         __clock_nanosleep, and __clock_getcpuclockid.
23352         * rt/clock_gettime.c: Define __clock_gettime as an alias.
23353         Remove librt_hidden_def (clock_gettime).
23354         * sysdeps/unix/clock_gettime.c: Likewise.
23355         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23356         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23357         * rt/clock_getres.c: Define __clock_getres as an alias.
23358         * sysdeps/posix/clock_getres.c: Likewise.
23359         * rt/clock_settime.c: Define __clock_settime as an alias.
23360         * sysdeps/unix/clock_settime.c: Likewise.
23361         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23362         * sysdeps/unix/clock_nanosleep.c: Likewise.
23363         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23364         * rt/clock-compat.c: New file.
23365         * rt/Makefile (librt-routines): Add clock-compat and move
23366         $(clock-routines) to ...
23367         (routines): ... here, new variable.
23368         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23369         Don't add get_clockfreq here.
23370         * rt/Versions (libc: GLIBC_2.17): New version set.
23371         Add clock_* symbols here.
23372         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
23373         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23374         (GLIBC_2.17): Add clock_* symbols.
23375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23377         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23379         Likewise.
23380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23381         Likewise.
23382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23386         * NEWS: Mention the move.
23388         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23389         Use __open, __read, __close rather than their public counterparts.
23390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23391         (__get_clockfreq_via_cpuinfo): Likewise.
23392         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23393         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23395         * config.h.in (HAVE_IFUNC): New #undef.
23396         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23397         was successful.
23398         * configure: Regenerated.
23400 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23402         * configure.in: Move READELF check to start of file.
23403         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23404         libc_cv_asm_gnu_indirect_function in the process.
23405         * configure: Regenerated.
23407 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23409         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23410         send the output to /dev/null.
23411         (libc_cv_cc_with_libunwind): Likewise.
23412         (libc_cv_as_noexecstack): Likewise.
23413         * configure: Regenerate.
23415 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23417         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23419         * posix/globtest.sh (TMPDIR): Do not set.
23420         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23421         (testout): Likewise.
23423 2012-10-24  Andreas Jaeger  <aj@suse.de>
23425         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23426         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23427         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23428         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23429         posix_fadvise64, posix_fallocate64.
23431         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23432         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23433         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23434         Likewise.
23435         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23436         Likewise.
23437         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23439         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23440         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23441         <bits/fcntl-linux.h>.
23442         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23444         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23445         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23446         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23447         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23448         [__WORDSIZE != 64]: Likewise.
23450 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23452         * Makeconfig (run-built-tests): New variable.
23453         * Rules [$(cross-compiling) = yes]: Change condition to
23454         [$(run-built-tests) = no].
23455         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23456         to [$(run-built-tests) = yes].
23457         * elf/Makefile [$(cross-compiling) = no]: Likewise
23458         * grp/Makefile [$(cross-compiling) = no]: Likewise.
23459         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23460         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23461         * intl/Makefile [$(cross-compiling) = no]: Likewise.
23462         * io/Makefile [$(cross-compiling) = no]: Likewise.
23463         * libio/Makefile [$(cross-compiling) = no]: Likewise.
23464         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23465         * misc/Makefile [$(cross-compiling) = no]: Likewise.
23466         * posix/Makefile [$(cross-compiling) = no]: Likewise.
23467         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23468         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23469         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23470         * string/Makefile [$(cross-compiling) = no]: Likewise.
23472         * posix/Makefile ($(objpfx)globtest.out): Pass
23473         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23474         $(rtld-installed-name).
23475         * posix/globtest.sh (elf_objpfx): Remove variable.
23476         (rtld_installed_name): Likewise.
23477         (library_path): Likewise.
23478         (run_program_prefix): New variable.  Use for running globtest
23479         binary.
23481 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
23482             Joseph Myers  <joseph@codesourcery.com>
23484         * Makeconfig (host-built-program-cmd): New variable.
23485         * elf/Makefile (tst-stackguard1-ARGS): Use
23486         $(host-built-program-cmd).
23487         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23488         (tst-spawn-ARGS): Likewise.
23489         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23491 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23492             Jim Blandy  <jimb@codesourcery.com>
23494         * Makeconfig (run-via-rtld-prefix): New variable.
23495         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23496         (built-program-cmd): Likewise.
23498 2012-10-22  Andreas Jaeger  <aj@suse.de>
23500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23501         __O_RSYNC if it exists, otherwise to O_SYNC.
23503 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
23504             Joseph Myers  <joseph@codesourcery.com>
23506         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23507         /dev/null.
23508         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23509         from /dev/null
23510         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23511         /dev/null.
23513 2012-10-22  Andreas Jaeger  <aj@suse.de>
23515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23516         Define always.
23517         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23520         bits/fcntl-linux.h.
23522         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23523         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23525         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23526         to __O_LARGEFILE.
23527         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23528         to __O_LARGEFILE.
23530 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
23531             Joseph Myers  <joseph@codesourcery.com>
23533         * config.make.in (NM): New variable.
23535 2012-10-21  Andreas Jaeger  <aj@suse.de>
23537         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23538         definitions and declarations that are provided by
23539         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23541 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23543         [BZ #14683]
23544         * elf/Makefile (tests-static): Add tst-leaks1-static.
23545         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23546         ($(objpfx)tst-leaks1-static): New rule.
23547         ($(objpfx)tst-leaks1-static-mem): Likewise.
23548         (tst-leaks1-static-ENV): New macro.
23549         * elf/dl-open.c (dl_open_worker): Check the main application
23550         only if SHARED is defined.
23551         * elf/tst-leaks1-static.c: New file.
23553 2012-10-20  Andreas Jaeger  <aj@suse.de>
23555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23556         generic values for Linux.
23557         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23558         and declarations that are provided by <bits/fcntl-linux.h> and
23559         include <bits/fcntl-linux.h>.
23560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23561         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23563 2012-10-20  Roland McGrath  <roland@hack.frob.com>
23565         * io/fcntl.h: Move include of <bits/types.h> to the top and
23566         include it unconditionally.
23568 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23570         * wcsmbs/Makefile (tests-ifunc): New variable.
23571         (tests): Add $(tests-ifunc).
23572         * wcsmbs/test-wcschr-ifunc.c: New file.
23573         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23574         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23575         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23576         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23577         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23579         * string/Makefile (tests-ifunc): New variable.
23580         (tests): Add $(tests-ifunc).
23581         * string/test-memccpy.c (TEST_NAME): New macro.
23582         * string/test-memchr.c (TEST_NAME): Likewise.
23583         * string/test-memcmp.c (TEST_NAME): Likewise.
23584         * string/test-memcpy.c (TEST_NAME): Likewise.
23585         * string/test-memmem.c (TEST_NAME): Likewise.
23586         * string/test-memmove.c (TEST_NAME): Likewise.
23587         * string/test-memset.c (TEST_NAME): Likewise.
23588         * string/test-rawmemchr.c (TEST_NAME): Likewise.
23589         * string/test-stpcpy.c (TEST_NAME): Likewise.
23590         * string/test-stpncpy.c (TEST_NAME): Likewise.
23591         * string/test-strcasecmp.c (TEST_NAME): Likewise.
23592         * string/test-strcasestr.c (TEST_NAME): Likewise.
23593         * string/test-strcat.c (TEST_NAME): Likewise.
23594         * string/test-strchr.c (TEST_NAME): Likewise.
23595         * string/test-strcmp.c(TEST_NAME): Likewise.
23596         * string/test-strcpy.c (TEST_NAME): Likewise.
23597         * string/test-strcspn.c (TEST_NAME): Likewise.
23598         * string/test-strlen.c (TEST_NAME): Likewise.
23599         * string/test-strncasecmp.c (TEST_NAME): Likewise.
23600         * string/test-strncmp.c (TEST_NAME): Likewise.
23601         * string/test-strncpy.c (TEST_NAME): Likewise.
23602         * string/test-strnlen.c (TEST_NAME): Likewise.
23603         * string/test-strpbrk.c (TEST_NAME): Likewise.
23604         * string/test-strrchr.c (TEST_NAME): Likewise.
23605         * string/test-strspn.c (TEST_NAME): Likewise.
23606         * string/test-strstr.c (TEST_NAME): Likewise.
23607         * string/test-bcopy-ifunc.c: New file.
23608         * string/test-bzero-ifunc.c: Likewise.
23609         * string/test-memccpy-ifunc.c: Likewise.
23610         * string/test-memchr-ifunc.c: Likewise.
23611         * string/test-memcmp-ifunc.c: Likewise.
23612         * string/test-memcpy-ifunc.c: Likewise.
23613         * string/test-memmem-ifunc.c: Likewise.
23614         * string/test-memmove-ifunc.c: Likewise.
23615         * string/test-mempcpy-ifunc.c: Likewise.
23616         * string/test-memset-ifunc.c: Likewise.
23617         * string/test-rawmemchr-ifunc.c: Likewise.
23618         * string/test-stpcpy-ifunc.c: Likewise.
23619         * string/test-stpncpy-ifunc.c: Likewise.
23620         * string/test-strcasecmp-ifunc.c: Likewise.
23621         * string/test-strcasestr-ifunc.c: Likewise.
23622         * string/test-strcat-ifunc.c: Likewise.
23623         * string/test-strchr-ifunc.c: Likewise.
23624         * string/test-strchrnul-ifunc.c: Likewise.
23625         * string/test-strcmp-ifunc.c: Likewise.
23626         * string/test-strcpy-ifunc.c: Likewise.
23627         * string/test-strcspn-ifunc.c: Likewise.
23628         * string/test-strlen-ifunc.c: Likewise.
23629         * string/test-strncasecmp-ifunc.c: Likewise.
23630         * string/test-strncat-ifunc.c: Likewise.
23631         * string/test-strncmp-ifunc.c: Likewise.
23632         * string/test-strncpy-ifunc.c: Likewise.
23633         * string/test-strnlen-ifunc.c: Likewise.
23634         * string/test-strpbrk-ifunc.c: Likewise.
23635         * string/test-strrchr-ifunc.c: Likewise.
23636         * string/test-strspn-ifunc.c: Likewise.
23637         * string/test-strstr-ifunc.c: Likewise.
23639         * debug/Makefile (tests-ifunc): New variable.
23640         (tests): Add $(tests-ifunc).
23641         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23642         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23643         * debug/test-stpcpy_chk-ifunc.c: New file.
23644         * debug/test-strcpy_chk-ifunc.c: Likewise.
23646 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23648         [BZ #13601]
23649         * elf/dl-load.c (open_verify): Retry read if the entire ELF
23650         header is not read in.
23652 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
23654         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
23655         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
23656         directly.  Pass built executable to script as
23657         $(built-program-cmd).
23658         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
23659         $testprogram without using LD_LIBRARY_PATH and $ldso.
23661         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23662         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23663         $(rtld-installed-name).
23664         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23665         (rtld_installed_name): Likewise.
23666         (library_path): Likewise.
23667         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
23668         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23669         $(run-program-prefix) to tst-tables.sh.
23670         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
23671         it to run tst-table-from and tst-table-to.
23672         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23673         Pass it to tst-table.sh.
23674         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23675         $(run-program-prefix) to tst-gettext.sh.
23676         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23677         tst-translit.sh.
23678         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23679         tst-gettext2.sh.
23680         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
23681         to run tst-gettext.
23682         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
23683         to run tst-gettext2.
23684         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
23685         to run tst-translit.
23686         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23687         $(run-program-prefix) to tst-mtrace.sh.
23688         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
23689         to run tst-mtrace.
23690         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23691         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23692         $(rtld-installed-name).
23693         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23694         (rtld_installed_name): Likewise.
23695         (run_program_prefix): New variable.  Use it to run wordexp-test.
23697         * Makeconfig (ARCH): Remove all definitions.
23698         (machine): Likewise.
23699         [ARCH]: Remove conditional code.
23700         [!objdir]: Give error.
23701         [!objdir] (objpfx): Remove.
23702         [!objdir] (common-objpfx): Likewise.
23703         [!objdir] (common-objdir): Likewise.
23704         * configure.in (config_makefile): Remove.  Hardcode Makefile in
23705         AC_CONFIG_FILES call.
23706         * configure: Regenerated.
23708         [BZ #13888]
23709         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23710         or TMPDIR.
23711         (testout): Likewise.
23713         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23714         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23715         $(rtld-installed-name).
23716         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23717         (rtld_installed_name): Likwise.
23718         (runit): Remove function.
23719         (run_getconf): New variable,  Use it for running getconf binary.
23721 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
23723         [BZ #14716]
23724         * string/test-memmem.c (check_result): New function.
23725         (do_one_test): Use it.
23726         (check1): New function.
23727         (test_main): Use it.
23729 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
23731         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23733 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
23735         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23736         (_G_LSEEK64): Likewise.
23737         (_G_MMAP64): Likewise.
23738         (_G_FSTAT64): Likewise.
23739         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23740         (_G_LSEEK64): Likewise.
23741         (_G_MMAP64): Likewise.
23742         (_G_FSTAT64): Likewise.
23743         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23744         unconditional.  Call __mmap64 directly.
23745         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23746         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
23747         __lseek64 directly.
23748         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23749         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
23750         __mmap64 directly.
23751         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23752         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23753         __lseek64 directly.
23754         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23755         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23756         __lseek64 directly.
23757         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23758         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
23759         __lseek64 directly.
23760         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23761         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
23762         __fxstat64 directly.
23763         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23764         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23765         unconditional.
23766         (freopen64) [!_G_OPEN64]: Remove conditional code.
23767         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23768         unconditional.
23769         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23770         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23771         unconditional.
23772         (ftello64) [!_G_LSEEK64]: Remove conditional code.
23773         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23774         unconditional.
23775         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23776         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23777         unconditional.
23778         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23779         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23780         unconditional.
23781         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23782         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23783         unconditional.
23784         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23785         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23786         unconditional.
23787         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23789 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23791         [BZ #12140]
23792         * manual/memory.texi (Malloc Tunable Parameters): Add note
23793         about free list pointers overwriting some perturb bytes.
23794         Wording suggested by Roland McGrath.
23796 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
23798         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23799         (lgamma_test): Likewise.
23800         (tgamma_test): Likewise.
23802 2012-10-16  Florian Weimer  <fweimer@redhat.com>
23804         [BZ #14700]
23805         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23806         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23808 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
23810         * NEWS: Mention BZ #14716.
23811         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23812         when removing AVAILABLE1_USES_J macro.
23814 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
23816         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23817         (__bswap_64): __uint64_t for unsigned 64-bit int.
23819 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
23821         * include/string.h (memmem): Declare libc hidden alias.
23822         * string/memmem.c (memmem): Define libc hidden alias.
23823         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23824         __read, __close instead of open, read, close.
23826 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
23828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23829         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23830         global and hidden.
23831         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23832         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23833         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23834         Likewise.
23835         (__rawmemchr_sse2): Likewise.
23836         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23837         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23838         (__strchr_sse2): Likewise.
23839         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23840         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23841         (__strcasecmp_sse2): Likewise.
23842         (__strncasecmp_sse2): Likewise.
23843         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23844         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23845         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23846         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23847         (__strrchr_sse2): Likewise.
23848         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23849         ifunc-impl-list.c.
23850         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23851         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23852         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23853         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23854         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23855         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23856         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23857         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23858         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23859         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23860         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23861         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23862         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23863         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23864         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23865         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23866         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23867         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23868         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23869         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23870         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23871         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23872         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23873         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23874         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23875         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23876         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23877         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23878         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23879         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23881         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23882         global and hidden.
23883         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23884         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23885         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23886         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23887         Likewise.
23888         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23889         Likewise.
23890         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23891         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23892         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23893         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23894         ifunc-impl-list.c.
23895         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23896         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23897         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23898         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23899         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23900         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23901         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23902         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23903         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23904         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23905         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23906         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23907         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23908         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23909         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23910         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23911         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23912         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23913         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23914         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23915         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23916         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23917         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23918         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23919         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23920         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23921         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23922         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23923         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23924         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23925         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23926         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23927         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23928         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23929         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23930         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23931         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23932         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23933         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23934         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23935         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23937         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23938         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23939         * include/ifunc-impl-list.h: New file.
23940         * misc/ifunc-impl-list.c: Likewise.
23941         * misc/Makefile (routines): Add ifunc-impl-list.
23942         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23943         * string/test-string.h: Include <ifunc-impl-list.h>.
23944         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23945         TEST_NAME]: New variables.
23946         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23947         are defined.
23948         (test_init): Call __libc_ifunc_impl_list to initialize
23949         func_list if TEST_IFUNC and TEST_NAME are defined.
23951         * string/Makefile (strop-tests): Add bcopy and bzero.
23952         * string/test-bcopy.c: New file.
23953         * string/test-bzero.c: Likewise.
23954         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23955         defined.
23956         * string/test-memset.c: Support bzero test if TEST_BZERO is
23957         defined.
23958         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23959         __libc_memmove.
23960         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23961         __libc_memset.
23962         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23963         of memset.
23965 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23967         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23968         * configure: Regenerated.
23970         * Makeconfig (+link-static-before-libc): Don't include
23971         $(link-static-libc).
23973         * libio/libio.h (_IO_pos_t): Remove.
23975 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23977         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23978         McGrath.
23980 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23982         * crypt/crypt-entry.c: Include fips-private.h.
23983         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23984         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23985         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23986         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23988 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23990         * crypt/crypt-private.h: Include stdbool.h.
23991         (_ufc_setup_salt_r): Return bool.
23992         * crypt/crypt-entry.c: Include errno.h.
23993         (__crypt_r): Return NULL with EINVAL for bad salt.
23994         * crypt/crypt_util.c (bad_for_salt): New.
23995         (_ufc_setup_salt_r): Check that salt is long enough and within
23996         the specified alphabet.
23997         * crypt/badsalttest.c: New file.
23998         * crypt/Makefile (tests): Add it.
23999         ($(objpfx)badsalttest): New.
24001 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24003         * NEWS: Add entry for BZ #14602.
24005 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24007         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24008         type-generic.
24009         * math/libm-test.inc: Update comment listing what functions and
24010         macros are tested.
24011         (isgreater_test): New function.
24012         (isgreaterequal_test): Likewise.
24013         (isless_test): Likewise.
24014         (islessequal_test): Likewise.
24015         (islessgreater_test): Likewise.
24016         (isunordered_test): Likewise.
24017         (main): Call the new functions.
24019 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24021         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24022         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24023         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24024         * sysdeps/i386/configure: Regenerated.
24025         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24026         * sysdeps/mach/configure: Regenerated.
24027         * sysdeps/mach/hurd/configure: Regenerated.
24028         * sysdeps/powerpc/configure: Regenerated.
24029         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24030         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24031         * sysdeps/s390/s390-32/configure: Regenerated.
24032         * sysdeps/s390/s390-64/configure: Regenerated.
24033         * sysdeps/sh/configure: Regenerated.
24034         * sysdeps/sparc/configure: Regenerated.
24035         * sysdeps/unix/sysv/linux/configure: Regenerated.
24036         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24037         * sysdeps/x86_64/configure: Regenerated.
24039         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24040         defined.  Don't check if MAP is NULL.
24042 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24044         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24045         (_G_stat64): Likewise.
24046         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24047         (_G_stat64): Likewise.
24048         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24049         instead of struct _G_stat64.
24050         * libio/fileops.c (mmap_remap_check): Likewise.
24051         (decide_maybe_mmap): Likewise.
24052         (_IO_new_file_seekoff): Likewise.
24053         (_IO_file_stat): Likewise.
24054         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24055         _G_off64_t.
24056         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24057         instead of struct _G_stat64.
24058         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24060 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24062         [BZ #14602]
24063         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24064         Replace with ...
24065         (CHECK_EOL): New macro.
24066         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24067         CHECK_EOL.
24068         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24069         Replace with CHECK_EOL.
24070         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24071         Replace with CHECK_EOL.
24073 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24075         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24076         type-generic.
24077         * math/libm-test.inc: Update comment listing what functions and
24078         macros are tested.
24079         (finite_test): New function.
24080         (isinf_test): Likewise.
24081         (isnan_test): Likewise.
24082         (fpclassify_test): Test subnormal input.
24083         (isfinite_test): Likewise.
24084         (isnormal_test): Likewise.
24085         (main): Call the new functions.
24087 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24089         [BZ #14660]
24090         * Makerules (%.dynsym): Force C locale when running
24091         $(OBJDUMP) --dynamic-syms.
24093 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24095         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24096         <stdint.h>.
24098 2012-10-06  David S. Miller  <davem@davemloft.net>
24100         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24101         upper 32-bits of the length value in %o2 since we use branch-on-register
24102         tests which consider the entire 64-bit register.
24104 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24106         * string/test-strstr.c (check2): Add a test for page boundary.
24108 2012-10-05  David S. Miller  <davem@davemloft.net>
24110         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24111         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24112         file.
24113         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24114         sysdep_routines.
24115         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24116         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24117         and bzero when HWCAP_SPARC_CRYPTO is present.
24119 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24121         [BZ #14602]
24122         * string/test-strstr.c (check2): New function.
24123         (test_main): Call check2.
24125         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24126         and bug-strchr1.
24127         * string/bug-strcasestr1.c (do_test): Moved to ...
24128         * string/test-strcasestr.c (check1): Here.  New function.
24129         (do_one_test): Break out result checking code into ...
24130         (check_result): This.  New function.
24131         (do_one_test): Call check_result.
24132         (test_main): Call check1.
24133         * string/bug-strchr1.c (do_test): Moved to ...
24134         * string/test-strchr.c (check1): Here.  New function.
24135         (do_one_test): Break out result checking code into ...
24136         (check_result): This.  New function.
24137         (do_one_test): Call check_result.
24138         (test_main): Call check1.
24139         * string/bug-strstr1.c (main): Moved to ...
24140         * string/test-strstr.c (check1): Here.  New function.
24141         (do_one_test): Break out result checking code into ...
24142         (check_result): This.  New function.
24143         (do_one_test): Call check_result.
24144         (test_main): Call check1.
24145         * string/bug-strcasestr1.c: Removed.
24146         * string/bug-strchr1.c: Likewise.
24147         * string/bug-strstr1.c: Likewise.
24149         * elf/Makefile (dl-routines): Add hwcaps.
24150         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24151         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24152         (_dl_important_hwcaps): Moved to ...
24153         * elf/dl-hwcaps.c: Here.  New file.
24154         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24156         [BZ #14557]
24157         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24158         if IS_IN_rtld isn't defined.
24160         * elf/dl-support.c (_dl_sysinfo_map): New.
24161         Include "get-dynamic-info.h" and "setup-vdso.h".
24162         (_dl_non_dynamic_init): Call setup_vdso.
24163         * elf/dynamic-link.h: Don't include <assert.h>.
24164         (elf_get_dynamic_info): Moved to ...
24165         * elf/get-dynamic-info.h: Here.  New file.
24166         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24167         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24168         * elf/setup-vdso.h: Here.  New file.
24169         * elf/rtld.c: Include "setup-vdso.h".
24170         (dl_main): Call setup_vdso.
24172 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24174         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24175         creal in comment listing functions tested.  List finite, isinf,
24176         isnan, isless, islessequal, isgreater, isgreaterequal,
24177         islessgreater, isunordered, lgamma_r and pow10 as functions and
24178         macros not tested.  Mention which functions not tested are aliases
24179         for other functions.  Fix typo.  Note that signs of NaNs are not
24180         tested.
24182         * scripts/config.guess: Update from config.git.
24183         * scripts/config.sub: Likewise.
24185 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24187         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24188         * misc/madvise.c (madvise): Renamed to __madvise.
24189         Make madvise a weak alias.
24190         * include/sys/mman.h: Declare __madvise.
24191         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24192         * sysdeps/unix/syscalls.list
24193         (madvise): Make __madvise the strong name, and madvise a weak alias.
24194         * sysdeps/unix/sysv/linux/syscalls.list
24195         (madvise, mmap): Remove redundant entries.
24196         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24197         * malloc/malloc.c (mtrim): Likewise.
24198         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24200 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24202         * sysdeps/mach/hurd/dl-cache.c: File removed.
24203         * config.h.in (USE_LDCONFIG): New #undef.
24204         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24205         * configure: Regenerated.
24206         * elf/Makefile (dl-routines): Add dl-cache only under
24207         [$(use-ldconfig) = yes].
24208         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24209         cache on [USE_LDCONFIG].
24210         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24211         [USE_LDCONFIG].
24212         * elf/rtld.c (dl_main): Likewise.
24214 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24216         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24217         _SC_LEVEL4_CACHE_LINESIZE.
24219 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24221         * sysdeps/unix/bsd/confstr.h: File removed.
24223 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24225         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24226         sys/sdt-config.h.
24228 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24230         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24231         Make 'mapoff' field ElfW(Off) rather than off_t.
24233 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24235         * nscd/Makefile: Remove nscd-cflags and all its users.
24236         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24237         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24239         [BZ #10631]
24240         * malloc.c (malloc_printerr): Clarify error message.
24242 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24244         [BZ #14648]
24245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24246         Set bit_FMA_Usable if FMA is supported.
24247         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24248         macro.
24249         (bit_FMA4_Usable): Updated.
24250         (index_FMA_Usable): New macro.
24251         (CPUID_FMA): Likewise
24252         (HAS_FMA): Defined with bit_FMA_Usable.
24254 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24256         * bits/types.h (__swblk_t): Type removed.
24257         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24258         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24260         (__SWBLK_T_TYPE): Likewise.
24261         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24262         (__SWBLK_T_TYPE): Likewise.
24263         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24264         (__SWBLK_T_TYPE): Likewise.
24265         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24266         (__SWBLK_T_TYPE): Likewise.
24268 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
24269             Honza Horak <hhorak@redhat.com>
24271         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24272         (xdr_mapname): Use YPMAXMAP as maxsize.
24273         (xdr_peername): Use YPMAXPEER as maxsize.
24274         (xdr_keydat): Use YPAXRECORD as maxsize.
24275         (xdr_valdat): Use YPMAXRECORD as maxsize.
24277 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24279         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24281         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24282         * csu/init-first.c: ... here.
24283         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24284         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24285         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24286         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24287         * sysdeps/i386/init-first.c: File removed.
24288         * sysdeps/sh/init-first.c: File removed.
24290 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
24292         [BZ #14645]
24293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24294         if x * y might underflow to zero and z is zero.
24295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24296         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24297         * math/libm-test.inc (min_subnorm_value): New variable.
24298         (fma_test): Add more tests.
24299         (fma_test_towardzero): Likewise.
24300         (fma_test_downward): Likewise
24301         (fma_test_upward): Likewise.
24302         (initialize): Set min_subnorm_value.
24304 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
24306         [BZ #14638]
24307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24308         0 + 0.
24309         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24310         mode for addition resulting in exact zero.
24311         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24312         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24313         exact 0 + 0.
24314         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24315         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24316         * math/libm-test.inc (fma_test): Add more tests.
24317         (fma_test_towardzero): New function.
24318         (fma_test_downward): Likewise.
24319         (fma_test_upward): Likewise.
24320         (main): Call the new functions.
24322 2012-09-28  David S. Miller  <davem@davemloft.net>
24324         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24326 2012-09-28  Roland McGrath  <roland@hack.frob.com>
24328         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24329         instead of SIGALRM.
24331         * sysdeps/gnu/_G_config.h: Moved to ...
24332         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24333         * sysdeps/mach/hurd/_G_config.h: Moved to ...
24334         * sysdeps/generic/_G_config.h: ... here.
24336         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
24338         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24340         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24341         Conditionalize target on [libnss_test1.so-version].
24343         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24345         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24346         (elfobjdir): Move out of conditionals.
24348         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24349         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24350         (__nss_lookup_function): Conditionalize label remove_from_tree on
24351         [!DO_STATIC_NSS || SHARED], matching its only use.
24353 2012-09-28  David S. Miller  <davem@davemloft.net>
24355         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24356         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24357         file.
24358         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24359         sysdep_routines.
24360         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24361         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24362         when HWCAP_SPARC_CRYPTO is present.
24364 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24366         * io/tst-mknodat.c: Create a FIFO instead of a socket.
24368 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
24370         [BZ #6530]
24371         * stdio-common/vfprintf.c (process_string_arg): Revert
24372         2000-07-22 change.
24374 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
24376         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24377         for testcase.
24378         * stdio-common/tst-sprintf.c: Include <locale.h>
24379         (main): Test sprintf's handling of incomplete multibyte
24380         characters.
24382 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
24384         * elf/dl-runtime.c (VERSYMIDX): Removed.
24385         * elf/dl-version.c (VERSYMIDX): Likewise.
24386         * elf/do-rel.h (VERSYMIDX): Likewise.
24387         (VALIDX): Likewise.
24388         * elf/dynamic-link.h (VERSYMIDX): Likewise.
24389         * elf/rtld.c (VALIDX): Likewise.
24390         (ADDRIDX): Likewise.
24391         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24392         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24393         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24394         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24395         (VALIDX): Likewise.
24396         (ADDRIDX): Likewise.
24398 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24400         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24402 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
24404         [BZ #11438]
24405         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24406         to global scope.
24407         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24408         addresses are in the same scope as 192.0.2/24.
24409         * posix/gai.conf: Document new scope table defaults.
24411 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24413         [BZ #5298]
24414         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24415         for ftell.  Compute offsets from write pointers instead.
24416         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24418 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24420         [BZ #14543]
24421         * libio/Makefile (tests): New test case tst-fseek.
24422         * libio/tst-fseek.c: New test case to verify that fseek/ftell
24423         combination works in wide mode.
24424         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24425         state when the external buffer state changes.
24427 2012-09-27  David S. Miller  <davem@davemloft.net>
24429         [BZ #14376]
24430         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24431         pass reloc->r_addend in as the 'high' argument to
24432         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24436 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24438         * rt/tst-aio2.c: Include <pthread.h>.
24439         * rt/tst-aio3.c: Likewise.
24441 2012-09-27  Steve Ellcey  <sellcey@mips.com>
24443         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24445 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
24447         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24448         contents on [SHARED].
24450 2012-09-26  Marek Polacek  <polacek@redhat.com>
24452         [BZ #14530]
24453         [BZ #13741]
24454         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24455         for C++ and GCC <4.3 as well as for non GCC compilers.
24457 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24461 2012-09-25  Roland McGrath  <roland@hack.frob.com>
24463         * Makefile.in (all, install): Declare with .PHONY.
24464         Reported by Michael Hope <michael.hope@linaro.org>.
24466 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24468         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24469         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24470         system header.
24471         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24472         Likewise.
24473         (sydep_routines): Add the new and the internal functions.
24474         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24475         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24477         (GLIBC_2.17): Add the new function.
24478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24479         (GLIBC_2.17): Likewise.
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24481         (GLIBC_2.17): Likewise.
24482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24483         (GLIBC_2.17): Likewise.
24484         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24486 2012-09-25  Alan Modra  <amodra@gmail.com>
24488         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24489         Add release barrier before setting once_control to say
24490         initialisation is done.  Add hints on lwarx.  Use macro in
24491         place of isync.
24492         (clear_once_control): Add release barrier.
24494 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24496         [BZ #13629]
24497         * math/s_clog.c (__clog): Handle more values close to |z| = 1
24498         specially.
24499         * math/s_clog10.c (__clog10): Likewise.
24500         * math/s_clog10f.c (__clog10f): Likewise.
24501         * math/s_clog10l.c (__clog10l): Likewise.
24502         * math/s_clogf.c (__clogf): Likewise.
24503         * math/s_clogl.c (__clogl): Likewise.
24504         * math/Makefile (libm-calls): Add x2y2m1.
24505         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24506         (__x2y2m1): Likewise.
24507         (__x2y2m1l): Likewise.
24508         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24509         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24510         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24511         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24512         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24513         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24514         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24515         * sysdeps/i386/fpu/libm-test-ulps: Update.
24516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24518         [BZ #14621]
24519         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24520         int as type of variable DEPTH.
24521         (glob): Use size_t instead of int as type of variables NEWCOUNT
24522         and OLD_PATHC.
24524 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24526         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24527         Add s_sincosf-sse2.
24528         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24529         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24530         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24531         macros for using routine as __sincosf_ia32.
24532         Use macro for function declaration and weak_alias.
24533         * sysdeps/i386/fpu/libm-test-ulps: Update.
24535         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24538         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24539         subnormal argument.
24540         * math/s_cexpf.c (__cexpf): Likewise.
24541         * math/s_csinf.c (__csinf): Likewise.
24542         * math/s_csinhf.c (__csinhf): Likewise.
24543         * math/s_ctanf.c (__ctanf): Likewise.
24544         * math/s_ctanhf.c (__ctanhf): Likewise.
24545         * math/s_ccosh.c (__ccoshf): Likewise.
24546         * math/s_cexp.c (__cexpl): Likewise.
24547         * math/s_csin.c (__csin): Likewise.
24548         * math/s_csinh.c (__csinh): Likewise.
24549         * math/s_ctan.c (__ctan): Likewise.
24550         * math/s_ctanh.c (ctanh): Likewise.
24551         * math/s_ccoshl.c (__ccoshl): Likewise.
24552         * math/s_cexpl.c (__cexpl): Likewise.
24553         * math/s_csinl.c (__csinl): Likewise.
24554         * math/s_csinhl.c (__csinhl): Likewise.
24555         * math/s_ctanl.c (__ctanl): Likewise.
24556         * math/s_ctanhl.c (__ctanhl): Likewise.
24558 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24560         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24561         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24562         (_IO_off_t): Define to __off_t, not _G_off_t.
24563         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24564         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24565         (_IO_wint_t): Define to wint_t, not _G_wint_t.
24566         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24567         type of __dummy and __dummy2 fields.
24568         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24569         (_G_ssize_t): Likewise.
24570         (_G_off_t): Likewise.
24571         (_G_pid_t): Likewise.
24572         (_G_uid_t): Likewise.
24573         (_G_wchar_t): Likewise.
24574         (_G_wint_t): Likewise.
24575         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24576         (_G_ssize_t): Likewise.
24577         (_G_off_t): Likewise.
24578         (_G_pid_t): Likewise.
24579         (_G_uid_t): Likewise.
24580         (_G_wchar_t): Likewise.
24581         (_G_wint_t): Likewise.
24582         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24583         (_G_ssize_t): Likewise.
24584         (_G_off_t): Likewise.
24585         (_G_pid_t): Likewise.
24586         (_G_uid_t): Likewise.
24587         (_G_wchar_t): Likewise.
24588         (_G_wint_t): Likewise.
24590 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24592         * malloc/arena.c: Include malloc-sysdep.h.
24593         (shrink_heap): Use check_may_shrink_heap to decide if madvise
24594         is sufficient to shrink the heap or an unmap is needed.
24595         * sysdeps/generic/malloc-sysdep.h: New file.  Define
24596         new function check_may_shrink_heap.
24597         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
24598         new function check_may_shrink_heap.
24600 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24602         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24603         comments.
24605 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
24607         * catgets/test-gencat.sh: Add "set -e".
24608         * elf/tst-pathopt.sh: Likewise.
24609         * grp/tst_fgetgrent.sh: Likewise.
24610         * iconvdata/run-iconv-test.sh: Likewise.
24611         * intl/tst-gettext.sh: Likewise.
24612         * intl/tst-gettext2.sh: Likewise.
24613         * intl/tst-gettext4.sh: Likewise.
24614         * intl/tst-gettext6.sh: Likewise.
24615         * intl/tst-translit.sh: Likewise.
24616         * io/ftwtest-sh: Likewise.
24617         * libio/test-freopen.sh: Likewise.
24618         * malloc/tst-mtrace.sh: Likewise.
24619         * posix/globtest.sh: Likewise.
24620         * posix/tst-getconf.sh: Likewise.
24621         * posix/wordexp-tst.sh: Likewise.
24622         * stdio-common/tst-printf.sh: Likewise.
24623         * stdio-common/tst-unbputc.sh: Likewise.
24624         * stdlib/tst-fmtmsg.sh: Likewise.
24625         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24626         * catgets/Makefile: Do not specify -e option when running
24627         testsuite shell scripts.
24628         * elf/Makefile: Likewise.
24629         * grp/Makefile: Likewise.
24630         * iconvdata/Makefile: Likewise.
24631         * intl/Makefile: Likewise.
24632         * io/Makefile: Likewise.
24633         * libio/Makefile: Likewise.
24634         * malloc/Makefile: Likewise.
24635         * posix/Makefile: Likewise.
24636         * stdio-common/Makefile: Likewise.
24637         * stdlib/Makefile: Likewise.
24638         * sysdeps/x86_64/Makefile: Likewise.
24640         * io/ftwtest-sh: Add copyright header.
24641         * posix/globtest.sh: Likewise.
24642         * posix/tst-getconf.sh: Likewise.
24643         * posix/wordexp-tst.sh: Likewise.
24644         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24646 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
24648         [BZ #13679]
24649         * Makeconfig (+link): Defined as $(+link-static) if
24650         $(build-shared) isn't yes.
24651         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24652         isn't yes.
24653         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24655         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24657         [BZ #14562]
24658         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24659         new chunk size with MALLOC_ALIGN_MASK.
24661 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
24663         [BZ #5044]
24664         * stdio-common/printf_fphex.c: Include <stdbool.h> and
24665         <rounding-mode.h>.
24666         (__printf_fphex): Determine rounding using get_rounding_mode and
24667         round_away.
24668         * stdio-common/tst-printf-round.c (struct hex_test): New
24669         structure.
24670         (hex_tests): New variable.
24671         (test_hex_in_one_mode): New function.
24672         (do_test): Also run tests for hex float output.
24674 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
24676         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24677         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24678         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24679         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24680         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24681         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24682         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24683         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24685 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
24687         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24688         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24689         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24690         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24692 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
24694         [BZ #14579]
24695         * elf/rtld.c (dl_main): Limit the check for self loading to normal
24696         mode only.
24697         * elf/tst-rtld-load-self.sh: New test.
24698         * elf/Makefile: Run it.
24700 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
24702         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24703         (tst-writev-ENV): Remove.
24704         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24706 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
24708         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24710 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
24712         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24713         unconditional.
24714         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24715         Likewise.
24716         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24717         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24718         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24719         Likewise.
24721 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
24723         [BZ #14587]
24724         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24725         * config.make.in (have-cpp-asm-debuginfo): Removed.
24726         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24727         * configure: Regenerated.
24729 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
24731         [BZ #5044]
24732         * stdio-common/printf_fp.c: Include <stdbool.h> and
24733         <rounding-mode.h>.
24734         (___printf_fp): Determine rounding using get_rounding_mode and
24735         round_away.
24736         * stdio-common/tst-printf-round.c: New file.
24737         * stdio-common/Makefile (tests): Add tst-printf-round.
24738         (link-libm): New variable.
24739         ($(objpfx)tst-printf-round): Depend in $(link-libm).
24741 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
24743         [BZ #14576]
24744         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24745         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24746         Likewise.
24747         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24748         Likewise.
24750 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
24752         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24753         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24754         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24755         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24757 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
24759         [BZ #14518]
24760         * include/rounding-mode.h: New file.
24761         * sysdeps/generic/get-rounding-mode.h: Likewise.
24762         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24763         * stdlib/strtod_l.c: Include <rounding-mode.h>.
24764         (MAX_VALUE): New macro.
24765         (MIN_VALUE): Likewise.
24766         (overflow_value): New function.
24767         (underflow_value): Likewise.
24768         (round_and_return): Use overflow_value and underflow_value to
24769         determine return values in overflow and underflow cases.  Use
24770         round_away to determine rounding depending on rounding mode.
24771         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24772         determine return values in overflow and underflow cases.
24773         * stdlib/tst-strtod-round.c: Include <fenv.h>.
24774         (struct test_results): New structure.
24775         (struct test): Use struct test_results to store expected results
24776         for all rounding modes.
24777         (TEST): Include expected results for all rounding modes.
24778         (test_in_one_mode): New function.
24779         (do_test): Use test_in_one_mode to compute and check results.
24780         Check results for all rounding modes.
24781         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24782         $(link-libm).
24784 2012-12-09  Allan McRae  <allan@archlinux.org>
24786         * sysdeps/i386/fpu/libm-test-ulps: Update
24788 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
24790         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24791         (_G_int32_t): Likewise.
24792         (_G_uint16_t): Likewise.
24793         (_G_uint32_t): Likewise.
24794         (_G_HAVE_BOOL): Likewise.
24795         (_G_HAVE_ATEXIT): Likewise.
24796         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24797         (_G_HAVE_IO_FILE_OPEN): Likewise.
24798         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24799         (_G_int32_t): Likewise.
24800         (_G_uint16_t): Likewise.
24801         (_G_uint32_t): Likewise.
24802         (_G_HAVE_BOOL): Likewise.
24803         (_G_HAVE_ATEXIT): Likewise.
24804         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24805         (_G_HAVE_IO_FILE_OPEN): Likewise.
24806         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24807         (_G_int32_t): Likewise.
24808         (_G_uint16_t): Likewise.
24809         (_G_uint32_t): Likewise.
24810         (_G_HAVE_BOOL): Likewise.
24811         (_G_HAVE_ATEXIT): Likewise.
24812         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24813         (_G_HAVE_IO_FILE_OPEN): Likewise.
24815 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
24817         * csu/libc-tls.c: Update copyright years.
24819 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
24821         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24822         [!_G_USING_THUNKS]: Remove conditional code.
24823         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24824         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24826         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24827         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24828         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24829         (_G_VTABLE_LABEL_PREFIX): Likewise.
24830         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24831         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24832         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24833         (_G_VTABLE_LABEL_PREFIX): Likewise.
24834         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24835         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24836         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24837         (_G_VTABLE_LABEL_PREFIX): Likewise.
24838         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24840 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
24842         * libio/Makefile: Include ../Makeconfig before tests.
24843         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24844         only if $(build-shared) is yes.
24846         * iconv/gconv_db.c: Update copyright years.
24848 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24850         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24851         unwind info if defined PIC. Fix special cases description.
24852         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24854         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24855         DP_HI_MASK entry.
24856         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24858 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
24860         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24862         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24863         is NULL.
24865         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24866         (LDLIBS-tst-chk4): This.
24867         (LDFLAGS-tst-chk5): Renamed to ...
24868         (LDLIBS-tst-chk5): This.
24869         (LDFLAGS-tst-chk6): Renamed to ...
24870         (LDLIBS-tst-chk6): This.
24871         (LDFLAGS-tst-lfschk4): Renamed to ...
24872         (LDLIBS-tst-lfschk4): This.
24873         (LDFLAGS-tst-lfschk5): Renamed to ...
24874         (LDLIBS-tst-lfschk5): This.
24875         (LDFLAGS-tst-lfschk6): Renamed to ...
24876         (LDLIBS-tst-lfschk6): This.
24878         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24879         on $(common-objpfx)soversions.mk.
24881 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
24883         [BZ #10014]
24884         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24885         example host name.
24887 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24889         * malloc/arena.c (arena_get_retry): New function that gets
24890         another arena for the caller to try its request on.
24891         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24892         current arena cannot fulfill the request.
24893         (__libc_memalign): Likewise.
24894         (__libc_memalign): Likewise.
24895         (__libc_pvalloc): Likewise.
24896         (__libc_calloc): Likewise.
24898 2012-09-05  John Tobey  <john.tobey@gmail.com>
24900         [BZ #13542]
24901         * manual/arith.texi (Operations on Complex): Fix description
24902         of carg branch cut.
24904 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24906         [BZ #10014]
24907         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24908         host name.
24910         [BZ #10038]
24911         * manual/memory.texi (Memory): Make order of menu items match
24912         order of sections.
24914 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24916         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24917         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24918         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24920 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24922         * csu/libc-tls.c (static_dtv): Renamed to ...
24923         (_dl_static_dtv): This.  Make it global.
24924         (_dl_initial_dtv): Removed.
24925         (__libc_setup_tls): Updated.
24926         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24927         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24928         DL_INITIAL_DTV.
24930 2012-09-06  Petr Machata  <pmachata@redhat.com>
24932         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24933         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24934         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24935         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24937 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24939         [BZ #14545]
24940         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24941         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24942         freeing dtv[-1].
24944 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24946         [BZ #14544]
24947         * Makeconfig (link-static-before-libc): Replace $(+prector)
24948         with $(+prectorT).
24949         (link-static-after-libc): Replace $(+postctor) with
24950         $(+postctorT).
24951         (link-bounded): Replace $(+prector)/$(+postctor) with
24952         $(+prectorT)/$(+postctorT).
24953         (+prectorT): New macro.
24954         (+postctorT): Likewise.
24956 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24958         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24959         (round_str): Handle values above the maximum for IBM long double
24960         as inexact.
24961         * stdlib/tst-strtod-round.c (tests): Regenerated.
24963 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24965         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24966         assembler flag.
24967         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24968         zarch_nohighgprs around the zarch optimized routines.
24969         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24970         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24971         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24972         for zarch.
24974 2012-09-05  David S. Miller  <davem@davemloft.net>
24976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24978         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24979         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24980         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24981         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24982         entries.
24984 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24986         * malloc/arena.c: Fold copyright years.
24987         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24989 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24991         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24993 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24995         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24997 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24999         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25000         change internal state upon failure.
25002 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25004         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25005         * malloc/memusage.c (mmap): Likewise.
25006         (mmap64, mremap): Likewise.  Adjust name in comment.
25008 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25010         * libio/fileops.c: Fix typos in comments.
25011         * libio/oldfileops.c: Likewise.
25012         * libio/wfileops.c: Likewise.
25014 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25016         [BZ #1349]
25017         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25018         (tst-malloc-usable-ENV): Set environment for test case.
25019         * malloc/hooks.c (malloc_check_get_size): New function to get
25020         requested size.
25021         * malloc/malloc.c (musable): Use malloc_check_get_size.
25022         * malloc/tst-malloc-usable.c: New test case.
25024 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25026         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25028 2012-09-05  Allan McRae  <allan@archlinux.org>
25030         [BZ #13966]
25031         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25032         determine header location.
25033         * configure: Regenerated.
25035 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25037         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25038         float format.
25039         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25040         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25041         format.
25042         (test): Regenerate.
25044 2012-09-04  David S. Miller  <davem@davemloft.net>
25046         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25047         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25048         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25050 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25052         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25053         failures.
25055         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25057 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25059         [BZ #9914]
25060         * libio/iogetdelim.c: Include <limits.h>.
25061         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25062         + len + 1 would overflow.
25064 2012-09-03  Andreas Jaeger  <aj@suse.de>
25066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25067         * sysdeps/i386/fpu/libm-test-ulps: Update.
25069 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25071         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25072         Add s_sinf-sse2, s_conf-sse2.
25074         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25075         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25076         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25077         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25079         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25080         for using routine as __sinf_ia32.
25081         Use macro for function declaration and weak_alias.
25082         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25083         for using routine as __cosf_ia32.
25084         Use macro for function declaration and weak_alias.
25086         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25087         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25089         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25090         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25093         * math/libm-test.inc (cos_test): Add more test cases.
25094         (sin_test): Likewise.
25095         (sincos_test): Likewise.
25097 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25099         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25100         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25101         hidden.
25102         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25104 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25106         [BZ #14538]
25107         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25108         first element of the GOT.
25109         (elf_machine_load_address): Return the difference between
25110         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25112 2012-09-01  Allan McRae  <allan@archlinux.org>
25114         [BZ #13412]
25115         * configure.in (AWK): Require gawk version 3.0 or later.
25116         * configure: Regenerated.
25118 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25120         * sysdeps/unix/sysv/linux/kernel-features.h
25121         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25122         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25123         [__NR_clock_getres]: Make code unconditional.
25124         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25125         (clock_getcpuclockid): Remove code left unreachable by removal of
25126         conditionals.
25127         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25128         code unconditional.
25129         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25130         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25131         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25132         Make code unconditional.
25133         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25134         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25135         * sysdeps/unix/sysv/linux/clock_settime.c
25136         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25137         conditional code.
25138         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25139         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25141 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25143         [BZ #14476]
25144         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25145         scripts/test-installation.pl.
25147         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25148         and $ld_so_version if it is set.
25150 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25152         [BZ #14516]
25153         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25154         failure if reading from procfs failed.
25155         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25157 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25159         * sysdeps/unix/sysv/linux/kernel-features.h
25160         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25161         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25162         Remove conditional code.
25163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25164         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25165         Remove conditional code.
25166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25167         * sysdeps/unix/sysv/linux/i386/fxstat.c
25168         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25169         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25170         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25171         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25172         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25173         * sysdeps/unix/sysv/linux/i386/lxstat.c
25174         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25175         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25176         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25177         Remove conditional code.
25178         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25179         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25180         Remove conditional code.
25181         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25182         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25183         <kernel-features.h>.
25184         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25185         Remove.
25186         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25187         Remove conditional code.
25188         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25189         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25190         Remove conditional.
25192 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25194         [BZ #5400]
25195         * NEWS: Add fixed bug number.
25197 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25199         [BZ #14519]
25200         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25201         underflowing exponent in case of negative sign.
25202         * stdlib/tst-strtod-round-data: Add more tests.
25203         * stdlib/tst-strtod-round.c (tests): Regenerated.
25205         [BZ #3479]
25206         * stdlib/strtod_l.c (NDIG): Remove.
25207         (HEXNDIG): Likewise.
25208         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25209         smallest representable value.
25210         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25211         lie within an exact representation of 1/2 ulp of the result.
25212         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25213         unconditionally.
25214         (TENS_P9_IDX): Define unconditionally.
25215         (TENS_P9_SIZE): Likewise.
25216         (TENS_P10_IDX): Likewise.
25217         (TENS_P10_SIZE): Likewise.
25218         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25219         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25220         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25221         entries for 10^2^13 and 10^2^14.
25222         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25223         (TENS_P13_IDX): Define.
25224         (TENS_P13_SIZE): Likewise.
25225         (TENS_P14_IDX): Likewise.
25226         (TENS_P14_SIZE): Likewise.
25227         (_fpioconst_pow10): Change array size to
25228         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25229         unconditional.
25230         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25231         1024]: Add entries for 10^2^13 and 10^2^14.
25232         [LAST_POW10 > _LAST_POW10]: Remove #error.
25233         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25234         (_fpioconst_pow10): Change array size to
25235         FPIOCONST_POW10_ARRAY_SIZE.
25236         * stdlib/gen-fpioconst.c: New file.
25237         * stdlib/gen-tst-strtod-round.c: Likewise.
25238         * stdlib/tst-strtod-round-data: Likewise.
25239         * stdlib/tst-strtod-round.c: Likewise.
25240         * stdlib/Makefile (tests): Add tst-strtod-round.
25242         [BZ #14459]
25243         * stdlib/strtod_l.c: Include <stdint.h>.
25244         (NDEBUG): Do not define.
25245         (round_and_return): Change EXPONENT parameter to type intmax_t.
25246         Rearrange calculations to avoid internal overflow possibilities.
25247         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25248         Rearrange calculations to avoid internal overflow possibilities.
25249         Assert that number fits inside MPNSIZE limbs.
25250         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25251         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
25252         calculations and add assertions to avoid internal overflow
25253         possibilities.  Add casts to avoid signed/unsigned operations.
25254         * stdlib/tst-strtod-overflow.c: New file.
25255         * stdlib/Makefile (tests): Add tst-strtod-overflow.
25257 2012-08-25  Marek Polacek  <polacek@redhat.com>
25259         * time/time.h: Fix some typos in comments.
25261 2012-08-23  Roland McGrath  <roland@hack.frob.com>
25263         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25264         * posix/tst-rfc3484-2.c: Likewise.
25265         * posix/tst-rfc3484-3.c: Likewise.
25267 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
25269         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25270         (EF_ARM_ABI_FLOAT_HARD): Likewise.
25272 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
25274         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25275         #include of fxstatat64.c.
25277 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25279         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25280         * shadow/getspent_r.c: Likewise.
25281         * shadow/getspnam.c: Likewise.
25282         * shadow/getspnam_r.c: Likewise.
25283         * gshadow/getsgent.c: Likewise.
25284         * gshadow/getsgent_r.c: Likewise.
25285         * gshadow/getsgnam.c: Likewise.
25286         * gshadow/getsgnam_r.c: Likewise.
25287         * inet/getnetbyad.c: Likewise.
25288         * inet/getnetbyad_r.c: Likewise.
25289         * inet/getnetbynm.c: Likewise.
25290         * inet/getnetbynm_r.c: Likewise.
25291         * inet/getnetent.c: Likewise.
25292         * inet/getnetent_r.c: Likewise.
25293         * inet/getproto.c: Likewise.
25294         * inet/getproto_r.c: Likewise.
25295         * inet/getprtent.c: Likewise.
25296         * inet/getprtent_r.c: Likewise.
25297         * inet/getprtname.c: Likewise.
25298         * inet/getprtname_r.c: Likewise.
25299         * inet/getrpcbyname.c: Likewise.
25300         * inet/getrpcbyname_r.c: Likewise.
25301         * inet/getrpcbynumber.c: Likewise.
25302         * inet/getrpcbynumber_r.c: Likewise.
25303         * inet/getrpcent.c: Likewise.
25304         * inet/getrpcent_r.c: Likewise.
25305         * inet/getaliasent.c: Likewise.
25306         * inet/getaliasent_r.c: Likewise.
25307         * inet/getaliasname.c: Likewise.
25308         * inet/getaliasname_r.c: Likewise.
25309         * nscd/getgrgid_r.c: Likewise.
25310         * nscd/getgrnam_r.c: Likewise.
25311         * nscd/gethstbyad_r.c: Likewise.
25312         * nscd/gethstbynm3_r.c: Likewise.
25313         * nscd/getpwnam_r.c: Likewise.
25314         * nscd/getpwuid_r.c: Likewise.
25315         * nscd/getsrvbynm_r.c: Likewise.
25316         * nscd/getsrvbypt_r.c: Likewise.
25317         * nscd/gai.c: Likewise.
25319         * configure.in (build_nscd): New substituted variable, set
25320         by --disable-build-nscd and defaults to $use_nscd.
25321         * configure: Regenerated.
25322         * config.make.in (build-nscd): New substituted variable.
25323         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25324         Change conditional to require [$(build-nscd) = yes] as well.
25325         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25327         [BZ# 13696]
25328         * configure.in (use_nscd): New substituted variable, set by
25329         --disable-nscd.  If enabled, define USE_NSCD.
25330         * configure: Regenerated.
25331         * config.h.in: Add USE_NSCD.
25332         * config.make.in (use-nscd): New substituted variable.
25333         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25334         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25335         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25336         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25337         (CFLAGS-getgrnam_r.c): Likewise.
25338         (CFLAGS-initgroups.c): Likewise.
25339         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25340         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25341         Variables removed.
25342         * inet/getnetgrent_r.c
25343         (nscd_setnetgrent): New function, broken out of ...
25344         (setnetgrent): ... here.  Call it.
25345         (innetgr): Conditionalize nscd bits on [USE_NSCD].
25346         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25347         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25348         * nscd/Makefile (routines, aux): Move definitions after include of
25349         Makeconfig.  Conditionalize on [$(use-nscd) != no].
25350         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25351         Conditionalize on [USE_NSCD].
25352         (is_nscd, nscd_init_cb): Likewise.
25353         (nss_load_library): Conditionalize init callback on [USE_NSCD].
25354         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25355         * nss/nss_db/db-init.c: Likewise.
25356         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25357         [USE_NSCD].
25358         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25359         (make_request): Use it.
25360         (cache_valid_p): New function.
25361         (__check_pf): Use it.
25362         * NEWS: Add item for --disable-nscd.
25364 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
25366         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25367         to support sed >= 4.2.1-20-ga9bf076.
25368         * configure: Regenerated.
25370 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25372         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25373         Conditionalize whole body on [IREL].
25375 2012-08-22  Jeff Law <law@redhat.com>
25377         [BZ #14505]
25378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25379         if the family is PF_UNSPEC.
25381 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
25383         * Makerules (lib-version): Rename from V.
25384         (install-lib-nosubdir): Change V to lib-version.
25386 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
25388         [BZ #14252]
25389         * powerpc32/power6/wcschr.c: New file.
25390         * powerpc32/power6/wcscpy.c: New file.
25391         * powerpc32/power6/wcsrchr.c: New file.
25392         * powerpc64/power6/wcschr.c: New file.
25393         * powerpc64/power6/wcscpy.c: New file.
25394         * powerpc64/power6/wcsrchr.c: New file.
25396 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25398         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25399         (two_way_short_needle): Use it.
25400         * string/strstr.c (AVAILABLE1_USES_J): Define.
25401         * string/strcasestr.c: Likewise.
25403         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25404         array references.
25405         * string/strcasestr.c (TOLOWER): Make side-effect safe.
25407         [BZ #11607]
25408         * NEWS: Add an entry.
25409         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25410         define their defaults.
25411         (two_way_short_needle): Detect end-of-string on-the-fly.
25412         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25413         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25414         * string/bug-strcasestr1.c: New test.
25415         * string/Makefile: Run it.
25417 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25419         [BZ #11607]
25420         * string/str-two-way.h (two_way_short_needle): Optimize matching of
25421         the first character.
25423 2012-08-21  Roland McGrath  <roland@hack.frob.com>
25425         * csu/elf-init.c (__libc_csu_irel): Function removed.
25426         * csu/libc-start.c (apply_irel): New function.
25427         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25429 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
25431         * sysdeps/unix/sysv/linux/kernel-features.h
25432         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25433         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25434         <kernel-features.h>.
25435         [__NR_fadvise64_64]: Make code unconditional.
25436         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25437         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25438         !__NR_fadvise64_64)]: Likewise.
25439         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25440         !__NR_fadvise64_64))]: Likewise.
25441         [__NR_fadvise64]: Make code unconditional.
25442         [!__NR_fadvise64]: Remove conditional code.
25443         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25444         <kernel-features.h>.
25445         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25446         unconditional.
25447         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25448         conditional code.
25449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25450         not include <kernel-features.h>.
25451         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25452         unconditional.
25453         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25454         conditional code.
25455         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25456         include <kernel-features.h>.
25457         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25458         unconditional.
25459         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25460         conditional code.
25462 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25465         slight instruction rearrangements per scrollpipe analysis.
25466         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25468 2012-08-20  Roland McGrath  <roland@hack.frob.com>
25470         * manual/syslog.texi (syslog; vsyslog, closelog):
25471         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25472         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25474         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25475         DSOCAPS to match condition on defining it.
25477 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
25479         * sysdeps/unix/sysv/linux/kernel-features.h
25480         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25482         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25483         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25485         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25486         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25488         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25489         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25491         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25492         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25494         * sysdeps/unix/sysv/linux/kernel-features.h
25495         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25496         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25497         unconditional.
25498         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25499         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25500         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25501         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25502         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25503         Make code unconditional.
25504         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25505         (__mmap64) [!__NR_mmap2]: Likewise.
25506         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25507         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25508         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25509         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25510         [__NR_mmap2]: Make code unconditional.
25511         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25512         (__mmap64) [!__NR_mmap2]: Likewise.
25514 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25516         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25518 2012-08-18  Andreas Jaeger  <aj@suse.de>
25520         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25522 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25524         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25525         * include/unistd.h (__have_sock_cloexec): Likewise.
25526         (__have_pipe2): Likewise.
25527         (__have_dup3): Likewise.
25529 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25531         [BZ #9685]
25532         * include/unistd.h (__have_pipe2): Change define into an extern int.
25533         (__have_dup3): Likewise.
25534         * socket/have_sock_cloexec.c: Include fcntl.h.
25535         (__have_pipe2): New variable.
25536         (__have_dup3): Likewise.
25538 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
25540         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25542 2012-08-17  Marek Polacek  <polacek@redhat.com>
25544         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25545         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25547 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25549         * configure.in: Add AC_SUBST for sysheaders.
25550         * configure: Regenerated.
25551         * config.make.in (sysheaders): New substituted variable.
25553         * sysdeps/unix/mkfifo.c: Moved ...
25554         * sysdeps/posix/mkfifo.c: ... here.
25555         * sysdeps/unix/mkfifoat.c: Moved ...
25556         * sysdeps/posix/mkfifoat.c: ... here.
25558         * sysdeps/unix/utime.c: Moved ...
25559         * sysdeps/posix/utime.c: ... here.
25561         * sysdeps/unix/time.c: Moved ...
25562         * sysdeps/posix/time.c: ... here.
25563         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25564         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25566         * sysdeps/unix/nice.c: Moved ...
25567         * sysdeps/posix/nice.c: ... here.
25569         * sysdeps/unix/alarm.c: Moved ...
25570         * sysdeps/posix/alarm.c: ... here.
25572         * intl/Makefile ($(codeset_mo)): Depend on the input file.
25574 2012-08-17  Jeff Law <law@redhat.com>
25576         * intl/Makefile (codeset_mo): New variable.
25577         ($(codeset_mo)): New target.
25578         (tst-codeset.out): Depend on that.  Remove explicit rule.
25579         (tst-gettext3.out, tst-gettext5.out): Likewise.
25580         (LOCPATH-ENV, tst-codeset-ENV): New variables.
25581         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25582         * intl/tst-codeset.sh: Remove.
25583         * intl/tst-gettext3.sh: Likewise.
25584         * intl/tst-gettext5.sh: Likewise.
25586 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25588         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
25589         * sysdeps/unix/syscalls.list: ... here.
25591         * sysdeps/posix/getaddrinfo.c
25592         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25593         (gaiconf_init, gaiconf_reload): Use them.
25594         [!_STATBUF_ST_NSEC]
25595         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25596         Define using time_t rather than struct timespec.
25598         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25599         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25600         Macros removed.
25601         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25602         [!NO_THREADS].
25603         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25604         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25605         Likewise.
25607         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25608         __libc_cleanup_push argument.
25610         * bits/param.h: New file.
25611         * misc/sys/param.h: New file.
25612         * include/sys/param.h: New file.
25613         * misc/Makefile (headers): Add bits/param.h.
25614         * sysdeps/generic/sys/param.h: File removed.
25615         * sysdeps/unix/sysv/linux/bits/param.h: New file.
25616         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25617         * sysdeps/mach/hurd/bits/param.h: New file.
25618         * sysdeps/mach/hurd/sys/param.h: File removed.
25620         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25621         last change.
25623         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25624         [_IO_MTSAFE_IO].
25625         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25626         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25627         New macros.
25629         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25630         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25631         rather than -D_IO_MTSAFE_IO conditionally.
25632         * stdio-common/Makefile (CPPFLAGS): Likewise.
25633         * wcsmbs/Makefile (CPPFLAGS): Likewise.
25634         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25635         Use $(libio-mtsafe).
25636         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25637         of -D_IO_MTSAFE_IO.
25638         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25639         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25640         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25641         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25642         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25643         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25644         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25645         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25646         (CFLAGS-fread_u_chk.c): Likewise.
25647         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25648         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25649         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25650         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25651         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25652         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25653         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25654         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25655         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25657         * libio/Makefile: Test [$(libc-reentrant) = yes]
25658         instead of [$(filter %REENTRANT, $(defines)) nonempty].
25660         * Makeconfig
25661         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25662         * sysdeps/pthread/configure: File removed.
25663         * sysdeps/pthread/Makeconfig: New file.
25664         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25665         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25667 2012-08-16  Gary Benson  <gbenson@redhat.com>
25669         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25670         unmapping the first object in a namespace.
25672 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25674         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25675         (__internal_setnetgrent): ... this.  Add internal_function to
25676         definition.  Add libc_hidden_def.
25677         (setnetgrent): Update caller.
25678         (internal_endnetgrent): Renamed to ...
25679         (__internal_endnetgrent): ... this.  Add internal_function to
25680         definition.  Add libc_hidden_def.
25681         (endnetgrent): Update caller.
25682         (internal_getnetgrent_r): Renamed to ...
25683         (__internal_getnetgrent_r): ... this.  Add internal_function to
25684         definition.  Add libc_hidden_def.
25685         (__getnetgrent_r): Update caller.
25686         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
25688 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25690         * stdlib/longlong.h: Update from GCC.
25692 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25694         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25695         on _QL, which is set by umul_ppmm but never used.
25696         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25697         variables, which are set by GMP macros but never used.
25698         * stdio-common/_itowa.c (_itowa): Likewise.
25699         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25700         * stdlib/mod_1.c (mpn_mod_1): Likewise.
25702 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
25704         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25705         struct La_sh_regs is not constant.
25706         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25707         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25708         and struct La_sparc64_regs are not constant.
25710 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25712         * sysdeps/unix/sysv/linux/kernel-features.h
25713         (__ASSUME_POSIX_TIMERS): Remove.
25714         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25715         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25716         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25717         Make code unconditional.
25718         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25719         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25720         Make code unconditional.
25721         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25722         * sysdeps/unix/sysv/linux/clock_nanosleep.c
25723         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25724         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25725         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25726         Make code unconditional.
25727         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25728         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25729         (__libc_missing_posix_timers): Remove.
25731 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25733         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25734         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25736         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25738         * elf/dl-sym.c: Include <stdlib.h>.
25740         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25741         constants, which avoids warnings in 32-bit builds.
25743         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25744         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25746         * misc/lseek.c: File moved to ...
25747         * io/lseek.c: ... here.
25749         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25751         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25752         shifting LEN more than 31 bits at once.
25754 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25756         [BZ #14195]
25757         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25758         segmentation fault for a case of two empty input strings.
25759         * string/test-strncasecmp.c (check1): Renamed to...
25760         (bz12205): ...this.
25761         (bz14195): Add new testcase for two empty input strings and N > 0.
25762         (test_main): Call new testcase, adapt for renamed function.
25764 2012-08-15  Andreas Jaeger  <aj@suse.de>
25766         [BZ #14090]
25767         * crypt/md5test2.c: New test, based on test supplied by Serge
25768         Belyshev <belyshev@depni.sinp.msu.ru>.
25769         * crypt/Makefile (xtests): Add md5test-giant..
25770         * crypt/Makefile ($(objpfx)md5test-giant): Add.
25772 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
25774         [BZ #14090]
25775         * crypt/md5.c (md5_process_block): Don't assume the buffer
25776         length is less than 2**32.
25777         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25778         length is less than 2**64.
25780 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25782         * string/str-two-way.h: Include <sys/param.h>.
25783         (MAX): Macro removed.
25785         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25786         Move #define and #undef of memmove to just before and after
25787         including <string.h>.
25789         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25790         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25791         and after including <string.h>.  Move declarations of
25792         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25793         to before #include "string/memmove.c".
25795         * include/dirent.h: Declare __getdirentries.
25797         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25798         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25800 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
25802         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25803         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25804         * sysdeps/i386/configure: Regenerated.
25805         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25806         STABS_CURRENT_FILE, and STABS_FUN.
25807         (END): Remove call to STABS_FUN_END.
25808         (STABS_CURRENT_FILE1): Delete.
25809         (STABS_CURRENT_FILE): Likewise.
25810         (STABS_FUN): Likewise.
25811         (STABS_FUN_END): Likewise.
25812         (STABS_FUN2): Likewise.
25813         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25814         * sysdeps/x86_64/configure: Regenerated.
25816 2012-08-14  Roland McGrath  <roland@hack.frob.com>
25818         * elf/dl-open.c: Include <atomic.h>.
25819         * elf/dl-lookup.c: Likewise.
25821 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
25823         * sysdeps/unix/sysv/linux/kernel-features.h
25824         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25825         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25826         unconditionally.
25827         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25828         unconditionally.
25829         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25830         condition on __ASSUME_CLONE_THREAD_FLAGS.
25832 2012-08-14  Andreas Jaeger  <aj@suse.de>
25834         * sysdeps/i386/fpu/libm-test-ulps: Update.
25836 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
25838         * include/atomic.h (atomic_exchange_and_add): Split into ...
25839         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25840         New atomic macros.
25842 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
25844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25846 2012-08-13  Jeff Law <law@redhat.com>
25848         * manual/stdio.texi (snprintf): Clarify handling of the trailing
25849         null byte in the output string.
25851 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
25853         * sysdeps/unix/sysv/linux/kernel-features.h
25854         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25855         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25856         (__ASSUME_ARG_MAX_STACK_BASED): Define.
25857         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25858         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25859         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
25860         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25862 2012-08-09  Jeff Law <law@redhat.com>
25864         [BZ #13939]
25865         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25866         When avoid_arena is set, don't retry in the that arena.  Pick the
25867         next one, whatever it might be.
25868         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25869         (arena_lock): Pass in new parameter to arena_get2.
25870         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25871         arena_get2.
25872         (__libc_malloc): Unify retrying after main arena failure with
25873         __libc_memalign version.
25874         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25876 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25878         [BZ #14166]
25879         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25880         to __redirect_strstr.
25881         (__strstr_sse42): Use typeof __redirect_strstr.
25882         (__strstr_ia32): Likewise.
25883         (__libc_strstr): New prototype.
25884         (strstr): Renamed to ...
25885         (__libc_strstr): This.
25886         (strstr): New strong alias of __libc_strstr.
25887         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25888         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25889         __redirect_time.
25890         Include <time.h>.
25891         (__libc_time): New prototype.
25892         (time_ifunc): Replace time with __libc_time.
25893         (time): New strong alias and hidden definition of __libc_time.
25894         (__GI_time): Remove strong alias.
25895         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25896         Include <stddef.h>.
25897         (memmove): Redefined to __redirect_memmove.
25898         (__memmove_sse2): Use typeof __redirect_memmove.
25899         (__memmove_ssse3): Likewise.
25900         (__memmove_ssse3_back): Likewise.
25901         (__libc_memmove): New prototype.
25902         (memmove): Renamed to ...
25903         (__libc_memmove): This.
25904         (memmove): New strong alias of __libc_memmove.
25906 2012-08-08  Mark Salter  <msalter@redhat.com>
25908         * elf/elf.h
25909         (R_MN10300_TLS_GD): Define.
25910         (R_MN10300_TLS_LD): Likewise.
25911         (R_MN10300_TLS_LDO): Likewise.
25912         (R_MN10300_TLS_GOTIE): Likewise.
25913         (R_MN10300_TLS_IE): Likewise.
25914         (R_MN10300_TLS_LE): Likewise.
25915         (R_MN10300_TLS_DTPMOD): Likewise.
25916         (R_MN10300_TLS_DTPOFF): Likewise.
25917         (R_MN10300_TLS_TPOFF): Likewise.
25918         (R_MN10300_SYM_DIFF): Likewise.
25919         (R_MN10300_ALIGN): Likewise.
25920         (R_MN10300_NUM): Update.
25922 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25924         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25925         Remove.
25927 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25929         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25931         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25932         sysdeps/unix -> sysdeps/posix move.
25933         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25935 2012-08-07      Allan McRae     <allan@archlinux.org>
25937         [BZ #14303]
25938         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25939         (SUNOS_CPP): Likewise.
25940         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25941         not found.
25942         (open_input): Call CPP using execvp.
25944 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25946         * sysdeps/unix/sysv/linux/kernel-features.h
25947         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25948         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25949         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25950         (__ASSUME_WAITID_SYSCALL): Likewise.
25951         * sysdeps/unix/sysv/linux/dl-execstack.c
25952         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25953         code unconditional.
25954         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25955         conditional code.
25956         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25957         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25958         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25959         code.
25960         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25961         unconditional.
25962         [__ASSUME_WAITID_SYSCALL]: Likewise.
25963         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25965 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25967         * sysdeps/unix/closedir.c: Renamed to ...
25968         * sysdeps/posix/closedir.c: ... here.
25969         * sysdeps/unix/dirfd.c: Renamed to ...
25970         * sysdeps/posix/dirfd.c: ... here.
25971         * sysdeps/unix/dirstream.h: Renamed to ...
25972         * sysdeps/posix/dirstream.h: ... here.
25973         * sysdeps/unix/fdopendir.c: Renamed to ...
25974         * sysdeps/posix/fdopendir.c: ... here.
25975         * sysdeps/unix/opendir.c: Renamed to ...
25976         * sysdeps/posix/opendir.c: ... here.
25977         * sysdeps/unix/readdir.c: Renamed to ...
25978         * sysdeps/posix/readdir.c: ... here.
25979         * sysdeps/unix/readdir_r.c: Renamed to ...
25980         * sysdeps/posix/readdir_r.c: ... here.
25981         * sysdeps/unix/rewinddir.c: Renamed to ...
25982         * sysdeps/posix/rewinddir.c: ... here.
25983         * sysdeps/unix/seekdir.c: Renamed to ...
25984         * sysdeps/posix/seekdir.c: ... here.
25985         * sysdeps/unix/telldir.c: Renamed to ...
25986         * sysdeps/posix/telldir.c: ... here.
25987         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25988         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25989         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25990         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25992         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25993         * bits/fcntl.h: ... here.
25995         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25996         not 0.
25997         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25998         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25999         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26000         (struct flock): Move l_start, l_len to the beginning.
26001         Use __pid_t for l_pid.
26002         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26003         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26004         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26005         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26006         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26007         [__USE_LARGEFILE64] (struct flock64): New type.
26008         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26010         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26011         * bits/dirent.h: ... here.
26013         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26014         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26016 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26018         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26019         Change from 2.6.0 to 2.6.16.
26020         * sysdeps/unix/sysv/linux/configure: Regenerated.
26021         * sysdeps/unix/sysv/linux/kernel-features.h
26022         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26023         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26024         version.
26025         (__ASSUME_UTIMES): Likewise.
26026         (__ASSUME_CLONE_STOPPED): Remove.
26027         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26028         architectures, not kernel version.
26029         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26030         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26031         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26032         (__ASSUME_WAITID_SYSCALL): Likewise.
26033         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26034         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26035         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26036         refer to older versions.
26038 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26040         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26041         Define alphasort64 as an alias.
26042         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26043         Define versionsort64 as an alias.
26044         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26045         Define scandir64 as an alias.
26046         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26047         Define scandirat64 as an alias.
26048         * dirent/alphasort64.c (alphasort64):
26049         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26050         * dirent/versionsort64.c: Likewise.
26051         * dirent/scandir64.c: Likewise.
26052         * dirent/scandirat64.c: Likewise.
26053         * sysdeps/wordsize-64/alphasort.c: File removed.
26054         * sysdeps/wordsize-64/alphasort64.c: File removed.
26055         * sysdeps/wordsize-64/scandir.c: File removed.
26056         * sysdeps/wordsize-64/scandir64.c: File removed.
26057         * sysdeps/wordsize-64/scandirat.c: File removed.
26058         * sysdeps/wordsize-64/scandirat64.c: File removed.
26059         * sysdeps/wordsize-64/versionsort.c: File removed.
26060         * sysdeps/wordsize-64/versionsort64.c: File removed.
26061         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26062         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26063         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26064         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26065         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26066         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26067         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26068         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26070         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26071         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26072         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26073         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26074         [defined __arch64__ || defined __sparcv9]
26075         (__INO_T_MATCHES_INO64_T): New macro.
26076         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26077         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26078         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26079         * sysdeps/unix/sysv/linux/bits/dirent.h
26080         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26081         (_DIRENT_MATCHES_DIRENT64): New macro.
26083         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26084         Define lockf64 as an alias.
26085         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26086         Define fseeko64 as an alias.
26087         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26088         Define ftello64 as an alias.
26089         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26090         Define _IO_fgetpos64 and fgetpos64 as aliases.
26091         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26092         Define _IO_fsetpos64 and fsetpos64 as aliases.
26093         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26094         Conditionalize body on this.
26095         * libio/fseeko64.c: Likewise.
26096         * libio/ftello64.c: Likewise.
26097         * libio/iofgetpos64.c: Likewise.
26098         * libio/iofsetpos64.c: Likewise.
26099         * sysdeps/wordsize-64/lockf.c: File removed.
26100         * sysdeps/wordsize-64/lockf64.c: File removed.
26101         * sysdeps/wordsize-64/fseeko.c: File removed.
26102         * sysdeps/wordsize-64/fseeko64.c: File removed.
26103         * sysdeps/wordsize-64/ftello.c: File removed.
26104         * sysdeps/wordsize-64/ftello64.c: File removed.
26105         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26106         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26107         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26108         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26109         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26110         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26111         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26112         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26113         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26114         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26115         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26116         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26117         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26118         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26120         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26121         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26122         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26124         [defined __arch64__ || defined __sparcv9]
26125         (__OFF_T_MATCHES_OFF64_T): New macro.
26126         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26127         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26128         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26129         (__OFF_T_MATCHES_OFF64_T): New macro.
26131 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26133         * stdlib/secure-getenv.c (__secure_getenv): Replace
26134         GLIBC_2_16 with GLIBC_2_17.
26136 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26138         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26139         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26141 2012-08-03  David S. Miller  <davem@davemloft.net>
26143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26145 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26148         Remove.
26149         (__ASSUME_CORRECT_SI_PID): Likewise.
26150         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26151         (__ASSUME_TMPFS_NAME): Likewise.
26152         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26153         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26154         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26155         (HAVE_AUX_SECURE): Make definition unconditional.
26156         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26157         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26159 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26161         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26162         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26163         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26164         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26165         __eloop_threshold instead of SYMLOOP_MAX.
26167         * sysdeps/generic/eloop-threshold.h: New file.
26168         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26169         of MAXSYMLINKS.
26170         * elf/chroot_canon.c (chroot_canon): Likewise.
26172 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26174         [BZ #13717]
26175         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26176         Change to 2.6.0 everywhere.
26177         * sysdeps/unix/sysv/linux/configure: Regenerated.
26178         * sysdeps/unix/sysv/linux/kernel-features.h
26179         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26180         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26181         kernel versions.
26182         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26183         (__ASSUME_FUTEX_REQUEUE): Remove.
26184         (__ASSUME_STATFS64): Define unconditionally.
26185         (__ASSUME_AT_SECURE): Likewise.
26186         (__ASSUME_CORRECT_SI_PID): Likewise.
26187         (__ASSUME_TGKILL): Define without depending on kernel version for
26188         i386.
26189         (__ASSUME_UTIMES): Likewise.
26190         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26191         kernel version.
26192         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26193         (__ASSUME_TMPFS_NAME): Likewise.
26194         * README: Update reference to Linux kernel versions.
26196 2012-08-02  Marek Polacek  <polacek@redhat.com>
26198         [BZ# 14150]
26199         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26200         libc_cv_asm_type_prefix with %.
26201         * configure: Regenerated.
26202         * include/libc-symbols.h: Remove comment about
26203         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26204         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26205         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26206         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26207         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26208         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26209         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26210         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26211         * elf/tst-unique2mod1.c: Likewise.
26212         * elf/tst-unique1mod2.c: Likewise.
26213         * elf/tst-unique1mod1.c: Likewise.
26214         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26215         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26216         Replace ASM_TYPE_DIRECTIVE with .type.
26217         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26218         * sysdeps/i386/sysdep.h: Likewise.
26219         * sysdeps/x86_64/sysdep.h: Likewise.
26220         * sysdeps/sh/sysdep.h: Likewise.
26221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26222         Do not define ASM_TYPE_DIRECTIVE.
26223         * sysdeps/powerpc/sysdep.h: Likewise.
26224         * sysdeps/powerpc/powerpc32/sysdep.h:
26225         Replace ASM_TYPE_DIRECTIVE with .type.
26226         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26227         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26228         * sysdeps/i386/fpu/e_powf.S: Likewise.
26229         * sysdeps/i386/fpu/e_expl.S: Likewise.
26230         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26231         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26232         * sysdeps/i386/fpu/e_pow.S: Likewise.
26233         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26234         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26235         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26236         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26237         * sysdeps/i386/fpu/e_log2.S: Likewise.
26238         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26239         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26240         * sysdeps/i386/fpu/e_powl.S: Likewise.
26241         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26242         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26243         * sysdeps/i386/fpu/e_logl.S: Likewise.
26244         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26245         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26246         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26247         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26248         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26249         * sysdeps/i386/fpu/e_log.S: Likewise.
26250         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26251         * sysdeps/i386/fpu/e_logf.S: Likewise.
26252         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26253         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26254         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26255         * sysdeps/i386/fpu/e_log10.S: Likewise.
26256         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26257         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26258         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26259         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26260         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26261         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26262         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26263         * sysdeps/i386/i686/strtok.S: Likewise.
26264         * sysdeps/i386/i386-mcount.S: Likewise.
26265         * sysdeps/i386/strtok.S: Likewise.
26266         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26267         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26268         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26269         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26270         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26271         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26272         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26273         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26274         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26275         * sysdeps/x86_64/_mcount.S: Likewise.
26276         * sysdeps/x86_64/strtok.S: Likewise.
26277         * sysdeps/sh/_mcount.S: Likewise.
26279 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26281         * libio/iofopen.c: Include <fcntl.h>.
26282         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26283         (_IO_fopen64, fopen64): Define as aliases.
26284         * libio/iofopen64.c: Include <fcntl.h>.
26285         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26286         Conditionalize body on this.
26287         * sysdeps/wordsize-64/iofopen.c: File removed.
26288         * sysdeps/wordsize-64/iofopen64.c: File removed.
26290 2012-08-01  Marek Polacek  <polacek@redhat.com>
26292         * libc/Makeconfig: Use elf in place of binfmt-subdir.
26293         Use dlfcn directly instead of a variable.
26294         (binfmt-subdir): Do not define.
26295         (dlfcn): Likewise.
26297 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
26299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26300         Remove all definitions.
26301         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26302         <kernel-features.h>.
26303         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26304         (miss_F_GETOWN_EX): Remove all definitions.
26305         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26306         macro definition.
26307         [!__ASSUME_FCNTL64]: Remove conditional code.
26308         [__ASSUME_FCNTL64]: Make code unconditional.
26309         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26310         <kernel-features.h>.
26311         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26312         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26313         (lockf64) [__NR_fcntl64]: Make code unconditional.
26314         (lockf64) [__ASSUME_FCNTL64]: Likewise.
26316         * sysdeps/unix/sysv/linux/kernel-features.h
26317         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26318         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26319         Make code unconditional.
26320         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26321         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26323         [__NR_vfork]: Make code unconditional.
26324         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26325         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26327         [__NR_vfork]: Make code unconditional.
26328         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26329         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26331 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26333         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26334         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26336         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26337         Define mkstemp64 as an alias.
26338         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26339         Define mkstemps64 as an alias.
26340         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26341         Define mkostemp64 as an alias.
26342         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26343         Define mkostemps64 as an alias.
26344         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26345         Conditionalize body on this.
26346         * misc/mkostemp64.c: Likewise.
26347         * misc/mkostemps64.c: Likewise.
26348         * misc/mkstemps64.c: Likewise.
26349         * sysdeps/wordsize-64/mkstemp64.c: File removed.
26350         * sysdeps/wordsize-64/mkostemp64.c: File removed.
26351         * sysdeps/wordsize-64/mkostemp.c: File removed.
26352         * sysdeps/wordsize-64/mkstemp.c: File removed.
26353         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26354         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26355         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26356         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26358         [BZ #14138]
26359         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26360         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26361         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26362         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26364         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26365         compat_symbol macros from <shlib-compat.h> rather than the underlying
26366         default_symbol_version and symbol_version macros, so that DEFAULT
26367         lines in shlib-versions are respected.
26368         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26370 2012-08-01  Florian Weimer  <fweimer@redhat.com>
26372         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26373         Declare with warn_unused_result.
26374         (setgid, setregid, setegid, setresgid): Likewise.
26375         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26376         Likewise.
26377         * WUR-REPORT: Remove set*id functions.
26379 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
26381         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26383 2012-07-31  Roland McGrath  <roland@hack.frob.com>
26385         [BZ #10191]
26386         * include/sys/socket.h (__libc_accept, __libc_accept4):
26387         Add attribute_hidden.
26388         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26390         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26391         use of PTR_MANGLE.
26392         * inet/getnetgrent_r.c (setup): Likewise.
26394         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26396 2012-07-31  David S. Miller  <davem@davemloft.net>
26398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26400 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
26402         [BZ #13629]
26403         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26404         value between 1.0 and 2.0 and smaller part has absolute value less
26405         than 1.0.
26406         * math/s_clog10.c (__clog10): Likewise.
26407         * math/s_clog10f.c (__clog10f): Likewise.
26408         * math/s_clog10l.c (__clog10l): Likewise.
26409         * math/s_clogf.c (__clogf): Likewise.
26410         * math/s_clogl.c (__clogl): Likewise.
26411         * math/libm-test.inc (clog_test): Add more tests.
26412         (clog10_test): Likewise.
26413         * sysdeps/i386/fpu/libm-test-ulps: Update.
26414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26416 2012-07-31  Florian Weimer  <fweimer@redhat.com>
26418         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26419         Exit with zero in case no suitable GID is found, and write a
26420         message to standard error.
26422 2012-07-30  Roland McGrath  <roland@hack.frob.com>
26424         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26425         rather than to 1.
26426         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26427         (MAXPATHLEN): Removed.
26428         (NOGROUP, NODEV): New macros.
26429         (setbit, clrbit, isset, isclr): New macros.
26430         (howmany, roundup, powerof2): New macros.
26431         (DEV_BSIZE): New macro.
26433         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26434         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26436         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26437         definition on [!__NO_LONG_DOUBLE_MATH].
26439         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26440         PTR_MANGLE and PTR_DEMANGLE.
26442         * socket/accept4.c (accept4): Rename to __libc_accept4.
26443         Define accept4 as a weak alias.
26445         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26446         on [_DIRENT_HAVE_D_TYPE].
26447         * io/ftw.c (ftw_dir): Likewise.
26449         * io/xmknod.c (__xmknod): Don't check PATH for being null.
26451         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26453         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26454         Use the BSD numbers rather than the arbitrary ones we had.
26455         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26456         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26457         (SIGXCPU, SIGXFSZ): New macros.
26458         (_NSIG): Now 32.
26460         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26461         initializer on [_LIBC_REENTRANT].
26463         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26464         definitions inside [_POSIX_MAPPED_FILES].
26466         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26468         * dirent/opendir.c: Include <fcntl.h>.
26470         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26471         (__libc_getspecific): Likewise.
26472         (__libc_key_create): Likewise.
26474         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26475         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26476         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26477         (tmpfile64): Define as alias.
26478         * sysdeps/wordsize-64/tmpfile.c: File removed.
26479         * sysdeps/wordsize-64/tmpfile64.c: File removed.
26480         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26481         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26483         * stdio-common/vfscanf.c: Include <stdbool.h>.
26484         * nss/makedb.c: Likewise.
26485         * stdio-common/_i18n_number.h: Likewise.
26486         * argp/argp-help.c: Likewise.
26487         * posix/wordexp.c: Likewise.
26488         * sysdeps/posix/spawni.c: Likewise.
26489         * nss/nss_files/files-initgroups.c: Likewise.
26490         * stdio-common/reg-modifier.c: Include <stdlib.h>.
26491         * nss/nss_files/files-initgroups.c: Likewise.
26492         * nss/nss_db/db-netgrp.c: Likewise.
26493         * nss/nss_db/db-initgroups.c: Likewise.
26494         * io/fchmodat.c: Include <sys/stat.h>.
26496         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26497         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26499         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26500         [HAVE_MMAP].
26502         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26503         Add multiple inclusion protection.
26505 2012-07-27  David S. Miller  <davem@davemloft.net>
26507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26509 2012-07-27  Gary Benson  <gbenson@redhat.com>
26511         [BZ #14298]
26512         * elf/rtld.c: Include <stap-probe.h>.
26513         (dl_main): Added static probes "init_start" and "init_complete".
26514         * elf/dl-load.c: Include <stap-probe.h>.
26515         (lose): Take new parameter "nsid".
26516         Added static probe "map_failed".
26517         (_dl_map_object_from_fd): Pass namespace id to lose.
26518         Added static probe "map_start".
26519         (open_verify): Pass namespace id to lose.
26520         * elf/dl-open.c: Include <stap-probe.h>.
26521         (dl_open_worker) Added static probes "map_complete", "reloc_start"
26522         and "reloc_complete".
26523         * elf/dl-close.c: Include <stap-probe.h>.
26524         (_dl_close_worker): Added static probes "unmap_start" and
26525         "unmap_complete".
26526         * elf/rtld-debugger-interface.txt: New file documenting the above.
26528 2012-07-26  Roland McGrath  <roland@hack.frob.com>
26530         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26531         rather than a string variable.
26532         * sunrpc/rpc_main.c (h_output): Likewise.
26533         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26535 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
26537         * inet/check_native.c: New file.
26539 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
26541         [BZ #13629]
26542         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26543         if larger part has absolute value 1.0.
26544         * math/s_clog10.c (__clog10): Likewise.
26545         * math/s_clog10f.c (__clog10f): Likewise.
26546         * math/s_clog10l.c (__clog10l): Likewise.
26547         * math/s_clogf.c (__clogf): Likewise.
26548         * math/s_clogl.c (__clogl): Likewise.
26549         * math/libm-test.inc (clog_test): Add more tests.
26550         (clog10_test): Likewise.
26551         * sysdeps/i386/fpu/libm-test-ulps: Update.
26552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26554         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26555         (pltexit): Likewise.
26556         (La_regs): Likewise.
26557         (La_retval): Likewise.
26558         (int_retval): Likewise.
26559         Update #error for removed macros to refer only to definitions in
26560         tst-audit.h.
26561         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26562         macro.
26563         (pltexit): Likewise.
26564         (La_regs): Likewise.
26565         (La_retval): Likewise.
26566         (int_retval): Likewise.
26567         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26568         macro.
26569         (pltexit): Likewise.
26570         (La_regs): Likewise.
26571         (La_retval): Likewise.
26572         (int_retval): Likewise.
26573         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26574         macro.
26575         (pltexit): Likewise.
26576         (La_regs): Likewise.
26577         (La_retval): Likewise.
26578         (int_retval): Likewise.
26579         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26580         macro.
26581         (pltexit): Likewise.
26582         (La_regs): Likewise.
26583         (La_retval): Likewise.
26584         (int_retval): Likewise.
26585         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26586         macro.
26587         (pltexit): Likewise.
26588         (La_regs): Likewise.
26589         (La_retval): Likewise.
26590         (int_retval): Likewise.
26591         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26592         macro.
26593         (pltexit): Likewise.
26594         (La_regs): Likewise.
26595         (La_retval): Likewise.
26596         (int_retval): Likewise.
26597         * sysdeps/generic/tst-audit.h: Update comment to refer only to
26598         macro definitions in tst-audit.h.
26599         * sysdeps/i386/tst-audit.h: New file.
26600         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26601         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26602         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26603         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26604         * sysdeps/sh/tst-audit.h: Likewise.
26605         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26606         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26607         * sysdeps/x86_64/tst-audit.h: Likewise.
26609 2012-07-26  Andreas Jaeger  <aj@suse.de>
26611         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26612         ptrace.
26614         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26615         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26616         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26617         PTRACE_O_MASK.
26618         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26619         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26620         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26622         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26623         value.
26625         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26626         _sigsys.
26627         (si_call_addr, si_syscall, si_arch): Define new macro.
26628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26629         _sigsys.
26630         (si_call_addr, si_syscall, si_arch): Define new marcro.
26631         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26632         _sigsys.
26633         (si_call_addr, si_syscall, si_arch): Define new macro.
26634         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26635         _sigsys.
26636         (si_call_addr, si_syscall, si_arch): Define new macro.
26638 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26640         [BZ #13717]
26641         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26642         Change to 2.4.21 where previously 2.4.1.
26643         * sysdeps/unix/sysv/linux/configure: Regenerated.
26644         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26645         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26646         Linux kernel version.
26647         (__ASSUME_STD_AUXV): Remove.
26648         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26649         kernel version.
26650         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26651         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26652         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26653         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26654         (__ASSUME_NETLINK_SUPPORT): Likewise.
26655         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26656         (__no_netlink_support): Remove conditional definition.
26657         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26658         Remove.
26659         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26660         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26661         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26662         (if_nameindex_ioctl): Remove.
26663         (if_nameindex_netlink): Do not handle __no_netlink_support.
26664         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26665         code.
26666         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26667         Remove conditional code.
26668         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26669         code.
26670         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26671         unconditional.
26672         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26673         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26674         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26675         Remove.
26676         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26677         [!__ASSUME_STD_AUXV]: Remove conditional code.
26678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26679         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26680         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26682         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26683         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26684         code.
26685         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26687         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26688         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26689         conditional code.
26690         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26692         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26693         code.
26694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26695         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26696         conditional code.
26697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26698         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26699         code unconditional.
26700         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26701         conditional code.
26702         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26703         unconditional.
26704         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26705         conditional code.
26706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26707         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26708         unconditional.
26709         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26710         conditional code.
26711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26712         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26713         code unconditional.
26714         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26715         conditional code.
26716         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26717         unconditional.
26718         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26719         conditional code.
26720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26721         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26722         code unconditional.
26723         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26724         conditional code.
26725         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26726         unconditional.
26727         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26728         conditional code.
26730 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
26732         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26733         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26734         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26735         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26736         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26737         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26738         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26739         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26740         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26741         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26742         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26743         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26744         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26745         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26746         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26747         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26748         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26749         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26750         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26752         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26753         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26754         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26756 2012-07-25  Florian Weimer  <fweimer@redhat.com>
26758         * Versions.def: Add GLIBC_2.17.
26759         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26760         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26761         Introduce __libc_secure_getenv.
26762         * stdlib/Versions (2.17): Add secure_getenv
26763         (GLIBC_PRIVATE): Add __libc_secure_getenv.
26764         * stdlib/secure-getenv.c: Rename __secure_getenv to
26765         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
26766         symbol __secure_getenv for GLIBC_2.0.
26767         * stdlib/tst-secure-getenv.c: New.
26768         * stdlib/Makefile (tests): Add testcase.
26769         * manual/startup.texi (Environment Access): Document
26770         secure_getenv.
26771         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26772         __libc_secure_getenv.
26773         * inet/ruserpass.c (ruserpass): Likewise.
26774         * malloc/mtrace.c (mtrace): Likewise.
26775         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26776         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26777         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26778         * sysdeps/posix/tempname.c: Likewise.  Evaluate
26779         HAVE_SECURE_GETENV.
26780         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26781         __secure_getenv to __libc_secure_getenv.
26782         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26784         Likewise.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26786         Likewise.
26787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26795 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26797         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26798         (struct La_i86_retval): Likewise.
26799         (struct La_x86_64_regs): Likewise.
26800         (struct La_x86_64_retval): Likewise.
26801         (struct La_x32_regs): Likewise.
26802         (struct La_x32_retval): Likewise.
26803         (struct La_ppc32_regs): Likewise.
26804         (struct La_ppc32_retval): Likewise.
26805         (struct La_ppc64_regs): Likewise.
26806         (struct La_ppc64_retval): Likewise.
26807         (struct La_sh_regs): Likewise.
26808         (struct La_sh_retval): Likewise.
26809         (struct La_s390_32_regs): Likewise.
26810         (struct La_s390_32_retval): Likewise.
26811         (struct La_s390_64_regs): Likewise.
26812         (struct La_s390_64_retval): Likewise.
26813         (struct La_sparc32_regs): Likewise.
26814         (struct La_sparc32_retval): Likewise.
26815         (struct La_sparc64_regs): Likewise.
26816         (struct La_sparc64_retval): Likewise.
26817         (struct audit_ifaces): Remove architecture-specific pltenter and
26818         pltexit members.
26819         * sysdeps/i386/ldsodefs.h: New file.
26820         * sysdeps/powerpc/ldsodefs.h: Likewise.
26821         * sysdeps/s390/ldsodefs.h: Likewise.
26822         * sysdeps/sh/ldsodefs.h: Likewise.
26823         * sysdeps/sparc/ldsodefs.h: Likewise.
26824         * sysdeps/x86_64/ldsodefs.h: Likewise.
26826 2012-07-25  Marek Polacek  <polacek@redhat.com>
26828         [BZ #6808]
26829         * math/libm-test.inc (yn_test): Add another test.
26830         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26831         to ERANGE when the result is +-Inf.
26832         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26833         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26834         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26835         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26837 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
26839         * conform/data/time.h-data (NULL): Use macro-constant.  Require
26840         equal to 0.
26841         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
26842         clock_t.
26843         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
26845 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
26847         * configure.in <sysdeps resolving>: Correct printing
26848         Implies_before.
26849         * configure: Regenerate.
26851 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
26853         * math/w_ilogb.c: Include <limits.h>.
26854         * math/w_ilogbl.c: Likewise.
26856 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26858         * manual/lang.texi (__va_copy): Document primarily as ISO C99
26859         va_copy.  Document allowing for unavailable va_copy only as
26860         pre-C99 compatibility.
26861         * manual/string.texi (Copying and Concatenation): Use va_copy
26862         instead of __va_copy in concat example.
26864 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
26866         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26867         (__sendto): Use create_address_port.  Initialize APORT and deallocate
26868         it if not null.
26870         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26871         with O_NOLINK passed to __file_name_lookup.
26873         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26874         with O_NOLINK passed to __file_name_lookup.
26876         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26877         negative N or less than NGIDS.
26879         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26880         type to string_t.  Set ERANGE as errno and return it if NAME is not big
26881         enough.  Use memcpy instead of strncpy.
26883 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26885         * elf/Makefile (check-data): Remove.
26886         (localplt.data): New vpath directive.
26887         ($(objpfx)check-localplt.out): Use localplt.data from vpath
26888         instead of $(check-data).
26889         * scripts/data/localplt-generic.data: Move to ...
26890         * sysdeps/generic/localplt.data: ... here.
26891         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26892         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26893         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26895         ... here.
26896         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26898         ... here.
26899         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26901         ... here.
26902         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26904         ... here.
26905         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26907         ... here.
26908         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26910         ... here.
26912 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26914         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26915         PPC32 and PPC64 files.
26916         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26917         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26919 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26921         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26922         __makecontext_ret to ...
26923         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26924         ... here and call exit if uc_link is NULL.  New file.
26925         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26926         __makecontext_ret.S.
26927         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26928         __makecontext_ret to ...
26929         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26930         ... here and call exit if uc_link is NULL.  New file.
26931         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26932         __makecontext_ret.S.
26934 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26936         * elf/elf.h (R_390_IRELATIVE): New definition.
26937         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26938         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26939         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26940         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26941         (elf_machine_lazy_rel): Likewise.
26942         * sysdeps/s390/dl-irel.h: New file.
26943         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26944         * sysdeps/s390/s390-64/memset.S: New asm code.
26945         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26946         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26947         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26948         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26949         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26950         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26951         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26952         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26953         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26954         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26955         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26956         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26957         * sysdeps/s390/s390-32/memset.S: New asm code.
26958         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26960 2012-07-17  Marek Polacek  <polacek@redhat.com>
26962         [BZ #14349]
26963         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26964         * sysdeps/s390/s390-64/configure.in: Likewise.
26965         * sysdeps/sparc/configure.in: Likewise.
26966         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26967         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26968         * sysdeps/i386/configure.in: Likewise.
26969         * sysdeps/x86_64/configure.in: Likewise.
26970         * sysdeps/sh/configure.in: Likewise.
26971         * sysdeps/s390/s390-32/configure: Regenerated.
26972         * sysdeps/s390/s390-64/configure: Likewise.
26973         * sysdeps/x86_64/configure: Likewise.
26974         * sysdeps/sh/configure: Likewise.
26975         * sysdeps/powerpc/powerpc64/configure: Likewise.
26976         * sysdeps/powerpc/powerpc32/configure: Likewise.
26977         * sysdeps/sparc/configure: Likwise.
26978         * sysdeps/i386/configure: Likewise.
26980         * elf/dl-open.c: Comment fixes.
26982 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26984         * Makefile [CXX] (check-data): Remove.
26985         [CXX] (c++-types.data): New vpath directive.
26986         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26987         vpath.  Do not allow for C++ type data being missing.
26988         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26989         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26990         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26991         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26992         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26993         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26994         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26996         ... here.
26997         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26999         ... here.
27000         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27002         ... here.
27003         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27005         ... here.
27006         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27008         ... here.
27009         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27011         ... here.
27012         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27014         ... here.
27015         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27018         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27019         definitions to architecture-specific files.
27020         (TLS_IE): Likewise.
27021         (TLS_LD): Likewise.
27022         (TLS_GD): Likewise.
27023         * sysdeps/i386/tls-macros.h: New file.
27024         * sysdeps/powerpc/tls-macros.h: Likewise.
27025         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27026         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27027         * sysdeps/sh/tls-macros.h: Likewise.
27028         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27029         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27030         * sysdeps/x86_64/tls-macros.h: Likewise.
27032 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27034         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27035         zero value for regular exit case.
27037         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27038         (__start_context): Preserve zero value for regular exit case.
27040 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27041             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27043         * manual/setjmp.texi (setcontext): Clarify normal process
27044         termination when uc_link is the null pointer.
27045         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27046         exit call.
27048 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27050         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27051         preprocessor.  Test for each exception mask separately.
27053 2012-07-16  Andreas Jaeger  <aj@suse.de>
27055         * po/ru.po: Update from translation team.
27057 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27059         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27060         equal to 0.
27061         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27062         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27063         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27064         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27065         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27067 2012-07-13  Andreas Jaeger  <aj@suse.de>
27069         * po/fr.po: Update from translation team.
27071 2012-07-12  Marek Polacek  <polacek@redhat.com>
27073         [BZ #14173]
27074         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27075         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27076         loop condition.
27078 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27080         [BZ #13717]
27081         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27082         Change to 2.4.1 where previously 2.4.0.
27083         * sysdeps/unix/sysv/linux/configure: Regenerated.
27084         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27085         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27086         version.
27087         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27088         (__ASSUME_AT_CLKTCK): Remove.
27089         (__ASSUME_AT_PAGESIZE): Likewise.
27090         (__ASSUME_AT_XID): Likewise.
27091         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27092         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27093         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27094         unconditionally.
27095         (HAVE_AUX_PAGESIZE): Likewise.
27096         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27097         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27098         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27100 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27102         [BZ #14307]
27103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27104         the temporary buffer used to invoke __gethostbyname2_r,
27105         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27106         host_data / struct gaih_addrtuple.
27107         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27108         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27109         header file nss/nsswitch.h.
27110         * nss/nsswitch.h (global scope): Add definition of implementation
27111         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27112         resolv/nss_dns/dns-host.c).
27114 2012-07-11  Andreas Jaeger  <aj@suse.de>
27116         * po/fr.po: Update from translation team.
27118         * po/sv.po: Update from translation team
27119         * po/fr.po: Another update from translation team.
27121 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27123         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27124         for subnormals or multiply small sinh result by itself.
27125         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27128 2012-07-11  David S. Miller  <davem@davemloft.net>
27130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27132 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27134         [BZ #14347]
27135         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27136         (INTERNAL_MARK): Shift it here.
27138 2012-07-10  Marek Polacek  <polacek@redhat.com>
27140         [BZ #14151]
27141         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27142         libc_cv_asm_global_directive with .globl.
27143         * configure: Regenerated.
27144         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27145         with .globl.
27146         * sysdeps/i386/configure: Regenerated.
27147         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27148         with .globl.
27149         * sysdeps/x86_64/configure: Regenerated.
27150         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27151         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27152         * elf/tst-unique2mod2.c: Likewise.
27153         * elf/tst-unique2mod1.c: Likewise.
27154         * elf/tst-unique1mod2.c: Likewise.
27155         * elf/tst-unique1mod1.c: Likewise.
27156         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27157         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27158         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27159         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27160         * sysdeps/mach/sysdep.h: Likewise.
27161         * sysdeps/i386/sysdep.h: Likewise.
27162         * sysdeps/i386/i386-mcount.S: Likewise.
27163         * sysdeps/x86_64/_mcount.S: Likewise.
27164         * sysdeps/x86_64/sysdep.h: Likewise.
27165         * sysdeps/sh/_mcount.S: Likewise.
27166         * sysdeps/sh/sysdep.h: Likewise.
27167         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27168         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27169         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27170         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27171         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27172         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27173         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27174         * locale/localeinfo.h: Likewise.
27175         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27176         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27178 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27180         [BZ #14336]
27181         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27182         system".
27183         * manual/message.texi (The Uniforum approach): Likewise.
27184         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27185         (glibc iconv Implementation): Likewise.
27187 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27189         [BZ #14337]
27190         * math/s_clog.c (__clog): Avoid scaling a value down where that
27191         could result in underflow.
27192         * math/s_clog10.c (__clog10): Likewise.
27193         * math/s_clog10f.c (__clog10f): Likewise.
27194         * math/s_clog10l.c (__clog10l): Likewise.
27195         * math/s_clogf.c (__clogf): Likewise.
27196         * math/s_clogl.c (__clogl): Likewise.
27197         * math/libm-test.inc (clog_test): Add more tests.
27198         (clog10_test): Likewise.
27199         * sysdeps/i386/fpu/libm-test-ulps: Update.
27200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27202 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27204         [BZ #14283]
27205         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27206         by 7 not 8 to examine high bit of fractional part.
27208         [BZ #14042]
27209         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27210         for call to __mcount_internal.
27211         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27212         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27213         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27215 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27217         [BZ #14154]
27218         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27219         approximation for values within 0x1p-13f of an odd multiple of
27220         pi/4.
27221         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27222         exception.  Add more tests.
27223         * sysdeps/i386/fpu/libm-test-ulps: Update.
27225         [BZ #6778]
27226         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27227         inputs and return -1 for them.  Do not check for +Inf in case not
27228         reachable for +Inf.
27229         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27230         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27231         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27232         and return -1 for them.  Do not check for +Inf in case not
27233         reachable for +Inf.
27234         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27235         define.
27236         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27237         and return -1 for them.  Do not check for +Inf in case not
27238         reachable for +Inf.
27239         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27240         spurious underflow.
27241         * sysdeps/i386/fpu/libm-test-ulps: Update.
27242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27244 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27246         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27248 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
27250         [BZ #14157]
27251         [BZ #14331]
27252         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27253         could result in spurious underflow.  Scale down values above
27254         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27255         * math/s_csqrtf.c (__csqrtf): Likewise.
27256         * math/s_csqrtl.c (__csqrtl): Likewise.
27257         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
27258         spurious underflow.
27259         * sysdeps/i386/fpu/libm-test-ulps: Update.
27260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27262 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
27264         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27265         xopen-msg.sed.
27266         * catgets/xopen-msg.awk: New file.
27267         * catgets/xopen-msg.sed: Removed.
27269         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27270         po2text.sed.
27271         * intl/po2test.awk: New file.
27272         * intl/po2test.sed: Removed.
27274 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
27276         [BZ #14328]
27277         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27278         or multiply small sinh result by itself.
27279         * math/s_ctanf.c (__ctanf): Likewise.
27280         * math/s_ctanh.c (__ctanh): Likewise.
27281         * math/s_ctanhf.c (__ctanhf): Likewise.
27282         * math/s_ctanhl.c (__ctanhl): Likewise.
27283         * math/s_ctanl.c (__ctanl): Likewise.
27284         * math/libm-test.inc (ctan_test_tonearest): New function.
27285         (ctan_test_towardzero): Likewise.
27286         (ctan_test_downward): Likewise.
27287         (ctan_test_upward): Likewise.
27288         (ctanh_test_tonearest): Likewise.
27289         (ctanh_test_towardzero): Likewise.
27290         (ctanh_test_downward): Likewise.
27291         (ctanh_test_upward): Likewise.
27292         (main): Call these new functions.
27293         * sysdeps/i386/fpu/libm-test-ulps: Update.
27294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27296 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
27298         * .gitignore: Delete /ports entry.
27300 2012-07-03  Andreas Jaeger  <aj@suse.de>
27302         * po/bg.po: Update from translation team.
27303         * po/cs.po: Likewise.
27304         * po/de.po: Likewise.
27305         * po/hr.po: Likewise.
27306         * po/nl.pl: Likewise.
27307         * po/pl.po: Likewise.
27308         * po/vi.po: Likewise.
27310 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
27312         * Makeconfig [!+link] (+link-before-libc): New variable.
27313         [!+link] (+link-after-libc): Likewise.
27314         [!+link] (+link-tests): Likewise.
27315         [!+link] (+link): Define in terms of $(+link-before-libc) and
27316         $(+link-after-libc).
27317         [!+link-static] (+link-static-before-libc): New variable.
27318         [!+link-static] (+link-static-after-libc): Likewise.
27319         [!+link-static] (+link-static-tests): Likewise.
27320         [!+link-static] (+link-static): Define in terms of
27321         $(+link-static-before-libc) and $(+link-static-after-libc).
27322         [build-shared] (link-libc-before-gnulib): New variable.
27323         [build-shared] (link-libc-tests): Likewise.
27324         [build-shared] (link-libc): Define in terms of
27325         $(link-libc-before-gnulib).
27326         [!build-shared] (link-libc-tests): New variable.
27327         (link-libc-static-tests): New variable.
27328         [!gnulib] (gnulib-arch): New variable.
27329         [!gnulib] (gnulib-tests): Likewise.
27330         [!gnulib] (static-gnulib-arch): Likewise.
27331         [!gnulib] (static-gnulib-tests): Likewise.
27332         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
27333         Define with "=" instead of ":=".
27334         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
27335         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
27336         * Rules (binaries-all-notests): New variable.
27337         (binaries-all-tests): Likewise.
27338         (binaries-static-notests): Likewise.
27339         (binaries-static-tests): Likewise.
27340         (binaries-all): Define using $(binaries-all-notests) and
27341         $(binaries-all-tests).
27342         (binaries-static): Define using $(binaries-static-notests) and
27343         $(binaries-static-tests).
27344         (binaries-shared-tests): New variable.
27345         (binaries-shared-notests): Likewise.
27346         (binaries-shared): Remove variable.
27347         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27348         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27349         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27350         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27351         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27352         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27353         * elf/Makefile (sln-modules): New variable.
27354         (extra-objs): Add $(sln-modules:=.o).
27355         (ldconfig-modules): Add static-stubs.
27356         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27357         * elf/static-stubs.c: New file.
27359         [BZ #14283]
27360         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27361         by 7 not 8 to examine high bit of fractional part.  Use volatile
27362         variables when splitting into final array of floats if
27363         __FLT_EVAL_METHOD__ != 0.
27364         * math/libm-test.inc (cos_test): Add another test.
27365         (sin_test): Likewise.
27366         * sysdeps/i386/fpu/libm-test-ulps: Update.
27368         [BZ #14273]
27369         * math/libm-test.inc (cosh_test): Add more tests.
27371         * version.h (RELEASE): Set to "development".
27372         (VERSION): Set to "2.16.90".
27374 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
27376         * NEWS: Update copyright. Remove last-updated date.
27377         Mention math library bug fixes and timezone data changes.
27378         * README: Mention GNU/Hurd, x32, and HPPA support status.
27380 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
27382         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27384 2012-06-27  Andreas Jaeger  <aj@suse.de>
27386         * manual/contrib.texi (Contributors): Add Samuel Thibault.
27388 2012-06-25  Andreas Jaeger  <aj@suse.de>
27390         * sysdeps/s390/fpu/libm-test-ulps: Update.
27392 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
27393             Thomas Schwinge  <thomas@codesourcery.com>
27395         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27396         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27398         fanotify_mark.
27400 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
27402         * sysdeps/mach/start.c: Remove file.
27403         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27404         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27405         * sysdeps/sh/init-first.c: Likewise.
27407         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27408         registers for frame unwinding purposes, add CFI directives.
27409         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27410         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27411         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27412         Likewise.
27414         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27415         __fortify_fail returning.
27416         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27418         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27419         sysdeps/sh/____longjmp_chk.S.
27420         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27421         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27422         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27423         (gen-as-const-headers): Append sigaltstack-offsets.sym.
27425         * sysdeps/sh/abort-instr.h: New file.
27426         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27427         process in case exit returns.
27429         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27430         initialize the GOT register before use.
27432         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27433         calculation of ARGC > 4.
27435         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27436         meaningful names to some local labels.
27438 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27439             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27441         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27442         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27443         (__arch_compare_and_exchange_val_16_acq): Likewise.
27444         (__arch_compare_and_exchange_val_32_acq): Likewise.
27445         (atomic_exchange_and_add): Fix gUSA sequence.
27446         (atomic_add): Likewise.
27447         (atomic_add_negative): Likewise.
27448         (atomic_add_zero): Likewise.
27449         (atomic_bit_test_set): Likewise.
27451 2012-06-22  Andreas Schwab  <schwab@redhat.com>
27453         [BZ #13579]
27454         * include/link.h (struct link_map): Add l_free_initfini.
27455         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27456         l_initfini.
27457         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27458         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27459         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27460         set.
27462 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
27464         * configure.in: Use AC_LANG_SOURCE.
27465         * configure: Regenerate.
27467 2012-06-22  Roland McGrath  <roland@hack.frob.com>
27469         * configure.in (libc_cv_localstatedir): New substituted variable.
27470         * configure: Regenerated.
27471         * config.make.in (localstatedir): New variable, substituted from
27472         libc_cv_localstatedir.
27473         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27474         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27475         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27476         * sysdeps/gnu/configure: Regenerated.
27478 2012-06-21  Jeff Law  <law@redhat.com>
27480         [BZ #14277]
27481         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27482         free.  Simplify list management for _LIBC case.
27484 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
27486         [BZ #14273]
27487         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27488         Clear sign bit of 64-bit integer value before comparing against
27489         overflow value.
27491         * sysdeps/mach/configure: Regenerated.
27493 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
27495         [BZ #14278]
27496         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27498 2012-06-21  Jeff Law  <law@redhat.com>
27500         [BZ #13882]
27501         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
27502         uint16_t for elements in the "seen" array to avoid char overflows.
27503         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27504         * elf/dl-open.c (dl_open_worker): Likewise.
27506 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
27508         * scripts/list-sources.sh: Scan PORTS for translations.
27509         * po/libc.pot: Regenerated.
27511 2012-06-21  Andreas Jaeger  <aj@suse.de>
27513         [BZ #12194]
27514         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27515         warning.
27516         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27517         * bits/byteswap-16.h (__bswap_16): Likewise.
27518         * bits/byteswap.h (__bswap_constant_16): Likewise.
27520 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
27522         [BZ #14117]
27523         * sysdeps/i386/fpu_control.h: Removed.
27524         * sysdeps/x86_64/fpu_control.h: Moved to ...
27525         * sysdeps/x86/fpu_control.h: Here.
27527         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27528         (_FPU_SETCW): Likewise.
27530 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
27532         [BZ #14117]
27533         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27534         * sysdeps/x86/fpu/bits/mathinline.h: This.
27535         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27537         [BZ #14050]
27538         [BZ #14117]
27539         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27540         functions if __x86_64__ is defined.
27542 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
27544         * string/endian.h: Add !__ASSEMBLER__ condition for including
27545         conversion interfaces.
27547 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
27549         [BZ #14241]
27550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27551         of ABS(x) in calculating zero to negative powers other than odd
27552         integers.
27553         * math/libm-test.inc (pow_test): Add more tests.
27555 2012-06-15  Andreas Jaeger  <aj@suse.de>
27557         * manual/contrib.texi (Contributors): Update entry of Liubov
27558         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27559         Machado Filho.
27561 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
27563         * string/string.h: Add __wur to GNU version of strerror_r.
27565 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
27567         [BZ #14229]
27568         * string/Makefile (tests): Add tst-strtok_r.
27569         * string/tst-strtok_r.c: New file.
27570         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27571         RAX_LP/RDX_LP on SAVE_PTR.
27573 2012-06-14  Roland McGrath  <roland@hack.frob.com>
27575         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27577 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
27579         * libm_test.inc (csqrt_test): Allow more spurious underflow
27580         exceptions.
27581         (j0_test): Likewise.
27582         (j1_test): Likewise.
27583         (y0_test): Likewise.
27584         (y1_test): Likewise.
27586 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
27588         * po/Makefile (libc.pot): Use UTF-8 charset.
27590 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
27592         [BZ #14210]
27593         Suppress sign-conversion warning from FD_SET.
27594         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27595         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27596         not unsigned long int.
27597         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27599 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
27601         [BZ #14050]
27602         [BZ #14117]
27603         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27604         __extern_always_inline instead of __extern_inline.
27605         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27606         (__signbit): Likewise.
27607         (__signbitl): Support C++ namespace.
27608         (lrintf): New inline function.
27609         (lrint): Likewise.
27610         (llrintf): Likewise.
27611         (llrint): Likewise.
27612         (fmaxf): Likewise.
27613         (fmax): Likewise.
27614         (fminf): Likewise.
27615         (fmin): Likewise.
27616         (rint): Likewise.
27617         (rintf): Likewise.
27618         (ceil): Likewise.
27619         (ceilf): Likewise.
27620         (floor): Likewise.
27621         (floorf): Likewise.
27622         (nearbyint): Likewise.
27623         (nearbyintf): Likewise.
27625 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
27627         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27628         non-default versions.
27630 2012-06-11  Roland McGrath  <roland@hack.frob.com>
27632         [BZ #14218]
27633         * manual/argp.texi (Argp): Reword argp_parse description slightly.
27635 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
27637         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27638         (FE_UPWARD, FE_DOWNWARD): Don't define.
27639         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27640         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27642         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27643         reading it.
27644         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27645         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27647 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27649         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27651         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27652         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27654 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
27656         [BZ #14117]
27657         * sysdeps/i386/fpu/bits/fenv.h: Removed.
27658         * sysdeps/i386/fpu/Implies: New file.
27659         * sysdeps/x86_64/fpu/Implies: Likewise.
27660         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27661         * sysdeps/x86/fpu/bits/fenv.h: This.
27663         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27664         __SSE_MATH__.
27666 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27668         [BZ #14134]
27669         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27670         character 0xffff that matches the last element of the
27671         conversion table.
27673 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27675         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27676         fmodl commit.
27678 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27681         values higher than 25.6283.
27683 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27686         subnormal exponent extraction and add some __builtin_expect.
27687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27688         Fix for subnormal mantissa calculation.
27690 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
27692         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27693         cpu2 is -1 and errno is not ENOSYS.
27695 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
27697         [BZ #14117]
27698         * sysdeps/i386/i486/bits/string.h: Renamed to ...
27699         * sysdeps/x86/bits/string.h: This.
27700         * sysdeps/x86_64/bits/string.h: Removed.
27702         * sysdeps/i386/i486/bits/string.h: Define inline functions only
27703         if not compiling for x86-64, but compiling for >= i486.
27705         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27706         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27708         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27709         New macro from Linux kernel 3.4.0.
27710         (FP_XSTATE_MAGIC2): Likewise.
27711         (FP_XSTATE_MAGIC2_SIZE): Likewise.
27712         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27713         (struct _fpx_sw_bytes): New struct.
27714         (struct _xsave_hdr): Likewise.
27715         (struct _ymmh_state): Likewise.
27716         (struct _xstate): Likewise.
27718         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27719         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27720         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27721         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27722         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27723         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27725         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27726         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27727         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27728         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27729         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27730         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27732 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27734         [BZ #13743]
27735         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27736         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27737         (sysdep_headers): Include sys/platform/ppc.h.
27738         * sysdeps/powerpc/test-gettimebase.c: Test for
27739         __ppc_get_timebase() to catch future ISA opcode/insn changes.
27740         * manual/Makefile (appendices): Include platform.texi.
27741         * manual/contrib.texi (Contributors): Update @node pointers.
27742         * manual/maint.texi (Maintenance): Likewise.
27743         (Platform): New node.
27744         * manual/platform.texi: New file.  Document the new features.
27746 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27747             Jakub Jelinek  <jakub@redhat.com>
27749         [BZ #14188]
27750         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27751         where __builtin_expect is unavailable.
27753 2012-06-03  David S. Miller  <davem@davemloft.net>
27755         * stdlib/longlong.h: Updated from GCC.
27757 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
27759         [BZ #14042]
27760         * sysdeps/powerpc/powerpc32/mcount.c: New file.
27761         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27762         __mcount_internal.
27763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27764         (GLIBC_2.16): Likewise.
27766 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27768         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27770 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27773         (default-abi): New variable.
27774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27775         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27776         variable.
27777         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27778         Likewise.
27779         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27780         Likewise.
27781         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27782         Likewise.
27784         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27785         definition.  Document in comment.
27787 2012-06-01  David S. Miller  <davem@davemloft.net>
27789         * stdlib/longlong.h: Updated from GCC.
27791 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27793         [BZ #14117]
27794         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27795         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27796         sys/debugreg.h sys/io.h here.
27797         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27798         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27799         sys/io.h.
27800         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27801         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27802         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27803         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27804         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27805         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27807         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27808         Define only if __x86_64__ is defined.
27810 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27812         [BZ #14048]
27813         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27814         Use int64_t for variable i.
27815         * math/libm-test.inc (fmod_test): Add more tests.
27817         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27818         z computation is not scheduled after fetestexcept.
27819         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27820         Use math_force_eval instead of asm to ensure calculation scheduled
27821         before exception test.
27822         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27823         Ensure a1 + u.d computation is not scheduled after fetestexcept.
27825 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
27827         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27828         computation is not scheduled after fetestexcept.
27830 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27832         [BZ #14117]
27833         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27834         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27836 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27838         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27839         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27841 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27843         [BZ #14117]
27844         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27845         <bits/wordsize.h>.
27846         (__WCHAR_MIN): Support __WORDSIZE == 64.
27847         (__WCHAR_MAX): Likewise.
27849         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27850         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27852         [BZ #14183]
27853         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27854         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27856         [BZ #14117]
27857         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27858         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27860         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27861         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27863         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27864         Defined to 1 if __x86_64__ isn't defined.
27865         (_STAT_VER_LINUX_OLD): New.
27866         (st_atime): Remove duplicate.
27867         (st_mtime): Likewise.
27868         (st_ctime): Likewise.
27870 2012-05-31  David S. Miller  <davem@davemloft.net>
27872         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27873         entries.
27875 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
27877         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27878         gen-libm-test.pl.
27880         [BZ #14132]
27881         * elf/dl-reloc.c: Include <_itoa.h>.
27882         (_dl_reloc_bad_type): Remove use of INTUSE.
27883         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27884         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27885         * stdio-common/psiginfo.c (psiginfo): Likewise.
27886         * stdio-common/psignal.c (psignal): Likewise.
27887         * string/strsignal.c (strsignal): Likewise.
27888         * include/signal.h (_sys_siglist): Declare hidden proto.
27889         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
27890         INTVARDEF with libc_hidden_data_def.
27891         * stdio-common/itoa-udigits.c: Likewise.
27892         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27893         (_itoa_lower_digits_internal): Remove declaration.
27894         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27895         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27896         (_sys_sigabbrev_internal): Remove aliases.
27897         (_sys_siglist): Define hidden alias.
27899 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27901         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27902         bits/sysctl.h.
27904 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27906         [BZ #14117]
27907         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27908         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27910         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27911         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27912         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27913         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27914         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27915         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27917         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27918         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27919         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27921         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27922         with __addr.
27923         (insw): Likewise.
27924         (insl): Likewise.
27925         (outsb): Likewise.
27926         (outsw): Likewise.
27927         (outsl): Likewise.
27929         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27930         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27931         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27933         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27934         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27935         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27936         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27937         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27938         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27940         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27941         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27943         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27944         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27946         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27947         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27948         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27950         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27951         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27952         to ...
27953         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27955         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27956         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27957         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27959         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27960         for x86-64.
27961         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27963 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27965         * math/math.h (M_El): Use two more decimal places.
27966         (M_LOG2El): Likewise.
27967         (M_LOG10El): Likewise.
27968         (M_LN2l): Likewise.
27969         (M_LN10l): Likewise.
27970         (M_PIl): Likewise.
27971         (M_PI_2l): Likewise.
27972         (M_PI_4l): Likewise.
27973         (M_1_PIl): Likewise.
27974         (M_2_PIl): Likewise.
27975         (M_2_SQRTPIl): Likewise.
27976         (M_SQRT2l): Likewise.
27977         (M_SQRT1_2l): Likewise.
27979 2012-05-31  David S. Miller  <davem@davemloft.net>
27981         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27982         values between float registers.
27983         * sysdeps/sparc/sparc64/memset.S: Likewise.
27984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27986 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27988         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27989         -D_FORTIFY_SOURCE=1.
27990         (CPPFLAGS-tst-longjmp_chk.c): Define.
27991         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27992         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27993         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27994         CFLAGS-tst-wchar-h.c.
27996 2012-05-31  Marek Polacek  <polacek@redhat.com>
27998         [BZ #14132]
27999         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28000         __endmntent_internal): Remove declaration.
28001         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28002         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28003         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28005 2012-05-30  David S. Miller  <davem@davemloft.net>
28007         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28008         (___Q_simulate_exceptions): Use real FP ops rather than writing
28009         into the %fsr.
28010         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28011         Likewise.
28013 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28015         [BZ #14117]
28016         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28017         * sysdeps/x86/bits/xtitypes.h: This.
28019         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28020         * sysdeps/x86/bits/wordsize.h: This.
28022         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28023         * sysdeps/x86/bits/huge_vall.h: This.
28025         * sysdeps/i386/bits/select.h: Removed.
28026         * sysdeps/x86_64/bits/select.h: Renamed to ...
28027         * sysdeps/x86/bits/select.h: This.
28029         * sysdeps/i386/bits/setjmp.h: Removed.
28030         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28031         * sysdeps/x86/bits/setjmp.h: This.
28033         * sysdeps/i386/bits/mathdef.h: Removed.
28034         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28035         * sysdeps/x86/bits/mathdef.h: This.
28037 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28039         [BZ #14132]
28040         * include/sys/socket.h (__connect_internal)
28041         (__libc_sa_len_internal): Remove declaration.
28042         (__connect, __libc_sa_len): Declare hidden_proto.
28043         (SA_LEN): Remove use of INTUSE.
28044         * socket/connect.c: Add libc_hidden_def.
28045         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28046         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28047         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28048         alias.
28049         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28050         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28051         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28052         of adding _internal alias.
28054 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28056         [BZ #14117]
28057         * sysdeps/i386/bits/link.h: Removed.
28058         * sysdeps/i386/bits/linkmap.h: Likewise.
28059         * sysdeps/x86_64/bits/link.h: Renamed to ...
28060         * sysdeps/x86/bits/link.h: This.
28061         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28062         * sysdeps/x86/bits/linkmap.h: This.
28064         * sysdeps/i386/bits/endian.h: Removed.
28065         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28066         * sysdeps/x86/bits/endian.h: This.
28068         * sysdeps/i386/bits/byteswap.h: Removed.
28069         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28070         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28071         * sysdeps/x86/bits/byteswap.h: This.
28072         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28073         * sysdeps/x86/bits/byteswap-16.h: This.
28074         * sysdeps/i386/Implies: Add x86.
28075         * sysdeps/x86_64/Implies: Likewise.
28077 2012-05-30  David S. Miller  <davem@davemloft.net>
28079         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28080         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28081         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28082         (FP_TRAPPING_EXCEPTIONS): Define.
28083         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28084         (FP_TRAPPING_EXCEPTIONS): Define.
28085         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28086         subnormals only when inexact has been signalled or underflow
28087         exceptions are enabled.
28088         (_FP_PACK_CANONICAL): Likewise.
28090 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28092         [BZ #14183]
28093         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28094         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28096 2012-05-30  Richard Henderson  <rth@twiddle.net>
28098         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28099         with #ifndef NOT_IN_libc.
28101         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28102         marked to avoid plt entry.
28104 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28106         [BZ #14112]
28107         * Makeconfig (default-abi): New macro.
28108         (abi-includes): Likewise.
28109         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28110         $(abi-$(default-abi)-lib-soname) for soname if defined.
28111         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28112         abi-variants.
28113         * Makefile (installed-stubs): Likewise.
28114         * include/stubs-biarch.h: Removed.
28115         * scripts/lib-names.awk: Only handle one library at a time.
28116         * scripts/soversions.awk: Remove WORDSIZE support.
28117         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28118         entries.
28119         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28120         Removed.
28121         (syscall-list-default-condition): Likewise.
28122         (syscall-list-default-condition): Likewise.
28123         (syscall-list-includes): Likewise.
28124         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28125         syscall-list-* with abi-*.  Handle undefined abi-variants.
28126         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28127         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28128         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28129         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28130         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28131         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28132         Removed.
28133         (syscall-list-32-options): Likewise.
28134         (syscall-list-32-condition): Likewise.
28135         (syscall-list-64-options): Likewise.
28136         (syscall-list-64-condition): Likewise.
28137         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28138         macro.
28139         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28140         Renamed to ...
28141         (abi-*): This.
28142         (abi-64-ld-soname): New macro.
28143         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28144         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28145         Renamed to ...
28146         (abi-*): This.
28147         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28148         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28150 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28152         * sysdeps/unix/sysv/linux/kernel-features.h
28153         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28154         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28155         include <kernel-features.h>.
28156         [!__NR_ftruncate64]: Remove conditional code.
28157         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28158         [__NR_ftruncate64]: Make code unconditional.
28159         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28160         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28161         include <kernel-features.h>.
28162         [!__NR_ftruncate64]: Remove conditional code.
28163         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28164         [__NR_ftruncate64]: Make code unconditional.
28165         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28167         include <kernel-features.h>.
28168         [!__NR_ftruncate64]: Remove conditional code.
28169         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28170         [__NR_ftruncate64]: Make code unconditional.
28171         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28173         include <kernel-features.h>.
28174         [!__NR_ftruncate64]: Remove conditional code.
28175         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28176         [__NR_ftruncate64]: Make code unconditional.
28177         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28179         * configure.in (libc_cv_fpie): Weaken to a compile test using
28180         LIBC_TRY_CC_OPTION.
28181         * configure: Regenerated.
28183 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28189         Refreshed.
28190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28196         Refreshed.
28198 2012-05-27  David S. Miller  <davem@davemloft.net>
28200         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28201         (___Q_zero): New.
28202         (__Q_simulate_exceptions): Return void.  Change to simulate
28203         exceptions by writing into the %fsr.
28204         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28205         (__Qp_handle_exceptions): Likewise.
28206         (numbers): Delete.
28207         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28208         __Qp_handle_exceptions.
28209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28210         __Qp_handle_exceptions.
28211         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28212         as unused and give dummy FP_RND_NEAREST initializer.
28213         (FP_INHIBIT_RESULTS): Define.
28214         (___Q_simulate_exceptions): Update declaration.
28215         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28216         formatting.
28217         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28218         as unused and give dummy FP_RND_NEAREST initializer.
28219         (__Qp_handle_exceptions): Update declaration.
28220         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28221         formatting.
28223 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28225         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28226         the temporary FPU control word.
28227         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28228         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28229         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28230         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28231         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28232         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28233         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28234         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28235         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28236         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28237         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28239 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28241         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28242         fields.
28244 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28246         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28247         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28248         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28249         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28250         Likewise.
28251         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28252         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28253         Likewise.
28255 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
28257         * po/h.po: Update from translation team.
28259 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
28261         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28263         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28264         handling of denormals.
28265         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28266         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28267         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28268         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28269         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28270         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28272         Likewise.
28274 2012-05-26  Marek Polacek  <polacek@redhat.com>
28276         [BZ #14152]
28277         * math/libm-test.inc (fma_test): Don't always expect underflow
28278         exception.
28280 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28282         [BZ #12416]
28283         * elf/tst-execstack.c: Include stackinfo.h.
28284         (do_test): Adjust test case to ensure that pthread_getattr_np
28285         behaviour remains the same after marking stack executable.
28287 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28289         * sysdeps/unix/sysv/linux/kernel-features.h
28290         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28291         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28292         kernel-features.h.
28293         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28294         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28295         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28296         kernel-features.h.
28297         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28298         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28300 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
28302         * configure.in: Define the default includes to being none.
28303         * configure: Regenerated.
28305 2012-05-25  Roland McGrath  <roland@hack.frob.com>
28307         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28308         * sysdeps/x86_64/setjmp.S: Likewise.
28309         * sysdeps/i386/bsd-setjmp.S: Likewise.
28310         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28311         * sysdeps/i386/setjmp.S: Likewise.
28312         * sysdeps/i386/__longjmp.S: Likewise.
28313         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28314         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28316         * include/stap-probe.h: New file.
28317         * configure.in: Handle --enable-systemtap.
28318         * configure: Regenerated.
28319         * config.h.in (USE_STAP_PROBE): New #undef.
28320         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28321         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28322         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28324 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28326         [BZ #13717]
28327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28328         to 2.4.0 where earlier.
28329         * sysdeps/unix/sysv/linux/configure: Regenerated.
28330         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28331         <kernel-features.h>.
28332         [__ASSUME_32BITUIDS]: Make code unconditional.
28333         [!__ASSUME_32BITUIDS]: Remove conditional code.
28334         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28335         <kernel-features.h>.
28336         [__ASSUME_32BITUIDS]: Make code unconditional.
28337         [!__ASSUME_32BITUIDS]: Remove conditional code.
28338         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28339         [__ASSUME_32BITUIDS]: Make code unconditional.
28340         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28341         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28342         <kernel-features.h>.
28343         [__ASSUME_32BITUIDS]: Make code unconditional.
28344         [!__ASSUME_32BITUIDS]: Remove conditional code.
28345         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28346         <kernel-features.h>.
28347         [__ASSUME_32BITUIDS]: Make code unconditional.
28348         [!__ASSUME_32BITUIDS]: Remove conditional code.
28349         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28350         <kernel-features.h>.
28351         [__ASSUME_32BITUIDS]: Make code unconditional.
28352         [!__ASSUME_32BITUIDS]: Remove conditional code.
28353         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28354         <kernel-features.h>.
28355         [__ASSUME_32BITUIDS]: Make code unconditional.
28356         [!__ASSUME_32BITUIDS]: Remove conditional code.
28357         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28358         <kernel-features.h>.
28359         [__ASSUME_32BITUIDS]: Make code unconditional.
28360         [!__ASSUME_32BITUIDS]: Remove conditional code.
28361         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28362         <kernel-features.h>.
28363         [__ASSUME_32BITUIDS]: Make code unconditional.
28364         [!__ASSUME_32BITUIDS]: Remove conditional code.
28365         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28366         <kernel-features.h>.
28367         [__ASSUME_32BITUIDS]: Make code unconditional.
28368         [!__ASSUME_32BITUIDS]: Remove conditional code.
28369         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28370         <kernel-features.h>.
28371         [__ASSUME_32BITUIDS]: Make code unconditional.
28372         [!__ASSUME_32BITUIDS]: Remove conditional code.
28373         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28374         <kernel-features.h>.
28375         [__ASSUME_32BITUIDS]: Make code unconditional.
28376         [!__ASSUME_32BITUIDS]: Remove conditional code.
28377         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28378         <kernel-features.h>.
28379         [__ASSUME_32BITUIDS]: Make code unconditional.
28380         [!__ASSUME_32BITUIDS]: Remove conditional code.
28381         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28382         <kernel-features.h>.
28383         [__NR_setresgid] (__setresgid): Do not declare.
28384         [__ASSUME_32BITUIDS]: Make code unconditional.
28385         [!__ASSUME_32BITUIDS]: Remove conditional code.
28386         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28387         <kernel-features.h>.
28388         [__NR_setresuid] (__setresuid): Do not declare.
28389         [__ASSUME_32BITUIDS]: Make code unconditional.
28390         [!__ASSUME_32BITUIDS]: Remove conditional code.
28391         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28392         <kernel-features.h>.
28393         [__ASSUME_32BITUIDS]: Make code unconditional.
28394         [!__ASSUME_32BITUIDS]: Remove conditional code.
28395         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28396         <kernel-features.h>.
28397         [__ASSUME_32BITUIDS]: Make code unconditional.
28398         [!__ASSUME_32BITUIDS]: Remove conditional code.
28399         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28400         <kernel-features.h>.
28401         [__ASSUME_32BITUIDS]: Make code unconditional.
28402         [!__ASSUME_32BITUIDS]: Remove conditional code.
28403         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28404         <kernel-features.h>.
28405         [__ASSUME_32BITUIDS]: Make code unconditional.
28406         [!__ASSUME_32BITUIDS]: Remove conditional code.
28407         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28408         <kernel-features.h>.
28409         [__ASSUME_32BITUIDS]: Make code unconditional.
28410         [!__ASSUME_32BITUIDS]: Remove conditional code.
28411         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28412         <kernel-features.h>.
28413         [__ASSUME_32BITUIDS]: Make code unconditional.
28414         [!__ASSUME_32BITUIDS]: Remove conditional code.
28415         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28416         <kernel-features.h>.
28417         [__ASSUME_32BITUIDS]: Make code unconditional.
28418         [!__ASSUME_32BITUIDS]: Remove conditional code.
28419         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28420         <kernel-features.h>.
28421         [__ASSUME_32BITUIDS]: Make code unconditional.
28422         [!__ASSUME_32BITUIDS]: Remove conditional code.
28423         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28424         <kernel-features.h>.
28425         [__ASSUME_32BITUIDS]: Make code unconditional.
28426         [!__ASSUME_32BITUIDS]: Remove conditional code.
28427         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28428         <kernel-features.h>.
28429         [__ASSUME_32BITUIDS]: Make code unconditional.
28430         [!__ASSUME_32BITUIDS]: Remove conditional code.
28431         * sysdeps/unix/sysv/linux/kernel-features.h
28432         (__ASSUME_SETRESUID_SYSCALL): Remove.
28433         (__ASSUME_SETRESGID_SYSCALL): Likewise.
28434         (__ASSUME_32BITUIDS): Likewise.
28435         (__ASSUME_LDT_WORKS): Likewise.
28436         (__ASSUME_O_DIRECTORY): Likewise.
28437         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28438         architecture but not kernel version.
28439         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28440         (__ASSUME_MMAP2_SYSCALL): Likewise.
28441         (__ASSUME_STAT64_SYSCALL): Likewise.
28442         (__ASSUME_IPC64): Likewise.
28443         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28444         <kernel-features.h>.
28445         [__ASSUME_32BITUIDS]: Make code unconditional.
28446         [!__ASSUME_32BITUIDS]: Remove conditional code.
28447         * sysdeps/unix/sysv/linux/opendir.c: Do not include
28448         <kernel-features.h>.
28449         [__ASSUME_O_DIRECTORY]: Make code unconditional.
28450         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28451         132096]: Remove conditional code.
28452         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28453         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28454         <kernel-features.h>.
28455         [__ASSUME_32BITUIDS]: Make code unconditional.
28456         [!__ASSUME_32BITUIDS]: Remove conditional code.
28457         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28458         <kernel-features.h>.
28459         [__ASSUME_32BITUIDS]: Make code unconditional.
28460         [!__ASSUME_32BITUIDS]: Remove conditional code.
28461         * sysdeps/unix/sysv/linux/setegid.c: Do not include
28462         <kernel-features.h>.
28463         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28464         unconditional.
28465         (__setresgid): Do not declare.
28466         [__ASSUME_32BITUIDS]: Make code unconditional.
28467         [!__ASSUME_32BITUIDS]: Remove conditional code.
28468         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28469         <kernel-features.h>.
28470         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28471         unconditional.
28472         (__setresuid): Do not declare.
28473         [__ASSUME_32BITUIDS]: Make code unconditional.
28474         [!__ASSUME_32BITUIDS]: Remove conditional code.
28475         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28476         <kernel-features.h>.
28477         [__ASSUME_32BITUIDS]: Make code unconditional.
28478         [!__ASSUME_32BITUIDS]: Remove conditional code.
28479         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28480         <kernel-features.h>.
28481         [__ASSUME_32BITUIDS]: Make code unconditional.
28482         [!__ASSUME_32BITUIDS]: Remove conditional code.
28484 2012-05-25  Richard Henderson  <rth@twiddle.net>
28486         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28487         dl_hwcap to ifunc resolver.
28488         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28489         elf_ifunc_invoke.
28490         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28491         dl_hwcap to ifunc resolver.
28492         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28494 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28496         [BZ #14153]
28497         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28498         for |x| <= 2**-26, not 2**-57.
28499         * math/libm-test.inc (acos_test): Do not allow spurious underflow
28500         exception.
28502 2012-05-24  Jeff Law  <law@redhat.com>
28504         * stdio-common/Makefile (tests): Add bug25.
28505         * stdio-common/bug25.c: New test.
28507 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28509         [BZ #13576]
28510         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28511         multiple of MALLOC_ALIGNMENT in size.
28512         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28514 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28516         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28517         Require >= 256.
28518         (FILENAME_MAX): Use macro-int-constant.
28519         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
28520         (_IOFBF): Use macro-int-constant.
28521         (_IOLBF): Likewise.
28522         (_IONBF): Likewise.
28523         (SEEK_CUR): Likewise.
28524         (SEEK_END): Likewise.
28525         (SEEK_SET): Likewise.
28526         (TMP_MAX): Likewise.
28527         (EOF): Use macro-int-constant.  Require < 0.
28528         (NULL): Use macro-constant.  Require == 0.
28529         (stdin): Require type to be FILE *.
28530         (stdout): Likewise.
28531         (stderr): Likewise.
28532         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28533         macro-int-constant.
28534         (EXIT_SUCCESS): Likewise.
28535         (NULL): Use macro-constant.  Require == 0.
28536         (RAND_MAX): Use macro-int-constant.
28537         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28538         [C99-based standards] (strtof): Require function.
28539         [C99-based standards] (strtold): Likewise.
28540         [C99-based standards] (strtoll): Likewise.
28541         [C99-based standards] (strtoull): Likewise.
28542         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28543         [ISO || ISO99 || ISO11] (limits.h): Likewise.
28544         [ISO || ISO99 || ISO11] (math.h): Likewise.
28545         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28546         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28547         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28549 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
28551         [BZ #14132]
28552         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28553         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28554         * intl/dgettext.c (DCGETTEXT): Likewise.
28555         * intl/gettext.c (DCGETTEXT): Likewise.
28556         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28557         * posix/regex_internal.h (gettext): Likewise.
28558         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28559         Remove declaration.
28560         * include/argz.h (__argz_count_internal)
28561         (__argz_stringify_internal): Remove declaration.
28562         (__argz_count, __argz_stringify): Declare hidden proto.
28563         * intl/dcgettext.c: Remove use of INTDEF.
28564         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28565         * string/argz-stringify.c: Likewise.
28566         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28567         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28568         Declare hidden proto.
28569         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28570         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28571         Declare hidden proto.
28572         * include/stdio.h (__asprintf_internal): Don't declare.
28573         (__asprintf): Don't define as macro.  Declare hidden proto.
28574         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28575         (__fsetlocking): Declare hidden proto.
28576         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28577         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28578         hidden proto.
28579         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28580         (_IO_setlinebuf): Remove use of INTUSE.
28581         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28582         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28583         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28584         Remove declaration.
28585         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28586         (_IO_do_flush): Remove use of INTUSE.
28587         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28588         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28589         (_IO_adjust_column, _IO_least_wmarker)
28590         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28591         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28592         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28593         (_IO_default_doallocate, _IO_wdefault_doallocate)
28594         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28595         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28596         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28597         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28598         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28599         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28600         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28601         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28602         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28603         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28604         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28605         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28606         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28607         proto.
28608         (_IO_flush_all_internal, _IO_adjust_column_internal)
28609         (_IO_default_uflow_internal, _IO_default_finish_internal)
28610         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28611         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28612         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28613         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28614         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28615         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28616         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28617         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28618         (_IO_file_close_internal, _IO_file_close_it_internal)
28619         (_IO_file_underflow_internal, _IO_file_overflow_internal)
28620         (_IO_file_init_internal, _IO_file_attach_internal)
28621         (_IO_file_fopen_internal, _IO_file_read_internal)
28622         (_IO_file_sync_internal, _IO_file_seek_internal)
28623         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28624         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28625         (_IO_str_underflow_internal, _IO_str_overflow_internal)
28626         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28627         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28628         (_IO_list_all_internal, _IO_link_in_internal)
28629         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28630         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28631         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28632         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28633         (_IO_do_write_internal, _IO_padn_internal)
28634         (_IO_getline_info_internal, _IO_getline_internal)
28635         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28636         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28637         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28638         (_IO_vfscanf_internal, _IO_vfprintf_internal)
28639         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28640         (_IO_init_internal, _IO_un_link_internal): Don't declare.
28641         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28642         with libc_hidden_ver, remove use of INTUSE.
28643         * libio/genops.c: Likewise.
28644         * libio/freopen.c: Likewise.
28645         * libio/freopen64.c: Likewise.
28646         * libio/iofclose.c: Likewise.
28647         * libio/iofdopen.c: Likewise.
28648         * libio/iofflush.c: Likewise.
28649         * libio/iofflush_u.c: Likewise.
28650         * libio/iofgets.c: Likewise.
28651         * libio/iofgets_u.c: Likewise.
28652         * libio/iofopen.c: Likewise.
28653         * libio/iofopncook.c: Likewise.
28654         * libio/iofread.c: Likewise.
28655         * libio/iofread_u.c: Likewise.
28656         * libio/ioftell.c: Likewise.
28657         * libio/iofwrite.c: Likewise.
28658         * libio/iogetline.c: Likewise.
28659         * libio/iogets.c: Likewise.
28660         * libio/iogetwline.c: Likewise.
28661         * libio/iopadn.c: Likewise.
28662         * libio/iopopen.c: Likewise.
28663         * libio/ioseekoff.c: Likewise.
28664         * libio/ioseekpos.c: Likewise.
28665         * libio/iosetbuffer.c: Likewise.
28666         * libio/iosetvbuf.c: Likewise.
28667         * libio/ioungetc.c: Likewise.
28668         * libio/ioungetwc.c: Likewise.
28669         * libio/iovdprintf.c: Likewise.
28670         * libio/iovsprintf.c: Likewise.
28671         * libio/iovsscanf.c: Likewise.
28672         * libio/memstream.c: Likewise.
28673         * libio/obprintf.c: Likewise.
28674         * libio/oldfileops.c: Likewise.
28675         * libio/oldiofclose.c: Likewise.
28676         * libio/oldiofdopen.c: Likewise.
28677         * libio/oldiofopen.c: Likewise.
28678         * libio/oldiopopen.c: Likewise.
28679         * libio/oldstdfiles.c: Likewise.
28680         * libio/putc.c: Likewise.
28681         * libio/setbuf.c: Likewise.
28682         * libio/setlinebuf.c: Likewise.
28683         * libio/stdfiles.c: Likewise.
28684         * libio/strops.c: Likewise.
28685         * libio/vasprintf.c: Likewise.
28686         * libio/vscanf.c: Likewise.
28687         * libio/vsnprintf.c: Likewise.
28688         * libio/vswprintf.c: Likewise.
28689         * libio/wfiledoalloc.c: Likewise.
28690         * libio/wfileops.c: Likewise.
28691         * libio/wgenops.c: Likewise.
28692         * libio/wmemstream.c: Likewise.
28693         * libio/wstrops.c: Likewise.
28694         * libio/__fpurge.c: Likewise.
28695         * libio/__fsetlocking.c: Likewise.
28696         * assert/assert.c: Likewise.
28697         * debug/fgets_chk.c: Likewise.
28698         * debug/fgets_u_chk.c: Likewise.
28699         * debug/fread_chk.c: Likewise.
28700         * debug/fread_u_chk.c: Likewise.
28701         * debug/gets_chk.c: Likewise.
28702         * debug/obprintf_chk.c: Likewise.
28703         * debug/vasprintf_chk.c: Likewise.
28704         * debug/vdprintf_chk.c: Likewise.
28705         * debug/vsnprintf_chk.c: Likewise.
28706         * debug/vsprintf_chk.c: Likewise.
28707         * malloc/mtrace.c: Likewise.
28708         * misc/error.c: Likewise.
28709         * misc/syslog.c: Likewise.
28710         * stdio-common/asprintf.c: Likewise.
28711         * stdio-common/fxprintf.c: Likewise.
28712         * stdio-common/getw.c: Likewise.
28713         * stdio-common/isoc99_fscanf.c: Likewise.
28714         * stdio-common/isoc99_scanf.c: Likewise.
28715         * stdio-common/isoc99_vfscanf.c: Likewise.
28716         * stdio-common/isoc99_vscanf.c: Likewise.
28717         * stdio-common/isoc99_vsscanf.c: Likewise.
28718         * stdio-common/printf-prs.c: Likewise.
28719         * stdio-common/printf_fp.c: Likewise.
28720         * stdio-common/printf_fphex.c: Likewise.
28721         * stdio-common/printf_size.c: Likewise.
28722         * stdio-common/putw.c: Likewise.
28723         * stdio-common/scanf.c: Likewise.
28724         * stdio-common/sprintf.c: Likewise.
28725         * stdio-common/tmpfile.c: Likewise.
28726         * stdio-common/vfprintf.c: Likewise.
28727         * stdio-common/vfscanf.c: Likewise.
28728         * stdlib/strfmon_l.c: Likewise.
28729         * sunrpc/openchild.c: Likewise.
28730         * sunrpc/xdr_stdio.c: Likewise.
28731         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28732         * sysdeps/mach/hurd/tmpfile.c: Likewise.
28734 2012-05-24  Roland McGrath  <roland@hack.frob.com>
28736         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28738         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28739         in the third column, to generate for the shared library an IFUNC
28740         that uses _dl_vdso_vsym.
28741         * Makerules (COMPILE.c, compile-stdin.c): New variables.
28742         * Makeconfig (object-suffixes-noshared): New variable.
28744         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28745         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28746         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28747         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28749         [BZ #14132]
28750         * include/sys/time.h (__gettimeofday): Remove macro.
28751         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28752         * time/gettimeofday.c (__gettimeofday): Remove #undef.
28753         Remove INTDEF.
28754         (__gettimeofday): Add libc_hidden_def.
28755         (gettimeofday): Add libc_hidden_weak.
28756         * sysdeps/mach/gettimeofday.c: Likewise.
28757         * sysdeps/posix/gettimeofday.c: Likewise.
28758         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28759         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28760         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28761         (__gettimeofday_internal): Remove strong_alias.
28762         (__gettimeofday): Add libc_hidden_def.
28763         (gettimeofday): Add libc_hidden_weak.
28764         * sysdeps/unix/syscalls.list (gettimeofday):
28765         Remove __gettimeofday_internal alias.
28767 2012-05-24  Daniel Jacobowitz  <drow@false.org>
28768             H.J. Lu  <hongjiu.lu@intel.com>
28770         [BZ #12495]
28771         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28772         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28773         (largebin_index_32_big): New.
28774         (largebin_index): Use it for 16-byte alignment.
28775         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
28776         correction with front_misalign.
28778 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28782         Likewise.
28783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28784         Likewise.
28785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28786         Likewise.
28787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28788         Likewise.
28789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28790         Likewise.
28791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28792         Likewise.
28793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28794         Likewise.
28795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28796         Likewise.
28797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28798         Likewise.
28799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28800         Likewise.
28801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28802         Likewise.
28803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28804         Likewise.
28806         * scripts/data/c++-types-x32-linux-gnu.data: New file.
28807         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28809 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28811         [BZ #10846]
28812         [BZ #14036]
28813         * math/libm-test.inc (exp_test): Add test from bug 14036.
28814         (pow_test): Add test from bug 10846.
28816         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28817         and other flags.
28818         (special_function): Do not include flags in test name.
28819         (parse_args): Likewise.
28820         * sysdeps/i386/fpu/libm-test-ulps: Update.
28821         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28822         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28823         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28826         * math/gen-libm-test.pl (%beautify): Add entries for underflow
28827         exceptions.
28828         * math/libm-test.inc ("Philosophy"): Update comment about
28829         exception testing.
28830         (UNDERFLOW_EXCEPTION): New macro.
28831         (UNDERFLOW_EXCEPTION_OK): Likewise.
28832         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28833         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28834         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28835         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28836         (INVALID_EXCEPTION_OK): Update value.
28837         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28838         (OVERFLOW_EXCEPTION_OK): Likewise.
28839         (IGNORE_ZERO_INF_SIGN): Likewise.
28840         (test_exceptions): Handle underflow exceptions.
28841         (acos_test): Update for underflow exception expectations.
28842         (cexp_test): Likewise.
28843         (clog_test): Likewise.
28844         (clog10_test): Likewise.
28845         (csqrt_test): Likewise.
28846         (ctan_test): Likewise.
28847         (ctanh_test): Likewise.
28848         (exp_test): Likewise.
28849         (exp10_test): Likewise.
28850         (exp2_test): Likewise.
28851         (expm1_test): Likewise.
28852         (fma_test): Likewise.
28853         (j0_test): Likewise.
28854         (jn_test): Likewise.
28855         (nexttoward_test): Likewise.
28856         (pow_test): Likewise.
28857         (scalbn_test): Likewise.
28858         (scalbln_test): Likewise.
28859         (tan_test): Likewise.
28860         (y1_test): Likewise.
28861         * sysdeps/i386/fpu/libm-test-ulps: Update.
28862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28864 2012-05-23  David S. Miller  <davem@davemloft.net>
28866         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28867         (__libc_sigaction): Remove unused local variables.
28869 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28871         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28873 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28875         mktime: avoid signed integer overflow
28876         * time/mktime.c (__mktime_internal): Do not mishandle the case
28877         where diff == INT_MIN.
28879         mktime: simplify computation of average
28880         * time/mktime.c (ranged_convert): Use new time_t_avg function
28881         instead of rolling our own (probably-slower) code.
28883         mktime: do not assume signed right shift propagates sign bit
28884         * time/mktime.c (isdst_differ): New static function.
28885         (__mktime_internal): No need to normalize tm_isdst now.
28886         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28887         tm_isdst values.
28889         mktime: merge another wrapv change from gnulib
28890         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28891         from some compilers.
28893         mktime: remove incorrect attempt at unusual arithmetics
28894         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28895         The code didn't really work on such machines anyway.
28896         (TYPE_MINIMUM): Assume two's complement.
28897         (twos_complement_arithmetic): Verify that long_int and time_t
28898         are two's complement (or unsigned, in the latter case).
28900         mktime: check signed shifts on long_int and time_t, too
28901         * time/mktime.c (SHR): Check that shifts work as desired
28902         on the types long_int and time_t too, as SHR is used on
28903         such types.
28905         mktime: do not assume 'long' is wide enough
28906         * time/mktime.c (verify): Move decl up.
28907         (long_int): New type.
28908         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28909         to remove assumption in the code that 'long' is wide enough to
28910         store year values.  This assumption is not true on x32 and on
28911         some non-glibc platforms.
28913         mktime: merge wrapv change from gnulib
28914         * time/mktime.c (WRAPV): New macro.
28915         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28916         (guess_time_tm, __mktime_internal): Do not assume that signed
28917         integer overflow wraps around; modern compilers generate code
28918         where this assumption is no longer valid.
28920 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28922         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28923         Replace "jmp L(pseudo_end)" with "ret".
28924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28925         Likewise.
28927 2012-05-23  Andreas Jaeger  <aj@suse.de>
28929         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28930         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28932 2012-05-23  Andreas Jaeger  <aj@suse.de>
28933             Maximilian Attems  <max@stro.at>
28935         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28936         New macros.
28938 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28940         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28941         code so that pseudo_end is just ret and the stack pointer is
28942         correct also for static library in error case.
28944 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28946         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28947         move to syscalls.list.
28948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28953         * manual/install.texi (Running make install): Do not mention Linux
28954         kernel version for which pt_chown is not needed.
28955         (Linux): Do not mention problems with nscd with 2.0 kernels.
28956         * INSTALL: Regenerated.
28958 2012-05-23  Andreas Jaeger  <aj@suse.de>
28960         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28961         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28962         macro.
28963         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28964         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28965         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28966         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28967         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28968         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28969         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28971         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28972         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28973         * sysdeps/unix/sysv/linux/bits/in.h
28974         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28976 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28978         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28979         (PREPARE_VERSION): Just use assert instead, it will be elided
28980         under [NDEBUG] anyway.
28982 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28984         * sysdeps/unix/sysv/linux/Makefile: Include
28985         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28986         (sysdep_routines): Remove sysctl.
28987         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28988         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28989         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28990         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28991         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28993 2012-05-22  Andreas Jaeger  <aj@suse.de>
28995         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28996         that pseudo_end is just ret and the stack pointer is correct also
28997         for static library in error case.
28999 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29001         [BZ #14122]
29002         * nss/nsswitch.c (defconfig_entries): New variable.
29003         (__nss_database_lookup): Don't leak defconfig entries.
29004         (nss_parse_service_list): Don't leak on error paths.
29005         (free_database_entries): New function.
29006         (free_defconfig): New function.
29007         (free_mem): Move common code to free_database_entries.
29009 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29011         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29012         Add arch_prctl.
29013         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29015         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29016         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29017         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29018         New macro.
29019         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29020         (INTERNAL_SYSCALL_TYPES): Likewise.
29021         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29022         (LOAD_REGS_TYPES_[1-6]): Likewise.
29023         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29024         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29026 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29028         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29029         copysignl for GLIBC_2_0.
29030         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29031         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29032         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29033         logbl for GLIBC_2_0.
29034         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29035         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29037 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29039         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29040         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29042         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29043         Use "neg %eax".
29045         * time/mktime.c: Update copyright years.
29047 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29049         mktime: merge comment-quoting-style change from gnulib
29050         * time/mktime.c: Quote 'like this' in comments.
29051         The GNU coding standards suggest that we no longer quote `like this',
29052         as "`" and "'" are typically rendered asymmetrically nowadays.
29053         The typical gnulib style is to quote 'like this' when quoting
29054         code, and "like this" when quoting English.
29056         * time/mktime.c (compile-command): Add "-I.".
29058         mktime: merge mktime-internal.h change from gnulib
29059         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29061         mktime: merge time_r change from gnulib
29062         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29064         mktime: merge DEBUG change from gnulib
29065         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29066         case system <time.h> has a #define.
29068         mktime: merge <sys/types.h> change from gnulib
29069         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29070         since <time.t> is now guaranteed to define time_t.
29072         mktime: merge HAVE_CONFIG_H change from gnulib
29073         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29075 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29078         Use "neg %eax".
29080         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29081         __rlim_t cast.
29082         (struct rusage): Use anonymous union to pad each field to
29083         __syscall_slong_t.
29085 2012-05-21  David S. Miller  <davem@davemloft.net>
29087         * Makefules (o-iterator): Remove .s cases.
29088         (compile-command.s): Delete.
29089         (COMPILE.s): Delete.
29090         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29092 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29094         * configure.in (libc_cv_predef_stack_protector): Only consider
29095         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29096         * configure: Regenerated.
29098 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29101         New macro.  Use R*LP on int and pointer.
29102         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29103         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29104         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29105         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29107         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29108         [__WORDSIZE_TIME64_COMPAT32] instead of
29109         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29110         (struct utmp): Likewise.
29111         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29112         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29113         Renamed to ...
29114         (__WORDSIZE_TIME64_COMPAT32): This.
29115         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29116         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29117         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29118         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29119         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29120         (__WORDSIZE_TIME64_COMPAT32): New macro.
29122 2012-05-21  Andreas Jaeger  <aj@suse.de>
29124         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29125         only if [SHARED]. Add prototype for __wcschr_ia32.
29127 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29129         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29130         of %rbp unmolested in the jmp_buf while mangling the low bits.
29131         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29132         unmolested high bits of %rbp while demangling the low bits.
29133         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29135 2012-05-21  Andreas Jaeger  <aj@suse.de>
29137         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29138         * sunrpc/svc_simple.c: Use it for registerrpc.
29139         * sunrpc/xcrypt.c: Use it for passwd2des.
29141         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29143 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29145         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29146         Don't define if [__SYSCALL_WORDSIZE != 32].
29147         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29148         New macro.
29150 2012-05-21  Bruno Haible  <bruno@clisp.org>
29151             Andreas Jaeger  <aj@suse.de>
29153         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29154         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29155         inptr and inend for must_buffer_ch.
29156         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29157         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29158         * stdio-common/Makefile (tests): Remove bug15.
29159         (bug15-ENV): Remove macro.
29160         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29161         anymore.
29163 2012-05-19  Andreas Jaeger  <aj@suse.de>
29164             Roland McGrath  <roland@hack.frob.com>
29166         * manual/contrib.texi: Completely rewritten. It contains now an
29167         alphabetical list of contributors and their contributions.
29169 2012-05-21  Richard Henderson  <rth@twiddle.net>
29171         * misc/getauxval.c (__getauxval): Use unsigned long int.
29172         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29173         (getauxval): Use unsigned long int.
29175 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29177         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29179 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29181         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29182         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29183         __alignof__ (long double).
29185 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29189 2012-05-20  Richard Henderson  <rth@twiddle.net>
29191         * misc/getauxval.c: New file.
29192         * misc/sys/auxv.h: New file.
29193         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29194         (routines): Add getauxval.
29195         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29196         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29197         * elf/dl-sysdep.c (_dl_auxv): Remove.
29198         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29199         * elf/dl-support.c (_dl_auxv): New variable.
29200         (_dl_aux_init): Initialize it.
29201         * manual/startup.texi (Auxiliary Vector): New node.
29202         * sysdeps/generic/bits/hwcap.h: New file.
29203         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29204         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29205         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29206         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29207         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29208         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29210         Update.
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29214         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29220 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29224 2012-05-19  David S. Miller  <davem@davemloft.net>
29226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29228 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29230         [BZ #14123]
29231         * math/s_ccosh.c: Include <float.h>
29232         (__ccosh): Avoid internal overflow calculating sinh and cosh
29233         values before multiplying by sin and cos values.
29234         * math/s_ccoshf.c: Likewise.
29235         * math/s_ccoshl.c: Likewise.
29236         * math/s_csin.c: Likewise.
29237         * math/s_csinf.c: Likewise.
29238         * math/s_csinl.c: Likewise.
29239         * math/s_csinh.c: Likewise.
29240         * math/s_csinhf.c: Likewise.
29241         * math/s_csinhl.c: Likewise.
29242         * math/libm-test.inc (ccos_test): Add more tests.
29243         (ccosh_test): Likewise.
29244         (csin_test): Likewise.
29245         (csinh_test): Likewise.
29246         * sysdeps/i386/fpu/libm-test-ulps: Update.
29247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29249 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
29251         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29252         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29254         * sysdeps/x86_64/x32/_itoa.h: Add comment.
29256 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29258         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29259         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29260         * sysdeps/powerpc/soft-fp/Versions: Likewise.
29261         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29262         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29263         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29264         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29265         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29266         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29267         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29268         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29269         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29270         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29271         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29272         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29273         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29274         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29275         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29276         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29277         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29278         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29279         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29280         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29281         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29282         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29283         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29284         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29285         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29286         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29287         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29288         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29290 2012-05-18  Andreas Jaeger  <aj@suse.de>
29292         * csu/.gitignore: Delete.
29294 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29296         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29297         (timex): Use __syscall_slong_t.
29299 2012-05-18  Andreas Jaeger  <aj@suse.de>
29300             Carlos O'Donell  <carlos_odonell@mentor.com>
29302         * manual/install.texi (Configuring and compiling): Update
29303         description about files modified in the source directory.
29304         * INSTALL: Regenerated.
29306 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29308         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29309         value.  Use "or" to set return value to -1.
29310         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29311         negate return value.
29313 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29315         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29316         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29317         failure if the compiler has Graphite support disabled.
29318         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29319         Likewise.
29320         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29321         (CFLAGS-memmove.c): Likewise.
29322         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29323         Likewise.
29325 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29327         * sysdeps/x86_64/x32/_itoa.h: New file.
29329         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29330         getdents system call only if kernel and user dirents have the
29331         same d_ino and d_off.
29333         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29334         LLONG_MAX != LONG_MAX.
29335         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29336         (_fitoa_word): Likewise.
29338         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29339         years.
29340         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29341         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29342         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29344         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29345         include <bits/wordsize.h>.  Check __x86_64__ instead of
29346         __WORDSIZE.
29347         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29348         if __x86_64__ is defined.  Use anonymous union on fpstate.
29350         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29351         anonymous union.
29353 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
29355         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29356         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29357         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29358         Refer to _rtld_local_ro instead of _rtld_global_ro.
29359         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29360         Likewise.
29361         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29362         Likewise.
29363         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29364         Likewise.
29365         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29366         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29367         of _rtld_global, and rtld_progname instead of _dl_argv[0].
29369         * sysdeps/powerpc/powerpc32/dl-machine.c
29370         (__elf_machine_runtime_setup) [PROF]: Don't reference
29371         _dl_prof_resolve.
29373 2012-05-18  Andreas Jaeger  <aj@suse.de>
29375         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29376         function only available for GCCs before 3.4 since GCC 3.4
29377         introduced a builtin.
29378         (lrint): Likewise.
29379         (llrintf): Likewise.
29380         (llrint): Likewise.
29381         (fmaxf): Likewise.
29382         (fmax): Likewise.
29383         (fminf): Likewise.
29384         (fmin): Likewise.
29385         (rint): Likewise.
29386         (rintf): Likewise.
29387         (nearbyint): Likewise.
29388         (nearbyintf): Likewise.
29389         (ceil): Likewise.
29390         (ceilf): Likewise.
29391         (floor): Likewise.
29392         (floorf): Likewise.
29394 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29396         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29397         on both fields and cast pointer to __syscall_ulong_t.
29399         * bits/types.h (__fsword_t): New type.
29400         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29401         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29403         (__FSWORD_T_TYPE): Likewise.
29404         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29405         (__FSWORD_T_TYPE): Likewise.
29406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29407         (__FSWORD_T_TYPE): Likewise.
29408         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29409         (__FSWORD_T_TYPE): Likewise.
29410         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29411         __SWORD_TYPE with __fsword_t.
29412         (statfs64): Likewise.
29414 2012-05-17  David S. Miller  <davem@davemloft.net>
29416         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29418 2012-05-17  Andreas Jaeger  <aj@suse.de>
29420         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29421         warning.
29423 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29425         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29427 2012-05-17  Andreas Jaeger  <aj@suse.de>
29429         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29430         when it is used.
29432 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29434         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29436 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29438         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29439         * sysdeps/x86_64/tst-mallocalign1.c: New file.
29441 2012-05-17  Andreas Jaeger  <aj@suse.de>
29442             Carlos O'Donell  <carlos_odonell@mentor.com>
29444         [BZ #14059]
29445         * sysdeps/x86_64/multiarch/init-arch.h
29446         (bit_YMM_Usable): Rename to...
29447         (bit_AVX_Usable): ... this.
29448         (bit_FMA4_Usable): New macro.
29449         (bit_XMM_state): New macro.
29450         (bit_YMM_state): New macro.
29451         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29452         [__ASSEMBLER__] (index_AVX_Usable): ... this.
29453         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29454         (CPUID_OSXSAVE): New macro.
29455         (CPUID_AVX): New macro.
29456         (CPUID_FMA4): New macro.
29457         (index_YMM_Usable): Rename to...
29458         (index_AVX_Usable): ... this.
29459         (HAS_AVX): Use HAS_ARCH_FEATURE.
29460         (HAS_FMA4): Likewise.
29461         (HAS_YMM_USABLE): Remove.
29462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29463         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29464         are present.
29465         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29466         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29467         * sysdeps/x86_64/multiarch/Makefile: Likewise.
29468         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29469         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29471 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29473         * math/libm-test.c: Support platforms without multiple rounding modes.
29474         * math/bug-nextafter.c: Support platforms without FP exceptions.
29475         * math/bug-nexttoward.c: Likewise.
29476         * math/test-fenv.c: Likewise.
29477         * math/test-misc.c: Likewise.
29478         * stdlib/bug-getcontext.c: Likewise.
29480 2012-05-17  Andreas Jaeger  <aj@suse.de>
29482         * manual/examples/search.c (critter_cmp): Change signature to
29483         avoid warnings.
29484         * manual/string.texi (Collation Functions): Likewise.
29486 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29488         * bits/types.h: Fold copyright years.
29489         * bits/typesizes.h: Likewise.
29490         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29494         * time/time.h: Likewise.
29496 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
29498         [BZ #208]
29499         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29500         in instead of returning them.  Return void.
29501         (__libc_mallinfo): Accumulate over all arenas.
29502         (__malloc_stats): Adjust for change in int_mallinfo interface.
29504 2012-05-16  Roland McGrath  <roland@hack.frob.com>
29506         [BZ #10375]
29507         * configure.in (NM): Add AC_CHECK_TOOL for it.
29508         (libc_extra_cflags): New substituted variable.
29509         Check for -fstack-protector being used implicitly.
29510         * configure: Regenerated.
29511         * config.make.in (config-extra-cflags): New variable,
29512         gets @libc_extra_cflags@.
29513         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29515         [BZ #10375]
29516         * configure.in: Check for _FORTIFY_SOURCE being predefined.
29517         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29518         * configure: Regenerated.
29519         * config.make.in (CPPUNDEFS): New substituted variable.
29520         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29521         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29522         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29526         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29527         (mq_attr): Use __syscall_slong_t.
29529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29531         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29532         Check __x86_64__ instead of __WORDSIZE.
29533         (_STAT_VER_LINUX): Likewise.
29534         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
29535         __syscall_ulong_t and __syscall_slong_t.
29536         (stat64): Likewise.
29538 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29540         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29542 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29544         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29548         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29549         __syscall_ulong_t.
29551         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29552         include <bits/wordsize.h>.  Check __x86_64__ instead of
29553         __WORDSIZE.
29554         (greg_t): Use "__extension__ long long int" if __x86_64__ is
29555         defined.
29556         (mcontext_t): Replace "unsigned long" with "unsigned long long".
29558         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29559         include <bits/wordsize.h>.  Check __x86_64__ instead of
29560         __WORDSIZE.
29561         (user_regs_struct): Use "__extension__ unsigned long long"
29562         instead of "unsigned long" if __x86_64__ is defined.
29563         (user): Likewise.  Pad after pointer field if __ILP32__ is
29564         defined.
29566 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
29568         * configure.in (makeinfo): Require version 4.5 or later.  Allow
29569         versions 5 to 9.
29570         * configure: Regenerated.
29571         * manual/install.texi (texinfo): Increase version requirement to
29572         4.5 or later.
29573         * INSTALL: Regenerated.
29575         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29577 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29579         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29581         * sysdeps/x86_64/x32/ffs.c: New file.
29583         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29584         __syscall_ulong_t.
29585         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29586         defined.  Use __syscall_ulong_t.
29587         (shminfo): Use __syscall_ulong_t.
29588         (shm_info): Likewise.
29590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29591         __syscall_ulong_t.
29593         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29594         <bits/wordsize.h>.
29595         (msgqnum_t): Use __syscall_ulong_t.
29596         (msglen_t): Likewise.
29597         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
29598         __syscall_ulong_t.
29600         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29601         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29603         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29605         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29606         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29608         * sysvipc/sys/msg.h (msgbuf): Replace long int with
29609         __syscall_slong_t.
29611         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29612         include <bits/wordsize.h>.  Check __x86_64__ instead of
29613         __WORDSIZE.
29615         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29616         "unsigned long long int" if __x86_64__ is defined.
29617         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29619         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29620         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29621         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29623         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29624         <stdint.h>.
29625         (GET_PC): Cast to uintptr_t first.
29626         (GET_FRAME): Likewise.
29627         (GET_STACK): Likewise.
29629         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29630         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29631         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29632         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29633         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29634         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29635         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29636         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29637         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29638         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29639         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29640         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29641         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29642         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29643         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29644         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29645         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29646         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29647         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29648         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29649         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29651         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29653         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29654         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29655         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29656         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29657         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29659 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
29661         * Makerules (+depfiles): Also collect depfiles from .oS in
29662         $(extra-objs).
29663         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29664         .oS, $(libnldbl-routines)).
29666         * Makerules (native-compile-mkdep-flags): Define.
29667         * sunrpc/Makefile (extra-objs): Add $(addprefix
29668         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29669         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29670         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
29671         calling $(make-target-directory).
29673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29675         * bits/types.h (__snseconds_t): Removed.
29676         * time/time.h (struct timespec): Replace __snseconds_t with
29677         __syscall_slong_t.
29678         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29679         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29680         Likewise.
29681         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29682         (__SNSECONDS_T_TYPE): Likewise.
29683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29684         (__SNSECONDS_T_TYPE): Likewise.
29685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29686         (__SNSECONDS_T_TYPE): Likewise.
29688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29690         * sysdeps/mach/hurd/bits/typesizes.h
29691         (__SYSCALL_SLONG_TYPE): New macro.
29692         (__SYSCALL_ULONG_TYPE): Likewise.
29694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29696         * bits/types.h (__syscall_slong_t): New type.
29697         (__syscall_ulong_t): Likewise.
29699         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29700         (__SYSCALL_ULONG_TYPE): Likewise.
29701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29702         (__SYSCALL_SLONG_TYPE): Likewise.
29703         (__SYSCALL_ULONG_TYPE): Likewise.
29704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29705         (__SYSCALL_SLONG_TYPE): Likewise.
29706         (__SYSCALL_ULONG_TYPE): Likewise.
29707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29708         (__SYSCALL_SLONG_TYPE): Likewise.
29709         (__SYSCALL_ULONG_TYPE): Likewise.
29711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29713         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29714         Add sigaltstack-offsets.sym.
29715         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29716         <sigaltstack-offsets.h>.
29717         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
29718         longjmp_msg pointer.
29719         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
29720         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29721         signal stack.
29722         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29724 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29726         * elf/stackguard-macros.h: Remove file.
29727         * sysdeps/generic/stackguard-macros.h: New file.
29728         * sysdeps/i386/stackguard-macros.h: Likewise.
29729         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29730         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29731         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29732         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29733         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29734         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29735         * sysdeps/x86_64/stackguard-macros.h: Likewise.
29736         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29737         <elf/stackguard-macros.h>.
29739         [BZ #14109]
29740         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29741         __aligned__ in attribute.
29742         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29743         (gregset_t): Likewise.
29745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29747         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29748         * sysdeps/x86_64/64/Implies-after: Here.  New file.
29749         * sysdeps/x86_64/x32/Implies-after: New file.
29751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29753         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29754         and access return value for _dl_profile_fixup.  Use R10_LP to
29755         load frame size.
29757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29759         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29763         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29764         * sysdeps/x86_64/x32/sysdep.h: New file.
29766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29768         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29769         * sysdeps/x86_64/setjmp.S: Likewise.
29771 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29773         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29774         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29775         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29776         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29777         remove unused global constant.
29779 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
29781         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29782         include of <not-cancel.h>.
29784 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29786         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29788 2012-05-15  Jeff Law  <law@redhat.com>
29789             Andreas Jaeger  <aj@suse.de>
29791         [BZ #13594]
29792         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29793         out from...
29794         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29795         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29796         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29797         code changing __hst_map_handle.map.
29799 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29801         * configure.in (sysnames): Look for Implies-before and Implies-after
29802         files.
29803         * configure: Regenerated.
29805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29807         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29808         8-byte data alignment with LP_SIZE alignment.
29810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29812         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29813         into R10_LP.
29815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29817         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29821         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29822         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29823         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29824         Likewise.
29825         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29829         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29830         (stackinfo_sub_sp): Likewise.
29832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29835         RAX_LP.
29837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29839         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29840         into R*_LP.
29842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29845         sizes into R*_LP.
29847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29849         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29853         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29854         into R11_LP and load __x86_64_shared_cache_size_half into
29855         R8_LP.
29857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29859         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29860         R8_LP.
29862 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29865         logb for POWER7.
29866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29867         logbf for POWER7.
29868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29869         logbl for POWER7.
29870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29871         powerpc32/power7/fpu/s_logb.c via #include.
29872         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29873         powerpc32/power7/fpu/s_logbf.c via #include.
29874         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29875         powerpc32/power7/fpu/s_logbl.c via #include.
29877 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29879         * README.libm: Remove file.
29881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29883         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29884         count for x32.  Use R*_LP and omit operand-size suffix.
29886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29888         * shlib-versions: Move x86_64-.*-linux.* entries to ...
29889         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
29890         * sysdeps/x86_64/x32/shlib-versions: New file.
29892 2012-05-14  Roland McGrath  <roland@hack.frob.com>
29894         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29895         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29896         Use _dl_fatal_printf instead.
29898 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29900         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29901         set if not set by the user.  Do not allow for being unset.
29902         * sysdeps/unix/sysv/linux/configure: Regenerated.
29904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29906         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29907         the `q' suffix from lea and replace .quad with ASM_ADDR.
29909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29912         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29913         instead of $17.
29914         (PTR_DEMANGLE): Likewise.
29916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29918         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29919         (LP_OP): Likewise.
29920         (ASM_ADDR): Likewise.
29921         (RAX_LP): Likewise.
29922         (RBP_LP): Likewise.
29923         (RBX_LP): Likewise.
29924         (RCX_LP): Likewise.
29925         (RDI_LP): Likewise.
29926         (RSI_LP): Likewise.
29927         (RSP_LP): Likewise.
29928         (R8_LP): Likewise.
29929         (R9_LP): Likewise.
29930         (R10_LP): Likewise.
29931         (R10_LP): Likewise.
29932         (R11_LP): Likewise.
29933         (R12_LP): Likewise.
29934         (R13_LP): Likewise.
29935         (R14_LP): Likewise.
29936         (R15_LP): Likewise.
29938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29940         * sysdeps/x86_64/x32/dl-machine.h: New file.
29942 2012-05-14  Andreas Jaeger  <aj@suse.de>
29944         * manual/Makefile (subdir): Remove export of subdir.
29945         (all): Remove target.
29946         (.PHONY): Remove all from list.
29947         (mkinstalldirs): Remove.
29948         (.PHONY): Remove installdirs from list.
29949         ($(inst_infodir)/libc.info): Use make-target-directory.
29950         (installdirs): Remove.
29951         (subdir_%): Remove.
29952         (glibc-targets): Remove.
29953         (lib): Remove.
29954         (stubs): Remove.
29955         ($(objpfx)stubs ../po/manual.pot): Remove.
29956         ($(objpfx)stamp%): Remove.
29957         (make-target-directory): Remove.
29958         (subdir_install): Remove.
29959         (routines): Remove.
29960         (aux): Remove.
29961         (sources): Remove.
29962         (objects): Remove.
29963         (headers): Remove.
29965         [BZ #13750]
29966         * manual/.gitignore: Remove, it's not needed anymore.
29967         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29968         all files in it.
29969         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29970         directory.
29971         (texis): Renamed to $(objpfx)texis.
29972         (texis-path): New, contains path to generated files.
29973         (chapters.%): Use texis-path for complete path, add extra argument
29974         libc-texinfo.sh.
29975         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29976         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29977         (summary,texi, stamp-summary): Use complete path of
29978         files. Generate files in build dir.
29979         (dir-add.texi): Build in build dir.
29980         (libm-err.texi,stamp-libm-err): Likewise.
29981         (version.texi, stamp-version): Likewise.
29982         (.%c.texi): Likewise.
29983         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29984         (mostlyclean): Remove target.
29985         (realclean): Remove target.
29986         (generated): Add new variable with contents from mostlyclean and
29987         realclean, remove entries duplicated in common-mostlyclean, add
29988         stamp-libm-err and stamp-version.
29989         (generated-dirs): Add libc directory.
29990         ($(inst_infodir)/libc.info): Install files from build dir.
29992         * manual/install.texi (Configuring and compiling): Adjust since
29993         the info files are not part of the tar ball anymore.
29995 2012-05-14  Andreas Jaeger  <aj@suse.de>
29997         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29998         variable.
30000 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30002         [BZ #13717]
30003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30004         to 2.2.0 where earlier.
30005         * sysdeps/unix/sysv/linux/configure: Regenerated.
30006         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30007         Remove conditional code.
30008         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30009         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30010         Remove conditional code.
30011         [!__NR_lchown]: Likewise.
30012         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30013         [__NR_lchown]: Likewise.
30014         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30015         comment referencing __ASSUME_LCHOWN_SYSCALL.
30016         * sysdeps/unix/sysv/linux/i386/sigaction.c
30017         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30018         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30019         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30020         Remove conditional code.
30021         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30022         (__protocol_available): Remove #if 0 code.
30023         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30024         conditional code.
30025         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30026         * sysdeps/unix/sysv/linux/kernel-features.h
30027         (__ASSUME_GETCWD_SYSCALL): Don't define.
30028         (__ASSUME_REALTIME_SIGNALS): Likewise.
30029         (__ASSUME_PREAD_SYSCALL): Likewise.
30030         (__ASSUME_PWRITE_SYSCALL): Likewise.
30031         (__ASSUME_POLL_SYSCALL): Likewise.
30032         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30033         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30034         non-SPARC.
30035         (__ASSUME_SIOCGIFNAME): Don't define.
30036         (__ASSUME_MSG_NOSIGNAL): Likewise.
30037         (__ASSUME_SENDFILE): Define unconditionally.
30038         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30039         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30040         conditional code.
30041         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30042         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30043         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30044         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30045         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30046         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30047         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30049         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30052         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30055         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30058         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30061         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30062         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30064         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30067         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30068         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30070         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30071         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30072         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30073         Remove conditional code.
30074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30075         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30076         Remove conditional code.
30077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30078         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30079         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30080         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30081         Remove conditional code.
30082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30083         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30084         Remove conditional code.
30085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30086         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30087         Remove conditional code.
30088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30089         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30090         Remove conditional code.
30091         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30092         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30093         Remove conditional code.
30094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30095         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30096         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30097         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30098         * sysdeps/unix/sysv/linux/sigaction.c
30099         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30100         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30101         * sysdeps/unix/sysv/linux/sigpending.c
30102         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30103         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30104         * sysdeps/unix/sysv/linux/sigprocmask.c
30105         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30106         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30107         * sysdeps/unix/sysv/linux/sigsuspend.c
30108         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30109         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30110         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30111         (__libc_missing_rt_sigs): Remove.
30112         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30113         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30114         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30115         Remove conditional code.
30116         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30117         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30118         return 1.
30119         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30120         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30121         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30122         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30124 2012-05-14  Andreas Jaeger  <aj@suse.de>
30126         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30127         it's not used in glibc.
30128         (__coshm1): Likewise.
30129         (__acosh1p): Likewise.
30130         (__sgn): Likewise.
30132         * manual/string.texi (Copying and Concatenation): Add missing
30133         variable in concat example.
30134         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30136 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30138         [BZ #14103]
30139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30140         __builtin_clzl with __builtin_clzll.
30142 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30144         [BZ #14104]
30145         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30146         libc_freeres_ptr.
30148 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30150         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30151         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30152         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30153         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30155 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30157         * NEWS: Update ia64 info.
30159 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30161         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30162         used as bcopy.
30164 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30166         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30167         * sysdeps/unix/syscalls.list (dup3): Likewise.
30168         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30169         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30171 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30173         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30174         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30176 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30178         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30179         thread pointer.
30180         (TLS_IE): Use mov/add instead of movq/addq to load thread
30181         pointer.
30182         (TLS_GD_PREFIX): New.
30183         (TLS_GD): Use it.
30185 2012-05-11  David S. Miller  <davem@davemloft.net>
30187         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30188         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30189         (_FPU_SETCW): Likewise.
30191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30193         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30194         is 32-byte aligned.
30196 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30198         [BZ #11837]
30199         * iconvdata/gb18030.c: Update tables.
30200         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30201         characters specially.
30202         (BODY for TO_LOOP): Add encoding of missing ranges.
30204 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30206         [BZ #13673]
30207         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30208         * sysdeps/mach/hurd/dup3.c: Likewise.
30209         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30210         * sysdeps/powerpc/memmove.c:: Likewise.
30212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30215         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30217 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30219         * elf/elf.h (R_X86_64_RELATIVE64): New.
30220         (R_X86_64_NUM): Updated.
30221         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30222         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30223         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30224         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30225         tst-quad1pie tst-quad2pie
30226         (modules-names): Add tst-quadmod1 tst-quadmod2.
30227         ($(objpfx)tst-quad1): New dependency.
30228         ($(objpfx)tst-quad2): Likewise.
30229         ($(objpfx)tst-quad1pie): Likewise.
30230         ($(objpfx)tst-quad2pie): Likewise.
30231         * sysdeps/x86_64/tst-quad1.c: New file.
30232         * sysdeps/x86_64/tst-quad1pie.c: New file.
30233         * sysdeps/x86_64/tst-quad2.c: Likewise.
30234         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30235         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30236         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30237         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30238         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30240 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30242         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30243         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30244         * streams/stropts.h (t_scalar_t): Define type.
30246         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30247         (_PATH_PRESERVE): Set to "/var/lib".
30248         (_PATH_RWHODIR): Set to "/var/spool/rwho".
30250         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30251         instead of int.
30253         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30254         if __dir_mkfile succeeded.
30256         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30257         checking for _hurd_dtablesize.  Unlock it right after having
30258         finished _hurd_dtable allocation.
30260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30262         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30263         * sysdeps/mach/hurd/configure: Regenerated.
30264         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30265         special-casing to...
30266         * sysdeps/gnu/configure.in: ... this new file.
30267         * sysdeps/unix/sysv/linux/configure: Regenerated.
30268         * sysdeps/gnu/configure: New generated file.
30270         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30271         for Linux: use nsec instead of usec, as well as:
30272         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30273         members of type struct timespec.
30274         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30275         New macros.
30276         (struct stat64): Likewise.
30277         (_STATBUF_ST_NSEC): New macro.
30278         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30280         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30281         __strtoul_internal rather than strtoul.
30283 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30285         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30286         and reject them.
30288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30290         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30291         which preserves existing values.
30292         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30294 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30296         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30297         TIMEOUT values.  Return EINVAL for NFDS values either negative or
30298         greater than FD_SETSIZE.
30300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30302         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30303         allocated, call __vm_protect to finish enabling the existing space, and
30304         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30305         allocate the remainder.
30307 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30309         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30310         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
30312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30314         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30315         sysdeps/mach/hurd/readlink.c.
30317         * posix/tst-sysconf.c (posix_options): Only use
30318         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30319         _POSIX_SYNCHRONIZED_IO when they are defined
30320         * sysdeps/mach/hurd/bits/posix_opt.h:
30321         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30322         (_XOPEN_REALTIME): Undefine macro.
30323         (_XOPEN_REALTIME_THREADS): Undefine macro.
30324         (_XOPEN_SHM): Undefine macro.
30325         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30326         macro to -1.
30327         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30328         macro to -1.
30329         (_POSIX_ASYNC_IO): Undefine macro.
30330         (_POSIX_PRIORITIZED_IO): Undefine macro.
30331         (_POSIX_SPIN_LOCKS): Define macro to -1.
30333         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30334         SA_NODEFER, SA_RESETHAND.
30335         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30336         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30337         F_DUPFD_CLOEXEC.
30339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30341         * elf/Makefile (pldd-modules): Define unconditionally.
30343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30345         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30349         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30350         Return ENOENT when name is empty.
30351         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30353 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30355         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30357         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30361         Fix mlock in all cases except non-readable pages.
30362         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30363         instead of VM_PROT_ALL as parameter to __vm_wire function.
30365         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30366         (__mkdir): When path is `/', just fail with EEXIST.
30367         * sysdeps/mach/hurd/mkdirat.c: Likewise.
30369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30371         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30372         <sys/uio.h> (for writev).
30373         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30374         and <sys/param.h> (for MIN).
30376 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30378         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30379         REQUESTED_TIME.  Properly set the remaining time and return EINTR
30380         if interrupted.
30382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30384         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30385         Depend on against $(link-rpcuserlibs).
30387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30389         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30390         (__libc_stack_end): Do not use attribute_relro.
30391         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30392         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30393         to libthread-provided value.
30394         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30395         attribute_relro.
30397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30399         [BZ #3748]
30400         * bits/libc-lock.h (__libc_once_get): New macro.
30401         * sysdeps/mach/bits/libc-lock.h: Likewise.
30402         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30403         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30404         instead of using implementation details.
30406         * libio/fileops.c: Unconditionally include <kernel-features.h>.
30407         * libio/freopen.c: Likewise.
30408         * libio/freopen64.c: Likewise.
30409         * misc/syslog.c: Likewise.
30410         * nscd/connections.c: Likewise.
30411         * nscd/netgroupcache.c: Likewise.
30412         * sysdeps/posix/getcwd.c: Likewise.
30414 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30416         * math/w_ilogbf.c: Add #include <limits.h>.
30418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30420         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30421         path instead of returning without unlocking.
30423         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30424         immediate-write ioctls.
30425         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30429         * sysdeps/mach/hurd/i386/init-first.c (init): Use
30430         __builtin_frame_address instead of making assumptions about the
30431         location of the return address relative to DATA.  Force early load of
30432         the return address.
30433         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30434         __builtin_frame_address.
30436         dup3 for GNU Hurd.
30437         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30438         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
30439         implement dup3 and do some further code clean-ups.
30440         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30441         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30445         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30447         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30448         HURD_CRITICAL_END around holding _hurd_dtable_lock.
30449         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30450         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30451         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30452         d->port.lock.
30454         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30455         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
30456         when handler == SIG_ERR, not when handler != SIG_ERR.
30458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30460         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30461         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30462         definitions.
30464         accept4 for GNU Hurd.
30465         * include/sys/socket.h (__libc_accept4): New prototype.
30466         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
30467         to implement __libc_accept4.
30468         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30469         __libc_accept4.
30470         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30472         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30473         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30474         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30475         signal-defines.sym.
30477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30479         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30483         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30484         assertion on O_CLOEXEC flag.
30485         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30486         * hurd/intern-fd.c: Likewise.
30487         * hurd/port2fd.c: Likewise.
30489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30491         [BZ #3906]
30492         * bits/in.h (IPV6_PKTINFO): Define new macro.
30493         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30495 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30497         [BZ #13954]
30498         [BZ #13955]
30499         [BZ #13956]
30500         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30501         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30502         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30503         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30505         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30506         * math/libm-test.inc (logb_test) : Additional logb tests.
30508 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
30509             Andreas Jaeger  <aj@suse.de>
30511         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30512         * configure: Regenerated.
30513         * config.h.in (LINK_OBSOLETE_RPC): New macro.
30514         * config.make.in (link-obsolete-rpc): New substituted variable.
30515         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30516         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30517         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30518         (shared-only-routines): Don't set it under [link-obsolete-rpc],
30519         so that libc.a contains the symbols.
30520         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30521         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30522         * sunrpc/auth_none.c: Likewise.
30523         * sunrpc/auth_unix.c: Likewise.
30524         * sunrpc/authdes_prot.c: Likewise.
30525         * sunrpc/authuxprot.c: Likewise.
30526         * sunrpc/clnt_gen.c: Likewise.
30527         * sunrpc/clnt_perr.c: Likewise.
30528         * sunrpc/clnt_raw.c: Likewise.
30529         * sunrpc/clnt_simp.c: Likewise.
30530         * sunrpc/clnt_tcp.c: Likewise.
30531         * sunrpc/clnt_udp.c: Likewise.
30532         * sunrpc/clnt_unix.c: Likewise.
30533         * sunrpc/des_crypt.c: Likewise.
30534         * sunrpc/des_soft.c: Likewise.
30535         * sunrpc/get_myaddr.c: Likewise.
30536         * sunrpc/key_call.c: Likewise.
30537         * sunrpc/key_prot.c: Likewise.
30538         * sunrpc/netname.c: Likewise.
30539         * sunrpc/pm_getmaps.c: Likewise.
30540         * sunrpc/pm_getport.c: Likewise.
30541         * sunrpc/pmap_clnt.c: Likewise.
30542         * sunrpc/pmap_prot.c: Likewise.
30543         * sunrpc/pmap_prot2.c: Likewise.
30544         * sunrpc/pmap_rmt.c: Likewise.
30545         * sunrpc/publickey.c: Likewise.
30546         * sunrpc/rpc_cmsg.c: Likewise.
30547         * sunrpc/rpc_common.c: Likewise.
30548         * sunrpc/rpc_dtable.c: Likewise.
30549         * sunrpc/rpc_prot.c: Likewise.
30550         * sunrpc/rpc_thread.c: Likewise.
30551         * sunrpc/rtime.c: Likewise.
30552         * sunrpc/svc.c: Likewise.
30553         * sunrpc/svc_auth.c: Likewise.
30554         * sunrpc/svc_raw.c: Likewise.
30555         * sunrpc/svc_run.c: Likewise.
30556         * sunrpc/svc_tcp.c: Likewise.
30557         * sunrpc/svc_udp.c: Likewise.
30558         * sunrpc/svc_unix.c: Likewise.
30559         * sunrpc/svcauth_des.c: Likewise.
30560         * sunrpc/xcrypt.c: Likewise.
30561         * sunrpc/xdr.c: Likewise.
30562         * sunrpc/xdr_array.c: Likewise.
30563         * sunrpc/xdr_float.c: Likewise.
30564         * sunrpc/xdr_intXX_t.c: Likewise.
30565         * sunrpc/xdr_mem.c: Likewise.
30566         * sunrpc/xdr_rec.c: Likewise.
30567         * sunrpc/xdr_ref.c: Likewise.
30568         * sunrpc/xdr_sizeof.c: Likewise.
30569         * sunrpc/xdr_stdio.c: Likewise.
30571 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30573         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30574         change.  Update copyright years.
30576 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30578         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30580 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
30581             Joseph Myers  <joseph@codesourcery.com>
30582             Paul Pluzhnikov  <ppluzhnikov@google.com>
30584         [BZ #14012]
30585         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30586         requiring rpcgen.
30587         [cross-compiling] (extra-libs): Likewise.
30588         [cross-compiling] (extra-libs-others): Likewise.
30589         [cross-compiling] (librpcsvc-routines): Likewise.
30590         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30591         [cross-compiling] (omit-deps): Likewise.
30592         (sunrpc-CPPFLAGS): New variable.
30593         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30594         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30595         (cross-rpcgen-objs): New variable.
30596         (extra-objs): Append $(cross-rpcgen-objs).
30597         ($(cross-rpcgen-objs)): New rule.
30598         ($(objpfx)cross-rpcgen): Likewise.
30599         (rpcgen-cmd): Define to use $(built-program-file).  Expand
30600         comment.
30601         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30602         ($(objpfx)x%.stmp): Likewise.
30603         * sunrpc/proto.h [IS_IN_build] (_): Define.
30604         [IS_IN_build] (_libc_intl_domainname): Likewise.
30606 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30609         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30610         and R_X86_64_TPOFF64.
30612 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30614         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30615         sysdeps/unix/sysv/syscalls.list.
30616         (stime): Likewise.
30617         (utime): Likewise.
30618         * sysdeps/unix/sysv/syscalls.list: Remove file.
30620 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
30622         [BZ #3440]
30623         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30624         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30625         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30626         (__LC_IDENTIFICATION): Make these macros useful in #if
30627         expressions, as required by C99.
30629 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
30631         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30632         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
30633         after this.
30635 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
30637         * stdlib/longlong.h: Updated from GCC.
30639 2012-05-09  Andreas Jaeger  <aj@suse.de>
30641         * nscd/nscd.c (run_modes): Make named enum, reorder so that
30642         default is first entry.
30643         (run_mode): Set type.
30644         (main): Remove informal message about syslog.
30645         (options): Fix typo.
30647         [BZ #14053]
30648         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30649         to asm.
30650         (lrint): Likewise.
30651         (llrintf): Likewise.
30652         (llrint): Likewise.
30653         (rint): Likewise.
30654         (rintf): Likewise.
30655         (nearbyint): Likewise.
30656         (nearbyintf): Likewise.
30658 2012-05-09  Andreas Jaeger  <aj@suse.de>
30659             Pedro Alves  <palves@redhat.com>
30661         * nscd/nscd.c (run_mode): Use enum.
30662         (main): Cleanup coding style issue.
30664 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
30665             Andreas Jaeger  <aj@suse.de>
30667         * nscd/nscd.c (go_background): Replaced with...
30668         (run_mode): ... this.
30669         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30670         (options): Add -F --foreground.
30671         (main): Implement it.
30672         (parse_opt): Parse it.
30674 2012-05-09  Andreas Jaeger  <aj@suse.de>
30676         [BZ #14083]
30677         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30678         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30679         -Wconversion warning.
30680         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30681         Likewise.
30683 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
30685         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
30686         == 0.
30687         (LC_ALL): Use macro-int-constant.
30688         (LC_COLLATE): Likewise.
30689         (LC_CTYPE): Likewise.
30690         (LC_MESSAGES): Likewise.
30691         (LC_MONETARY): Likewise.
30692         (LC_NUMERIC): Likewise.
30693         (LC_TIME): Likewise.
30694         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30695         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30696         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30697         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30698         Specify type.
30699         [C99-based standards] (float_t): Expect type.
30700         [C99-based standards] (double_t): Expect type.
30701         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
30702         type.
30703         [C99-based standards] (HUGE_VALL): Likewise.
30704         [C99-based standards] (INFINITY): Likewise.
30705         [C99-based standards] (NAN): Likewise.
30706         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30707         [C99-based standards] (FP_NAN): Likewise.
30708         [C99-based standards] (FP_NORMAL): Likewise.
30709         [C99-based standards] (FP_SUBNORMAL): Likewise.
30710         [C99-based standards] (FP_ZERO): Likewise.
30711         [C99-based standards] (FP_FAST_FMA): Use
30712         optional-macro-int-constant.  Specify type.  Require == 1.
30713         [C99-based standards] (FP_FAST_FMAF): Likewise.
30714         [C99-based standards] (FP_FAST_FMAL): Likewise.
30715         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30716         [C99-based standards] (FP_ILOGBNAN): Likewise.
30717         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30718         Specify type.
30719         [C99-based standards] (MATH_ERREXCEPT): Likewise.
30720         [C99-based standards] (math_errhandling): Specify type.
30721         [ISO99 || ISO11] (signgam): Do not allow.
30722         [non-C99-based standards] (copysignf): Do not allow.
30723         [non-C99-based standards] (exp2f): Likewise.
30724         [non-C99-based standards] (log2f): Likewise.
30725         [non-C99-based standards] (modff): Allow.
30726         [non-C99-based standards] (erff): Do not allow.
30727         [non-C99-based standards] (erfcf): Likewise.
30728         [non-C99-based standards] (gammaf): Likewise.
30729         [non-C99-based standards] (hypotf): Likewise.
30730         [non-C99-based standards] (j0f): Likewise.
30731         [non-C99-based standards] (j1f): Likewise.
30732         [non-C99-based standards] (jnf): Likewise.
30733         [non-C99-based standards] (lgammaf): Likewise.
30734         [non-C99-based standards] (tgammaf): Likewise.
30735         [non-C99-based standards] (y0f): Likewise.
30736         [non-C99-based standards] (y1f): Likewise.
30737         [non-C99-based standards] (ynf): Likewise.
30738         [non-C99-based standards] (isnanf): Likewise.
30739         [non-C99-based standards] (acoshf): Likewise.
30740         [non-C99-based standards] (asinhf): Likewise.
30741         [non-C99-based standards] (atanhf): Likewise.
30742         [non-C99-based standards] (cbrtf): Likewise.
30743         [non-C99-based standards] (expm1f): Likewise.
30744         [non-C99-based standards] (ilogbf): Likewise.
30745         [non-C99-based standards] (log1pf): Likewise.
30746         [non-C99-based standards] (logbf): Likewise.
30747         [non-C99-based standards] (nextafterf): Likewise.
30748         [non-C99-based standards] (remainderf): Likewise.
30749         [non-C99-based standards] (rintf): Likewise.
30750         [non-C99-based standards] (scalbf): Likewise.
30751         [non-C99-based standards] (copysignl): Likewise.
30752         [non-C99-based standards] (exp2l): Likewise.
30753         [non-C99-based standards] (log2l): Likewise.
30754         [non-C99-based standards] (modfl): Allow.
30755         [non-C99-based standards] (erfl): Do not allow.
30756         [non-C99-based standards] (erfcl): Likewise.
30757         [non-C99-based standards] (gammal): Likewise.
30758         [non-C99-based standards] (hypotl): Likewise.
30759         [non-C99-based standards] (j0l): Likewise.
30760         [non-C99-based standards] (j1l): Likewise.
30761         [non-C99-based standards] (jnl): Likewise.
30762         [non-C99-based standards] (lgammal): Likewise.
30763         [non-C99-based standards] (tgammal): Likewise.
30764         [non-C99-based standards] (y0l): Likewise.
30765         [non-C99-based standards] (y1l): Likewise.
30766         [non-C99-based standards] (ynl): Likewise.
30767         [non-C99-based standards] (isnanl): Likewise.
30768         [non-C99-based standards] (acoshl): Likewise.
30769         [non-C99-based standards] (asinhl): Likewise.
30770         [non-C99-based standards] (atanhl): Likewise.
30771         [non-C99-based standards] (cbrtl): Likewise.
30772         [non-C99-based standards] (expm1l): Likewise.
30773         [non-C99-based standards] (ilogbl): Likewise.
30774         [non-C99-based standards] (log1pl): Likewise.
30775         [non-C99-based standards] (logbl): Likewise.
30776         [non-C99-based standards] (nextafterl): Likewise.
30777         [non-C99-based standards] (remainderl): Likewise.
30778         [non-C99-based standards] (rintl): Likewise.
30779         [non-C99-based standards] (scalbl): Likewise.
30780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30781         [non-C99-based standards] (FP_*): Do not allow.
30782         [C99-based standards] (FP_*): Change to
30783         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30784         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30785         allow.
30786         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30787         (SIG_ERR): Likewise.
30788         [X/Open-based standards] (SIG_HOLD): Likewise.
30789         (SIG_IGN): Likewise.
30790         (SIGABRT): Use macro-int-constant.  Specify type.  Require
30791         positive value.
30792         (SIGFPE): Likewise.
30793         (SIGILL): Likewise.
30794         (SIGINT): Likewise.
30795         (SIGSEGV): Likewise.
30796         (SIGTER): Likewise.
30797         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30798         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30799         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30800         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30801         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30802         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30803         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30804         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30805         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30806         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30807         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30808         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30809         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30810         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30811         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30812         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30813         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30814         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30815         [X/Open-based standards] (SIGTRAP): Likewise.
30816         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30817         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30818         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30819         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30820         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30821         allow.
30823 2012-05-08  Ian Wienand  <ianw@vmware.com>
30825         [BZ #14080]
30826         * time/tzset.c (__tzset_parse_tz): Update default rules for
30827         daylight time changes in the Energy Policy Act of 2005.
30829 2012-05-09  Andreas Jaeger  <aj@suse.de>
30831         [BZ #13983]
30832         * elf/ldconfig.c (parse_conf): Change string to make clear that
30833         ldconfig only issued a warning if ld.so.conf does not exist.
30835 2012-05-08  David S. Miller  <davem@davemloft.net>
30837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30838         movxtod instead of popping the value on the stack.
30840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30842 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
30844         * config.h.in: Add HAVE_ARM_PCS_VFP.
30846 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
30848         [BZ #13979]
30849         * include/features.h: Warn if user requests __FORTIFY_SOURCE
30850         checking but the checks are disabled for any reason.
30852 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
30854         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30855         and ELF64_R_TYPE with ELFW(R_TYPE).
30857 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
30859         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30860         (ulimit): Likewise.
30862         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30863         (settimeofday): Likewise.
30865 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
30867         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
30868         a struct th_u2 inside the union, and move tu_block/tu_code into
30869         a new th_u3 union of tu_block/tu_code inside of that.  Move
30870         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
30871         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
30872         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30873         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30874         (th_stuff): Change to th_u1.tu_stuff.
30875         (th_data): Define.
30876         (th_msg): Change to th_u1.th_u2.tu_data.
30878 2012-05-07  David S. Miller  <davem@davemloft.net>
30880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30882         [BZ #14074]
30883         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30884         (SETUP_PIC_REG): Use it.
30885         (SETUP_PIC_REG_LEAF): Use it.
30887 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
30889         [BZ #13885]
30890         [BZ #13923]
30891         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30892         USE_AS_EXPM1L.
30893         (EXPL_FINITE): Likewise.
30894         (FLDLOG): Likewise.
30895         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30896         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30897         e_expl.S.
30898         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30899         USE_AS_EXPM1L.
30900         (EXPL_FINITE): Likewise.
30901         (FLDLOG): Likewise.
30902         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30903         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30904         e_expl.S.
30905         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30906         test of -max_value argument for long double.
30907         * sysdeps/i386/fpu/libm-test-ulps: Update.
30908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30910 2012-05-06  David S. Miller  <davem@davemloft.net>
30912         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30913         quad soft-float symbols whose references which are compiler
30914         generated.
30915         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30917 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30919         [BZ #13884]
30920         [BZ #13914]
30921         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30922         USE_AS_EXP10L.
30923         (EXPL_FINITE): Likewise.
30924         (FLDLOG): Likewise.
30925         (c0): Likewise.
30926         (c1): Likewise.
30927         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30928         Adjust comments for base varying.
30929         (__expl_finite): Change alias to EXPL_FINITE.
30930         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30931         e_expl.S.
30932         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30933         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30934         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30935         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30937         USE_AS_EXP10L.
30938         (EXPL_FINITE): Likewise.
30939         (FLDLOG): Likewise.
30940         (c0): Likewise.
30941         (c1): Likewise.
30942         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30943         Adjust comments for base varying.
30944         (__expl_finite): Change alias to EXPL_FINITE.
30945         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30946         tests for bugs.
30947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30949         [BZ #14064]
30950         * math/libm-test.inc (check_float_internal): Correct ulp
30951         calculation for subnormal expected results.
30953 2012-05-06  Andreas Jaeger  <aj@suse.de>
30955         * Makeconfig (+math-flags): New, set to -frounding-math.
30956         (+cflags): Add +math-flags so that all of glibc gets compiled with
30957         it.
30959         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30961 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30963         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30964         Disable one test.
30966         [BZ #13787]
30967         [BZ #13922]
30968         [BZ #14036]
30969         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30970         (__ieee754_expl): Allow for and saturate large arguments.
30971         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30972         (u_threshold): Likewise.
30973         (__exp): Call __ieee754_exp before checking for overflow and
30974         underflow.
30975         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30976         (u_threshold): Likewise.
30977         (__expf): Call __ieee754_expf before checking for overflow and
30978         underflow.
30979         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30980         (u_threshold): Likewise.
30981         (__expl): Call __ieee754_expl before checking for overflow and
30982         underflow.
30983         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30984         (__ieee754_expl): Allow for and saturate large arguments.
30985         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30986         missing overflow exception on overflow.
30987         (expm1_test): Do not allow missing overflow exception on overflow.
30989         * sysdeps/i386/fpu/e_expl.c: Move to ...
30990         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30991         rather than using inline asm.
30992         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30993         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30994         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30996         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30997         (nice): Likewise.
30998         (poll): Likewise.
30999         (signal): Likewise.
31000         (time): Likewise.
31001         (times): Likewise.
31003 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31005         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31006         sysdeps/unix/common/syscalls.list.
31007         (fchmod): Likewise.
31008         (fchown): Likewise.
31009         (ftruncate): Likewise.
31010         (getrusage): Likewise.
31011         (gettimeofday): Likewise.
31012         (setpgid): Likewise.
31013         (setregid): Likewise.
31014         (setreuid): Likewise.
31015         (sigaction): Likewise.
31016         (truncate): Likewise.
31017         (vhangup): Likewise.
31018         * sysdeps/unix/common/syscalls.list: Remove file.
31019         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31020         * sysdeps/unix/sysv/linux/Implies: Likewise.
31022 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31024         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31026         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31027         Moved to ...
31028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31029         Here.
31030         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31031         to ...
31032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31033         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31034         to ...
31035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31036         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31037         to ...
31038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31039         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31040         to ...
31041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31042         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31043         to ...
31044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31045         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31046         to ...
31047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31048         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31049         to ...
31050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31051         Here.
31052         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31053         to ...
31054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31055         Here.
31056         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31057         to ...
31058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31059         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31060         Moved to ...
31061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31062         Here.
31063         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31064         to ...
31065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31067 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31069         * sysdeps/unix/common/bits/dirent.h: Remove file.
31070         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31072         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31073         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31074         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31075         * sysdeps/unix/bsd/isatty.c: Likewise.
31076         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31077         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31078         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31080 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31082         [BZ #13563]
31083         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31084         long double comparison inaccuracies.
31085         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31088 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31090         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31091         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31093 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31095         [BZ #14049]
31096         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31097         nonzero digits before rounding a hex value.
31098         * stdlib/tst-strtod.c (tests): Add another test.
31100 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31102         * sysdeps/s390/fpu/libm-test-ulps: Update.
31104 2012-05-03  Andreas Jaeger  <aj@suse.de>
31106         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31107         does not get optimized out.
31108         (malloc_opt_barrier): New.
31110 2012-05-03  Andreas Jaeger  <aj@suse.de>
31111             Roland McGrath  <roland@hack.frob.com>
31113         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31114         intermediate file deletion.
31115         (generated): Add .symlist files.
31117 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31119         [BZ #13775]
31120         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31121         Redirect under this condition.
31122         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31123         [__USE_GNU] (__dprintf_chk): Not under this condition.
31124         [__USE_GNU] (__vdprintf_chk): Likewise.
31125         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31126         under this condition.
31127         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31128         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31129         [__USE_XOPEN2K8] (vdprintf): Likewise.
31130         [__USE_GNU] (__dprintf_chk): Not under this condition.
31131         [__USE_GNU] (__vdprintf_chk): Likewise.
31132         [__USE_GNU] (dprintf): Likewise.
31133         [__USE_GNU] (vdprintf): Likewise.
31135 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31137         * elf/Makefile (common-generated): Set this instead of generated for
31138         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31139         $(all-built-dso)-derived lists.
31141 2012-05-03  Andreas Jaeger  <aj@suse.de>
31143         * sysdeps/i386/fpu/libm-test-ulps: Update.
31145         * FAQ: Removed.
31146         * FAQ.in: Likewise.
31147         * scripts/gen-FAQ.pl: Likewise.
31148         * manual/install.texi (Installation): Point to online location of
31149         FAQ.
31150         * Makefile (files-for-dist): Remove FAQ.
31151         (FAQ): Remove.
31153 2012-05-02  Allan McRae  <allan@archlinux.org>
31155         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31156         (LDFLAGS-reldepmod5.so): Likewise.
31157         (LDFLAGS-reldep6mod1.so): Likewise.
31158         (LDFLAGS-reldep6mod4.so): Likewise.
31159         (LDFLAGS-reldep8mod3.so): Likewise.
31160         (LDFLAGS-unload4mod1.so): Likewise.
31161         (LDFLAGS-unload4mod2.so): Likewise.
31162         (LDFLAGS-tst-initorder): Likewise.
31163         (LDFLAGS-tst-initordera2.so): Likewise.
31164         (LDFLAGS-tst-initordera3.so): Likewise.
31165         (LDFLAGS-tst-initordera4.so): Likewise.
31166         (LDFLAGS-tst-initorderb2.so): Likewise.
31167         (LDFLAGS-noload): Likewise.
31168         (LDFLAGS-next): Likewise.
31169         (LDFLAGS-order2mod1.so): Likewise.
31170         (LDFLAGS-order2mod2.so): Likewise.
31171         (LDFLAGS-tst-initorder2): Likewise.
31172         (LDFLAGS-tst-initorder2a.so): Likewise.
31173         (LDFLAGS-tst-initorder2b.so): Likewise.
31174         (LDFLAGS-tst-initorder2c.so): Likewise.
31175         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31177 2012-05-02  David S. Miller  <davem@davemloft.net>
31179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31181 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31183         [BZ #14055]
31184         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31186 2012-05-02  Andreas Jaeger  <aj@suse.de>
31188         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31189         since we manipulate rounding mode.
31190         (CPPFLAGS-test-idouble.c): Likewise.
31191         (CPPFLAGS-test-ifloat.c): Likewise.
31192         (CFLAGS-test-ldouble.c): Likewise.
31193         (CFLAGS-test-double.c): Likewise.
31194         (CFLAGS-test-float.c): Likewise.
31195         (CFLAGS-test-misc.c): Likewise.
31196         (CFLAGS-test-test-fenv.c): Likewise.
31198 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31200         [BZ #2550]
31201         [BZ #2570]
31202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31203         comparisons to determine direction to adjust input.
31205 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31207         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31208         output to the target.
31210         * scripts/localplt.awk: New file.
31211         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31212         (check-localplt-CFLAGS): Variable removed.
31213         ($(all-built-dso:=.jmprel)): New static pattern rule.
31214         (generated): Add those targets.
31215         (localplt-built-dso): New variable.
31216         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31218         * elf/check-localplt.c: File removed.
31220         * scripts/check-execstack.awk: New file.
31221         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31222         (check-execstack-CFLAGS): Variable removed.
31223         ($(objpfx)check-execstack.h): Target removed.
31224         ($(objpfx)execstack-default): New target.
31225         (generated): Add that instead of check-execstack.h.
31226         ($(all-built-dso:=.phdr)): New static pattern rule.
31227         (generated): Add those targets.
31228         * elf/check-execstack.c: File removed.
31230         * scripts/check-textrel.awk: New file.
31231         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31232         (check-textrel-CFLAGS): Variable removed.
31233         (all-built-dso): Use := to define.o
31234         ($(all-built-dso:=.dyn)): New static pattern rule.
31235         (generated): Add those targets.
31236         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31237         * config.make.in (READELF): New substituted variable.
31238         * elf/check-textrel.c: File removed.
31240 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31242         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31243         allow.
31244         * conform/data/ctype.h-data [C99-based standards] (isblank):
31245         Expect function.
31246         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31247         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31248         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31249         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31250         Specify type.  Require positive value.
31251         (EILSEQ): Likewise.
31252         (ERANGE): Likewise.
31253         [ISO || POSIX] (EILSEQ): Do not expect.
31254         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31255         Specify type.  Require positive value.
31256         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31257         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31258         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31259         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31260         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31261         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31262         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31263         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31264         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31265         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31266         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31267         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31268         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31269         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31270         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31271         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31272         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31273         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31274         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31275         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31276         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31277         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31278         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31279         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31280         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31281         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31282         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31283         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31284         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31285         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31286         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31287         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31288         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31289         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31290         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31291         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31292         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31293         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31294         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31295         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31296         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31297         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31298         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31299         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31300         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31301         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31302         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31303         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31304         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31305         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31306         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31307         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31308         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31309         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31310         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31311         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31312         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31313         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31314         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31315         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31316         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31317         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31318         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31319         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31320         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31321         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31322         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31323         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31324         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31325         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31326         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31327         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31328         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31329         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31330         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31331         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31332         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31333         Require >= 2.
31334         (FLT_ROUNDS): Expect as macro, not constant.
31335         (FLT_MANT_DIG): Use macro-int-constant.
31336         (DBL_MANT_DIG): Likewise.
31337         (LDBL_MANT_DIG): Likewise.
31338         (FLT_DIG): Likewise.
31339         (DBL_DIG): Likewise.
31340         (LDBL_DIG): Likewise.
31341         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
31342         (DBL_MIN_EXP): Likewise.
31343         (LDBL_MIN_EXP): Likewise.
31344         (FLT_MAX_EXP): Use macro-int-constant.
31345         (DBL_MAX_EXP): Likewise.
31346         (LDBL_MAX_EXP): Likewise.
31347         (FLT_MAX_10_EXP): Likewise.
31348         (DBL_MAX_10_EXP): Likewise.
31349         (LDBL_MAX_10_EXP): Likewise.
31350         (FLT_MAX): Use macro-constant.
31351         (DBL_MAX): Likewise.
31352         (LDBL_MAX): Likewise.
31353         (FLT_EPSILON): Use macro-constant.  Give upper bound.
31354         (DBL_EPSILON): Likewise.
31355         (LDBL_EPSILON): Likewise.
31356         (FLT_MIN): Likewise.
31357         (DBL_MIN): Likewise.
31358         (LDBL_MIN): Likewise.
31359         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31360         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31361         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31362         [ISO11] (FLT_HAS_SUBNORM): Likewise.
31363         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31364         [ISO11] (DBL_DECIMAL_DIG): Likewise.
31365         [ISO11] (FLT_DECIMAL_DIG): Likewise.
31366         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31367         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31368         [ISO11] (FLT_TRUE_MIN): Likewise.
31369         [ISO11] (LDBL_TRUE_MIN): Likewise.
31370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31371         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31372         (SCHAR_MIN): Use macro-int-constant.  Specify type.
31373         (SCHAR_MAX): Likewise.
31374         (UCHAR_MAX): Likewise.
31375         (CHAR_MIN): Likewise.
31376         (CHAR_MAX): Likewise.
31377         (MB_LEN_MAX): Use macro-int-constant.
31378         (SHRT_MIN): Use macro-int-constant.  Specify type.
31379         (SHRT_MAX): Likewise.
31380         (USHRT_MAX): Likewise.
31381         (INT_MAX): Likewise.
31382         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
31383         bound negative.
31384         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31385         bound with "U".
31386         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31387         bound with "L".
31388         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
31389         bound negative.  Suffix upper bound with "L".
31390         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31391         bound with "UL".
31392         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31393         Specify type.
31394         [C99-based standards] (LLONG_MAX): Likewise.
31395         [C99-based standards] (ULLONG_MAX): Likewise.
31396         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
31397         == 0.
31398         [ISO11] (max_align_t): Require type.
31399         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31401         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31402         from $CFLAGS, without defining away __attribute__ calls.
31403         (checknamespace): Use $CFLAGS_namespace.
31405         * conform/conformtest.pl (@keywords): Only include C99 keywords
31406         for standards based on C99 or C11.
31408         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31409         Disable tests.
31410         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31411         UNIX98]: Likewise.
31413         * conform/conformtest.pl: Handle "macro-int-constant" and test for
31414         usability of symbols in #if.
31416         * conform/conformtest.pl: If macro or constant types start
31417         "promoted:", expect the symbol to be of the following type
31418         promoted by the integer promotions.
31420         * conform/conformtest.pl: Parse all "constant" and "macro" lines
31421         in one place.  Also handle "macro-constant".
31423         * conform/conformtest.pl: Only accept expected macro values with
31424         "==".  Parse all "macro" lines in one place.
31425         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31427         * conform/conformtest.pl: Handle braced types on "constant" lines
31428         instead of handling "typed-constant".
31429         * conform/data/signal.h-data: Use "constant" instead of
31430         "typed-constant".
31432         * conform/conformtest.pl: Handle "optional-" at start of lines in
31433         one place rather than duplicating several cases.  Handle each
31434         format of "macro" line with initial "optional-".
31436         * conform/conformtest.pl: Only accept expected constant or
31437         optional-constant values with "==".  Parse all "constant" lines in
31438         one place.  Parse all "optional-constant" lines in one place.
31439         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31440         * conform/data/fmtmsg.h-data: Likewise.
31441         * conform/data/netinet/in.h-data: Likewise.
31442         * conform/data/tar.h-data: Likewise.
31443         * conform/data/limits.h-data: Use "==" form on "constant" and
31444         "optional-constant" lines.
31446         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31447         Use -std=c99 for XOPEN2K.
31448         (@knownproblems): Remove.
31449         (newtoken): Don't check %isknown.
31451         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31452         Do not expect macro.
31453         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31454         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31455         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31456         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31457         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31458         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31459         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31460         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31461         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31462         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31463         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31464         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31465         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31466         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31467         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31468         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31469         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31470         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31471         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31472         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31473         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31474         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31475         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31476         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31477         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31478         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31479         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31480         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31481         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31482         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31483         [XPG3] (acosh): Likewise.
31484         [XPG3] (asinh): Likewise.
31485         [XPG3] (atanh): Likewise.
31486         [XPG3] (cbrt): Likewise.
31487         [XPG3] (expm1): Likewise.
31488         [XPG3] (ilogb): Likewise.
31489         [XPG3] (log1p): Likewise.
31490         [XPG3] (logb): Likewise.
31491         [XPG3] (nextafter): Likewise.
31492         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31493         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31494         [XPG3] (remainder): Likewise.
31495         [XPG3] (rint): Likewise.
31496         [XPG3 || XPG4 || UNIX98] (round): Likewise.
31497         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31498         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31499         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31500         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31501         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31502         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31503         [UNIX98 || XOPEN2K] (scalb): Expect.
31504         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31505         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31506         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31507         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31508         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31509         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31510         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31511         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31512         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31513         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31514         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31515         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31516         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31517         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31518         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31519         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31520         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31521         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31522         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31523         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31524         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31525         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31526         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31527         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31528         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31529         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31530         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31531         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31532         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31533         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31534         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31535         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31536         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31537         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31538         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31539         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31540         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31541         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31542         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31543         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31544         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31545         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31546         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31547         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31548         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31549         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31550         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31551         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31552         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31553         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31554         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31555         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31556         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31557         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31558         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31559         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31560         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31561         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31562         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31563         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31564         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31565         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31566         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31567         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31568         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31569         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31570         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31571         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31572         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31573         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31574         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31575         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31576         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31577         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31578         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31579         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31580         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31581         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31582         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31583         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31584         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31585         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31586         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31587         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31588         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31589         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31590         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31591         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31592         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31593         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31594         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31595         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31596         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31597         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31598         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31599         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31600         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31601         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31602         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31603         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31604         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31605         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31606         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31607         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31608         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31609         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31610         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31611         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31612         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31613         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31614         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31615         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31616         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31617         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31618         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31619         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31620         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31621         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31622         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31623         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31624         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31625         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31626         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31627         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31628         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31629         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31630         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31631         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31632         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31633         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31634         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31635         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31636         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31637         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31638         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31639         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31640         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31642         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31643         _XOPEN_SOURCE_EXTENDED for XPG4.
31645         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31647         * Makeconfig (localtime): Remove variable.
31648         (inst_localtime-file): Likewise.
31650 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31653         Update.
31654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31655         Update.
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31657         Update.
31658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31659         Update.
31660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31661         Update.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31663         Update.
31664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31665         Update.
31666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31667         Update.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31669         Update.
31671 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31673         [BZ #2550]
31674         [BZ #2570]
31675         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31676         comparisons to determine direction to adjust input.
31677         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31678         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31680         Likewise.
31681         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31682         Likewise.
31683         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31684         Likewise.
31685         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31686         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31687         Likewise.
31688         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31689         Likewise.
31690         * math/libm-test.inc (nexttoward_test): Add more tests.
31692 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31694         [BZ #14040]
31695         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31696         in version GLIBC_2.1, not GLIBC_2.0.
31697         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31698         Likewise.
31700 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31702         [BZ #13942]
31703         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31704         (1 - x) * (1 + x).
31705         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31706         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31707         * math/libm-test.inc (acos_test): Add more tests.
31708         (asin_test): Likewise.
31709         * sysdeps/i386/fpu/libm-test-ulps: Update.
31710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31712         [BZ #14034]
31713         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31714         of square root.
31715         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31716         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31717         * math/libm-test.inc (acos_test_tonearest): New function.
31718         (acos_test_towardzero): Likewise.
31719         (acos_test_downward): Likewise.
31720         (acos_test_upward): Likewise.
31721         (asin_test_tonearest): Likewise.
31722         (asin_test_towardzero): Likewise.
31723         (asin_test_downward): Likewise.
31724         (asin_test_upward): Likewise.
31725         (main): Call the new functions.
31726         * sysdeps/i386/fpu/libm-test-ulps: Update.
31727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31729         [BZ #13884]
31730         [BZ #13924]
31731         * math/e_exp10.c: Include <float.h>.
31732         (__ieee754_exp10): Handle underflow here rather than multiplying
31733         large negative argument by M_LN10.
31734         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31735         of __ieee754_expf.
31736         * math/e_exp10l.c: Include <float.h>.
31737         (__ieee754_exp10l): Handle underflow here rather than multiplying
31738         large negative argument by M_LN10l.
31739         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
31740         spurious overflow exception on underflow.
31742 2012-04-29  Marek Polacek  <polacek@redhat.com>
31744         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31745         (__fortify_function): New macro.
31746         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31747         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31748         __extern_always_inline.
31749         * libio/bits/stdio2.h: Likewise.
31750         * libio/bits/stdio.h: Likewise.
31751         * string/string.h: Likewise.
31752         * string/bits/string3.h: Likewise.
31753         * include/stdio.h: Likewise.
31754         * stdlib/bits/stdlib.h: Likewise.
31755         * stdlib/stdlib.h: Likewise.
31756         * rt/bits/mqueue2.h: Likewise.
31757         * rt/mqueue.h: Likewise.
31758         * posix/bits/unistd.h: Likewise.
31759         * posix/unistd.h: Likewise.
31760         * io/bits/poll2.h: Likewise.
31761         * io/bits/fcntl2.h: Likewise.
31762         * io/fcntl.h: Likewise.
31763         * io/sys/poll.h: Likewise.
31764         * misc/bits/syslog.h: Likewise.
31765         * misc/bits/syslog-ldbl.h: Likewise.
31766         * misc/sys/syslog.h: Likewise.
31767         * socket/bits/socket2.h: Likewise.
31768         * socket/sys/socket.h: Likewise.
31769         * debug/tst-chk1.c: Likewise.
31770         * wcsmbs/bits/wchar2.h: Likewise.
31771         * wcsmbs/bits/wchar-ldbl.h: Likewise.
31772         * wcsmbs/wchar.h: Likewise.
31774 2012-04-29  Andreas Jaeger  <aj@suse.de>
31776         * Makerules (tests): Remove enable-check-abi protection.
31777         (check-abi-warn): Remove.
31778         (check-abi-%): Remove check-abi-warn usage.
31780         * configure.in: Remove check-abi configure option.
31781         * configure: Regenerated.
31782         * config.make.in (enable-check-abi): Remove.
31784 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
31786         [BZ #14033]
31787         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31788         double functions to double *_finite functions.
31790         [BZ #13941]
31791         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31792         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31793         LDBL_MIN_EXP.
31794         * stdio-common/Makefile (tests): Add tst-sprintf3.
31795         * stdio-common/tst-sprintf3.c: New file.
31797         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31798         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31800 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31802         * conform/conformtest.pl: Remove duplicate typed-constant
31803         handling.
31805 2012-04-28  David S. Miller  <davem@davemloft.net>
31807         * Makerules (%.abilist): Add vpath on sysdep_dirs.
31808         (check-abi-%): Remove AWK script prerequisite and explicit
31809         abilist directory.
31810         (check-abi): Rewrite to just diff the symlist with the abilist.
31811         (config-tls, config-abi-config): Delete, no longer used.
31812         (update-abi-%): Remove AWK script and explicit abilist directory.
31813         (update-abi): Rewrite to simply compare and conditionally copy the
31814         symlist and the sysdep abilist file.  Remove update-abi-config
31815         checks.
31816         * abilist/ld.abilist: Remove.
31817         * abilist/libBrokenLocale.abilist: Remove.
31818         * abilist/libanl.abilist: Remove.
31819         * abilist/libcrypt.abilist: Remove.
31820         * abilist/libdl.abilist: Remove.
31821         * abilist/librt.abilist: Remove.
31822         * abilist/libthread_db.abilist: Remove.
31823         * abilist/libutil.abilist: Remove.
31824         * scripts/extract-abilist.awk: Remove.
31825         * scripts/merge-abilist.awk: Remove.
31826         * sysdeps/generic/libcidn.abilist: New file.
31827         * sysdeps/generic/libnss_compat.abilist: New file.
31828         * sysdeps/generic/libnss_db.abilist: New file.
31829         * sysdeps/generic/libnss_dns.abilist: New file.
31830         * sysdeps/generic/libnss_files.abilist: New file.
31831         * sysdeps/generic/libnss_hesiod.abilist: New file.
31832         * sysdeps/generic/libnss_nis.abilist: New file.
31833         * sysdeps/generic/libnss_nisplus.abilist: New file.
31834         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31835         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31836         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31837         file.
31838         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31839         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31840         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31841         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31842         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31843         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31844         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31845         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31846         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31847         file.
31848         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31849         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31850         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31851         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31852         file.
31853         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31854         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31855         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31856         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31857         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31858         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31859         file.
31860         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31861         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31862         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31863         file.
31864         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31866         New file.
31867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31868         New file.
31869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31870         New file.
31871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31872         New file.
31873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31874         New file.
31875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31876         New file.
31877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31878         New file.
31879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31880         New file.
31881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31882         New file.
31883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31884         New file.
31885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31886         New file.
31887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31888         New file.
31889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31890         New file.
31891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31892         file.
31893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31894         New file.
31895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31896         New file.
31897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31898         file.
31899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31900         New file.
31901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31902         New file.
31903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31904         file.
31905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31906         New file.
31907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31908         New file.
31909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31910         New file.
31911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31912         New file.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31914         New file.
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31916         New file.
31917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31919         file.
31920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31921         New file.
31922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31923         file.
31924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31925         file.
31926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31927         file.
31928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31929         file.
31930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31931         file.
31932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31933         New file.
31934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31935         file.
31936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31937         file.
31938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31939         New file.
31940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31941         file.
31942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31944         file.
31945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31946         New file.
31947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31948         file.
31949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31950         file.
31951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31952         file.
31953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31954         file.
31955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31956         file.
31957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31958         New file.
31959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31960         file.
31961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31962         file.
31963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31964         New file.
31965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31966         file.
31967         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31968         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31969         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31970         file.
31971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31972         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31973         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31974         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31975         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31976         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31977         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31978         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31979         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31980         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31983         file.
31984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31985         New file.
31986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31987         file.
31988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31989         file.
31990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31991         file.
31992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31993         file.
31994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31995         file.
31996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31997         New file.
31998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31999         New file.
32000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32001         file.
32002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32003         New file.
32004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32005         file.
32006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32008         file.
32009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32010         New file.
32011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32012         file.
32013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32014         file.
32015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32016         file.
32017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32018         file.
32019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32020         file.
32021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32022         New file.
32023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32024         New file.
32025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32026         file.
32027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32028         New file.
32029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32030         file.
32032 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32034         * conform/conformtest.pl: Fix typo in handling typed-constant from
32035         allow-header.
32037 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32039         * README: Cut down references to pre-2.6 Linux kernels and
32040         Linuxthreads.  Update lists of configurations in libc and ports
32041         and sort alphabetically.  Say "or newer" with Linux kernel version
32042         requirements.
32044         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32046 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32048         [BZ #887]
32049         * math/libm-test.inc (logb_test_downward): New test to expose
32050         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32051         rounding mode.
32053 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32055         [BZ #14027]
32056         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32057         to be done.
32058         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32059         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32061 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32063         * sysdeps/unix/i386/brk.S: Remove file.
32064         * sysdeps/unix/i386/dl-brk.S: Likewise.
32065         * sysdeps/unix/i386/pipe.S: Likewise.
32066         * sysdeps/unix/i386/sigreturn.S: Likewise.
32067         * sysdeps/unix/i386/syscall.S: Likewise.
32068         * sysdeps/unix/i386/vfork.S: Likewise.
32069         * sysdeps/unix/i386/wait.S: Likewise.
32071         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32072         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32074         * configure.in (arm*-none*): Do not allow without
32075         --enable-hacker-mode.
32076         (netbsd*): Remove case setting base_os.
32077         (386bsd*): Likewise.
32078         (freebsd*): Likewise.
32079         (bsdi*): Likewise.
32080         (osf*): Likewise.
32081         (sunos*): Likewise.
32082         (ultrix*): Likewise.
32083         (newsos*): Likewise.
32084         (dynix*): Likewise.
32085         (*bsd*): Likewise.
32086         (sysv*): Likewise.
32087         (isc*): Likewise.
32088         (esix*): Likewise.
32089         (sco*): Likewise.
32090         (minix*): Likewise.
32091         (irix4*): Likewise.
32092         (irix6*): Likewise.
32093         (solaris[2-9]*): Likewise.
32094         (none): Likewise.
32095         * configure: Regenerated.
32097 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32099         [BZ #11521]
32100         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32101         overflow or cancellation in calculating denominator.
32102         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32104         down expression to avoid unexpected rounding in newer GCCs.
32105         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32107 2012-04-26  David S. Miller  <davem@davemloft.net>
32109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32110         long-double compat symbols.
32111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32125 2012-04-25  David S. Miller  <davem@davemloft.net>
32127         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32128         HWCAP_* values only after the memory barriers have been defined.
32129         (atomic_full_barrier): Define.
32130         (atomic_read_barrier): Define.
32131         (atomic_write_barrier): Define.
32133 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32135         * shlib-versions: Add libgcc_s version information.
32136         * sysdeps/generic/libgcc_s.h: Remove.
32137         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32138         libgcc_s.h.
32139         * sysdeps/gnu/unwind-resume.c: Likewise.
32140         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32142 2012-04-25  David S. Miller  <davem@davemloft.net>
32144         * sysdeps/unix/sparc/brk.S: Delete.
32145         * sysdeps/unix/sparc/dl-brk.S: Delete.
32146         * sysdeps/unix/sparc/pipe.S: Delete.
32147         * sysdeps/unix/sparc/sysdep.S: Delete.
32148         * sysdeps/unix/sparc/sysdep.h: Delete.
32149         * sysdeps/unix/sparc/vfork.S: Delete.
32150         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32151         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32152         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32153         (ret_ERRVAL, r0, r1, MOVE): Define.
32154         (JUMPTARGET): Remove.
32155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32156         sysdeps/unix/sparc/sysdep.h
32157         (ENTRY, END): Remove.
32158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32160 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32162         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32163         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32164         -DIS_IN_build.
32166         * timezone/README: Update upstream location and email address for
32167         tzcode and tzdata.
32168         * timezone/zdump.c: Update from tzcode 2012b.
32169         * timezone/zic.c: Likewise.
32171         * configure.in (libc_cv_as_needed): Remove test.
32172         * configure: Regenerated.
32173         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32174         conditional definition.
32175         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32176         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32177         * config.make.in (have-as-needed): Remove variable.
32179 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32180             Paul Pluzhnikov  <ppluzhnikov@google.com>
32182         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32183         strings correctly.
32185 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32187         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32188         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32189         * sysdeps/sh/strlen.S: Likewise.
32191 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32193         * sysdeps/unix/fork.S: Remove file.
32194         * sysdeps/unix/i386/fork.S: Likewise.
32195         * sysdeps/unix/sparc/fork.S: Likewise.
32197         * sysdeps/unix/system.c: Remove file.
32198         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32200         * sysdeps/unix/getegid.S: Remove file.
32201         * sysdeps/unix/geteuid.S: Likewise.
32203 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32205         * scripts/check-localplt.awk: New file.
32206         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32207         of diff.
32208         * scripts/data/localplt-generic.data: Add a comment.
32210         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32211         NODE when __dir_mkfile failed.
32212         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32213         Reported by Ludovic Courtès <ludo@gnu.org>.
32215 2012-04-24  Andreas Jaeger  <aj@suse.de>
32217         * Makerules (common-clean): Also remove gen-as-const-headers
32218         files.
32220 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32222         * Makerules (native-compile): Do not change working directory for
32223         build.  Use $(OUTPUT_OPTION) in command.
32224         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32226 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32228         [BZ #13886]
32229         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32230         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32231         * math/libm-test.inc (floor_test): Add more tests.
32232         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32234 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32236         * sysdeps/unix/getdents.c: Remove file.
32237         * sysdeps/unix/sysv/getdents.c: Likewise.
32238         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32240         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32241         sysdeps/unix/mman/syscalls.list.
32242         (mmap): Likewise.
32243         (mprotect): Likewise.
32244         (msync): Likewise.
32245         (munmap): Likewise.
32246         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32247         * sysdeps/unix/mman/syscalls.list: Remove.
32248         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32250         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32251         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32252         * configure: Regenerated.
32253         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32254         $(libgcc_s_suffix).
32255         * config.make.in (libgcc_s_suffix): Remove variable.
32257 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
32259         * sysdeps/unix/sysv/gethostname.c: Move to ...
32260         * sysdeps/posix/gethostname.c: ... here.
32262         * sysdeps/unix/execve.S: Remove file.
32264         * sysdeps/unix/_exit.S: Remove file.
32266 2012-04-23  Andreas Jaeger  <aj@suse.de>
32268         [BZ #13739]
32269         * manual/Makefile: Remove make dist support, there's no
32270         need for a stand-alone documentation tar ball.
32271         (TEXI2DVI): Define always, it's not in Makeconfig.
32272         (dist): Removed.
32273         (tar-it): Removed.
32274         (edition): Removed.
32275         (glibc-doc-$(edition).tar): Removed
32276         (%.Z): Removed.
32277         (%.gz): Removed.
32278         (%.uu): Removed.
32279         (ETAGS): Remove, it's in Makeconfig.
32280         (move-if-change): Remove, it's in Makeconfig.
32282 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
32284         [BZ #13970]
32285         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32286         (strtod, strtof, strtold, strtol, strtoul, strtoq)
32287         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32288         (strtod_l, strtof_l, strtold_l): Remove __wur.
32289         It is not necessarily an error to ignore strtol's return value.
32290         One can reliably look at the stored endptr to decide whether
32291         the number had valid syntax.
32293 2012-04-21  Andreas Jaeger  <aj@suse.de>
32295         [BZ #13739]
32296         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32298 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
32300         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32301         * sysdeps/unix/sysv/Versions: Remove file.
32303 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
32305         [BZ #13927]
32306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32308 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
32310         [BZ #7064]
32311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32312         version from __vm86.
32314 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
32316         * sysdeps/unix/common/lxstat.c: Remove file.
32317         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32319         * sysdeps/unix/sysv/Makefile: Remove file.
32321         * sysdeps/unix/sysv/direct.h: Remove file.
32323         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32324         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32325         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32326         * sysdeps/unix/sysv/bits/signum.h: Likewise.
32327         * sysdeps/unix/sysv/bits/stat.h: Likewise.
32328         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32329         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32331         * sysdeps/unix/sysv/setrlimit.c: Remove file.
32333         * sysdeps/unix/xmknod.c: Remove file.
32334         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32336         * sysdeps/unix/sysv/settimeofday.c: Remove file.
32338         * sysdeps/unix/sysv/i386/time.S: Remove file.
32340         * sysdeps/unix/fxstat.c: Remove file.
32341         * sysdeps/unix/xstat.c: Likewise.
32342         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32344         * sysdeps/unix/sysv/sigaction.c: Remove file.
32346         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32347         (sysdep_headers): Remove variable.
32348         [termio.h not in sysdep_headers] (generated): Likewise.
32349         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32350         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32351         * sysdeps/unix/sysv/tcdrain.c: Likewise.
32352         * sysdeps/unix/sysv/tcflow.c: Likewise.
32353         * sysdeps/unix/sysv/tcflush.c: Likewise.
32354         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32355         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32356         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32357         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32358         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32360         * sysdeps/unix/siglist.c: Remove file.
32362         * sysdeps/unix/getppid.S: Remove file.
32364         * sysdeps/unix/mkdir.c: Remove file.
32365         * sysdeps/unix/rmdir.c: Likewise.
32367 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
32369         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32370         ERR_MAX value.
32371         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32372         errlist-compat value.
32374 2012-04-18  David S. Miller  <davem@davemloft.net>
32376         * sysdeps/generic/memcopy.h (reg_char): Delete.
32377         * debug/strcat_chk.c: Use char, not reg_char.
32378         * debug/strcpy_chk.c: Likewise.
32379         * debug/strncat_chk.c: Likewise.
32380         * debug/strncpy_chk.c: Likewise.
32381         * string/memchr.c: Likewise.
32382         * string/memrchr.c: Likewise.
32383         * string/rawmemchr.c: Likewise.
32384         * string/strcat.c: Likewise.
32385         * string/strchr.c: Likewise.
32386         * string/strchrnul.c: Likewise.
32387         * string/strcmp.c: Likewise.
32388         * string/strcpy.c: Likewise.
32389         * string/strncat.c: Likewise.
32390         * string/strncmp.c: Likewise.
32391         * string/strncpy.c: Likewise.
32393 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32395         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32396         __builtin_memcopy is called when src and dest ranges are known to not
32397         overlap.
32399 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32401         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32402         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32403         fwd_align_merge macro call.
32404         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32405         bwd_align_merge macro call.
32406         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32408 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32410         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32411         bwd_align_merge macros.
32412         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32413         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32414         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32416 2012-04-18  David S. Miller  <davem@davemloft.net>
32418         * sysdeps/sparc/sparc64/memcopy.h: Delete.
32420 2012-04-18  Andreas Jaeger  <aj@suse.de>
32422         [BZ# 6794]
32423         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32424         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32425         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32427         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32428         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32429         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32431         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32432         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32433         Adjust for changed ldbl-128 files.
32435         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32436         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32437         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32439 2012-04-17  David S. Miller  <davem@davemloft.net>
32441         * sysdeps/sparc/sparc32/memcopy.h: Delete.
32443 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
32445         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32446         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32447         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32448         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32449         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32450         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32452 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32454         [BZ #6794]
32455         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32456         * math/libm-test.inc: Add ilogb errno and exception tests.
32457         * math/w_ilogb.c: New file: ilogb wrapper.
32458         * math/w_ilogbf.c: New file: ilogbf wrapper.
32459         * math/w_ilogbl.c: New file: ilogbl wrapper.
32460         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32461         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32462         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32463         exception being thrown with 0.0 as argument.
32464         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32465         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32466         exception being thrown with 0.0 as argument.
32467         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32468         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32469         exception being thrown with 0.0 as argument.
32470         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32471         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32472         exception being thrown with 0.0 as argument.
32473         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32474         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32475         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32476         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32477         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32478         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32479         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32480         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32481         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32483 2012-04-17  Petr Baudis  <pasky@ucw.cz>
32485         * include/sys/uio.h: Change __vector to __iovec to avoid clash
32486         with altivec.
32488 2012-04-16  Marek Polacek  <polacek@redhat.com>
32490         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32492 2012-04-16  Marek Polacek  <polacek@redhat.com>
32494         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32495         operands of fdivp instruction.
32497 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32499         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32500         * elf/tst-auditmod3b.c: Likewise.
32501         * elf/tst-auditmod4b.c: Likewise.
32502         * elf/tst-auditmod5b.c: Likewise.
32503         * elf/tst-auditmod6b.c: Likewise.
32504         * elf/tst-auditmod6c.c: Likewise.
32505         * elf/tst-auditmod7b.c: Likewise.
32506         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32507         * sysdeps/x86_64/preconfigure.in: Likewise.
32508         * sysdeps/x86_64/preconfigure: Regenerated.
32510 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32512         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32513         __ILP32__.
32515 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
32517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32518         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32520 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
32522         [BZ #13973]
32523         * locale/iso-639.def: Fix gl language name. Spotted by
32524         Yaron Shahrabani.
32526 2012-04-12  Roland McGrath  <roland@hack.frob.com>
32528         [BZ #2074]
32529         * libio/libio.h (__io_write_fn): Update comment.
32531 2012-04-12  Petr Baudis  <pasky@ucw.cz>
32533         [BZ #2074]
32534         * stdio.texi (Hook Functions): The user provided writer function
32535         is not allowed to return -1.
32537 2012-04-11  David S. Miller  <davem@davemloft.net>
32539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32541 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
32543         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32544         Add a leading slash to rtkaio.
32546 2012-04-11  Jim Meyering  <meyering@redhat.com>
32548         [BZ #11959]
32549         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32550         It is not necessarily an error to ignore fwrite's return
32551         value.  One can reliably use ferror to test for errors after
32552         the fact.
32554 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32556         * bits/types.h (__snseconds_t): New type.
32557         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32559         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32561         (__SNSECONDS_T_TYPE): Likewise.
32562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32563         (__SNSECONDS_T_TYPE): Likewise.
32564         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32565         (__SNSECONDS_T_TYPE): Likewise.
32567 2012-04-10  Andreas Jaeger  <aj@suse.de>
32569         [BZ #2636]
32570         * manual/time.texi (Processor Time): Return type of times is
32571         elapsed real time since an arbitrary point in the past.
32572         (CPU Time): Move CLK_TCK from here...
32573         (Processor Time): ...to here.  Correct description.
32574         * manual/conf.texi (Constants for Sysconf): Correct description of
32575         _SC_CLK_TCK.
32577 2012-04-10  David S. Miller  <davem@davemloft.net>
32579         [BZ #13967]
32580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32581         where the is a gap between DT_REL(A) and DT_JMPREL.
32583 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32585         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32586         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32587         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32589 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32591         * elf/dl-support.c (_dl_inhibit_cache): New variable.
32592         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32593         (dl_main): Handle --inhibit-cache.
32594         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32595         _dl_inhibit_cache.
32596         * elf/dl-load.c (_dl_map_object): Use it.
32597         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32599 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32601         [BZ #13872]
32602         * sysdeps/i386/fpu/e_powl.S (p78): New object.
32603         (__ieee754_powl): Saturate large exponents rather than testing for
32604         overflow of y*log2(x).
32605         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32606         * math/libm-test.inc (pow_test): Do not permit spurious overflow
32607         exceptions.
32609         [BZ #11521]
32610         * math/s_ctan.c: Include <float.h>.
32611         (__ctan): Avoid internal overflow or cancellation in calculating
32612         denominator.
32613         * math/s_ctanf.c: Likewise.
32614         * math/s_ctanl.c: Likewise.
32615         * math/s_ctanh.c: Likewise.
32616         * math/s_ctanhf.c: Likewise.
32617         * math/s_ctanhl.c: Likewise.
32618         * math/libm-test.inc (ctan_test): Add more tests.
32619         (ctanh_test): Likewise.
32620         * sysdeps/i386/fpu/libm-test-ulps: Update.
32621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32623 2012-04-09  Andreas Jaeger  <aj@suse.de>
32625         [BZ #6894]
32626         * manual/filesys.texi (Directory Entries): Mention that d_namlen
32627         is an optional BSD extension.
32629         [BZ #10254]
32630         * manual/stdio.texi (Opening Streams): Document additional fopen
32631         parameters.
32633 2012-04-09  Roland McGrath  <roland@hack.frob.com>
32635         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32636         %eax without telling the compiler.
32638 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
32640         [BZ # 13963]
32641         * manual/install.texi: Use sourceware.org.
32643 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32645         [BZ #13873]
32646         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32647         (__ieee754_pow): Generate overflow and underflow using huge*huge
32648         and tiny*tiny rather than just returning constant infinity or zero
32649         for large exponents.
32650         * math/libm-test.inc (pow_test): Require overflow exceptions for
32651         applicable cases of large exponents.
32653         [BZ #706]
32654         * sysdeps/i386/fpu/e_pow.S (p10): New object.
32655         (__ieee754_pow): Use iterative multiplication algorithm only for
32656         integer exponents with absolute value below 1024.  Check for odd
32657         integer exponents when using algorithm for real exponents.
32658         * math/libm-test.inc (pow_test): Add more tests.
32659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32661 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
32663         [BZ #13705]
32664         * math/libm-test.inc (exp_test): Do not allow overflow exception
32665         on underflow test.
32667 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
32669         [BZ #13705]
32670         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32671         instead of __kernel_standard_f.
32673 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
32675         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32676         * sysdeps/x86_64/memset_chk.S: Likewise.
32678 2012-04-08  Andreas Jaeger  <aj@suse.de>
32680         [BZ #10153]
32681         * manual/startup.texi (Environment Access): Describe return value
32682         for putenv and setenv.
32684         [BZ #6895]
32685         * manual/filesys.texi (Directory Entries): Add description for
32686         DT_LNK.
32688         [BZ #6890]
32689         * manual/filesys.texi (Directory Entries): Clarify that it's file
32690         system not operating system in the description of DT_UNKNOWN.
32692         [BZ #6578]
32693         * manual/syslog.texi (closelog): Fix reference, it's openlog.
32695 2012-04-08  Stephen Compall  <s11@member.fsf.org>
32697         [BZ #6649]
32698         * manual/llio.texi (Opening and Closing Files): Add cross
32699         reference to explain mode argument.
32701 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
32703         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32704         * sysdeps/x86_64/memset_chk.S: Likewise.
32706 2012-04-07  David S. Miller  <davem@davemloft.net>
32708         * elf/elf.h (R_SPARC_WDISP10): Define.
32709         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32710         R_SPARC_SIZE32.
32711         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32712         R_SPARC_SIZE64 and R_SPARC_H34.
32714 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
32716         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32717         conditions and remove no longer applicable assertion.
32719 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32721         * bits/byteswap.h: Include <features.h>.
32722         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32723         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32725 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32727         * bits/byteswap.h (__bswap_16): Removed.
32728         Include <bits/byteswap-16.h> to get __bswap_16.
32729         * sysdeps/i386/bits/byteswap.h: Likewise.
32730         * sysdeps/s390/bits/byteswap.h: Likewise.
32731         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32732         * bits/byteswap-16.h: New file.
32733         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32734         * sysdeps/s390/bits/byteswap-16.h: Likewise.
32735         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32736         * string/Makefile (headers): Add bits/byteswap-16.h.
32738 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32740         [BZ #13895]
32741         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32742         extra indirection.
32743         * nss/Makefile (tests-static, tests): Add tst-nss-static.
32744         * nss/tst-nss-static.c: New.
32746 2012-04-06  Robert Millan  <rmh@gnu.org>
32748         [BZ #6486]
32749         * manual/llio.texi (File Position Primitive): lseek
32750         refers to WHENCE when it really means OFFSET.
32752 2012-04-06  Andreas Jaeger  <aj@suse.de>
32754         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32755         strncmp declarations.
32757         * abilist/libc.abilist: Add __poll and __ppoll.
32759 2012-04-05  David S. Miller  <davem@davemloft.net>
32761         * scripts/check-local-headers.sh: Accept a host triplet in the
32762         path matched by the exclude regexp.
32764         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32765         definition.
32766         * sysdeps/powerpc/powerpc32/dl-machine.h
32767         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32768         * sysdeps/s390/s390-32/dl-machine.h
32769         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32770         * sysdeps/sparc/sparc32/dl-machine.h
32771         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32772         * sysdeps/sparc/sparc64/dl-machine.h
32773         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32775         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32776         lazy binding.
32777         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32778         undefined symbol errors.
32780         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32781         DT_NEEDED entries.
32783 2012-04-05  Michael Matz  <matz@suse.de>
32785         [BZ #13592]
32786         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32788 2012-04-05  Andreas Jaeger  <aj@suse.de>
32790         [BZ #13908]
32791         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32792         comment.
32794 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32796         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32797         which ROUND is no valid rounding mode.
32799 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32802         read again.
32803         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32805 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32807         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32808         an exception using FPU order intentionally.
32810 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32812         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32813         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32814         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32815         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32817 2012-04-05  Simon Josefsson  <simon@josefsson.org>
32819         [BZ #12340]
32820         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32821         EINVAL when BUFLEN is too smal.
32823 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32825         [BZ #13553]
32826         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32827         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32829 2012-04-03  Andreas Jaeger  <aj@suse.de>
32831         [BZ #13938]
32832         * manual/setjmp.texi (System V contexts): Fix sentence.
32834         [BZ #13926]
32835         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32836         New macro for this case.
32837         [!__GNUC__] (__bswap_64): New inline function for this case.
32838         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32839         * bits/byteswap.h: Likewise.
32840         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32841         ull, guard with __GLIBC_HAVE_LONG_LONG.
32843         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32844         __GLIBC_HAVE_LONG_LONG.
32846         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32847         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32849 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32851         [BZ #13691]
32852         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32853         inptr and inend, rather than using last_ch.
32855 2012-04-02  David S. Miller  <davem@davemloft.net>
32857         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32858         * stdio-common/printf-parse.h (read_int): Change return type to
32859         'int', return -1 on INT_MAX overflow.
32860         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32861         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
32862         overflows INT_MAX.  Check for overflow of in-format-string precision
32863         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
32864         SIZE_MAX not INT_MAX for integer overflow test.
32865         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32866         skip the construct in the format string but do not record anything.
32867         * stdio-common/bug22.c: Adjust to test both width/prevision
32868         INT_MAX overflow as well as total length INT_MAX overflow.  Check
32869         explicitly for proper errno values.
32871 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32873         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32874         CHAR_MAX.
32875         * string/test-strcmp.c [! WIDE]: Likewise.
32876         * time/tst-mktime2.c: Likewise for INT_MAX.
32877         * string/test-string.h: #include <sys/param.h> for MIN.
32879         * csu/init-first.c (__libc_init_first): Call __ctype_init.
32880         * sysdeps/i386/init-first.c (init): Likewise.
32881         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32882         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32883         * sysdeps/sh/init-first.c (init): Likewise.
32885 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
32887         * po/ru.po: Update from translation team.
32888         * po/vi.po: Likewise.
32890 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32892         * resolv/nss_dns/dns-host.c: Merge copyright years.
32894 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32896         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32897         Optimize memcpy with prefetch if
32898         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
32899         src, dst pointers have unequal 16 byte alignments.
32901 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32903         [BZ #13928]
32904         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32905         from a CNAME entry and return the minimum ttl for the query.
32906         (gaih_getanswer_slice): Likewise.
32908 2012-03-30  Jeff Law  <law@redhat.com>
32910         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32911         due to long keys.
32912         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32913         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32915         * resolv/nss_dns/dns-host.c: Update copyright year.
32917 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32919         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32920         requests to save a system call.  Fix check that all bytes are sent.
32922         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32923         comments for sendmmsg.
32925 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32927         [BZ #13691]
32928         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32929         with only 1 character between 0x0041 and 0x01b0.
32930         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32931         * wcsmbs/tst-mbsnrtowcs.c: New file.
32933 2012-03-29  David S. Miller  <davem@davemloft.net>
32935         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32936         small copies by hand.
32938 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32940         [BZ #13761]
32941         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32942         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32943         group memberships.
32945 2012-03-28  David S. Miller  <davem@davemloft.net>
32947         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32948         that branches into memcpy.
32949         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32951         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32952         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32953         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32954         bits.
32955         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32956         implementation too.
32957         * sysdeps/sparc/mempcpy.S: New file.
32959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32960         the IFUNC routine in the libc case.
32961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32963         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32964         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32965         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32966         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32967         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32968         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32969         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32970         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32972         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32973         loop to 256 bytes instead of 64 bytes and fix test signedness.
32975         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32976         * sysdeps/sparc/sparc32/Makefile: rather than here...
32977         * sysdeps/sparc/sparc64/Makefile: and here.
32979 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32981         * malloc/mallocbug.c: Avoid warnings about unused variables.
32983 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32985         [BZ #13760]
32986         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32987         in the right place. Discard and retry query if response is
32988         larger than input buffer size.
32990 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32992         [BZ #369]
32993         [BZ #2678]
32994         [BZ #3866]
32995         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32996         x for large integer exponent.
32997         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32998         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32999         sign of result as needed afterwards.
33000         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33001         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33002         result for underflowing pow the same as for overflow.
33003         (__kernel_standard_l): Handle powl overflow and underflow here
33004         rather than calling __kernel_standard.
33005         * math/libm-test.inc (pow_test): Add more tests.
33007         [BZ #3868]
33008         [BZ #13879]
33009         [BZ #13910]
33010         [BZ #13911]
33011         [BZ #13912]
33012         [BZ #13913]
33013         [BZ #13915]
33014         [BZ #13916]
33015         [BZ #13917]
33016         [BZ #13918]
33017         [BZ #13919]
33018         [BZ #13920]
33019         [BZ #13921]
33020         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33021         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33022         (__kernel_standard_l): New function.
33023         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33024         __kernel_standard.
33025         * math/w_acosl.c (__acosl): Likewise.
33026         * math/w_asinl.c (__asinl): Likewise.
33027         * math/w_atan2l.c (__atan2l): Likewise.
33028         * math/w_atanhl.c (__atanhl): Likewise.
33029         * math/w_coshl.c (__coshl): Likewise.
33030         * math/w_exp10l.c (__exp10l): Likewise.
33031         * math/w_exp2l.c (__exp2l): Likewise.
33032         * math/w_fmodl.c (__fmodl): Likewise.
33033         * math/w_hypotl.c (__hypotl): Likewise.
33034         * math/w_j0l.c (__j0l, __y0l): Likewise.
33035         * math/w_j1l.c (__j1l, __y1l): Likewise.
33036         * math/w_jnl.c (__jnl, __ynl): Likewise.
33037         * math/w_lgammal.c (__lgammal): Likewise.
33038         * math/w_log10l.c (__log10l): Likewise.
33039         * math/w_log2l.c (__log2l): Likewise.
33040         * math/w_logl.c (__logl): Likewise.
33041         * math/w_powl.c (__powl): Likewise.
33042         * math/w_remainderl.c (__remainderl): Likewise.
33043         * math/w_scalbl.c (sysv_scalbl): Likewise.
33044         * math/w_sinhl.c (__sinhl): Likewise.
33045         * math/w_sqrtl.c (__sqrtl): Likewise.
33046         * math/w_tgammal.c (__tgammal): Likewise.
33047         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33048         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33049         * math/libm-test.inc (acos_test): Add more tests.
33050         (acosh_test): Likewise.
33051         (asin_test): Likewise.
33052         (atanh_test): Likewise.
33053         (exp_test): Likewise.
33054         (exp10_test): Likewise.
33055         (exp2_test): Likewise.
33056         (expm1_test): Likewise.
33057         (lgamma_test): Likewise.
33058         (log_test): Likewise.
33059         (log10_test): Likewise.
33060         (log1p_test): Likewise.
33061         (log2_test): Likewise.
33062         (pow_test): Do not allow some spurious overflow exceptions.
33063         (sqrt_test): Add more tests.
33064         (tgamma_test): Likewise.
33065         (y0_test): Likewise.
33066         (y1_test): Likewise.
33067         (yn_test): Likewise.
33069 2012-03-27  Anton Blanchard  <anton@samba.org>
33071         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33072         MAP_HUGETLB.
33073         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33074         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33075         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33077 2012-03-27  David S. Miller  <davem@davemloft.net>
33079         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33081         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33082         have-as-vis3 check.
33084 2012-03-27  Andreas Jaeger  <aj@suse.de>
33086         * sysdeps/x86_64/elf/configure.in: Moved to ...
33087         * sysdeps/x86_64/configure.in: ... here.
33088         * sysdeps/x86_64/elf/start.S: Moved to ...
33089         * sysdeps/x86_64/start.S: ... here.
33090         * sysdeps/x86_64/elf/configure: Delete.
33092         * sysdeps/x86_64/configure.in: Merge contents from
33093         sysdeps/i386/configure.in (without i686 check).
33095         * sysdeps/i386/elf/Versions: Merge into ...
33096         * sysdeps/i386/Versions: ... this.
33097         * sysdeps/i386/elf/Versions: Delete file.
33098         * sysdeps/i386/elf/start.S: Moved to ...
33099         * sysdeps/i386/start.S: ...here.
33100         * sysdeps/i386/elf/configure.in: Merge into...
33101         * sysdeps/i386/configure.in: ...here.
33102         * sysdeps/i386/elf/configure.in: Delete file.
33103         * sysdeps/i386/elf/configure: Delete file.
33105         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33106         * debug/backtracesyms.c: ... here.
33107         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33108         * debug/backtracesymsfd.c: ... here.
33109         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33110         * sysdeps/generic/ifunc-sel.h: ... here.
33112         * sysdeps/unix/i386/start.c: Delete file.
33113         * sysdeps/unix/sparc/start.c: Delete file.
33114         * sysdeps/unix/start.c: Delete file.
33116         * sysdeps/sh/elf/configure.in: Moved to ...
33117         * sysdeps/sh/configure.in: ... here.
33118         * sysdeps/sh/elf/start.S: Moved to ...
33119         * sysdeps/sh/start.S: ... here.
33120         * sysdeps/sh/elf/configure: Delete file.
33122         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33123         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33124         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33125         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33126         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33127         * sysdeps/powerpc/powerpc64/start.S: here.
33128         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33129         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33130         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33131         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33132         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33134         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33135         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33136         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33137         * sysdeps/powerpc/powerpc32/start.S: ... here.
33138         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33139         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33140         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33142         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33143         * sysdeps/powerpc/ifunc-sel.h: ... here.
33144         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33145         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33147         * sysdeps/sparc/elf/configure.in: Moved to ...
33148         * sysdeps/sparc/configure.in: ... here.
33149         * sysdeps/sparc/elf/configure: Delete file.
33150         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33151         * sysdeps/sparc/sparc32/start.S: ... here.
33152         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33153         * sysdeps/sparc/sparc64/start.S: ... here.
33154         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33155         * sysdeps/sparc/sparc32/Makefile: ... this.
33156         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33157         * sysdeps/sparc/sparc64/Makefile: ... this.
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/bsd-setjmp.S: Moved to ...
33162         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33163         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33164         * sysdeps/s390/s390-32/setjmp.S: ... here.
33165         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33166         * sysdeps/s390/s390-32/configure.in: ... here.
33167         * sysdeps/s390/s390-32/elf/configure: Delete file.
33168         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33169         * sysdeps/s390/s390-32/start.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/bsd-setjmp.S: Moved to ...
33174         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33175         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33176         * sysdeps/s390/s390-64/setjmp.S: ... here.
33177         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33178         * sysdeps/s390/s390-64/configure.in: ... here
33179         * sysdeps/s390/s390-64/elf/configure: Delete file.
33180         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33181         * sysdeps/s390/s390-64/start.S: ... here.
33182         * sysdeps/s390/s390-64/elf/configure: Delete.
33184         * configure.in: Remove support for elf directories in sysdeps.
33186         * configure: Regenerated.
33187         * sysdeps/i386/configure: Regenerated.
33188         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33189         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33190         * sysdeps/s390/s390-32/configure: Regenerated.
33191         * sysdeps/s390/s390-64/configure: Regenerated.
33192         * sysdeps/sh/configure: Regenerated.
33193         * sysdeps/sparc/configure: Regenerated.
33194         * sysdeps/x86_64/configure: Regenerated.
33196 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33200         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33201         denormal result into account.
33203 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33205         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33206         Reported by Allan McRae <allan@archlinux.org>.
33208 2012-03-23  Jeff Law  <law@redhat.com>
33210         * nss/getnssent.c (__nss_getent): Fix typo.
33212 2012-03-23  David S. Miller  <davem@davemloft.net>
33214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33216 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33218         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33219         to pad to uint64_t for each field.
33220         (dl_tls_index): Replace unsigned long with uint64_t.
33222 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33223         Paul Pluzhnikov  <ppluzhnikov@google.com>
33225         [BZ #6528]
33226         * grp/Makefile (otherlibs): Don't set it.
33227         * inet/Makefile (otherlibs): Likewise.
33228         * login/Makefile (otherlibs): Likewise.
33229         * nscd/Makefile (otherlibs): Likewise.
33230         * posix/Makefile (otherlibs): Likewise.
33231         * pwd/Makefile (otherlibs): Likewise.
33232         * rt/Makefile (otherlibs): Likewise.
33233         * sunrpc/Makefile (otherlibs): Likewise.
33234         * nss/Makefile (otherlibs): Likewise.
33235         Add libnss_files to routines and static-only-routines.
33236         ($(objpfx)getent): Remove rule.
33237         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33238         static-only-routines.
33240 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33242         [BZ #13892]
33243         * math/s_cexp.c: Include <float.h>.
33244         (__cexp): Handle exp result overflowing not necessarily
33245         overflowing both real and imaginary parts of result.
33246         * math/s_cexpf.c: Likewise.
33247         * math/s_cexpl.c: Likewise.
33248         * math/libm-test.inc (cexp_test): Add more tests.
33249         * sysdeps/i386/fpu/libm-test-ulps: Update.
33250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33252 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33254         * include/link.h (ELFW): New macro.
33255         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33256         Replace ELF64_R_TYPE with ELFW(R_TYPE).
33258 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33260         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33261         with uint64_t.
33263 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33265         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33266         declaration.
33267         (struct La_x32_retval): Likewise.
33269 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33271         * sysdeps/x86_64/preconfigure.in: New file.
33272         * sysdeps/x86_64/preconfigure: New generated file.
33274 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33276         [BZ #13824]
33277         * math/e_exp2l.c: Include <float.h>.
33278         (__ieee754_exp2l): Handle overflow and underflow cases
33279         separately.  Only pass fractional part of argument to
33280         __ieee754_expl.
33281         * math/libm-test.inc (exp2_test): Add more tests.
33283         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33284         negating x to take absolute value.
33285         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33286         Likewise.
33287         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33288         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33289         Likewise.
33290         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33291         computing low part if x was negated.
33292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33294 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33296         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33297         la_x32_gnu_pltexit.
33298         (pltexit): Cast int_retval to ptrdiff_t.
33299         * elf/tst-auditmod3b.c: Likewise.
33300         * elf/tst-auditmod4b.c: Likewise.
33301         * elf/tst-auditmod5b.c: Likewise.
33302         * elf/tst-auditmod6b.c: Likewise.
33303         * elf/tst-auditmod6c.c: Likewise.
33304         * elf/tst-auditmod7b.c: Likewise.
33306         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33307         and x32_gnu_pltexit.
33309         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33310         __ELF_NATIVE_CLASS.
33311         (La_x32_regs): New macro.
33312         (La_x32_retval): Likewise.
33313         (la_x32_gnu_pltenter): New function prototype.
33314         (la_x32_gnu_pltexit): Likewise.
33316 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
33318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33319         exponent.
33321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33323         * configure.in (libc_cv_cc_nofma): Check for option to disable
33324         generation of FMA instructions.
33325         * configure: Regenerate.
33326         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33327         * sysdeps/ieee754/dbl-64/Makefile: New file.
33328         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33329         Remove brandred-fma4.
33330         (CFLAGS-brandred-fma4.c): Remove.
33331         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33332         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33333         define.
33334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33335         define.
33337 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33339         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33340         LLONG_MAX != LONG_MAX.
33341         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33342         (_fitoa_word): Likewise.
33343         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33344         LLONG_MAX != LONG_MAX.
33345         * stdio-common/_itowa.h: Include <_itoa.h>.
33346         (_itowa_word): Use _ITOA_WORD_TYPE on value.
33347         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
33348         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
33349         only if not defined.
33350         (_ITOA_WORD_TYPE): Likewise.
33351         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33352         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33354 2012-03-21  David S. Miller  <davem@davemloft.net>
33356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33358 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33360         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33361         of x86_64 when setting libc_cv_slibdir, libdir and
33362         libc_cv_localedir.
33363         * sysdeps/unix/sysv/linux/configure: Regenerated.
33365 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33367         * manual/lang.texi (Old Varargs): Remove section.
33368         (How Variadic): Update menu.
33369         (va_start): Do not mention varargs.h.
33371 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33372             Joseph Myers  <joseph@codesourcery.com>
33374         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33375         link test.
33376         * configure: Regenerated.
33378 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33380         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33381         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33382         conformtest.pl
33384 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33386         * NOTES: Remove.
33387         * Makefile (files-for-dist): Remove NOTES.
33388         (NOTES): Remove rule.
33389         * README: Don't refer to NOTES.
33390         * manual/creature.texi: Don't include macros.texi.
33391         * manual/intro.texi (creature.texi): Remove comment referring to
33392         NOTES.
33394         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33395         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33396         * configure: Regenerated.
33397         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33398         LIBC_TRY_CC_OPTION.
33399         (libc_cv_as_i686): Likewise.
33400         (libc_cv_cc_avx): Likewise.
33401         (libc_cv_cc_sse2avx): Likewise.
33402         (libc_cv_cc_fma4): Likewise.
33403         (libc_cv_cc_novzeroupper): Likewise.
33404         * sysdeps/i386/configure: Regenerated.
33406         [BZ #13883]
33407         * sysdeps/i386/fpu/s_cexp.S: Remove.
33408         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33409         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33410         * math/libm-test.inc (cexp_test): Add more tests.
33411         * sysdeps/i386/fpu/libm-test-ulps: Update.
33412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33414 2012-03-21  Allan McRae  <allan@archlinux.org>
33416         * timezone/Makefile: Do not install iso3166.tab and zone.tab
33418 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33420         [BZ #13871]
33421         * math/w_exp2.c: Do not include <float.h>.
33422         (o_threshold, u_threshold): Remove.
33423         (__exp2): Calculate result before checking finiteness and calling
33424         __kernel_standard.
33425         * math/w_exp2f.c: Likewise.
33426         * math/w_exp2l.c: Likewise.
33427         * math/libm-test.inc (exp2_test): Require overflow exception for
33428         1e6 input.
33430         [BZ #3866]
33431         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33432         range of signed 64-bit integers before using fistpll.  Remove
33433         checks for whether integers fit in mantissa bits.
33434         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33435         the range of signed 32-bit integers before using fistpl.  Remove
33436         checks for whether integers fit in mantissa bits.
33437         * sysdeps/i386/fpu/e_powl.S (p64): New object.
33438         (__ieee754_powl): Test for y outside the range of signed 64-bit
33439         integers before using fistpll.  Reduce 64-bit values to 63-bit
33440         ones as needed.
33441         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33442         divide-by-zero is raised for zero to large negative powers.
33443         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33444         (__ieee754_powl): Test for y outside the range of signed 64-bit
33445         integers before using fistpll.  Reduce 64-bit values to 63-bit
33446         ones as needed.
33447         * math/libm-test.inc (pow_test): Add more tests.
33449 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33451         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33452         <stdio-common/_itoa.h>.
33453         * debug/segfault.c: Likewise.
33454         * elf/dl-cache.c: Likewise.
33455         * elf/dl-minimal.c: Likewise.
33456         * elf/dl-misc.c: Likewise.
33457         * elf/dl-sysdep.c: Likewise.
33458         * elf/dl-version.c: Likewise.
33459         * elf/rtld.c: Likewise.
33460         * hurd/hurdsock.c: Likewise.
33461         * hurd/lookup-retry.c: Likewise.
33462         * malloc/malloc.c: Likewise.
33463         * malloc/mtrace.c: Likewise.
33464         * nscd/nscd_getgr_r.c: Likewise.
33465         * nscd/nscd_getpw_r.c: Likewise.
33466         * nscd/nscd_getserv_r.c: Likewise.
33467         * posix/getopt_init.c: Likewise.
33468         * posix/wordexp.c: Likewise.
33469         * stdio-common/_itoa.c: Likewise.
33470         * stdio-common/printf_fphex.c: Likewise.
33471         * stdio-common/vfprintf.c: Likewise.
33472         * string/_strerror.c: Likewise.
33473         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33474         * sysdeps/i386/i686/hp-timing.h: Likewise.
33475         * sysdeps/mach/_strerror.c: Likewise.
33476         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33477         * sysdeps/mach/hurd/sethostid.c: Likewise.
33478         * sysdeps/mach/hurd/xmknodat.c: Likewise.
33479         * sysdeps/mach/xpg-strerror.c: Likewise.
33480         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33481         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33482         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33483         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33484         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33485         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33486         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33487         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33488         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33489         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33490         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33491         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33492         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33493         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33494         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33495         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33496         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33497         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33498         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33499         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33500         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33502         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33504         * stdio-common/_itoa.h: Moved to ...
33505         * sysdeps/generic/_itoa.h: Here.
33507         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33509         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33510         instead of "_itoa.h" and "_itowa.h".
33511         * stdio-common/vfprintf.: Likewise.
33513 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33515         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33516         <bits/wordsize.h>.
33517         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33518         (__signbit): Likwise.
33519         (llrintf): Likwise.
33520         (llrint): Likwise.
33522 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33524         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33525         __WORDSIZE != 64.
33527 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
33529         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33530         OVERFLOW_EXCEPTION_OK.
33531         * math/libm-test.inc ("Philosophy"): Update comment about
33532         exception testing.
33533         (OVERFLOW_EXCEPTION): Define.
33534         (OVERFLOW_EXCEPTION_OK): Likewise.
33535         (INVALID_EXCEPTION_OK): Renumber.
33536         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33537         (IGNORE_ZERO_INF_SIGN): Likewise.
33538         (test_exceptions): Handle FE_OVERFLOW.
33539         (exp10_test): Expect overflow exceptions.
33540         (exp2_test): Likewise.
33541         (expm1_test): Likewise.
33542         (nextafter_test): Likewise.
33543         (pow_test): Likewise.
33544         (scalbn_test): Likewise.
33545         (scalbln_test): Likewise.
33547 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33549         * sysdeps/x86_64/bits/atomic.h
33550         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33551         64bit integer.
33552         (atomic_exchange_acq): Likewise.
33553         (__arch_exchange_and_add_body): Likewise.
33554         (__arch_add_body): Likewise.
33555         (atomic_add_negative): Likewise.
33556         (atomic_add_zero): Likewise.
33558 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33560         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33561         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33563 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33565         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33566         Check __x86_64__ instead of __WORDSIZE.
33568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33570         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33572 2012-03-19  David S. Miller  <davem@davemloft.net>
33574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33576         * sysdeps/sparc/fpu/fenv_private.h: New file.
33577         * sysdeps/sparc/fpu/math_private.h: Use it.
33578         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33579         Remove.
33580         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33581         (libc_feholdexcept_setroundl): Remove.
33582         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33583         Remove.
33584         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33585         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33587 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33589         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33590         int64_t instead of long int.
33591         (INSERT_WORDS64): Likwise.
33593 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33595         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33596         _Unwind_GetCFA return to _Unwind_Ptr first.
33598 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
33600         [BZ #13629]
33601         * math/s_clog.c: Include <float.h>.
33602         (__clog): Scale large or subnormal inputs.
33603         * math/s_clogf.c: Likewise.
33604         * math/s_clogl.c: Likewise.
33605         * math/s_clog10.c: Include <float.h>.
33606         (M_LOG10_2): Define.
33607         (__clog10): Scale large or subnormal inputs.
33608         * math/s_clog10f.c: Likewise.
33609         * math/s_clog10l.c: Likewise.
33610         * math/libm-test.inc (clog_test): Add more tests.
33611         (clog10_test): Likewise.
33612         * sysdeps/i386/fpu/libm-test-ulps: Update.
33613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33615         [BZ #11451]
33616         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33617         x and y.
33618         * math/libm-test.inc (atan2_test): Add another test.
33620         * Makerules (common-objdir-compile): Remove.
33621         * sysdeps/unix/Makefile (config-generated): Do not add
33622         $(unix-generated) to variable.
33623         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33624         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33625         Remove rule.
33626         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33627         Likewise.
33628         [generic bits/local_lim.h] (before-compile): Do not append to
33629         variable.
33630         [generic bits/local_lim.h] (common-generated): Likewise.
33631         [generic sys/param.h] (before-compile): Do not append to variable.
33632         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33633         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33634         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33635         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33636         include.
33637         [generic sys/param.h] (sys/param.h-includes): Remove variable.
33638         [generic sys/param.h] (sys/param.h-includes): Remove rule.
33639         [generic sys/param.h] ($(addprefix
33640         $(common-objpfx),$(sys/param.h-includes))): Likewise.
33641         [generic sys/param.h] (common-generated): Do not append to
33642         variable.
33643         [generic sys/param.h] (sysdep_headers): Likewise.
33644         [generic bits/errno.h] (before-compile): Do not append to
33645         variable.
33646         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33647         rule.
33648         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33649         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33650         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33651         [generic bits/errno.h] (common-generated): Do not append to
33652         variable.
33653         [generic bits/ioctls.h] (before-compile): Do not append to
33654         variable.
33655         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33656         rule.
33657         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33658         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33659         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33660         rule.
33661         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33662         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33663         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33664         [generic bits/ioctls.h] (common-generated): Do not append to
33665         variable.
33666         [generic sys/syscall.h] (syscall.h): Remove variable.
33667         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33668         rule.
33669         [generic sys/syscall.h] (before-compile): Do not append to
33670         variable.
33671         [generic sys/syscall.h] (common-generated): Likewise.
33672         * sysdeps/unix/errnos-tmpl.c: Remove file.
33673         * sysdeps/unix/errnos.awk: Likewise.
33674         * sysdeps/unix/ioctls-tmpl.c: Likewise.
33675         * sysdeps/unix/ioctls.awk: Likewise.
33676         * sysdeps/unix/mk-local_lim.c: Likewise.
33677         * sysdeps/unix/snarf-ioctls: Likewise.
33679 2012-03-19  Richard Henderson  <rth@twiddle.net>
33681         * sysdeps/i386/fpu/fenv_private.h: New file.
33682         * sysdeps/i386/fpu/math_private.h: Use it.
33683         (math_opt_barrier, math_force_eval): Remove.
33684         (libc_feholdexcept_setround_53bit): Remove.
33685         (libc_feupdateenv_53bit): Remove.
33686         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33687         (math_opt_barrier, math_force_eval): Remove.
33688         (libc_feholdexcept): Remove.
33689         (libc_feholdexcept_setround): Remove.
33690         (libc_fetestexcept, libc_fesetenv): Remove.
33691         (libc_feupdateenv_test): Remove.
33692         (libc_feupdateenv, libc_feholdsetround): Remove.
33693         (libc_feresetround): Remove.
33695         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33696         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33698         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33699         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33700         (libc_feupdateenv_testl): New.
33701         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33702         (libc_feupdateenv_testf): New.
33703         (libc_feupdateenv): Use libc_feupdateenv_test.
33704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33705         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33707         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33708         (libc_feholdsetroundf, libc_feholdsetroundl): New.
33709         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33710         (libc_feresetround_noex): New.
33711         (libc_feresetround_noexf): New.
33712         (libc_feresetround_noexl): New.
33713         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33714         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33715         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33716         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33717         SET_RESTORE_ROUND.
33718         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33719         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33720         (__cos): Likewise.
33721         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33722         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33723         SET_RESTORE_ROUND_NOEX.
33724         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33725         SET_RESTORE_ROUND_NOEXF.
33726         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33727         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33728         (libc_feholdsetroundf): New.
33729         (libc_feresetround, libc_feresetroundf): New.
33731         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33732         (libc_feholdexcept_setround_53bit): Convert from macro to function.
33733         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
33735         * sysdeps/generic/math_private.h: Include <fenv.h>.
33736         (default_libc_feholdexcept): New.
33737         (default_libc_feholdexcept_setround): New.
33738         (default_libc_fesetenv, default_libc_feupdateenv): New.
33739         (libc_feholdexcept): Only define if undefined.
33740         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33741         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33742         (libc_feholdexcept_setroundl): Likewise.
33743         (libc_feholdexcept_setround_53bit): Likewise.
33744         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33745         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33746         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33747         (libc_feupdateenv_53bit): Likewise.
33748         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33749         (libc_feholdexcept): Convert from macro to inline function.
33750         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33751         (libc_fesetenv, libc_feupdateenv): Likewise.
33753         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33754         not previously defined.
33755         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33756         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33757         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33758         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33759         * sysdeps/ieee754/flt-32/math_private.h: New file.
33760         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33761         math_private.h below SET_FLOAT_WORD.
33762         (__isnan, __isinf_ns, __finite): Remove.
33763         (__isnanf, __isinf_nsf, __finitef): Remove.
33765 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
33767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33769 2012-03-17  David S. Miller  <davem@davemloft.net>
33771         [BZ #6471]
33772         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33773         for 2.16.
33775 2012-03-16  David S. Miller  <davem@davemloft.net>
33777         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33778         warnings.
33780         [BZ #6471]
33781         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33782         properly.
33783         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33784         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33785         sysdep_routines when subdir is sysvipc.
33786         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33787         __getshmlba helper.
33789         * sysdeps/sparc/fpu/libm-test/ulps: Update.
33791 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33793         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33794         [__LP64__].
33796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33798         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33799         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33800         (__lround): Renamed to ...
33801         (__llround): This.  Replace long int with long long int.
33802         Define lround functions as aliases of llround functions.
33803         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33805 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33807         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33808         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
33809         adresses to uintptr_t.  Replace "long int" and "unsigned long
33810         int" with "greg_t" on va_arg.
33812 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33814         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33815         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33817         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33818         Move e_machine check before EI_CLASS check.  Handle x32
33819         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33820         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33821         SKIP_EM_IA_64 and include
33822         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33824         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33825         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33826         (add_system_dir): New macro.
33828         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33829         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33831 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33833         [BZ #2551]
33834         [BZ #2552]
33835         [BZ #2553]
33836         [BZ #2554]
33837         [BZ #2562]
33838         [BZ #2563]
33839         [BZ #2565]
33840         [BZ #2566]
33841         [BZ #2576]
33842         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33843         (y0): Likewise.
33844         * math/w_j0f.c (j0f): Likewise.
33845         (y0f): Likewise.
33846         * math/w_j0l.c (__j0l): Likewise.
33847         (__y0l): Likewise.
33848         * math/w_j1.c (j1): Likewise.
33849         (y1): Likewise.
33850         * math/w_j1f.c (j1f): Likewise.
33851         (y1f): Likewise.
33852         * math/w_j1l.c (__j1l): Likewise.
33853         (__y1l): Likewise.
33854         * math/w_jn.c (jn): Likewise.
33855         (yn): Likewise.
33856         * math/w_jnf.c (jnf): Likewise.
33857         (ynf): Likewise.
33858         * math/w_jnl.c (__jnl): Likewise.
33859         (__ynl): Likewise.
33860         * math/libm-test.inc (j0_test): Add more tests.
33861         (j1_test): Likewise.
33862         (jn_test): Likewise.  Add trailing semicolon to existing test.
33863         (y0_test): Likewise.
33864         (y1_test): Likewise.
33865         * sysdeps/i386/fpu/libm-test-ulps: Update.
33866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33868         [BZ #13851]
33869         [BZ #13854]
33870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33871         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33872         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33873         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33874         (__tanl): Set errno for infinite argument.
33875         * sysdeps/i386/fpu/mptan.c: Remove.
33876         * sysdeps/i386/fpu/s_tan.S: Likewise.
33877         * sysdeps/i386/fpu/s_tanl.S: Likewise.
33878         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33879         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33880         * math/libm-test.inc (tan_test): Add more tests and enable more
33881         tests for double and long double.
33882         * sysdeps/i386/fpu/libm-test-ulps: Update.
33883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33885 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
33887         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33888         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33890 2012-03-16  Roland McGrath  <roland@hack.frob.com>
33892         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33893         * configure.in: Use it for both main tree and add-ons.
33894         * configure: Regenerated.
33896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33898         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33900 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33902         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33903         in comment.
33905         [BZ #13851]
33906         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33907         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33908         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33909         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33910         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33911         infinite argument.
33912         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33913         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33914         != 0 for prec == 2.
33915         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33916         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33917         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33918         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33919         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33920         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33921         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33922         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33923         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33924         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33925         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33926         * math/libm-test.inc (cos_test): Add more tests and enable more
33927         tests for long double.
33928         (sin_test): Likewise.
33929         (sincos_test): Likewise.
33930         * sysdeps/i386/fpu/libm-test-ulps: Update.
33931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33933 2012-03-16  David S. Miller  <davem@davemloft.net>
33935         * sysdeps/sparc/fpu/math_private.h: New file.
33937 2012-03-15  David S. Miller  <davem@davemloft.net>
33939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33940         file.
33941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33943         file.
33944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33950         sysdep routines.
33951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33953         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33954         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33956         * sysdeps/sparc/sparc-ifunc.h: New file.
33957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33958         sparc-ifunc.h
33959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33961         Likewise.
33962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33963         Likewise.
33964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33968         Likewise.
33969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33974         Likewise.
33975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33976         Likewise.
33977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33984         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33998         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34000         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34002 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34004         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34005         scaling.
34006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34008 2012-03-15  Andreas Jaeger  <aj@suse.de>
34010         [BZ #13852]
34011         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34012         ieee754/flt-32 implementation for sin, cos and sincos.
34013         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34014         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34015         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34016         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34017         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34018         ieee754/flt-32 implementation for tan.
34020         * math/libm-test.inc (cos_test): Enable some large input tests for
34021         float as well
34022         (sin_test): Likewise.
34023         (sincos_test): Likewise.
34024         (tan_test): Add tests for large input.
34026         * sysdeps/i386/fpu/libm-test-ulps: Update.
34028 2012-03-15  Andreas Jaeger  <aj@suse.de>
34030         [BZ #13658]
34031         * math/libm-test.inc (cos_test): Add more test cases.
34032         (sin_test): Likewise.
34033         (sincos_test): Likewise.
34035 2012-03-15  Andreas Jaeger  <aj@suse.de>
34037         [BZ #13837]
34038         * math/libm-test.inc (cos_test): Add a test case for large input
34039         value.
34040         (sin_test): Likewise.
34041         (sincos_test): Likewise.
34043 2012-03-15  Andreas Jaeger  <aj@suse.de>
34044             Joseph Myers  <joseph@codesourcery.com>
34046         [BZ #13658]
34047         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34048         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34049         * sysdeps/i386/fpu/branred.c: Likewise.
34050         * sysdeps/i386/fpu/dosincos.c: Likewise.
34051         * sysdeps/i386/fpu/mpa.c: Likewise.
34052         * sysdeps/i386/fpu/s_cos.S: Likewise.
34053         * sysdeps/i386/fpu/s_sin.S: Likewise.
34054         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34055         * sysdeps/i386/fpu/sincos32.c: Likewise.
34057         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34058         Define.
34059         (libc_feupdateenv_53bit): Define.
34060         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34061         Define.
34062         (libc_feupdateenv_53bit): Define.
34064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34065         53 bit (without extend i386 double precision).
34067         * math/libm-test.inc (sincos_test): Add tests for large input.
34068         (sin): Likewise.
34069         (cos): Likewise.
34071         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34073 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34077 2012-03-15  David S. Miller  <davem@davemloft.net>
34079         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34080         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34081         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34082         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34095         file.
34096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34098         file.
34099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34101         file.
34102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34104         file.
34105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34107         fmin/fmax sysdep routines.
34108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34110 2012-03-14  David S. Miller  <davem@davemloft.net>
34112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34115         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34116         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34117         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34118         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34119         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34121         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34127         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34134         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34135         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34138         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34139         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34141         routines.
34142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34143         file.
34144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34146         file.
34147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34149         file.
34150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34152         file.
34153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34155         file.
34156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34158         file.
34159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34160         file.
34161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34162         file.
34163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34164         file.
34165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34166         New file.
34167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34168         file.
34169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34170         file.
34171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34173         file.
34174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34176         file.
34177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34179         file.
34180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34182         VIS3 routines.
34184         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34185         New file.
34187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34189         * sysdeps/sparc/configure.in: New file.
34190         * sysdeps/sparc/configure: Generate.
34191         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34192         * configure: Regenerate.
34193         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34194         * config.make.in (have-as-vis3): New.
34195         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34196         available use -Av9d instead of -Av9a.
34197         * sysdeps/sparc/sparc64/Makefile: Likewise.
34198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34200         New file.
34201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34202         file.
34203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34204         New file.
34205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34206         file.
34207         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34208         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34210         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34211         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34213         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34214         fzeros/fnegs to load 0x80000000 into a float register instead of
34215         using the stack.
34216         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34218 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34221         bits/syscall.h.
34222         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34223         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34224         ($(inst_includedir)/bits/syscall.h): Remove rule.
34225         ($(objpfx)bits/syscall.d): Include instead of
34226         $(objpfx)syscall-list.d.
34227         (generated): Change syscall-list.h and syscall-list.d to
34228         bits/syscall.h and bits/syscall.d.
34230 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34232         [BZ #13846]
34233         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34235 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34237         [BZ #13841]
34238         * math/s_csqrt.c: Include <float.h>.
34239         (__csqrt): Scale large or subnormal inputs.
34240         * math/s_csqrtf.c: Likewise.
34241         * math/s_csqrtl.c: Likewise.
34242         * math/libm-test.inc (csqrt_test): Add more tests.
34243         * sysdeps/i386/fpu/libm-test-ulps: Update.
34244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34246         [BZ #13840]
34247         * math/libm-test.inc (hypot_test): Add more tests.
34249 2012-03-13  David S. Miller  <davem@davemloft.net>
34251         [BZ #13840]
34252         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34253         double-precision for the calculation instead of scaling.
34255 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
34257         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34258         manipulate bits before adding and subtracting TWO52[sx].
34259         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34260         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34261         Likewise.
34262         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34264 2012-03-13  David S. Miller  <davem@davemloft.net>
34266         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34267         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34269         rtld-global-offsets.h
34270         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34272         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34273         large parameters.
34275         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34277         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34278         'err' in the ifdef scope in which it is actually used.
34280         * nss/nss_db/db-init.c: Include string.h
34282 2012-03-12  David S. Miller  <davem@davemloft.net>
34284         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34285         masking out of the most significant byte of random value used.
34286         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34287         Fix coding style in previous change.
34289         * sysdeps/unix/sysv/linux/kernel-features.h
34290         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34291         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34292         expression.
34293         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34294         later.
34296 2012-03-11  David S. Miller  <davem@davemloft.net>
34298         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34299         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34300         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34301         for 'resultvar' otherwise things get truncated on 64-bit.
34303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34304         Fix masking out of the most significant byte of random value used.
34306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34308 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
34310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34312 2012-03-09  David S. Miller  <davem@davemloft.net>
34314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34315         variables with appropriate CPP guards.
34316         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34317         from the frame pointer, not the stack pointer.  Correct layout
34318         comments.  Fix test on resulting framesize and the management of
34319         the outregs buffer for pltexit.  Preserve floating point return
34320         values across _dl_call_pltexit call.
34321         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34322         framesize and the management of the outregs buffer for pltexit.
34323         Preserve floating point return values across _dl_call_pltexit
34324         call.
34325         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34326         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34327         (la_sparc64_gnu_pltexit): New functions.
34328         (print_exit): Fix format string for return register value.
34330 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
34332         * sunrpc/Makefile (others): Add rpcgen.
34333         ($(objpfx)rpcgen): Remove special build rule and dependency on
34334         libc.
34335         * sunrpc/rpcgen.c: New file.
34337 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
34339         [BZ #13673]
34340         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34341         * stdio-common/bug-vfprintf-nargs.c: Likewise.
34342         * sysdeps/i386/crti.S: Likewise.
34343         * sysdeps/i386/crtn.S: Likewise.
34344         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34345         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34346         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34347         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34348         * sysdeps/sh/crti.S: Likewise.
34349         * sysdeps/sh/crtn.S: Likewise.
34350         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34352         [BZ #13673]
34353         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34354         with URL.
34355         * locale/programs/locfile-kw.gperf: Likewise.
34356         * locale/programs/charmap-kw.h: Regenerated.
34357         * locale/programs/locfile-kw.h: Likewise.
34359         [BZ #13673]
34360         * intl/plural.y: Replace FSF snail mail address with URL.
34361         * intl/plural.c: Regenerated.
34363 2012-03-09  Richard Henderson  <rth@twiddle.net>
34365         * include/math_private.h: Remove file.
34366         * math/math_private.h: Move file ...
34367         * sysdeps/generic/math_private.h: ... here.
34369         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34370         * sysdeps/powerpc/fpu/math_private.h: Likewise.
34371         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34373         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34374         and <math_private.h>.
34375         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34376         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34377         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34378         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34379         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34380         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34381         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34383         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34384         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34386         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34387         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34388         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34389         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34390         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34391         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34392         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34393         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34394         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34396         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34397         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34399         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34400         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34401         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34402         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34403         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34405         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34407         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34408         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34409         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34411         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34412         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34413         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34414         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34415         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34416         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34417         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34418         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34419         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34420         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34421         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34422         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34423         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34424         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34425         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34426         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34427         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34428         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34429         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34430         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34431         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34432         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34433         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34434         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34435         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34436         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34437         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34438         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34439         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34440         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34441         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34442         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34443         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34444         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34446         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34448         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34449         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34452         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34453         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34455         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34456         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34458         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34462         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34463         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34464         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34465         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34466         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34467         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34468         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34469         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34470         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34471         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34472         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34473         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34474         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34475         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34476         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34477         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34478         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34479         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34480         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34481         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34482         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34483         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34484         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34485         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34486         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34487         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34489         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34490         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34491         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34492         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34493         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34494         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34495         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34496         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34497         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34498         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34499         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34500         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34501         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34502         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34503         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34504         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34505         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34506         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34507         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34508         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34509         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34510         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34511         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34512         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34513         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34514         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34515         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34516         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34517         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34518         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34519         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34520         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34521         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34522         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34523         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34524         * sysdeps/ieee754/k_standard.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34527         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34528         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34529         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34530         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34534         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34535         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34536         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34537         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34538         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34539         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34540         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34541         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34542         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34543         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34544         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34545         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34546         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34547         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34548         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34549         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34550         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34551         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34552         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34553         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34554         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34555         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34556         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34557         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34558         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34559         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34560         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34561         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34562         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34563         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34564         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34565         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34566         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34567         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34568         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34569         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34570         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34571         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34573         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34574         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34575         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34576         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34577         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34578         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34579         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34580         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34581         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34582         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34583         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34584         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34585         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34586         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34587         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34588         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34591         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34592         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34593         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34594         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34597         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34598         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34599         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34601         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34602         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34603         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34604         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34605         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34606         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34607         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34608         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34609         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34610         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34611         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34612         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34613         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34615         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34616         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34617         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34618         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34619         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34620         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34621         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34622         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34623         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34624         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34625         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34626         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34627         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34629         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34630         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34631         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34632         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34633         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34634         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34635         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34636         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34637         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34638         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34639         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34640         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34641         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34642         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34643         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34644         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34645         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34646         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34647         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34648         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34649         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34650         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34651         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34652         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34653         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34654         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34655         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34656         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34657         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34658         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34659         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34660         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34661         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34662         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34663         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34664         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34665         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34666         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34667         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34668         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34669         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34670         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34671         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34672         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34673         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34674         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34675         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34676         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34677         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34679         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34680         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34681         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34682         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34683         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34684         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34685         * sysdeps/ieee754/s_lib_version.c: Likewise.
34686         * sysdeps/ieee754/s_matherr.c: Likewise.
34687         * sysdeps/ieee754/s_signgam.c: Likewise.
34688         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34689         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34690         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34691         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34692         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34693         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34694         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34695         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34696         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34697         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34698         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34699         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34700         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34701         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34702         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34703         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34704         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34705         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34706         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34708         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34710 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34712         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34713         * sunrpc/rpc_main.c: Likewise.
34714         * sunrpc/rpc_svcout.c: Likewise.
34716 2012-03-09  David S. Miller  <davem@davemloft.net>
34718         * include/math_private.h: New file.
34720 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34722         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34723         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34724         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34725         from <bits/socket_type.h>.
34726         (enum __socket_type): Don't define here.
34727         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34729         bits/socket_type.h.
34731         [BZ #13566]
34732         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34733         checking __USE_GNU.
34735         * Makerules ($(inst_includedir)/%.h): New rule.
34736         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34737         (install-others): Remove variable setting.
34738         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34740 2012-03-08  Richard Henderson  <rth@twiddle.net>
34742         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34743         from macro to inline function; merge with the
34744         !__LIBC_INTERNAL_MATH_INLINES version.
34745         (__ieee754_sqrtf): Likewise.
34747         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34748         to inline function.
34749         (__rintf, __floor, __floorf): Likewise.
34751         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34752         macro to inline function.
34753         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34755         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34756         not <math/math_private.h>.
34758 2012-03-08  David S. Miller  <davem@davemloft.net>
34760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34761         copyright year.
34762         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34764 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
34766         * resolv/gai_misc.c (handle_requests): Fix struct timespec
34767         normalization.
34768         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34769         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34771 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
34773         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
34774         be defined individually, they must be defined as a block.  Define
34775         S for printing a string instead of hidint the different by using a
34776         macro for adding the 'l'.
34777         * stdio-common/tst-fphex-wide.c: Adjust.
34779 2012-03-07  Marek Polacek  <polacek@redhat.com>
34781         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34783 2012-03-08  Marek Polacek  <polacek@redhat.com>
34785         [BZ #13806]
34786         * stdio-common/Makefile (tests): Add tst-fphex-wide.
34787         * stdio-common/tst-fphex.c: Define a few macros to make the
34788         test reusable.  Use them.
34789         * stdio-common/tst-fphex-wide.c: New file.
34791 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
34793         [BZ #6911]
34794         * manual/macros.texi (gnusystems): New macro.
34795         (nongnusystems): Likewise.
34796         (gnulinuxhurdsystems): Likewise.
34797         (gnuhurdsystems): Likewise..
34798         (gnulinuxsystems): Likewise.
34799         * manual/charset.texi: Use new macros or @theglibc{} to refer to
34800         variants of the GNU system, not "GNU system".
34801         * manual/conf.texi: Likewise.
34802         * manual/errno.texi: Likewise.  Update example of errno macro
34803         expansion.
34804         * manual/filesys.texi: Likewise.
34805         (getumask): Document as specific to GNU/Hurd.
34806         * manual/install.texi: Likewise.  Reword some references to
34807         GNU/Linux.
34808         * manual/intro.texi: Likewise.
34809         * manual/io.texi: Likewise.
34810         (File Name Portability): Detail which constraints are inapplicable
34811         to all GNU systems and which are only inapplicable to GNU/Hurd.
34812         * manual/job.texi: Likewise.
34813         * manual/llio.texi: Likewise.
34814         (O_NOCTTY): Document as present on GNU/Linux.
34815         * manual/maint.texi: Likewise.
34816         * manual/memory.texi: Likewise.
34817         * manual/pattern.texi: Likewise.
34818         * manual/pipe.texi: Likewise.
34819         * manual/process.texi: Likewise.
34820         * manual/resource.texi: Likewise.
34821         (RUSAGE_CHILDREN): Remove statement about specifying a particular
34822         child on GNU/Hurd.
34823         * manual/setjmp.texi: Likewise.
34824         * manual/signal.texi: Likewise.
34825         * manual/startup.texi: Likewise.
34826         * manual/stdio.texi: Likewise.
34827         * manual/terminal.texi: Likewise.
34828         (ONLCR): Document as POSIX.
34829         (OXTABS): Document availability on GNU/Linux as XTABS.
34830         (ONOEOT): Document availability separately from other bits.
34831         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34832         * manual/time.texi: Likewise.
34833         * manual/users.texi: Likewise.
34834         * INSTALL: Regenerated.
34835         * sysdeps/gnu/errlist.c: Regenerated.
34837         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34838         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34839         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
34840         puts.
34841         * configure: Regenerated.
34843 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
34845         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34846         default includes instead of AC_HEADER_CHECK.
34847         * sysdeps/i386/configure: Regenerated.
34849         [BZ #10716]
34850         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34851         * math/s_cacoshf.c (__cacoshf): Likewise.
34852         * math/s_cacoshl.c (__cacoshl): Likewise.
34853         * math/s_casinh.c (__casinh): Set signs of result from argument.
34854         * math/s_casinhf.c (__casinhf): Likewise.
34855         * math/s_casinhl.c (__casinhl): Likewise.
34856         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34857         (casinh_test): Add more tests.
34858         * sysdeps/i386/fpu/libm-test-ulps: Update.
34859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34861 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
34863         * po/zh_TW.po: Update from translation team.
34865         * login/Makefile (distribute): Remove variable.
34866         * catgets/Makefile: Likewise.
34867         * mach/Makefile: Likewise.
34868         * malloc/Makefile: Likewise.
34869         * misc/Makefile: Likewise.
34870         * iconv/Makefile: Likewise.
34871         * nscd/Makefile: Likewise.
34872         * hurd/Makefile: Likewise.
34873         * manual/Makefile: Likewise.
34874         * locale/Makefile: Likewise.
34875         * intl/Makefile: Likewise.
34876         * conform/Makefile: Likewise.
34877         * nss/Makefile: Likewise.
34878         * time/Makefile: Likewise.
34879         * soft-fp/Makefile: Likewise.
34880         * dirent/Makefile: Likewise.
34881         * gmon/Makefile: Likewise.
34882         * po/Makefile: Likewise.
34883         * rt/Makefile: Likewise.
34884         * socket/Makefile: Likewise.
34885         * math/Makefile: Likewise.
34886         * signal/Makefile: Likewise.
34887         * debug/Makefile: Likewise.
34888         * elf/Makefile: Likewise.
34889         * timezone/Makefile: Likewise.
34890         * stdlib/Makefile: Likewise.
34891         * iconvdata/Makefile: Likewise.
34892         * sunrpc/Makefile: Likewise.
34893         * io/Makefile: Likewise.
34894         * argp/Makefile: Likewise.
34895         * inet/Makefile: Likewise.
34896         * hesiod/Makefile: Likewise.
34897         * grp/Makefile: Likewise.
34898         * csu/Makefile: Likewise.
34899         * wctype/Makefile: Likewise.
34900         * crypt/Makefile: Likewise.
34901         * libio/Makefile: Likewise.
34902         * string/Makefile: Likewise.
34903         * nis/Makefile: Likewise.
34904         * resolv/Makefile: Likewise.
34905         * stdio-common/Makefile: Likewise.
34906         * wcsmbs/Makefile: Likewise.
34907         * dlfcn/Makefile: Likewise.
34908         * posix/Makefile: Likewise.
34910         [BZ #6959]
34911         * timezone/Makefile: Don't install timezone files, just the programs
34912         and scripts.
34914 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34916         * nss/databases.def: Add missing gshadow entry.
34918         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34920 2012-03-06  Marek Polacek  <polacek@redhat.com>
34922         [BZ #13726]
34923         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34924         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34925         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34926         * stdio-common/tst-long-dbl-fphex.c: New file.
34928 2012-03-06  David S. Miller  <davem@davemloft.net>
34930         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34931         (set_obp_int): New function.
34932         (get_obp_int): New function.
34933         (__get_clockfreq_via_dev_openprom): Likewise.
34934         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34935         Avoid unused variable warnings on 'val' and use builtin_expect.
34936         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34937         __builtin_expect.
34938         (INLINE_CLONE_SYSCALL): Likewise.
34940 2012-03-05  David S. Miller  <davem@davemloft.net>
34942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34944 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34948         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34949         only for |x| >= 40.
34950         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34952 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34955         Replace gettimeofday with __vdso_gettimeofday.
34957         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34958         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34959         __vdso_clock_gettime and __vdso_getcpu.
34961         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34962         time with __vdso_time.
34964 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34966         * manual/lang.texi (size_t): Note types to which size_t may be
34967         equivalent with the GNU C Library, but do not describe when
34968         differences between them are significant.
34970 2012-03-05  Andreas Jaeger  <aj@suse.de>
34972         * sysdeps/i386/fpu/libm-test-ulps: Update.
34974 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34976         [BZ #3976]
34977         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34978         (__ieee754_pow): Save and restore rounding mode and use
34979         round-to-nearest for main computations.
34980         * math/libm-test.inc (pow_test_tonearest): New function.
34981         (pow_test_towardzero): Likewise.
34982         (pow_test_downward): Likewise.
34983         (pow_test_upward): Likewise.
34984         (main): Call the new functions.
34985         * sysdeps/i386/fpu/libm-test-ulps: Update.
34986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34988         [BZ #3976]
34989         * math/libm-test.inc (cosh_test_tonearest): New function.
34990         (cosh_test_towardzero): Likewise.
34991         (cosh_test_downward): Likewise.
34992         (cosh_test_upward): Likewise.
34993         (sinh_test_tonearest): Likewise.
34994         (sinh_test_towardzero): Likewise.
34995         (sinh_test_downward): Likewise.
34996         (sinh_test_upward): Likewise.
34997         (main): Call the new functions.
34998         * sysdeps/i386/fpu/libm-test-ulps: Update.
34999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35001 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35003         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35004         default stack guard is set in last bytes.
35005         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35007 2012-03-05  Kees Cook  <keescook@chromium.org>
35009         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35011         [BZ #13656]
35012         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35013         possibly allocate from heap instead of stack.
35014         * stdio-common/bug-vfprintf-nargs.c: New file.
35015         * stdio-common/Makefile (tests): Add nargs overflow test.
35017 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35021 2012-03-03  Marek Polacek  <polacek@redhat.com>
35023         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35024         * math/math_private.h: Likewise.
35025         * stdlib/tst-strtod.c: Likewise.
35026         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35027         * sysdeps/x86_64/bits/atomic.h: Likewise.
35029 2012-03-02  David S. Miller  <davem@davemloft.net>
35031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35035         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35036         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35037         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35038         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35040 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35042         [BZ #13792]
35043         * manual/examples/README: New file, says the example source files
35044         can be used under GPL>=2.
35045         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35046         line containing just "*/".
35047         * manual/examples/add.c: Add copyright header (GPL>=2).
35048         * manual/examples/argp-ex1.c: Likewise.
35049         * manual/examples/argp-ex2.c: Likewise.
35050         * manual/examples/argp-ex3.c: Likewise.
35051         * manual/examples/argp-ex4.c: Likewise.
35052         * manual/examples/atexit.c: Likewise.
35053         * manual/examples/db.c: Likewise.
35054         * manual/examples/dir.c: Likewise.
35055         * manual/examples/dir2.c: Likewise.
35056         * manual/examples/execinfo.c: Likewise.
35057         * manual/examples/filecli.c: Likewise.
35058         * manual/examples/filesrv.c: Likewise.
35059         * manual/examples/fmtmsgexpl.c: Likewise.
35060         * manual/examples/genpass.c: Likewise.
35061         * manual/examples/inetcli.c: Likewise.
35062         * manual/examples/inetsrv.c: Likewise.
35063         * manual/examples/isockad.c: Likewise.
35064         * manual/examples/longopt.c: Likewise.
35065         * manual/examples/memopen.c: Likewise.
35066         * manual/examples/memstrm.c: Likewise.
35067         * manual/examples/mkfsock.c: Likewise.
35068         * manual/examples/mkisock.c: Likewise.
35069         * manual/examples/mygetpass.c: Likewise.
35070         * manual/examples/pipe.c: Likewise.
35071         * manual/examples/popen.c: Likewise.
35072         * manual/examples/rprintf.c: Likewise.
35073         * manual/examples/search.c: Likewise.
35074         * manual/examples/select.c: Likewise.
35075         * manual/examples/setjmp.c: Likewise.
35076         * manual/examples/sigh1.c: Likewise.
35077         * manual/examples/sigusr.c: Likewise.
35078         * manual/examples/stpcpy.c: Likewise.
35079         * manual/examples/strdupa.c: Likewise.
35080         * manual/examples/strftim.c: Likewise.
35081         * manual/examples/strncat.c: Likewise.
35082         * manual/examples/subopt.c: Likewise.
35083         * manual/examples/swapcontext.c: Likewise.
35084         * manual/examples/termios.c: Likewise.
35085         * manual/examples/testopt.c: Likewise.
35086         * manual/examples/testpass.c: Likewise.
35087         * manual/examples/timeval_subtract.c: Likewise.
35089         [BZ #13792]
35090         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35091         function to ...
35092         * manual/timeval_subtract.c.texi: ... here, new file.
35094 2012-03-02  David S. Miller  <davem@davemloft.net>
35096         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35098 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35100         [BZ #3976]
35101         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35102         (__sin): Save and restore rounding mode and use round-to-nearest
35103         for all computations.
35104         (__cos): Save and restore rounding mode and use round-to-nearest
35105         for all computations.
35106         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35107         <fenv.h>.
35108         (tan): Save and restore rounding mode and use round-to-nearest for
35109         all computations.
35110         * math/libm-test.inc (cos_test_tonearest): New function.
35111         (cos_test_towardzero): Likewise.
35112         (cos_test_downward): Likewise.
35113         (cos_test_upward): Likewise.
35114         (sin_test_tonearest): Likewise.
35115         (sin_test_towardzero): Likewise.
35116         (sin_test_downward): Likewise.
35117         (sin_test_upward): Likewise.
35118         (tan_test_tonearest): Likewise.
35119         (tan_test_towardzero): Likewise.
35120         (tan_test_downward): Likewise.
35121         (tan_test_upward): Likewise.
35122         (main): Call the new functions.
35123         * sysdeps/i386/fpu/libm-test-ulps: Update.
35124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35126         [BZ #10135]
35127         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35128         small n, then large n, before computing and testing k+n.
35129         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35131         Likewise.
35132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35133         Likewise.
35134         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35135         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35136         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35137         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35138         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35139         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35140         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35141         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35142         * math/libm-test.inc (scalbn_test): Add more tests.
35143         (scalbln_test): Likewise.
35145         * manual/filesys.texi (mode_t): Describe constraints on size and
35146         signedness, not exact equivalence to a particular type.
35147         (ino_t): Likewise.
35148         (ino64_t): Likewise.
35149         (dev_t): Likewise.
35150         (nlink_t): Likewise.
35151         (blkcnt_t): Likewise.
35152         (blkcnt64_t): Likewise.
35153         * manual/llio.texi (off_t): Likewise.
35155         [BZ #3976]
35156         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35157         (__ieee754_exp): Save and restore rounding mode and use
35158         round-to-nearest for all computations.
35159         * math/libm-test.inc (exp_test_tonearest): New function.
35160         (exp_test_towardzero): Likewise.
35161         (exp_test_downward): Likewise.
35162         (exp_test_upward): Likewise.
35163         (main): Call the new functions.
35164         * sysdeps/i386/fpu/libm-test-ulps: Update.
35165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35167 2012-03-01  Chris Demetriou  <cgd@google.com>
35169         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35170         have predictable order.
35172 2012-03-01  David S. Miller  <davem@davemloft.net>
35174         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35176         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35177         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35178         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35179         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35181         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35182         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35183         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35185         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35186         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35187         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35188         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35189         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35194         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35195         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35197         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35198         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35199         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35204         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35205         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35206         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35207         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35208         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35210         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35211         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35213         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35214         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35215         * sysdeps/sparc/elf/configure: Regenerated.
35217 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35219         * configure.in (AS, LD): Require binutils 2.20 or later.
35220         * configure: Regenerated.
35221         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35222         as required minimum version.
35223         * INSTALL: Regenerated.
35225         [BZ #2541]
35226         [BZ #4108]
35227         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35228         before squaring exponent.
35229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35230         bottom long double and 27 bits of top long double before squaring
35231         exponent.
35232         * math/libm-test.inc (erfc_test): Add more tests.
35233         * sysdeps/i386/fpu/libm-test-ulps: Update.
35234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35237 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35239         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35240         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35241         containing bit-fields.
35242         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35243         * soft-fp/single.h (_FP_UNION_S): Likewise.
35244         * soft-fp/double.h (_FP_UNION_D): Likewise.
35246 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35248         [BZ #13786]
35249         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35250         not include ../strcmp.S.
35251         [USE_AS_STRNCASECMP_L]: Likewise.
35252         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35253         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35254         * sysdeps/i386/i686/multiarch/strncase_l-c.c
35255         (__strncasecmp_l_ia32): Define as alias to
35256         __strncasecmp_l_nonascii.
35258         [BZ #5794]
35259         * math/libm-test.inc (expm1_test): Add test for bug 5794.
35260         * sysdeps/i386/fpu/libm-test-ulps: Update.
35261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35263         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35266 2012-02-29  Jeff Law  <law@redhat.com>
35268         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35269         out of bounds read.
35271 2012-02-29  Marek Polacek  <polacek@redhat.com>
35273         [BZ #13706]
35274         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35275         * elf/Makefile: Add rules to run tst-unused-dep.out.
35277 2012-02-28  David S. Miller  <davem@davemloft.net>
35279         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35280         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35281         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35282         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35283         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35284         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35286 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35288         * math/libm-test.inc (llround_test): Move one test from
35289         lround_test.  Use TEST_f_L in moved test.
35290         (lround_test): Move misplaced test to llround_test.  Add testcase
35291         from bug 2561.
35293 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
35295         * sysdeps/x86_64/fpu/e_expf.S: New file.
35296         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35298 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
35300         [BZ #13637]
35301         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35302         of remain_len that may cause incomplete multi-byte character and
35303         false match.
35304         * posix/bug-regex33.c: New file.
35305         * posix/Makefile (tests): Add bug-regex33.
35307 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
35309         * manual/macros.texi: New file.
35310         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35311         * manual/libc.texinfo: Include macros.texi.
35312         * manual/creatute.texi: Likewise.
35313         * manual/install.texi: Likewise.
35314         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35315         @glibcadj{} in references to the GNU C Library.
35316         * manual/charset.texi: Likewise.
35317         * manual/conf.texi: Likewise.
35318         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
35319         when not using those macros.
35320         * manual/creature.texi: Likewise.
35321         * manual/crypt.texi: Likewise.
35322         * manual/errno.texi: Likewise.
35323         * manual/filesys.texi: Likewise.
35324         * manual/header.texi: Likewise.
35325         * manual/install.texi: Likewise.
35326         * manual/intro.texi: Likewise.
35327         * manual/io.texi: Likewise.
35328         * manual/job.texi: Likewise.
35329         * manual/lang.texi: Likewise.
35330         * manual/libc.texiinfo: Likewise.
35331         * manual/llio.texi: Likewise.
35332         * manual/locale.texi: Likewise.
35333         * manual/maint.texi: Likewise.
35334         * manual/math.texi: Likewise.
35335         * manual/memory.texi: Likewise.
35336         * manual/message.texi: Likewise.
35337         * manual/nss.texi: Likewise.
35338         * manual/pattern.texi: Likewise.
35339         * manual/process.texi: Likewise.
35340         * manual/resource.texi: Likewise.
35341         * manual/search.texi: Likewise.
35342         * manual/setjmp.texi: Likewise.
35343         * manual/signal.texi: Likewise.
35344         * manual/socket.texi: Likewise.
35345         * manual/startup.texi: Likewise.
35346         * manual/stdio.texi: Likewise.
35347         * manual/string.texi: Likewise.
35348         * manual/sysinfo.texi: Likewise.
35349         * manual/syslog.texi: Likewise.
35350         * manual/terminal.texi: Likewise.
35351         * manual/time.texi: Likewise.
35352         * manual/users.texi: Likewise.
35353         * INSTALL: Regenerated.
35354         * NOTES: Regenerated.
35355         * sysdeps/gnu/errlist.c: Regenerated.
35357 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
35359         * include/dirent.h: Include <dirstream.h> before
35360         <dirent/dirent.h>.
35362 2012-02-28  David S. Miller  <davem@davemloft.net>
35364         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35365         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35366         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35367         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35369 2012-02-27  David S. Miller  <davem@davemloft.net>
35371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35373         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35374         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35377         frame pointer instead of stack pointer relative arg slot.
35378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35379         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35380         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35382 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
35384         [BZ #3992]
35385         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35387 2012-02-27  David S. Miller  <davem@davemloft.net>
35389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35393         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35394         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35395         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35396         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35398 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35400         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35401         later.  Allow versions 5-9.
35402         * configure: Regenerated.
35403         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35404         required minimum version and 4.6 as recommended version.  Do not
35405         mention bugs in GCC 2.7 and 2.8.
35406         * INSTALL: Regenerated.
35408 2012-02-27  David S. Miller  <davem@davemloft.net>
35410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35414         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35415         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35416         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35417         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35419         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35420         manipulate bits before adding and subtracting TWO112[sx].
35421         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35423 2012-02-27  Roland McGrath  <roland@hack.frob.com>
35425         [BZ #13775]
35426         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35427         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35428         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35429         being in POSIX, because they are in 1003.1-2008.
35431         * rt/tst-aio.c: Include <fcntl.h>.
35432         * rt/tst-aio7.c: Likewise.
35433         * rt/tst-aio64.c: Likewise.
35435         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35437 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35439         * manual/install.texi (--with-headers): Describe headers as
35440         interface headers, not private headers.
35441         (Specific advice for GNU/Linux systems): Describe use of headers
35442         from "make headers_install", not private headers from older
35443         kernels.
35444         * INSTALL: Regenerated.
35445         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35446         Change to 2.6.19.
35447         * sysdeps/unix/sysv/linux/configure: Regenerated.
35449         * manual/llio.texi (fclean): Remove documentation.
35451         * manual/Makefile (libc-texi-generated): New variable.  Include
35452         version.texi.
35453         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35454         $(libc-texi-generated), not duplicated list of files.
35455         (version.texi, stamp-version): New rules.
35456         (realclean): Remove $(libc-texi-generated), not individual files
35457         from that list.  Do not remove dir-add.texinfo.
35458         * manual/libc.texinfo: Comment out uses of edition numbers and
35459         references to printed manual.  Remove last-updated dates.
35460         (EDITION): Comment out.
35461         (ISBN): Likewise.
35462         (VERSION, UPDATED): Remove.
35463         (version.texi): Include.
35465 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
35467         * sysdeps/posix/spawni.c: Include <signal.h>.
35468         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35469         * sysdeps/pthread/aio_fsync.c: Likewise.
35471 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
35473         * conform/Makefile (tests): Run only when not cross-compiling and
35474         when fast-check is not defined.
35476         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35477         * conform/data/limits.h-data: Fixes for POSIX2008.
35478         * conform/run-conformtest.sh: Run all tests.
35479         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35480         headers.
35481         * include/bits/dlfcn.h: Likewise.
35482         * include/langinfo.h: Likewise.
35483         * include/monetary.h: Likewise.
35484         * include/sys/poll.h: Likewise.
35486         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35487         for __USE_GNU.
35488         * posix/spawn.h: Define __need_sigset_t.
35489         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35490         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35491         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
35492         to get sigevent_t only.
35493         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35494         only for __USE_GNU.
35495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35496         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35497         process_vm_writev only for __USE_GNU.
35498         * termios/termios.h: Declare tcgetsid also for POSIX2008.
35500         * conform/Makefile: For now ignore errors from run-conformtest.
35501         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
35502         POSIX to avoid namespace pollution.  Don't prepend headers.
35503         * conform/data/aio.h-data: Fixes for POSIX testing.
35504         * conform/data/fcntl.h-data: Likewise.
35505         * conform/data/glob.h-data: Likewise.
35506         * conform/data/grp.h-data: Likewise.
35507         * conform/data/pthread.h-data: Likewise.
35508         * conform/data/pwd.h-data: Likewise.
35509         * conform/data/signal.h-data: Likewise.
35510         * conform/data/spawn.h-data: Likewise.
35511         * conform/data/stdio.h-data: Likewise.
35512         * conform/data/stdlib.h-data: Likewise.
35513         * conform/data/stropts.h-data: Likewise.
35514         * conform/data/sys/mman.h-data: Likewise.
35515         * conform/data/sys/stat.h-data: Likewise.
35516         * conform/data/sys/types.h-data: Likewise.
35517         * conform/data/sys/wait.h-data: Likewise.
35518         * conform/data/time.h-data: Likewise.
35519         * conform/data/unistd.h-data: Likewise.
35520         * conform/data/utime.h-data: Likewise.
35522         * io/sys/stat.h: fchmod was always in POSIX.
35523         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35524         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35525         * rt/aio.h: Define __need_timespec before including <time.h>.
35526         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35527         struct.  Add forward declaration of pthread_attr_t and use it in
35528         sigevent.
35529         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35530         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35531         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35532         always remove CLK_TCK definition.
35534 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
35536         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35538 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
35540         * conform/run-conformtest.sh: New file.
35541         * conform/Makefile: Run run-conformtest for tests.
35542         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
35543         support.
35545         * conform/data/uchar.h-data: New file.
35546         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35547         * conform/data/arpa/inet.h-data: Likewise.
35548         * conform/data/assert.h-data: Likewise.
35549         * conform/data/complex.h-data: Likewise.
35550         * conform/data/cpio.h-data: Likewise.
35551         * conform/data/ctype.h-data: Likewise.
35552         * conform/data/dirent.h-data: Likewise.
35553         * conform/data/dlfcn.h-data: Likewise.
35554         * conform/data/errno.h-data: Likewise.
35555         * conform/data/fcntl.h-data: Likewise.
35556         * conform/data/float.h-data: Likewise.
35557         * conform/data/fmtmsg.h-data: Likewise.
35558         * conform/data/fnmatch.h-data: Likewise.
35559         * conform/data/ftw.h-data: Likewise.
35560         * conform/data/glob.h-data: Likewise.
35561         * conform/data/grp.h-data: Likewise.
35562         * conform/data/iconv.h-data: Likewise.
35563         * conform/data/inttypes.h-data: Likewise.
35564         * conform/data/langinfo.h-data: Likewise.
35565         * conform/data/libgen.h-data: Likewise.
35566         * conform/data/limits.h-data: Likewise.
35567         * conform/data/locale.h-data: Likewise.
35568         * conform/data/math.h-data: Likewise.
35569         * conform/data/monetary.h-data: Likewise.
35570         * conform/data/mqueue.h-data: Likewise.
35571         * conform/data/ndbm.h-data: Likewise.
35572         * conform/data/net/if.h-data: Likewise.
35573         * conform/data/netdb.h-data: Likewise.
35574         * conform/data/netinet/in.h-data: Likewise.
35575         * conform/data/nl_types.h-data: Likewise.
35576         * conform/data/poll.h-data: Likewise.
35577         * conform/data/pthread.h-data: Likewise.
35578         * conform/data/pwd.h-data: Likewise.
35579         * conform/data/regex.h-data: Likewise.
35580         * conform/data/sched.h-data: Likewise.
35581         * conform/data/search.h-data: Likewise.
35582         * conform/data/semaphore.h-data: Likewise.
35583         * conform/data/setjmp.h-data: Likewise.
35584         * conform/data/signal.h-data: Likewise.
35585         * conform/data/spawn.h-data: Likewise.
35586         * conform/data/stdarg.h-data: Likewise.
35587         * conform/data/stdio.h-data: Likewise.
35588         * conform/data/stdlib.h-data: Likewise.
35589         * conform/data/string.h-data: Likewise.
35590         * conform/data/strings.h-data: Likewise.
35591         * conform/data/stropts.h-data: Likewise.
35592         * conform/data/sys/ipc.h-data: Likewise.
35593         * conform/data/sys/mman.h-data: Likewise.
35594         * conform/data/sys/msg.h-data: Likewise.
35595         * conform/data/sys/resource.h-data: Likewise.
35596         * conform/data/sys/select.h-data: Likewise.
35597         * conform/data/sys/sem.h-data: Likewise.
35598         * conform/data/sys/shm.h-data: Likewise.
35599         * conform/data/sys/socket.h-data: Likewise.
35600         * conform/data/sys/stat.h-data: Likewise.
35601         * conform/data/sys/statvfs.h-data: Likewise.
35602         * conform/data/sys/time.h-data: Likewise.
35603         * conform/data/sys/timeb.h-data: Likewise.
35604         * conform/data/sys/times.h-data: Likewise.
35605         * conform/data/sys/types.h-data: Likewise.
35606         * conform/data/sys/uio.h-data: Likewise.
35607         * conform/data/sys/un.h-data: Likewise.
35608         * conform/data/sys/utsname.h-data: Likewise.
35609         * conform/data/sys/wait.h-data: Likewise.
35610         * conform/data/syslog.h-data: Likewise.
35611         * conform/data/tar.h-data: Likewise.
35612         * conform/data/termios.h-data: Likewise.
35613         * conform/data/utime.h-data: Likewise.
35614         * conform/data/utmpx.h-data: Likewise.
35615         * conform/data/varargs.h-data: Likewise.
35616         * conform/data/wchar.h-data: Likewise.
35617         * conform/data/wctype.h-data: Likewise.
35618         * conform/data/wordexp.h-data: Likewise.
35620         * include/stropts.h: New file.
35621         * include/uchar.h: New file.
35622         * include/aio.h: Changes to allow conformtest.pl to use the headers.
35623         * include/assert.h: Likewise.
35624         * include/ctype.h: Likewise.
35625         * include/dirent.h: Likewise.
35626         * include/dlfcn.h: Likewise.
35627         * include/fcntl.h: Likewise.
35628         * include/fnmatch.h: Likewise.
35629         * include/glob.h: Likewise.
35630         * include/grp.h: Likewise.
35631         * include/libio.h: Likewise.
35632         * include/locale.h: Likewise.
35633         * include/math.h: Likewise.
35634         * include/net/if.h: Likewise.
35635         * include/netdb.h: Likewise.
35636         * include/netinet/in.h: Likewise.
35637         * include/pthread.h: Likewise.
35638         * include/pwd.h: Likewise.
35639         * include/regex.h: Likewise.
35640         * include/sched.h: Likewise.
35641         * include/search.h: Likewise.
35642         * include/setjmp.h: Likewise.
35643         * include/signal.h: Likewise.
35644         * include/stdio.h: Likewise.
35645         * include/stdlib.h: Likewise.
35646         * include/string.h: Likewise.
35647         * include/sys/cdefs.h: Likewise.
35648         * include/sys/mman.h: Likewise.
35649         * include/sys/msg.h: Likewise.
35650         * include/sys/resource.h: Likewise.
35651         * include/sys/select.h: Likewise.
35652         * include/sys/socket.h: Likewise.
35653         * include/sys/stat.h: Likewise.
35654         * include/sys/statvfs.h: Likewise.
35655         * include/sys/time.h: Likewise.
35656         * include/sys/times.h: Likewise.
35657         * include/sys/uio.h: Likewise.
35658         * include/sys/utsname.h: Likewise.
35659         * include/sys/wait.h: Likewise.
35660         * include/termios.h: Likewise.
35661         * include/time.h: Likewise.
35662         * include/ulimit.h: Likewise.
35663         * include/unistd.h: Likewise.
35664         * include/utime.h: Likewise.
35665         * include/wchar.h: Likewise.
35666         * include/wctype.h: Likewise.
35667         * include/wordexp.h: Likewise.
35669         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35671         * time/time.h: TIME_UTC must be a macro.
35672         Make timespec_get available for ISO C11 only as well.
35674 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
35676         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35677         Reported by Peng Haitao <penght@cn.fujitsu.com>.
35679 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35681         * configure.in: Use -o not -a in test for unsupported multi-arch.
35683 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35685         * manual/texinfo.tex: Update to version 2012-01-19.16.
35687 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35689         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35691 2012-02-24  Roland McGrath  <roland@hack.frob.com>
35693         [BZ #13738]
35694         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35695         * manual/fdl-1.3.texi: New file.
35696         * manual/fdl-1.1.texi: File removed.
35698         [BZ #13738]
35699         * manual/libc.texinfo (FDL_VERSION): New @set.
35700         Use it for mention of FDL in cover text.
35701         (Documentation License): Use it in @include file name.
35703 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35704             Roland McGrath  <roland@hack.frob.com>
35706         [BZ #5461]
35707         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35708         (not LONG_LONG_MAX and LONG_LONG_MIN.
35709         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35710         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
35711         name.
35712         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35714 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35716         [BZ #2547]
35717         [BZ #11365]
35718         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35719         manipulate bits before adding and subtracting TWO23[sx].
35720         * math/libm-test.inc (nearbyint_test): Add more tests.
35722 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35724         [BZ #2548]
35725         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35726         bits before adding and subtracting TWO23[sx].
35727         * math/libm-test.inc (rint_test): Add more tests.
35728         (rint_test_tonearest): Likewise.
35729         (rint_test_towardzero): Likewise.
35730         (rint_test_downward): Likewise.
35731         (rint_test_upward: Likewise.
35733 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35735         [BZ #10110]
35736         * include/stdc-predef.h: New file.  Extracted from features.h.
35737         * include/features.h: Include stdc-predef.h.
35738         * Makefile (headers): Add stdc-predef.h.
35739         * CONFORMANCE (Compiler limitations): Update.
35741 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35743         * manual/libc.texinfo (VERSION, UPDATED): Revert.
35745 2012-02-21  David S. Miller  <davem@davemloft.net>
35747         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35748         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35750 2012-02-20  David S. Miller  <davem@davemloft.net>
35752         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35753         using a normal save/restore sequence, rather than allocating a
35754         dummy stack frame just to store a frame pointer and restore.
35755         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35757 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35759         * manual/install.texi: Fix stray word in line-wrapped comment.
35761 2012-02-20  David S. Miller  <davem@davemloft.net>
35763         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35764         both binutils and gcc support GOTDATA.
35766         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35767         "rd %pc" in the PIC register setup sequences.
35769         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35770         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35771         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35772         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35773         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35775         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35776         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35778         (SYSCALL_ERROR_HANDLER): Likewise.
35779         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35780         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35782         (SYSCALL_ERROR_HANDLER): Likewise.
35784         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35785         (HAVE_GCC_GOTDATA): New.
35786         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35787         relocation support in both binutils and gcc.
35788         * sysdeps/sparc/elf/configure: Regenerate.
35790         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35791         * sysdeps/sparc/sparc32/elf/configure: Delete.
35792         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35793         * sysdeps/sparc/sparc64/elf/configure: Delete.
35794         * sysdeps/sparc/elf/configure.in: New file.
35795         * sysdeps/sparc/elf/configure: Generate.
35797         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35798         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35799         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35800         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35801         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35803 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35805         * manual/install.texi: Do not mention specific glibc version
35806         numbers.
35807         * manual/libc.texinfo (VERSION, UPDATED): Update.
35808         (@copying): Use @copyright{} and range of years.
35810 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35812         [BZ #13695]
35813         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35814         [crti.S not in sysdirs] (generated): Do not append.
35815         [crti.S not in sysdirs] (omit-deps): Likewise.
35816         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35817         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35818         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35819         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35820         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35821         Likewise.
35822         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35823         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35824         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35825         * csu/defs.awk: Remove file.
35826         * sysdeps/generic/initfini.c: Likewise.
35827         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35828         variable.
35829         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35830         Likewise.
35832 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35834         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35835         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35836         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35837         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35838         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35839         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35840         <bits/epoll.h>.
35841         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35842         (__EPOLL_PACKED): Define to empty if not defined by
35843         <bits/epoll.h>.
35844         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35846         bits/epoll.h.
35848 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35850         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35851         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35852         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35853         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35854         <bits/timerfd.h>.
35855         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35857         bits/timerfd.h.
35859 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35861         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35862         in C locale.
35863         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35864         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35865         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35868 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
35870         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35871         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35873 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
35875         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35876         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35877         defined.
35878         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35879         Likewise.
35880         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35881         entry for 2.16.
35883 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
35885         * math/w_acos.c: Use non-signaling floating-point comparisons.
35886         * math/w_acosf.c: Likewise.
35887         * math/w_acosh.c: Likewise.
35888         * math/w_acoshf.c: Likewise.
35889         * math/w_acoshl.c: Likewise.
35890         * math/w_acosl.c: Likewise.
35891         * math/w_asin.c: Likewise.
35892         * math/w_asinf.c: Likewise.
35893         * math/w_asinl.c: Likewise.
35894         * math/w_atanh.c: Likewise.
35895         * math/w_atanhf.c: Likewise.
35896         * math/w_atanhl.c: Likewise.
35897         * math/w_exp2.c: Likewise.
35898         * math/w_exp2f.c: Likewise.
35899         * math/w_exp2l.c: Likewise.
35900         * math/w_j0.c: Likewise.
35901         * math/w_j0f.c: Likewise.
35902         * math/w_j0l.c: Likewise.
35903         * math/w_j1.c: Likewise.
35904         * math/w_j1f.c: Likewise.
35905         * math/w_j1l.c: Likewise.
35906         * math/w_jn.c: Likewise.
35907         * math/w_jnf.c: Likewise.
35908         * math/w_log.c: Likewise.
35909         * math/w_log10.c: Likewise.
35910         * math/w_log10f.c: Likewise.
35911         * math/w_log10l.c: Likewise.
35912         * math/w_log2.c: Likewise.
35913         * math/w_log2f.c: Likewise.
35914         * math/w_log2l.c: Likewise.
35915         * math/w_logf.c: Likewise.
35916         * math/w_logl.c: Likewise.
35917         * math/w_sqrt.c: Likewise.
35918         * math/w_sqrtf.c: Likewise.
35919         * math/w_sqrtl.c: Likewise.
35920         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35921         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35922         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35923         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35924         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35926 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35928         [BZ #9739]
35929         * manual/string.texi (strnlen): Use correct parameter name in
35930         equivalent expression.
35932 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35934         [BZ #11174]
35935         * manual/users.texi (seteuid): Consistently use neweuid for
35936         argument name.
35938 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35940         [BZ #13704]
35941         * manual/nss.texi (Services in the NSS configuration): Correct
35942         list of services in example configuration file.
35944 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35946         [BZ #11322]
35947         * manual/arith.texi: Remove statements about negative zero
35948         behaving identically to zero.
35950 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35952         [BZ #5993]
35953         * manual/install.texi: Do not document upgrading from libc5.
35955 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35957         [BZ #4596]
35958         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35960 2012-02-18  David S. Miller  <davem@davemloft.net>
35962         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35963         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35964         %o7 across the call.
35965         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35966         instead.
35967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35968         SETUP_PIC_REG_LEAF.
35969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35970         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35971         * sysdeps/sparc/crtn.S: Likewise.
35973 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35975         * aout/Makefile: Remove.
35977 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35979         [BZ #13058]
35980         * manual/examples/argp-ex1.c (main): Format definition in GNU
35981         style.
35982         * manual/examples/argp-ex2.c (main): Likewise.
35983         * manual/examples/argp-ex3.c (main): Likewise.
35984         * manual/examples/argp-ex4.c (main): Likewise.
35985         * manual/examples/longopt.c (main): Use new-style prototype
35986         definition.
35987         * manual/examples/strncat.c (main): Specify return type and use
35988         (void) for arguments.
35989         * manual/examples/subopt.c (main): Use char **argv argument.
35991 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35993         [BZ #5077]
35994         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35995         rounding modes.
35997 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35999         [BZ #6907]
36000         * manual/string.texi (strchr): Change when strchrnul is
36001         recommended.
36003 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36005         [BZ #174]
36006         * manual/locale.texi (setlocale): Document LOCPATH.
36008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36010         [BZ #10210]
36011         * manual/process.texi (execle): Move @dots{} before last argument.
36013 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36015         [BZ #12047]
36016         * manual/charset.texi (Generic Charset Conversion): Fix typo
36017         (LC_TYPE -> LC_CTYPE).
36019 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36021         [BZ #5805]
36022         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36023         (scalbnf): Likewise.
36024         (scalbnl): Likewise.
36025         (scalbln): Likewise.
36026         (scalblnf): Likewise.
36027         (scalblnl): Likewise.
36028         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36029         (vwarnx): Likewise.
36030         (verr): Likewise.
36031         (verrx): Likewise.
36032         * manual/filesys.texi (telldir): Use braces around return type.
36033         * manual/llio.texi (mmap): Add space after comma.
36034         (mmap64): Likewise.
36035         * manual/math.texi (jn): Use @var{} on parameter names.
36036         (jnf): Likewise.
36037         (jnl): Likewise.
36038         (yn): Likewise.
36039         (ynf): Likewise.
36040         (ynl): Likewise.
36041         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36042         line.
36043         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36044         "...".
36045         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36046         (sched_get_priority_max): Likewise.
36047         * manual/signal.texi (sigvec): Add space after comma.
36048         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36049         names.
36050         (if_indextoname): Likewise.
36051         (if_freenameindex): Likewise.
36052         (sendto): Use ',' instead of '.' in prototype.
36053         * manual/startup.texi (syscall): Use @dots{} instead of literal
36054         "...".
36055         * manual/stdio.texi (__fpending): Separate initial words of
36056         paragraph from @deftypefun line.
36057         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36058         "...".
36059         (vsyslog): Use @var{} on parameter names.
36060         * manual/terminal.texi (stty): Use @var{} on parameter names.
36061         * manual/users.texi (getutmp): Use @var{} on parameter names.
36062         (getutmpx): Likewise.
36064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36066         [BZ #6884]
36067         * manual/stdio.texi (fopen): Fix typos in description of
36068         ",ccs=STRING".
36070 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36072         [BZ #4026]
36073         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36074         get clock_id definition.
36076 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36078         [BZ #4822]
36079         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36080         (madvise): Cast every argument to void on its own.
36082 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36084         [BZ #9902]
36085         * manual/startup.texi (Exit Status): Fix typo.
36087 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36089         [BZ #10140]
36090         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36091         * manual/examples/argp-ex2.c: Likewise.
36092         * manual/examples/argp-ex3.c: Likewise.
36094 2012-02-16  Richard Henderson  <rth@redhat.com>
36096         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36097         * sysdeps/s390/s390-32/initfini.c: Remove.
36098         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36099         * sysdeps/s390/s390-64/initfini.c: Remove.
36101 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36103         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36104         compiler output for sysdeps/generic/initfini.c.
36105         * sysdeps/sh/elf/initfini.c: Remove file.
36107 2012-02-16  David S. Miller  <davem@davemloft.net>
36109         [BZ #11494]
36110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36112         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36113         * sysdeps/sparc/crti.S: New file.
36114         * sysdeps/sparc/crtn.S: New file.
36115         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36116         * sysdeps/sparc/sparc64/Makefile: Likewise.
36118 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36120         [BZ #3335]
36121         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36123 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36125         [BZ #4822]
36126         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36128         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36129         (write, read, close): Likewise.
36130         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36132 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36134         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36135         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36136         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36137         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36138         <bits/signalfd.h>.
36139         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36141         bits/signalfd.h.
36143 2012-02-14  Marek Polacek  <polacek@redhat.com>
36145         * sysdeps/x86_64/crti.S: New file.
36146         * sysdeps/x86_64/crtn.S: New file.
36147         * sysdeps/x86_64/elf/initfini.c: Remove file.
36149 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36151         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36152         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36153         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36154         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36155         <bits/inotify.h>.
36156         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36158         bits/inotify.h.
36160 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36162         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36163         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36164         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36165         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36166         <bits/eventfd.h>.
36167         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36169         bits/eventfd.h.
36171 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36173         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36174         __feraiseexcept instead of feraiseexcept.
36176         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36177         nanosleep invocations.
36178         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36179         strings, and add error checking for a nanosleep invocations.
36181 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36183         Replace FSF snail mail address with URLs, as per GNU coding standards.
36184         Most of the snail mail addresses were wrong anyway, and omitting
36185         them makes the source code easier to maintain.  Almost all of the
36186         changes are to license notices and to locale LC_IDENTIFICATION
36187         addresses, except for this one:
36188         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36189         not its snail mail address.
36191 2012-02-09  Richard Henderson  <rth@twiddle.net>
36193         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36194         of kernel-features.h.
36196         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36198 2012-02-08  Marek Polacek  <polacek@redhat.com>
36200         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36201         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36202         * sysdeps/gnu/_G_config.h: Likewise.
36203         * sysdeps/generic/_G_config.h: Likewise.
36205 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36207         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36208         tests.
36209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36211         * sysdeps/powerpc/powerpc32/crti.S: New file.
36212         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36213         * sysdeps/powerpc/powerpc64/crti.S: New file.
36214         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36216         * Makeconfig (have-initfini): Don't set.
36217         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36218         * configure.in (nopic_initfini): Don't substitute.
36219         * config.h.in (HAVE_INITFINI): Don't #undef.
36220         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36221         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36223 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36225         Support crti.S and crtn.S provided directly by architectures.
36226         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36227         [crti.S in sysdirs] (omit-deps): Likewise.
36228         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36229         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36230         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36231         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36232         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36233         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36234         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36235         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36236         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36237         compiler output for sysdeps/generic/initfini.c.
36238         * sysdeps/i386/elf/Makefile: Remove file.
36239         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36241 2012-02-07  Marek Polacek  <polacek@redhat.com>
36243         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36244         * sysdeps/gnu/_G_config.h: Likewise.
36245         * sysdeps/mach/hurd/_G_config.h: Likewise.
36247 2012-02-07  Marek Polacek  <polacek@redhat.com>
36249         * math/Makefile (tests): Add tst-CMPLX2.
36250         * math/tst-CMPLX2.c: New file.
36252 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
36254         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36256         * math/libm-test.inc (jn_test): Add missing L suffix.
36258 2012-02-06  Marek Polacek  <polacek@redhat.com>
36260         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36261         * sysdeps/i386/fpu/e_powf.S: Likewise.
36262         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36263         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36264         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36265         * sysdeps/i386/fpu/e_pow.S: Likewise.
36266         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36267         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36268         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36269         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36270         * sysdeps/i386/fpu/e_log2.S: Likewise.
36271         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36272         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36273         * sysdeps/i386/fpu/e_powl.S: Likewise.
36274         * sysdeps/i386/fpu/s_log1p.S: Likewise.
36275         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36276         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36277         * sysdeps/i386/fpu/e_logl.S: Likewise.
36278         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36279         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36280         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36281         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36282         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36283         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36284         * sysdeps/i386/fpu/e_log.S: Likewise.
36285         * sysdeps/i386/fpu/s_cexp.S: Likewise.
36286         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36287         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36288         * sysdeps/i386/fpu/e_logf.S: Likewise.
36289         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36290         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36291         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36292         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36293         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36294         * sysdeps/i386/fpu/e_log10.S: Likewise.
36295         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36296         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36297         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36298         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36299         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36300         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36301         * sysdeps/i386/asm-syntax.h: Likewise.
36302         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36303         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36304         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36305         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36306         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36307         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36308         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36309         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36310         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36311         * sysdeps/powerpc/sysdep.h: Likewise.
36312         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36313         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36315 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36317         [BZ #411]
36318         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36320 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36322         * sysdeps/i386/sysdep.h: Include <features.h>.
36323         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36324         version.
36326 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
36328         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36329         Define.
36330         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36331         LOAD_PIC_REG_STR.
36333 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36335         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36336         (SETUP_PIC_REG): Use GET_PC_THUNK.
36337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36338         macro.
36340 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36342         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36343         for non-PIC compilation.
36344         (SETUP_PIC_REG): Add .p2align directive.
36345         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36346         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36347         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36348         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36349         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36350         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36351         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36352         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36353         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36354         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36355         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36356         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36357         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36358         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36359         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36360         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36361         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36362         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36363         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36364         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36365         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36366         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36367         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36368         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36371         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36373         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36374         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36375         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36376         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36377         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36378         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36379         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36380         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36381         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36382         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36383         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36384         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36385         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36387 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36389         * math/tst-CMPLX.c: Include <stdio.h>.
36391 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
36393         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36394         float.
36395         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36396         * sysdeps/sparc/bits/mathdef.h: Likewise.
36398 2012-01-31  Marek Polacek  <polacek@redhat.com>
36400         * libio/libio.h: Don't define _PARAMS.
36401         * locale/programs/config.h: Don't define PARAMS.
36402         * stdlib/strtol_l.c: Likewise.
36403         (__strtol_l): Remove PARAMS from the prototype.
36405 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
36407         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
36408         names.  Just use the correct names.  Remove unnecessary wrapper
36409         functions.
36410         * malloc/arena.c: Likewise.
36411         * malloc/hooks.c: Likewise.
36413         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36414         ARENA_TEST says not to.  Simplify test for creation of a new arena.
36415         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36417 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
36419         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36420         into tail calls.
36421         (update_get_addr): New function.
36422         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36423         GET_ADDR_MODULE parameter.
36425 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36427         * crypt/cert.c: Remove __STDC__ conditionals.
36428         * crypt/crypt-entry.c: Likewise.
36429         * crypt/crypt_util.c: Likewise.
36430         * libio/filedoalloc.c: Likewise.
36431         * libio/fileops.c: Likewise.
36432         * libio/genops.c: Likewise.
36433         * libio/iofclose.c: Likewise.
36434         * libio/iofdopen.c: Likewise.
36435         * libio/iofopen.c: Likewise.
36436         * libio/iofopen64.c: Likewise.
36437         * libio/iogetdelim.c: Likewise.
36438         * libio/iopopen.c: Likewise.
36439         * libio/obprintf.c: Likewise.
36440         * libio/oldfileops.c: Likewise.
36441         * libio/oldiofclose.c: Likewise.
36442         * libio/oldiofdopen.c: Likewise.
36443         * libio/oldiofopen.c: Likewise.
36444         * libio/oldiopopen.c: Likewise.
36445         * libio/wfiledoalloc.c: Likewise.
36446         * libio/wgenops.c: Likewise.
36447         * locale/programs/xmalloc.c: Likewise.
36448         * misc/syslog.c: Likewise.
36449         * stdio-common/xbug.c: Likewise.
36450         * string/memchr.c: Likewise.
36451         * string/memcmp.c: Likewise.
36452         * string/memrchr.c: Likewise.
36453         * string/rawmemchr.c: Likewise.
36454         * sysdeps/posix/getcwd.c: Likewise.
36455         * time/strftime_l.c: Likewise.
36457 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36459         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36460         * config.make.in (config-cflags-sse2avx): Define.
36461         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36462         Fix typo.
36464 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
36466         * scripts/config.guess: Update from upstream config git repository.
36467         * scripts/config.sub: Likewise.
36469 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
36471         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36472         (EM_NUM): Update.
36473         (R_TILEPRO_*, R_TILEGX_*): New macros.
36475         * scripts/firstversions.awk: Fix bug in version range handling.
36477         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36479         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36481         * include/sys/epoll.h: New file.
36482         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36483         libc_hidden_def.
36485 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
36487         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36488         Avoid unnecessary __WORDSIZE == 64 test.
36489         (fmaxf): Use VEX format if possible.
36490         (fmax): Likewise.
36491         (fminf): Likewise.
36492         (fmin): Likewise.
36494         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36495         * math/math_private.h: Remove libc_fegetround* and
36496         libc_fesetround*.
36497         * sysdeps/i386/configure.in: Check for -msse2avx.
36498         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36499         also if SSE2AVX is defined.
36500         Remove libc_fegetround* and libc_fesetround*.
36501         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36502         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
36503         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36504         of HAS_YMM_USABLE.
36505         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36506         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36507         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36508         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36509         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36511         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36513 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36515         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36516         size is not set.
36517         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36519 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
36521         [BZ #13618]
36522         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36523         relocation.
36524         * Makeconfig (libm): Define.
36525         * elf/Makefile: Add rules to build and run tst-relsort1.
36526         * elf/tst-relsort1.c: New file.
36527         * elf/tst-relsort1mod1.c: New file.
36528         * elf/tst-relsort1mod2.c: New file.
36530 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
36532         * math/s_ldexp.c: Remove __STDC__ conditionals.
36533         * math/s_ldexpf.c: Likewise.
36534         * math/s_ldexpl.c: Likewise.
36535         * math/s_nextafter.c: Likewise.
36536         * math/s_nexttowardf.c: Likewise.
36537         * math/s_significand.c: Likewise.
36538         * math/s_significandf.c: Likewise.
36539         * math/s_significandl.c: Likewise.
36540         * math/w_jnl.c: Likewise.
36541         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36542         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36543         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36544         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36545         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36546         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36547         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36548         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36549         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36550         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36551         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36552         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36553         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36554         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36555         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36556         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36557         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36558         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36559         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36560         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36561         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36562         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36563         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36564         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36565         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36566         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36567         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36568         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36569         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36570         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36571         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36572         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36573         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36574         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36575         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36576         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36577         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36578         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36579         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36580         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36581         * sysdeps/ieee754/k_standard.c: Likewise.
36582         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36583         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36584         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36585         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36586         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36587         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36588         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36589         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36590         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36591         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36592         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36593         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36594         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36595         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36596         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36598         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36599         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36600         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36601         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36602         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36603         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36604         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36605         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36606         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36607         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36608         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36609         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36611         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36612         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36613         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36614         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36615         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36616         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36617         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36618         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36619         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36620         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36621         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36622         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36624         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36625         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36626         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36628         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36629         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36630         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36631         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36632         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36633         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36634         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36635         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36637         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36638         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36639         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36640         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36641         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36643         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36644         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36646         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36647         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36648         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36649         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36650         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36651         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36652         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36653         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36654         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36655         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36656         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36657         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36658         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36659         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36660         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36661         * sysdeps/ieee754/s_matherr.c: Likewise.
36662         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36663         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36667 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36669         * crypt/md5.h: Remove __STDC__ conditionals.
36670         * libio/libioP.h: Likewise.
36671         * locale/programs/config.h: Likewise.
36672         * sysdeps/generic/sysdep.h: Likewise.
36673         * sysdeps/i386/asm-syntax.h: Likewise.
36674         * sysdeps/s390/asm-syntax.h: Likewise.
36675         * sysdeps/unix/sysdep.h: Likewise.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36679 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36681         * libio/libio.h: Remove __STDC__ conditionals.
36682         * malloc/obstack.h: Likewise.
36683         * math/complex.h: Likewise.
36684         * math/math.h: Likewise.
36685         * sysdeps/generic/_G_config.h: Likewise.
36686         * sysdeps/gnu/_G_config.h: Likewise.
36687         * sysdeps/mach/hurd/_G_config.h: Likewise.
36688         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36689         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36690         * sysdeps/sparc/bits/mathdef.h: Likewise.
36692 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
36694         [BZ #13583]
36695         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36696         Clean up HAS_* macros.
36697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36698         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36699         possible.
36700         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36701         HAS_AVX.
36702         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36703         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36704         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36705         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36706         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36708 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
36710         * elf/tst-unique3.cc (gets): Remove declaration.
36711         * elf/tst-unique3lib.cc (gets): Likewise.
36712         * elf/tst-unique3lib2.cc (gets): Likewise.
36713         * elf/tst-unique4.cc (gets): Likewise.
36715 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
36717         * include/stdio.h: Add C++ protection.  Add gets declarations and
36718         definitions.
36719         * debug/tst-chk1.c: Don't declare gets here.
36720         * stdio-common/tst-gets.c: Likewise.
36722 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36724         * posix/glob: Remove directory.
36726 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36728         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36730 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
36732         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36733         of the non-standard EPFNOSUPPORT.
36735 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36737         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36738         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36739         ANYWHERE set to 1 only on KERN_NO_SPACE error.
36741 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
36743         * wcsmbs/uchar.h: Test __STDC_VERSION__.
36745 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
36747         * nscd/aicache.c (addhstaiX): Do not cache negative results of
36748         transient errors.
36749         * nscd/grpcache.c (cache_addgr): Likewise.
36750         * nscd/hstcache.c (cache_addhst): Likewise.
36751         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36752         * nscd/pwdcache.c (cache_addpw): Likewise.
36753         * nscd/servicescache.c (cache_addserv): Likewise.
36755 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
36757         * malloc/malloc.c: Various cleanups.
36758         * malloc/hooks.c: Likewise.
36760         * stdlib/Makefile (tests): Add bug-fmtmsg1.
36761         * stdlib/bug-fmtmsg1.c: New file.
36763         * stdlib/fmtmsg.c (init): Add missing unlock.
36764         Patch by Peng Haitao <penght@cn.fujitsu.com>.
36766 2012-01-12  Marek Polacek  <polacek@redhat.com>
36768         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36769         and _GNU_SOURCE.
36771 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36773         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36774         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36775         macro to ensure uniqueness of label name.
36776         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36777         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36779 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
36781         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36783         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36784         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36785         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36788 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
36790         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36792         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36793         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36794         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36796         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36798         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36799         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36800         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36803         * math/bits/math-finite.h: Add ldexp support.
36805 2012-01-10  Marek Polacek  <polacek@redhat.com>
36807         * locale/programs/localedef.h (show_archive_content): Add noreturn
36808         attribute.
36810 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
36812         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36814 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36816         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36818         * io/Makefile (headers): Add bits/poll2.h.
36820 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
36822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36823         typo #include statement.
36825 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36827         * include/sys/cdefs.h: Define __attribute_alloc_size.
36828         * catgets/gencat.c: Add alloc_size attribute and apply consistently
36829         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36830         * elf/pldd.c: Likewise.
36831         * iconv/iconv_charmap.c: Likewise.
36832         * iconv/iconvconfig.c: Likewise.
36833         * iconv/strtab.c: Likewise.
36834         * locale/programs/locale.c: Likewise.
36835         * locale/programs/localedef.h: Likewise.
36836         * locale/programs/simple-hash.c: Likewise.
36837         * nscd/nscd.h: Likewise.
36838         * nss/makedb.c: Likewise.
36839         * sysdeps/generic/ldconfig.h: Likewise.
36840         * locale/programs/localedef.c: Remove xmalloc prototype.
36841         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36843 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36845         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36846         appropriate.
36848 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36850         * math/Makefile (tests): Add tst-CMPLX.
36851         * math/tst-CMPLX.c: New file.
36853         * math/complex.h (CMPLXL): Fix typo.
36855         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36856         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36857         GLIBC_2.16.
36858         * debug/tst-chk1.c: Add poll and ppoll tests.
36859         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36860         * include/sys/poll.h: Add hidden proto for ppoll.
36861         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36862         * sysdeps/mach/hurd/ppoll.c: Likewise.
36863         * io/ppoll.c: Likewise.
36864         * debug/poll_chk.c: New file.
36865         * debug/ppoll_chk.c: New file.
36866         * include/bits/poll2.h: New file.
36867         * io/bits/poll2.h: New file.
36869         [BZ #1350]
36870         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36872         * configure.in: static is always set to yes.  Remove.
36873         * config.make.in: Don't set build-static.
36874         * Makeconfig: Remove use of build-static.
36875         * dlfcn/Makefile: Likewise.
36876         * elf/Makefile: Likewise.
36877         * math/Makefile: Likewise.
36878         * misc/Makefile: Likewise.
36879         * nptl/Makefile: Likewise.
36880         * sysdeps/mach/hurd/Makefile: Likewise.
36882         * configure.in: PWD_P is not used anymore.
36883         * config.make.in: Remove PWD_P entry.
36885         * configure.in: Remove last remnants of RANLIB.
36886         No need to check for signed size_t anymore.
36887         Don't set libc_commonpagesize and libc_relro_required here for Alpha
36888         and IA-64.
36889         Remove __builtin_expect test because we require at least gcc 3.4.
36890         * aclocal.m4: Likewise.
36892         * wcsmbs/mbrtoc16.c: Implement using towc function.
36893         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36894         * wcsmbs/wcsmbsload.c: Likewise.
36895         * iconv/gconv_simple.c: Likewise.
36896         * iconv/gconv_int.h: Likewise.
36897         * iconv/gconv_builtin.h: Likewise.
36898         * iconv/iconv_prog.c: Remove CHAR16 handling.
36900         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36902         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36904         * configure.in: Remove --with-elf and --enable-bounded options.
36905         Dont set base_machine for ia64.  More non-ELF conditions removed.
36906         Remove testing and setting of leading underscore information.
36907         * config.make.in (build-bounded): Set to no.
36908         * config.h.in: Remove NO_UNDERSCORES entry.
36909         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36910         them.
36911         * csu/start.c: Remove !NO_UNDERSCORE code.
36912         * locale/localeinfo.h: Likewise.
36913         * sysdeps/generic/machine-gmon.h: Likewise.
36914         * sysdeps/generic/sysdep.h: Likewise.
36915         * sysdeps/i386/sysdep.h: Likewise.
36916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36917         * sysdeps/mach/sysdep.h: Likewise.
36918         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36919         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36920         * sysdeps/sh/sysdep.h: Likewise.
36921         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36922         * sysdeps/unix/i386/sysdep.S: Likewise.
36923         * sysdeps/unix/sparc/start.c: Likewise.
36924         * sysdeps/unix/sparc/sysdep.S: Likewise.
36925         * sysdeps/unix/sparc/sysdep.h: Likewise.
36926         * sysdeps/unix/start.c: Likewise.
36927         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36928         * sysdeps/x86_64/sysdep.h: Likewise.
36930 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36932         [BZ #13553]
36933         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36934         for non-gcc.
36935         * argp/argp-fmtstream.h: Use const instead __const.
36936         * argp/argp.h: Likewise.
36937         * assert/assert.h: Likewise.
36938         * bits/fenv.h: Likewise.
36939         * bits/sched.h: Likewise.
36940         * bits/sigset.h: Likewise.
36941         * bits/sigthread.h: Likewise.
36942         * catgets/nl_types.h: Likewise.
36943         * conform/data/pthread.h-data: Likewise.
36944         * crypt/crypt-private.h: Likewise.
36945         * crypt/crypt.h: Likewise.
36946         * crypt/crypt_util.c: Likewise.
36947         * ctype/ctype.h: Likewise.
36948         * debug/execinfo.h: Likewise.
36949         * debug/mbsnrtowcs_chk.c: Likewise.
36950         * debug/mbsrtowcs_chk.c: Likewise.
36951         * debug/wcsnrtombs_chk.c: Likewise.
36952         * debug/wcsrtombs_chk.c: Likewise.
36953         * debug/wcstombs_chk.c: Likewise.
36954         * dirent/dirent.h: Likewise.
36955         * dlfcn/dlfcn.h: Likewise.
36956         * elf/neededtest4.c: Likewise.
36957         * grp/grp.h: Likewise.
36958         * gshadow/gshadow.h: Likewise.
36959         * iconv/gconv.h: Likewise.
36960         * iconv/gconv_int.h: Likewise.
36961         * iconv/gconv_simple.c: Likewise.
36962         * iconv/iconv.h: Likewise.
36963         * iconv/loop.c: Likewise.
36964         * iconv/skeleton.c: Likewise.
36965         * include/aio.h: Likewise.
36966         * include/aliases.h: Likewise.
36967         * include/argz.h: Likewise.
36968         * include/arpa/inet.h: Likewise.
36969         * include/assert.h: Likewise.
36970         * include/dirent.h: Likewise.
36971         * include/dlfcn.h: Likewise.
36972         * include/execinfo.h: Likewise.
36973         * include/fcntl.h: Likewise.
36974         * include/fenv.h: Likewise.
36975         * include/glob.h: Likewise.
36976         * include/grp.h: Likewise.
36977         * include/libintl.h: Likewise.
36978         * include/mntent.h: Likewise.
36979         * include/netdb.h: Likewise.
36980         * include/pwd.h: Likewise.
36981         * include/rpc/netdb.h: Likewise.
36982         * include/sched.h: Likewise.
36983         * include/search.h: Likewise.
36984         * include/shadow.h: Likewise.
36985         * include/signal.h: Likewise.
36986         * include/stdio.h: Likewise.
36987         * include/stdlib.h: Likewise.
36988         * include/string.h: Likewise.
36989         * include/sys/socket.h: Likewise.
36990         * include/sys/stat.h: Likewise.
36991         * include/sys/statfs.h: Likewise.
36992         * include/sys/statvfs.h: Likewise.
36993         * include/sys/syslog.h: Likewise.
36994         * include/sys/time.h: Likewise.
36995         * include/sys/uio.h: Likewise.
36996         * include/time.h: Likewise.
36997         * include/unistd.h: Likewise.
36998         * include/utmp.h: Likewise.
36999         * include/wchar.h: Likewise.
37000         * include/wctype.h: Likewise.
37001         * inet/aliases.h: Likewise.
37002         * inet/arpa/inet.h: Likewise.
37003         * inet/netinet/ether.h: Likewise.
37004         * inet/netinet/in.h: Likewise.
37005         * intl/libintl.h: Likewise.
37006         * io/bits/fcntl2.h: Likewise.
37007         * io/fcntl.h: Likewise.
37008         * io/ftw.h: Likewise.
37009         * io/sys/poll.h: Likewise.
37010         * io/sys/stat.h: Likewise.
37011         * io/sys/statfs.h: Likewise.
37012         * io/sys/statvfs.h: Likewise.
37013         * io/utime.h: Likewise.
37014         * libio/bits/stdio.h: Likewise.
37015         * libio/bits/stdio2.h: Likewise.
37016         * libio/libio.h: Likewise.
37017         * libio/libioP.h: Likewise.
37018         * libio/stdio.h: Likewise.
37019         * locale/lc-ctype.c: Likewise.
37020         * locale/locale.h: Likewise.
37021         * login/utmp.h: Likewise.
37022         * malloc/arena.c: Likewise.
37023         * malloc/malloc.c: Likewise.
37024         * malloc/malloc.h: Likewise.
37025         * malloc/mcheck.c: Likewise.
37026         * malloc/mtrace.c: Likewise.
37027         * math/bits/mathcalls.h: Likewise.
37028         * math/fenv.h: Likewise.
37029         * math/math_private.h: Likewise.
37030         * misc/bits/error.h: Likewise.
37031         * misc/bits/syslog.h: Likewise.
37032         * misc/err.h: Likewise.
37033         * misc/error.h: Likewise.
37034         * misc/fstab.h: Likewise.
37035         * misc/mntent.h: Likewise.
37036         * misc/regexp.h: Likewise.
37037         * misc/search.h: Likewise.
37038         * misc/sgtty.h: Likewise.
37039         * misc/sys/mman.h: Likewise.
37040         * misc/sys/syslog.h: Likewise.
37041         * misc/sys/uio.h: Likewise.
37042         * misc/sys/xattr.h: Likewise.
37043         * misc/ttyent.h: Likewise.
37044         * nis/rpcsvc/ypclnt.h: Likewise.
37045         * nss/nss.h: Likewise.
37046         * posix/bits/unistd.h: Likewise.
37047         * posix/fnmatch.h: Likewise.
37048         * posix/glob.h: Likewise.
37049         * posix/sched.h: Likewise.
37050         * posix/spawn.h: Likewise.
37051         * posix/sys/wait.h: Likewise.
37052         * posix/unistd.h: Likewise.
37053         * posix/wordexp.h: Likewise.
37054         * pwd/pwd.h: Likewise.
37055         * resolv/netdb.h: Likewise.
37056         * resource/sys/resource.h: Likewise.
37057         * rt/aio.h: Likewise.
37058         * rt/bits/mqueue2.h: Likewise.
37059         * rt/mqueue.h: Likewise.
37060         * shadow/shadow.h: Likewise.
37061         * signal/signal.h: Likewise.
37062         * socket/send.c: Likewise.
37063         * socket/sendto.c: Likewise.
37064         * socket/sys/socket.h: Likewise.
37065         * stdio-common/printf.h: Likewise.
37066         * stdlib/bits/stdlib.h: Likewise.
37067         * stdlib/fmtmsg.h: Likewise.
37068         * stdlib/monetary.h: Likewise.
37069         * stdlib/stdlib.h: Likewise.
37070         * stdlib/ucontext.h: Likewise.
37071         * streams/stropts.h: Likewise.
37072         * string/argz.h: Likewise.
37073         * string/bits/string2.h: Likewise.
37074         * string/string.h: Likewise.
37075         * string/strings.h: Likewise.
37076         * sunrpc/rpc/auth.h: Likewise.
37077         * sunrpc/rpc/auth_des.h: Likewise.
37078         * sunrpc/rpc/clnt.h: Likewise.
37079         * sunrpc/rpc/netdb.h: Likewise.
37080         * sunrpc/rpc/pmap_clnt.h: Likewise.
37081         * sunrpc/rpc/xdr.h: Likewise.
37082         * sysdeps/generic/inttypes.h: Likewise.
37083         * sysdeps/generic/net/if.h: Likewise.
37084         * sysdeps/generic/sys/swap.h: Likewise.
37085         * sysdeps/gnu/net/if.h: Likewise.
37086         * sysdeps/gnu/utmpx.h: Likewise.
37087         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37088         * sysdeps/i386/i486/bits/string.h: Likewise.
37089         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37090         * sysdeps/s390/bits/string.h: Likewise.
37091         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37092         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37093         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37094         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37095         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37096         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37097         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37098         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37099         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37100         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37101         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37102         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37103         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37104         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37105         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37106         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37107         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37108         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37109         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37110         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37111         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37112         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37113         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37114         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37115         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37116         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37117         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37118         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37119         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37120         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37121         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37122         * sysvipc/sys/ipc.h: Likewise.
37123         * sysvipc/sys/msg.h: Likewise.
37124         * sysvipc/sys/sem.h: Likewise.
37125         * sysvipc/sys/shm.h: Likewise.
37126         * termios/termios.h: Likewise.
37127         * time/sys/time.h: Likewise.
37128         * time/time.h: Likewise.
37129         * wcsmbs/bits/wchar2.h: Likewise.
37130         * wcsmbs/uchar.h: Likewise.
37131         * wcsmbs/wchar.h: Likewise.
37132         * wctype/wctype.h: Likewise.
37134         [BZ #13551]
37135         * Makeconfig: Remove all but ELF support including AIX support.
37136         * Makerules: Likewise.
37137         * config.h.in: Likewise.
37138         * config.make.in: Likewise.
37139         * configure: Likewise.
37140         * configure.in: Likewise.
37141         * csu/Makefile: Likewise.
37142         * csu/version.c: Likewise.
37143         * debug/Makefile: Likewise.
37144         * dlfcn/Makefile: Likewise.
37145         * elf/Makefile: Likewise.
37146         * extra-lib.mk: Likewise.
37147         * iconv/Makefile: Likewise.
37148         * include/libc-symbols.h: Likewise.
37149         * include/shlib-compat.h: Likewise.
37150         * resolv/Makefile: Likewise.
37151         * resolv/res_libc.c: Likewise.
37152         * rt/Makefile: Likewise.
37153         * sysdeps/i386/asm-syntax.h: Likewise.
37154         * sysdeps/i386/sysdep.h: Likewise.
37155         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37156         * sysdeps/mach/sysdep.h: Likewise.
37157         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37158         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37159         * sysdeps/s390/asm-syntax.h: Likewise.
37160         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37161         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37162         * sysdeps/sh/sysdep.h: Likewise.
37163         * sysdeps/unix/sparc/sysdep.h: Likewise.
37164         * sysdeps/wordsize-32/divdi3.c: Likewise.
37165         * sysdeps/x86_64/sysdep.h: Likewise.
37167         * argp/Versions: Remove _argp_unlock_xxx.
37169         [BZ #13559]
37170         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37171         * abilist/libBrokenLocale.abilist: Likewise.
37172         * abilist/libanl.abilist: Likewise.
37173         * abilist/libc.abilist: Likewise.
37174         * abilist/libcrypt.abilist: Likewise.
37175         * abilist/libdl.abilist: Likewise.
37176         * abilist/libm.abilist: Likewise.
37177         * abilist/libnsl.abilist: Likewise.
37178         * abilist/libpthread.abilist: Likewise.
37179         * abilist/libresolv.abilist: Likewise.
37180         * abilist/librt.abilist: Likewise.
37181         * abilist/libthread_db.abilist: Likewise.
37182         * abilist/libutil.abilist: Likewise.
37183         * abilist/libnss_db.abilist: New file.
37185         * scripts/abilist.awk: Add support for indirect functions.
37187         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37189         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37191         * shlib-versions: Remove entries for ports architectures.
37193         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37194         files in ports.
37195         * elf/stackguard-macros.h: Remove support for IA-64.
37196         * elf/tst-auditmod1.c: Likewise.
37197         * sysdeps/generic/ldsodefs.h: Likewise.
37199         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37200         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37201         configure files.
37203         [BZ #13552]
37204         * configure.in: Remove --enable-omitfp support.
37205         * FAQ.in: Adjust.
37206         * config.make.in: Likewise.
37207         * Makeconfig: Likewise.
37208         * manual/install.texi: Likewise.
37210         In case anyone cares, the IA-64 architecture could move to ports.
37211         * sysdeps/ia64/*: Removed.
37212         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37213         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37215         [BZ #13555]
37216         * configure.in: Remove entries for unsupported architectures.
37218         [BZ #13533]
37219         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37220         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37221         routines.
37222         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37223         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37224         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37225         fall back to using wcrtomb.
37226         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37227         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37228         renaming.
37229         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37230         * wcsmbs/tst-c16c32-1.c: New file.
37232         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37233         local variable.
37235         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37237         * elf/tst-unique3.cc: Add explicit declaration of gets.
37238         * elf/tst-unique3lib.cc: Likewise.
37239         * elf/tst-unique3lib2.cc: Likewise.
37240         * elf/tst-unique4.cc: Likewise.
37242         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37244 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37246         [BZ #13566]
37247         * assert/assert.h (static_assert): Don't define for C++.
37248         * libio/stdio.h (gets): Do declare for C++ <= C++11.
37249         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37251 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
37253         * iconv/loop.c (single loop): Fix assertion in storing of
37254         remaining bytes.
37256         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37258 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
37260         * posix/getconf.c: Update copyright year.
37261         * nss/getent.c: Likewise.
37262         * nss/makedb.c: Likewise.
37263         * iconv/iconvconfig.c: Likewise.
37264         * iconv/iconv_prog.c: Likewise.
37265         * elf/ldconfig.c: Likewise.
37266         * elf/pldd.c: Likewise.
37267         * elf/sotruss.ksh: Likewise.
37268         * catgets/gencat.c: Likewise.
37269         * csu/version.c: Likewise.
37270         * elf/ldd.bash.in: Likewise.
37271         * elf/sprof.c (print_version): Likewise.
37272         * locale/programs/locale.c: Likewise.
37273         * locale/programs/localedef.c: Likewise.
37274         * login/programs/pt_chown.c: Likewise.
37275         * nscd/nscd.c (print_version): Likewise.
37276         * debug/xtrace.sh: Likewise.
37277         * malloc/memusage.sh: Likewise.
37278         * malloc/mtrace.pl: Likewise.
37279         * debug/catchsegv.sh: Likewise.
37281 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
37283         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37284         pure attribute.
37286 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
37288         [BZ #13533]
37289         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37290         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37291         transformations.
37292         * iconv/gconv_int.h: Likewise.
37293         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37294         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37295         from libc for GLIBC_2.16.
37296         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37297         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37298         * wcsmbs/uchar.h: Really define mbstate_t.
37299         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37300         * wcsmbs/c16rtomb.c: New file.
37301         * wcsmbs/mbrtoc16.c: New file.
37302         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37303         for C/POSIX locale.
37304         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37305         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37307         * wcsmbs/wchar.h: Add missing __restrict.
37309 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37311         [BZ #13532]
37312         * time/Makefile (routines): Add timespec_get.
37313         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37314         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
37315         timespec for ISO C11.
37316         * time/timespec_get.c: New file.
37317         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37318         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37320         [BZ #13531]
37321         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37322         * stdlib/stdlib.h: Declare aligned_alloc.
37323         * Versions.def: Add GLIBC_2.16 for libc.
37324         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37326         [BZ 13527]
37327         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37328         ISO C11.
37330         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37331         code.
37333         [BZ #13528]
37334         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37336         [BZ #13529]
37337         * assert/assert.h (static_assert): Define.
37339         * version.h: Update for 2.16 development version.
37341         [BZ #13526]
37342         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37343         _ISOC11_SOURCE.
37345         * version.h (RELEASE): Bump for 2.15 release.
37346         * include/features.h (__GLIBC_MINOR__): Bump to 15.
37348         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37349         Patch by Marek Polacek <mpolacek@redhat.com>.
37351         * bits/byteswap.h: Protect long long constants with __extension__.
37352         * sysdeps/i386/bits/byteswap.h: Likewise.
37353         * sysdeps/ia64/bits/byteswap.h: Likewise.
37354         * sysdeps/s390/bits/byteswap.h: Likewise.
37355         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37357 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37359         [BZ #13540]
37360         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37361         destination buffer.
37362         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37364 2011-12-23  Marek Polacek  <polacek@redhat.com>
37366         * elf/dl-addr.c (determine_info): Add inline keyword.
37367         * elf/tst-auditmod4b.c (check_avx): Likewise.
37368         * elf/tst-auditmod6b.c (check_avx): Likewise.
37369         * elf/tst-auditmod6c.c (check_avx): Likewise.
37370         * elf/tst-auditmod7b.c (check_avx): Likewise.
37372 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37374         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37375         !__SSE_MATH__.
37377 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37379         [BZ #13540]
37380         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37381         processing for last bytes.
37383 2011-08-06  Bruno Haible  <bruno@clisp.org>
37385         [BZ #13061]
37386         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37387         U+0385, not to U+1FEE.
37389         [BZ #13062]
37390         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37391         entry for U+00A5 U+0301.
37393 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37395         [BZ #13166]
37396         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37397         buffer for the output is too small.
37399         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37400         optimization.
37402         [BZ #13185]
37403         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37404         SSE flags if possible.
37406 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37408         [BZ #13540]
37409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37410         processing for last bytes.
37412 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
37414         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37415         (syscall-list-default-options, syscall-list-default-condition)
37416         (syscall-list-includes): Define.
37417         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37418         list of ABIs and options and #if conditions for each ABI.  Do not
37419         handle common syscalls between ABIs specially.
37420         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37421         Remove.
37422         (syscall-list-variants, syscall-list-32bit-options)
37423         (syscall-list-32bit-condition, syscall-list-64bit-options)
37424         (syscall-list-64bit-condition): Define.
37425         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37426         (syscall-list-variants, syscall-list-32bit-options)
37427         (syscall-list-32bit-condition, syscall-list-64bit-options)
37428         (syscall-list-64bit-condition): Define.
37429         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37430         Remove.
37431         (syscall-list-variants, syscall-list-32bit-options)
37432         (syscall-list-32bit-condition, syscall-list-64bit-options)
37433         (syscall-list-64bit-condition): Define.
37434         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37435         Remove.
37436         (syscall-list-variants, syscall-list-32bit-options)
37437         (syscall-list-32bit-condition, syscall-list-64bit-options)
37438         (syscall-list-64bit-condition): Define.
37440 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37442         * locale/iso-639.def: Add brx entry.
37444         [BZ #13328]
37445         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37446         Proposed by Mariusz_Cukr <marcukr@op.pl>.
37448         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37449         __feraiseexcept_renamed.
37451 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37453         [BZ #13538]
37454         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37455         EPOLLET with unsigned values.
37456         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37457         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37459         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37460         to large cancellation.
37461         * math/s_cacoshf.c: Likewise.
37462         * math/s_cacoshl.c: Likewise.
37464 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
37466         [BZ #13305]
37467         [BZ #12786]
37468         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37469         * math/s_cacoshf.c: Likewise.
37470         * math/s_cacoshl.c: Likewise.
37472 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37474         [BZ #13439]
37475         * iconv/gconv.h: Define __GCONV_SWAP.
37476         * iconvdata/unicode.c: The swap bit must be stored in __flags.
37477         * iconvdata/utf-16.c: Likewise.
37478         * iconvdata/utf-32.c: Likewise.
37480 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37482         [BZ #13524]
37483         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37484         numerator after shifting it by one limb.
37486 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
37488         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37489         under [__USE_EXTERN_INLINES].
37491 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37493         [BZ #13446]
37494         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37496 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37498         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37499         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37500         optimized code.
37501         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37502         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37503         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37504         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37505         for strncasecmp/strncasecmp_l compilation.
37506         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37507         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37509 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
37511         [BZ #13484]
37512         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37513         of __asm__.
37515 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37517         [BZ #13506]
37518         * time/tzfile.c (__tzfile_read): Check values from file header.
37520 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37522         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37523         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37524         * powerpc/powerpc32/dl-start.S: Likewise.
37525         * powerpc/powerpc32/elf/start.S: Likewise.
37526         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37527         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37528         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37529         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37530         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37531         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37532         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37533         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37534         * powerpc/powerpc32/fpu/s_round.S: Likewise.
37535         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37536         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37537         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37538         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37539         * powerpc/powerpc32/memset.S: Likewise.
37540         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37541         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37542         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37543         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37544         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37545         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37546         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37547         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37548         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37549         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37550         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37551         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37552         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37554 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37556         * math/libm-test.inc: Added more nearbyint tests.
37557         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37558         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37559         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37562 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
37564         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37565         FD_CLOEXEC.
37567 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37569         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37570         Add wcscpy-ssse3 wcscpy-c.
37571         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37572         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37573         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37574         * sysdeps/x86_64/wcschr.S: New file.
37575         * sysdeps/x86_64/wcsrchr.S: New file.
37576         * string/test-strcmp.c: Remove checking of wcscmp function for
37577         wrong alignments.
37578         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37579         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37580         wcsrchr-sse2 wcsrchr-c.
37581         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37582         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37583         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37584         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37585         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37586         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37587         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37588         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37589         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37590         * wcsmbc/wcschr.c (WCSCHR): New macro.
37592 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37594         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37595         * wcsmbs/test-wcsrchr.c: New file.
37596         * string/test-strrchr.c: Add wcsrchr support.
37597         (WIDE): New macro.
37598         * wcsmbs/test-wcscpy.c: New file.
37599         * string/test-strcpy.c: Add wcscpy support.
37600         (WIDE): New macro.
37602 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
37604         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37605         the inner loop.
37607 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
37609         [BZ #13472]
37610         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37612 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
37614         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37615         Minor optimizations.
37617         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37618         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37619         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37621 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
37623         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37624         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37625         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37626         for gcc to avoid warnings.
37627         * inet/Makefile (tests): Add tst-checks.
37628         * inet/tst-checks.c: New file.
37630         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37631         warning.
37633         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37634         __wmemcmp_sse2.
37636         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37637         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37639         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37641 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
37643         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37644         problem.
37646         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37648 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
37650         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37651         conditional on GCC version.
37652         (__arch_compare_and_exchange_val_8_acq)
37653         (__arch_compare_and_exchange_val_16_acq)
37654         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37655         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37656         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37658 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
37660         * sysdeps/sh/backtrace.c: New file.
37662 2011-12-02  Andreas Schwab  <schwab@redhat.com>
37664         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
37665         parenthesis.
37667 2011-12-01  Andreas Schwab  <schwab@redhat.com>
37669         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37670         falling back to utime.
37672 2011-11-30  Andreas Schwab  <schwab@redhat.com>
37674         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37675         expectations for float.
37677 2011-11-29  Andreas Schwab  <schwab@redhat.com>
37679         * locale/weight.h (findidx): Add parameter len.
37680         * locale/weightwc.h (findidx): Likewise.
37681         * posix/fnmatch_loop.c (FCT): Adjust caller.
37682         * posix/regcomp.c (build_equiv_class): Likewise.
37683         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37684         * posix/regexec.c (check_node_accept_bytes): Likewise.
37685         * string/strcoll_l.c (STRCOLL): Likewise.
37686         * string/strxfrm_l.c (STRXFRM): Likewise.
37688 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
37690         * Makefile.in: Remove CVSOPT handling.
37691         * configure.in: Remove use of AC_REVISION.
37692         * iconvdata/Makefile (distribute): No need to filter out CVS.
37693         * scripts/list-sources.sh: Remove CVS, subversion and monotone
37694         handling.
37696 2011-11-16  Andreas Schwab  <schwab@redhat.com>
37698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37699         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37700         [USE_AS_STRNCASECMP_L]: Likewise.
37701         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37702         NO_TLS_DIRECT_SEG_REFS.
37703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37704         Fix argument offsets for non-PIC.
37705         [USE_AS_STRNCASECMP_L]: Likewise.
37706         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37707         NO_TLS_DIRECT_SEG_REFS.
37709 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37711         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37712         O_CLOEXEC.
37713         * locale/loadlocale.c (_nl_load_locale): Likewise.
37715 2011-11-15  Andreas Schwab  <schwab@redhat.com>
37717         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37718         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37719         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37720         (SYSCALL_GETTIME): Set errno on error.
37722         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37723         count references to noai6ai_cached.
37725 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37727         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37729         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37730         FD_CLOEXEC for /proc/self/maps.
37732         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37733         FD_CLOEXEC for /proc/meminfo.
37735         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37736         gai.conf.
37738         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
37739         FD_CLOEXEC for given file.
37741         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37743         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37744         FD_CLOEXEC for /etc/hosts.
37745         (_gethtent): Likewise.
37747         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37749         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37750         cancellation and set FD_CLOEXEC for /etc/netgroup.
37752         * nss/nss_files/files-key.c (search): Don't allow cancellation when
37753         reading /etc/publickey.
37755         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37756         allow cancellation when reading /etc/group.
37758         * nss/nss_files/files-alias.c (internal_setent): Don't allow
37759         cancellation.
37760         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
37762         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37763         when using data file.
37765         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37767         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37768         (write_nis_obj): Use "c" and "e" in fopen.
37770         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37772         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37774         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37776         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37778         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37779         locale.alias.
37781         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37783         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37785         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37787         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37788         file parsing and set FD_CLOEXEC.
37790 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37792         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37794 2011-11-14  Andreas Schwab  <schwab@redhat.com>
37796         * malloc/arena.c (arena_get2): Don't call reused_arena when
37797         _int_new_arena failed.
37799 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37801         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37802         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37803         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37805         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37806         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37807         to compile strcasecmp and strncasecmp.
37808         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37809         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37813 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
37815         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37816         locale-defines.sym to gen-as-const-headers.
37817         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37818         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37820         to compile strcasecmp and strncasecmp.
37821         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37822         strcasecmp_l and strncasecmp_l.
37823         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37824         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37825         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37826         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37827         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37828         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37829         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37830         * sysdeps/i386/i686/multiarch/strncase.S: New file.
37831         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37832         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37833         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37835 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
37837         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37838         result of SYSDEP_GETTIME_CPU to retval.
37839         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37840         parameter list to macro.  Remove trailing semicolon.  Adjust users.
37842         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37843         variable.
37845         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37846         mantissa words.
37847         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37849         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37850         from unused variable.
37852         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37853         DWARF definitions.
37854         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37855         for assembling.
37857         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37858         over namespaces.
37860         * sunrpc/rpc_prot.c (rejected): Fix case value.
37862         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37863         unsigned long long int to avoid warnings in shift.
37865         * posix/regex_internal.c (re_string_reconstruct): Actually use result
37866         of use of trans.
37867         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37868         variable tmp.
37870         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37871         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37872         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37874         * nis/nis_table.c (nis_list): Use variable of correct type for
37875         result of __follow_path call.
37877 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37879         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37880         of math functions ceil, trunc, floor, round, and sqrt, when
37881         avaliable on the platform.
37882         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37883         name clash.
37884         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37885         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37886         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37888 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
37890         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37891         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37893 2011-11-11  Roland McGrath  <roland@hack.frob.com>
37895         * include/unistd.h: Fix __readlink return type.
37896         Reported by Chris Metcalf <cmetcalf@tilera.com>.
37898 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
37900         * stdlib/ucontext.h: Undo last change for makecontext.
37902 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37904         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37906         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37907         * setjmp/setjmp.h: Mark functions as non-leaf.
37908         * setjmp/bits/setjmp2.h: Likewise.
37909         * stdlib/ucontext.h: Likewise.
37911 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37913         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37914         (reused_arena): Don't check arena limit.
37915         (arena_get2): Atomically check arena limit.
37917 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37919         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37920         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37922         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37923         instructions.
37925 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37927         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37928         handler when locking.
37930         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37931         Fix size of allocated buffer.
37933 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37935         [BZ #10103]
37936         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37937         declarations for long double functions.
37938         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37940         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37942 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37944         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37945         installed.
37947         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37948         is disabled.
37950 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37952         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37954 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37956         * include/alloca.h (stackinfo_alloca_round): Define.
37957         (extend_alloca): Use it.
37958         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37959         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37960         here.
37962         * scripts/check-local-headers.sh: Ignore libaudit.h.
37964         * nscd/Makefile (extra-objs): Make recursively expanded.
37966 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37968         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37969         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37971         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37972         * posix/tst-rfc3484-2.c: Likewise.
37973         * posix/tst-rfc3484-3.c: Likewise.
37975         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37976         process_vm_writev.
37977         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37978         process_vm_writev.
37979         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37980         process_vm_writev from libc using GLIBC_2.15 version.
37982         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37984 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37986         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37987         stack usage.
37989 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37991         [BZ #13367]
37992         * nss/getent.c (initgroups_keys): Show error message in case no group
37993         names are given.
37995         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37996         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37997         __bump_nl_timestamp.
37998         * nscd/connections (nscd_init): When host database is served open
37999         netlink socket and request notification about configuration changes.
38000         (main_loop_poll): Track netlink file descriptor and bump timestamp
38001         in case data becomes available.
38002         (main_loop_epoll): Likewise.
38003         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38004         (database_pers_head): Add extra_data fileds.
38005         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38006         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38007         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38008         Adjust caller.
38009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38010         in6ai data, call __free_in6ai.
38011         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38012         Add -DHAVE_NETLINK.
38013         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38014         interface information.  Reuse previous data if netlink timestamp
38015         is not changed.
38016         (__bump_nl_timestamp): New function.
38017         (__free_in6ai): New function.
38019 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38022         close_not_cancel_no_status here.
38023         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38025 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38027         [BZ #13276]
38028         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38029         return value.
38031         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38032         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38033         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38035 2011-07-03  Andreas Jaeger  <aj@suse.de>
38037         [BZ #10709]
38038         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38039         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38040         * math/libm-test.inc (sin_test): Add test case.
38042 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38044         [BZ #13337]
38045         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38046         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38048         * elf/chroot_canon.c (chroot_canon): Cleanups.
38050         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38052         [BZ #13335]
38053         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38054         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38056         * string/test-strchr.c: Make usable for strchrnul testing.
38057         * string/test-strchrnul.c: New file.
38058         * string/Makefile (strop-tests): Add strchrnul.
38060         * po/it.po: Update from translation team.
38061         * po/es.po: Likewise.
38063 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38065         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38066         the three constants needed as parameters.  Drop the others.
38067         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38068         __m128i_strloadu_tolower.
38069         Create and initialize variable zero and use it in all the places
38070         where _mm_setzero_si128 was used.
38072         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38073         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38074         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38076         anymore.
38077         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38078         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38079         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38080         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38081         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38082         __mpranred, __mptan.
38083         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38084         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38085         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38086         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38087         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38088         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38089         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38090         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38091         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38093 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38095         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38096         redefine if SHARED.
38097         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38100         wide char related routines to wcsmbs subdir.
38102 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38104         [BZ #13344]
38105         * misc/sys/cdefs.h (__THROWNL): Define.
38106         * posix/unistd.h: Use __THREADNL instead of __THREAD
38107         for memory synchronization functions.
38109 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38111         [BZ #13349]
38112         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38113         doesn't exist.
38114         * manual/stdio.texi (Obstack Streams): Node removed.
38116 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38118         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38119         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38120         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38122         * math/math_private.h (math_force_eval): Allow non-addressable
38123         arguments.
38124         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38128         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38129         file is not needed.
38131         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38132         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38133         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38134         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38135         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38136         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38137         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38138         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38139         Add AVX variants.
38140         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38141         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38142         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38143         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38144         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38145         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38146         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38147         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38148         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38149         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38150         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38151         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38152         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38153         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38154         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38155         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38156         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38157         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38158         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38160         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38161         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38164         place.  Use VEX encoding when compiling for AVX.
38166 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38168         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38169         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38171         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38173 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38175         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38176         useless if() expression.
38177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38178         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38179         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38180         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38181         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38182         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38183         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38185         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38186         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38187         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38188         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38189         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38190         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38191         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38192         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38193         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38194         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38195         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38197         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38199 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38201         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38202         condition.
38203         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38205 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38207         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38208         .text section.  Avoid duplicate constants.
38209         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38211         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38213         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38214         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38215         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38216         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38217         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38218         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38219         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38220         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38221         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38222         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38223         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38224         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38225         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38226         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38227         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38228         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38229         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38230         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38231         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38232         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38233         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38234         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38235         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38236         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38237         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38238         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38239         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38240         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38241         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38242         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38243         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38244         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38245         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38246         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38247         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38248         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38249         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38250         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38251         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38252         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38253         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38255 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
38257         * sysdeps/x86_64/dla.h: Move to ...
38258         * sysdeps/x86_64/fpu/dla.h: ...here.
38259         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38260         situations.  Use __builtin_fma only for gcc 4.6 and up.
38262         * config.make.in: Add have-mfma4 entry.
38263         * configure.in: Substitute libc_cv_cc_fma4.
38264         * math/Makefile (dbl-only-routines): Add sincostab.
38265         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38266         Use __sincostab not sincos.
38267         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38268         name is a macro.
38269         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
38273         using __copysign.
38274         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
38275         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
38276         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38277         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38278         and __inv.
38279         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38280         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38281         __copysign.
38282         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
38283         define aliases when function name is a macro.
38284         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38285         sysdeps/ieee754/dbl-64/sincos.tbl.
38286         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38287         fma4-enabled routines.
38288         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38289         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38290         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38291         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38293         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38295         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38296         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38297         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38298         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38299         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38300         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38301         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38302         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38303         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38304         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38305         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38306         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38307         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38308         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38309         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38311         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38312         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38313         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38315         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38316         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38317         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38319         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38320         rename.
38321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38330 2011-10-24  Andreas Schwab  <schwab@redhat.com>
38332         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38334 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38336         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38338         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38339         prediction.
38340         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38342         * string/strnlen.c: Don't define STRNLEN, reverse logic.
38343         Remove unused variable magic_bits.
38344         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38346         * string/strnlen.c: Define and use STRNLEN macro.
38347         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38348         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38349         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38350         * wcsmbs/wcslen.c: Define and use WCSLEN.
38351         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38352         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38353         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38354         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38355         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38356         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38357         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38359 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38362         strnlen-sse2-no-bsf.
38363         Rename strlen-no-bsf to strlen-sse2-no-bsf.
38364         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38365         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38366         Add strnlen support.
38367         (USE_AS_STRNLEN): New macro.
38368         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38369         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38370         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38371         * sysdeps/x86_64/wcslen.S: New file.
38373 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
38375         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38376         XMM-moves are used for copying on small sizes.
38378 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38380         * wcsmbs/Makefile (strop-tests): Add wcschr.
38381         * wcsmbs/test-wcschr.c: New file.
38382         * string/test-strchr.c: Update.
38383         Add wcschr support.
38384         (WIDE): New macro.
38386 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38388         * wcsmbs/Makefile (strop-tests): Add wcslen.
38389         * wcsmbs/test-wcslen.c: New file.
38390         * string/test-strlen.c: Update.
38391         Add wcslen support.
38392         (WIDE): New macro.
38394 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38396         * po/it.po: Update from translation team.
38398 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38400         * sysdeps/x86_64/wcscmp.S: Update.
38401         Fix wrong comparison semantics.
38402         wcscmp shall use signed comparison not unsigned.
38403         Don't use substraction to avoid overflow bug.
38404         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38405         * wcsmbc/wcscmp.c: Likewise.
38406         * string/test-strcmp.c: Likewise.
38407         Add new tests to check cases with negative values.
38409 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38411         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38412         * sysdeps/x86_64/dla.h: ...here.  New file.
38413         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38414         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38418         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38420         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38423 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
38425         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38426         __ynl_finite aliases.
38428 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38432         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38433         define DLA_FMA.
38434         [DLA_FMA] (EMULV): Use DLA_FMA.
38435         [DLA_FMA] (MUL12): Use EMULV.
38436         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38437         that are not needed.
38438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38443         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38446 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
38448         * math/s_nan.c: Undef __nan.
38449         * math/s_nanf.c: Undef __nanf.
38450         * math/s_nanl.c: Undef __nanl.
38451         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38452         "math_private.h".
38454 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38456         * math/s_catan.c: Add branch predictions.
38457         * math/s_catanf.c: Likewise.
38458         * math/s_catanh.c: Likewise.
38459         * math/s_catanhf.c: Likewise.
38460         * math/s_catanhl.c: Likewise.
38461         * math/s_catanl.c: Likewise.
38462         * math/s_cexp.c: Likewise.
38463         * math/s_cexpf.c: Likewise.
38464         * math/s_cexpl.c: Likewise.
38465         * math/s_clog.c: Likewise.
38466         * math/s_clog10.c: Likewise.
38467         * math/s_clog10f.c: Likewise.
38468         * math/s_clog10l.c: Likewise.
38469         * math/s_clogf.c: Likewise.
38470         * math/s_clogl.c: Likewise.
38471         * math/s_csqrt.c: Likewise.
38472         * math/s_csqrtf.c: Likewise.
38473         * math/s_csqrtl.c: Likewise.
38474         * math/s_ctanf.c: Likewise.
38475         * math/s_ctanh.c: Likewise.
38476         * math/s_ctanhf.c: Likewise.
38477         * math/s_ctanhl.c: Likewise.
38478         * math/s_ctanl.c: Likewise.
38480         * math/math_private.h: Define __nan, __nanf, __nanl.
38481         * math/s_cacosh.c: Include <math_private.h>.
38482         * math/s_cacoshl.c: Likewise.
38483         * math/s_casinh.c: Likewise.
38484         * math/s_casinhf.c: Likewise.
38485         * math/s_casinhl.c: Likewise.
38486         * math/s_ccos.c: Rely entire on ccosh.
38487         * math/s_ccosf.c: Rely entire on ccoshf.
38488         * math/s_ccosl.c: Rely entirely on ccoshl.
38489         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
38490         Remove tests for FE_INVALID.
38491         * math/s_ccoshf.c: Likewise.
38492         * math/s_ccoshl.c: Likewise.
38493         * math/s_csin.c: Likewise.
38494         * math/s_csinf.c: Likewise.
38495         * math/s_csinh.c Likewise.
38496         * math/s_csinhf.c: Likewise.
38497         * math/s_csinhl.c: Likewise.
38498         * math/s_csinl.c: Likewise.
38499         * math/s_ctan.c: Likewise.
38500         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38501         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38502         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38504 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
38506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38507         compilation problems.
38509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38510         __builtin_expect.
38512 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
38514         * sysdeps/i386/configure.in: Test for -mfma4 option.
38515         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38516         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38517         COMMON_CPUID_INDEX_80000001.
38518         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38519         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38520         use it if FMA3 is not supported.
38521         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38523         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38524         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38526 2011-10-20  Andreas Schwab  <schwab@redhat.com>
38528         [BZ #12892]
38529         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38530         it would create a cycle with a link time dependency.
38532 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
38534         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38535         instruction.
38536         * string/Makefile (strop-tests): Add rawmemchr.
38537         * string/test-rawmemchr.c: New file.
38539         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38540         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
38541         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
38542         when compiling str{,n}casecmp and when AVX is available.  Hook up
38543         new optimized code in initializers.
38545 2011-10-19  Andreas Schwab  <schwab@redhat.com>
38547         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38548         __feraiseexcept instead of feraiseexcept.
38550 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
38552         * math/math_private.h: Define defaults for libc_fetestexcept and
38553         libc_feupdateenv.
38554         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38555         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38556         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38557         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38558         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38559         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38560         libc_fetestexcept and libc_feupdateenv.
38562         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38563         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38564         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38565         * sysdeps/x86_64/fpu/math_private.h: Define special version of
38566         libc_feholdexcept_setround.
38568         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38569         Add s_nearbyint-c and s_nearbyintf-c.
38570         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38571         nearbyintf inlines.
38572         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38573         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38574         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38575         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38577         * math/math_private.h: Define defaults for libc_fegetround,
38578         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38579         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38580         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38581         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38582         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38583         standard functions.
38584         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38585         Remove comments and hacks for old compiler versions.
38586         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38587         libc_fegetround, libc_fesetround, libc_feholdexcept, and
38588         libc_feholdexceptl.
38590 2011-10-18  Andreas Schwab  <schwab@redhat.com>
38592         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38593         (__feraiseexcept_renamed): Add __NTH.
38594         (feraiseexcept): Add __NTH.  Rename local variables to fix
38595         namespace violations.
38597 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
38599         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38601         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38603         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38604         recently added interfaces.
38605         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38607         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38608         about macro parameter expansion.
38610         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38611         __NO_MATH_INLINES is defined.  Cleanups.
38613         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38614         and __floorf is target has SSE4.1.
38615         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38616         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38617         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38618         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38620         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38621         name.
38622         (floorf): Likewise.
38624         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38626 2011-10-17  Andreas Schwab  <schwab@redhat.com>
38628         * misc/sys/cdefs.h: Fix last change.
38630         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38631         database lookup.
38633 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
38635         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38637         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38638         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38639         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38640         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38641         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38642         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38643         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38644         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38645         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38646         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38647         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38648         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38649         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38650         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38651         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38652         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38653         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38654         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38655         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38656         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38657         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38658         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38660         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38661         ceil, ceilf, floor, floorf.
38663         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38664         Perform IRELATIVE relocations last.
38666         * elf/do-rel.h: Add another parameter nrelative, replacing the
38667         local variable with the same name.  Change name of the function
38668         to end in Rel or Rela (uppercase).
38669         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38670         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
38671         elf_dynamic_do_##reloc function.
38673 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38675         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38676         is sufficient, at least on modern CPUs.
38678         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38680         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38683         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38684         __expl_finite.
38685         * math/bits/math-finite.h: Add entries for exp.
38686         * math/e_expl.c: Add __*_finite alias.
38687         * sysdeps/i386/fpu/e_exp.S: Likewise.
38688         * sysdeps/i386/fpu/e_expf.S: Likewise.
38689         * sysdeps/i386/fpu/e_expl.c: Likewise.
38690         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38691         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38692         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38694         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38695         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38696         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38698         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38699         is sufficient, at least on modern CPUs.
38701         * ctype/ctype-info.c (__ctype_init): Define.
38702         * include/ctype.h (__ctype_init): Declare.
38703         (__ctype_b_loc): The variable is always initialized.
38704         (__ctype_toupper_loc): Likewise.
38705         (__ctype_tolower_loc): Likewise.
38706         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38707         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38709 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
38711         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38713         * configure.in: Also look in $cxxmachine/include for C++ system
38714         headers.
38716 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38718         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38719         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38720         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38721         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
38722         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38723         (USE_AS_WMEMCMP): New macro.
38724         Fixing indents.
38725         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38726         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38727         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38728         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38730         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38731         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38732         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38733         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38734         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38735         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38736         (USE_AS_WMEMCMP): New macro.
38737         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38738         * sysdeps/string/test-memcmp.c: Update.
38739         Fix simple_wmemcmp.
38740         Add new tests.
38741         * wcsmbs/wmemcmp.c: Update.
38742         (WMEMCMP): New macro.
38743         Fix overflow bug.
38745 2011-10-12  Andreas Jaeger  <aj@suse.de>
38747         [BZ #13268]
38748         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38750 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38752         * libio/iofwide.c (do_length): Avoid warning.
38754         * ctype/ctype.h (__isctype_f): Add missing __THROW.
38756 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
38758         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38760         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38761         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38762         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38763         * sysdeps/i386/i686/fpu/e_log.S: New file.
38764         * sysdeps/i386/i686/fpu/e_logf.S: New file.
38765         * sysdeps/i386/i686/fpu/e_logl.S: New file.
38767         * ctype/ctype.h: Add support for inlined isXXX functions when
38768         compiling C++ code.
38770 2011-10-14  Andreas Schwab  <schwab@redhat.com>
38772         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38776 2011-10-13  Roland McGrath  <roland@hack.frob.com>
38778         [BZ #13291]
38779         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38781 2011-10-13  Andreas Schwab  <schwab@redhat.com>
38783         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38784         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38785         feraiseexcept.
38787         * sysdeps/x86_64/memrchr.S: Check for zero size.
38789         * string/stratcliff.c: Add memrchr tests.
38791 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38794         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38795         rawmemchr-sse2 rawmemchr-sse2-bsf.
38796         * sysdeps/i386/i686/multiarch/memchr.S: New file.
38797         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38798         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38799         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38800         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38801         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38802         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38803         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38804         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38805         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38806         * string/memrchr.c (MEMRCHR): New macro.
38808 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
38810         Add integration with gcc's -ffinite-math-only and optimize wrapper
38811         functions in libm.
38812         * Versions.def: Define GLIBC_2.15 version for libm.
38813         * math/Makefile (headers): Add bits/math-finite.h.
38814         * math/bits/math-finite.h: New file.
38815         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38816         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38817         * math/e_acoshl.c: Add __*_finite alias.
38818         * math/e_acosl.c: Likewise.
38819         * math/e_asinl.c: Likewise.
38820         * math/e_atan2l.c: Likewise.
38821         * math/e_atanhl.c: Likewise.
38822         * math/e_coshl.c: Likewise.
38823         * math/e_exp10.c: Likewise.
38824         * math/e_exp10f.c: Likewise.
38825         * math/e_exp10l.c: Likewise.
38826         * math/e_exp2l.c: Likewise.
38827         * math/e_fmodl.c: Likewise.
38828         * math/e_gammal_r.c: Likewise.
38829         * math/e_hypotl.c: Likewise.
38830         * math/e_j0l.c: Likewise.
38831         * math/e_j1l.c: Likewise.
38832         * math/e_jnl.c: Likewise.
38833         * math/e_lgammal_r.c: Likewise.
38834         * math/e_log10l.c: Likewise.
38835         * math/e_log2l.c: Likewise.
38836         * math/e_logl.c: Likewise.
38837         * math/e_powl.c: Likewise.
38838         * math/e_sinhl.c: Likewise.
38839         * math/e_sqrtl.c: Likewise.
38840         * math/e_scalb.c: Completely rewritten and optimized.
38841         * math/e_scalbf.c: Likewise.
38842         * math/e_scalbl.c: Likewise.
38843         * math/w_acos.c: Likewise.
38844         * math/w_acosf.c: Likewise.
38845         * math/w_acosl.c: Likewise.
38846         * math/w_acosh.c: Likewise.
38847         * math/w_acoshf.c: Likewise.
38848         * math/w_acoshl.c: Likewise.
38849         * math/w_asin.c: Likewise.
38850         * math/w_asinf.c: Likewise.
38851         * math/w_asinl.c: Likewise.
38852         * math/w_atan2.c: Likewise.
38853         * math/w_atan2f.c: Likewise.
38854         * math/w_atan2l.c: Likewise.
38855         * math/w_atanh.c: Likewise.
38856         * math/w_atanhf.c: Likewise.
38857         * math/w_atanhl.c: Likewise.
38858         * math/w_exp10.c: Likewise.
38859         * math/w_exp10f.c: Likewise.
38860         * math/w_exp10l.c: Likewise.
38861         * math/w_fmod.c: Likewise.
38862         * math/w_fmodf.c: Likewise.
38863         * math/w_fmodl.c: Likewise.
38864         * math/w_j0.c: Likewise.
38865         * math/w_j0f.c: Likewise.
38866         * math/w_j0l.c: Likewise.
38867         * math/w_j1.c: Likewise.
38868         * math/w_j1f.c: Likewise.
38869         * math/w_j1l.c: Likewise.
38870         * math/w_jn.c: Likewise.
38871         * math/w_jnf.c: Likewise.
38872         * math/w_log.c: Likewise.
38873         * math/w_logf.c: Likewise.
38874         * math/w_logl.c: Likewise.
38875         * math/w_log10.c: Likewise.
38876         * math/w_log10f.c: Likewise.
38877         * math/w_log10l.c: Likewise.
38878         * math/w_log2.c: Likewise.
38879         * math/w_log2f.c: Likewise.
38880         * math/w_log2l.c: Likewise.
38881         * math/w_pow.c: Likewise.
38882         * math/w_powf.c: Likewise.
38883         * math/w_powl.c: Likewise.
38884         * math/w_remainder.c: Likewise.
38885         * math/w_remainderf.c: Likewise.
38886         * math/w_remainderl.c: Likewise.
38887         * math/w_scalb.c: Likewise.
38888         * math/w_scalbf.c: Likewise.
38889         * math/w_scalbl.c: Likewise.
38890         * math/w_sqrt.c: Likewise.
38891         * math/w_sqrtf.c: Likewise.
38892         * math/w_sqrtl.c: Likewise.
38893         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38894         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
38895         used.
38896         * math/math_private.h: Declare __kernel_standard_f.
38897         * math/w_cosh.c: Remove cruft and optimize a bit.
38898         * math/w_coshf.c: Likewise.
38899         * math/w_coshl.c: Likewise.
38900         * math/w_exp2.c: Likewise.
38901         * math/w_exp2f.c: Likewise.
38902         * math/w_exp2l.c: Likewise.
38903         * math/w_hypot.c: Likewise.
38904         * math/w_hypotf.c: Likewise.
38905         * math/w_hypotl.c: Likewise.
38906         * math/w_lgamma.c: Likewise.
38907         * math/w_lgamma_r.c: Likewise.
38908         * math/w_lgammaf.c: Likewise.
38909         * math/w_lgammaf_r.c: Likewise.
38910         * math/w_lgammal.c: Likewise.
38911         * math/w_lgammal_r.c: Likewise.
38912         * math/w_sinh.c: Likewise.
38913         * math/w_sinhf.c: Likewise.
38914         * math/w_sinhl.c: Likewise.
38915         * math/w_tgamma.c: Likewise.
38916         * math/w_tgammaf.c: Likewise.
38917         * math/w_tgammal.c: Likewise.
38918         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38919         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38920         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38921         Minor optimizations.  Pretty printing.  Remove cruft.
38922         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38923         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38924         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38925         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38926         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38927         * sysdeps/i386/fpu/e_asin.S: Likewise.
38928         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38929         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38930         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38931         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38932         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38933         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38934         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38935         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38936         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38937         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38938         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38939         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38940         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38941         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38942         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38943         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38944         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38945         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38946         * sysdeps/i386/fpu/e_log.S: Likewise.
38947         * sysdeps/i386/fpu/e_log10.S: Likewise.
38948         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38949         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38950         * sysdeps/i386/fpu/e_log2.S: Likewise.
38951         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38952         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38953         * sysdeps/i386/fpu/e_logf.S: Likewise.
38954         * sysdeps/i386/fpu/e_logl.S: Likewise.
38955         * sysdeps/i386/fpu/e_pow.S: Likewise.
38956         * sysdeps/i386/fpu/e_powf.S: Likewise.
38957         * sysdeps/i386/fpu/e_powl.S: Likewise.
38958         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38959         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38960         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38961         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38962         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38963         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38964         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38965         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38966         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38967         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38968         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38970         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38971         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38972         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38973         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38974         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38975         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38976         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38977         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38978         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38980         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38981         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38983         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38984         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38986         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38987         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38988         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38989         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38990         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38991         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38992         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38993         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38994         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38995         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38996         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38997         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38998         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38999         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39001         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39002         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39003         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39004         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39005         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39006         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39007         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39008         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39009         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39016         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39017         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39018         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39019         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39020         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39032         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39035         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39037         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39038         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39039         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39040         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39045         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39050         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39054         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39055         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39056         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39058         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39059         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39060         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39061         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39062         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39063         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39064         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39065         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39066         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39067         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39068         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39069         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39070         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39071         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39072         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39073         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39074         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39075         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39076         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39077         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39078         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39079         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39080         (__isnanf): Likewise.
39081         (__isinf_ns): Likewise.
39082         (__isinf_nsf): Likewise.
39083         (__finite): Likewise.
39084         (__finitef): Likewise.
39085         (__ieee754_sqrt): Define as macro.
39086         (__ieee754_sqrtf): Define as macro.
39087         (__ieee754_sqrtl): Define as macro.
39088         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39089         inlined copy.
39090         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39091         __FINITE_MATH_ONLY__ consistent.
39092         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39094 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39096         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39097         of rawmemchr.
39099         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39101 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39103         * po/ja.po: Update from translation team.
39105 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39107         * locale/programs/locarchive.c (prepare_address_space): New function.
39108         (create_archive, enlarge_archive, open_archive): Use it.
39110         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39111         inside [SHARED], where it is used.
39113         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39115         * nss/getent.c (netgroup_keys): Remove unused variable.
39116         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39118 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39120         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39121         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39123         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39124         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39125         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39126         * math/Makefile (libm-calls): Add s_isinf_ns.
39127         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39128         * math/multc3.c: Likewise.
39129         * math/s_casin.c: Likewise.
39130         * math/s_casinf.c: Likewise.
39131         * math/s_casinl.c: Likewise.
39132         * math/s_ccos.c: Likewise.
39133         * math/s_ccosf.c: Likewise.
39134         * math/s_ccosl.c: Likewise.
39135         * math/s_ctan.c: Likewise.
39136         * math/s_ctanf.c: Likewise.
39137         * math/s_ctanh.c: Likewise.
39138         * math/s_ctanhf.c: Likewise.
39139         * math/s_ctanhl.c: Likewise.
39140         * math/s_ctanl.c: Likewise.
39141         * math/w_fmod.c: Likewise.
39142         * math/w_fmodf.c: Likewise.
39143         * math/w_fmodl.c: Likewise.
39144         * math/w_remainder.c: Likewise.
39145         * math/w_remainderf.c: Likewise.
39146         * math/w_remainderl.c: Likewise.
39147         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39148         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39149         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39150         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39151         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39152         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39153         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39154         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39156         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39157         of the number.
39158         * stdio-common/printf_fphex.c: Likewise.
39159         * stdio-common/printf_size.c: Likewise.
39161         * math/e_exp10.c: Include math_private.h using <...> not "...".
39162         * math/e_exp10f.c: Likewise.
39163         * math/e_exp10l.c: Likewise.
39164         * math/e_exp2l.c: Likewise.
39165         * math/e_j0l.c: Likewise.
39166         * math/e_j1l.c: Likewise.
39167         * math/e_jnl.c: Likewise.
39168         * math/e_lgammal_r.c: Likewise.
39169         * math/e_rem_pio2l.c: Likewise.
39170         * math/e_scalb.c: Likewise.
39171         * math/e_scalbf.c: Likewise.
39172         * math/e_scalbl.c: Likewise.
39173         * math/k_cosl.c: Likewise.
39174         * math/k_sinl.c: Likewise.
39175         * math/k_tanl.c: Likewise.
39176         * math/s_cacoshf.c: Likewise.
39177         * math/s_catan.c: Likewise.
39178         * math/s_catanf.c: Likewise.
39179         * math/s_catanh.c: Likewise.
39180         * math/s_catanhf.c: Likewise.
39181         * math/s_catanhl.c: Likewise.
39182         * math/s_catanl.c: Likewise.
39183         * math/s_ccosh.c: Likewise.
39184         * math/s_ccoshf.c: Likewise.
39185         * math/s_ccoshl.c: Likewise.
39186         * math/s_cexp.c: Likewise.
39187         * math/s_cexpf.c: Likewise.
39188         * math/s_cexpl.c: Likewise.
39189         * math/s_clog.c: Likewise.
39190         * math/s_clog10.c: Likewise.
39191         * math/s_clog10f.c: Likewise.
39192         * math/s_clog10l.c: Likewise.
39193         * math/s_clogf.c: Likewise.
39194         * math/s_clogl.c: Likewise.
39195         * math/s_csin.c: Likewise.
39196         * math/s_csinf.c: Likewise.
39197         * math/s_csinh.c: Likewise.
39198         * math/s_csinhf.c: Likewise.
39199         * math/s_csinhl.c: Likewise.
39200         * math/s_csinl.c: Likewise.
39201         * math/s_csqrt.c: Likewise.
39202         * math/s_csqrtf.c: Likewise.
39203         * math/s_csqrtl.c: Likewise.
39204         * math/s_ctan.c: Likewise.
39205         * math/s_ctanf.c: Likewise.
39206         * math/s_ctanh.c: Likewise.
39207         * math/s_ctanhf.c: Likewise.
39208         * math/s_ctanhl.c: Likewise.
39209         * math/s_ctanl.c: Likewise.
39210         * math/s_ldexp.c: Likewise.
39211         * math/s_ldexpf.c: Likewise.
39212         * math/s_ldexpl.c: Likewise.
39213         * math/s_significand.c: Likewise.
39214         * math/s_significandf.c: Likewise.
39215         * math/s_significandl.c: Likewise.
39216         * math/w_acos.c: Likewise.
39217         * math/w_acosf.c: Likewise.
39218         * math/w_acosh.c: Likewise.
39219         * math/w_acoshf.c: Likewise.
39220         * math/w_acoshl.c: Likewise.
39221         * math/w_acosl.c: Likewise.
39222         * math/w_asin.c: Likewise.
39223         * math/w_asinf.c: Likewise.
39224         * math/w_asinl.c: Likewise.
39225         * math/w_atan2.c: Likewise.
39226         * math/w_atan2f.c: Likewise.
39227         * math/w_atan2l.c: Likewise.
39228         * math/w_atanh.c: Likewise.
39229         * math/w_atanhf.c: Likewise.
39230         * math/w_atanhl.c: Likewise.
39231         * math/w_cosh.c: Likewise.
39232         * math/w_coshf.c: Likewise.
39233         * math/w_coshl.c: Likewise.
39234         * math/w_dremf.c: Likewise.
39235         * math/w_exp10.c: Likewise.
39236         * math/w_exp10f.c: Likewise.
39237         * math/w_exp10l.c: Likewise.
39238         * math/w_exp2.c: Likewise.
39239         * math/w_exp2f.c: Likewise.
39240         * math/w_fmod.c: Likewise.
39241         * math/w_fmodf.c: Likewise.
39242         * math/w_fmodl.c: Likewise.
39243         * math/w_hypot.c: Likewise.
39244         * math/w_hypotf.c: Likewise.
39245         * math/w_hypotl.c: Likewise.
39246         * math/w_j0.c: Likewise.
39247         * math/w_j0f.c: Likewise.
39248         * math/w_j0l.c: Likewise.
39249         * math/w_j1.c: Likewise.
39250         * math/w_j1f.c: Likewise.
39251         * math/w_j1l.c: Likewise.
39252         * math/w_jn.c: Likewise.
39253         * math/w_jnf.c: Likewise.
39254         * math/w_jnl.c: Likewise.
39255         * math/w_lgamma.c: Likewise.
39256         * math/w_lgamma_r.c: Likewise.
39257         * math/w_lgammaf.c: Likewise.
39258         * math/w_lgammaf_r.c: Likewise.
39259         * math/w_lgammal.c: Likewise.
39260         * math/w_lgammal_r.c: Likewise.
39261         * math/w_log.c: Likewise.
39262         * math/w_log10.c: Likewise.
39263         * math/w_log10f.c: Likewise.
39264         * math/w_log10l.c: Likewise.
39265         * math/w_log2.c: Likewise.
39266         * math/w_log2f.c: Likewise.
39267         * math/w_log2l.c: Likewise.
39268         * math/w_logf.c: Likewise.
39269         * math/w_logl.c: Likewise.
39270         * math/w_pow.c: Likewise.
39271         * math/w_powf.c: Likewise.
39272         * math/w_powl.c: Likewise.
39273         * math/w_remainder.c: Likewise.
39274         * math/w_remainderf.c: Likewise.
39275         * math/w_remainderl.c: Likewise.
39276         * math/w_scalb.c: Likewise.
39277         * math/w_scalbf.c: Likewise.
39278         * math/w_scalbl.c: Likewise.
39279         * math/w_sinh.c: Likewise.
39280         * math/w_sinhf.c: Likewise.
39281         * math/w_sinhl.c: Likewise.
39282         * math/w_sqrt.c: Likewise.
39283         * math/w_sqrtf.c: Likewise.
39284         * math/w_sqrtl.c: Likewise.
39285         * math/w_tgamma.c: Likewise.
39286         * math/w_tgammaf.c: Likewise.
39287         * math/w_tgammal.c: Likewise.
39289         * po/ja.po: Update from translation team.
39291 2011-09-29  Andreas Jaeger  <aj@suse.de>
39293         [BZ #13179]
39294         * sunrpc/netname.c (netname2host): Fix logic.
39296         [BZ #6779]
39297         [BZ #6783]
39298         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39299         correctly.
39300         * math/w_remainder.c (__remainder): Likewise.
39301         * math/w_remainderf.c (__remainderf): Likewise.
39302         * math/libm-test.inc (remainder_test): Add test cases.
39304 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39306         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
39307         sdiv_qrnnd.
39309 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39311         * string/test-memcmp.c: Avoid unncessary #defines.
39312         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39314 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39316         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39317         Use new sse2 version for core i3 - i7 as it's faster
39318         than sse42 version.
39319         (bit_Prefer_PMINUB_for_stringop): New.
39320         * sysdeps/x86_64/rawmemchr.S: Update.
39321         Replace with faster SSE2 version.
39322         * sysdeps/x86_64/memrchr.S: New file.
39323         * sysdeps/x86_64/memchr.S: Update.
39324         Replace with faster SSE2 version.
39326 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
39328         * elf/dl-load.c (lose): Add cast to avoid warning.
39330 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39332         * po/ca.po: Update from translation team.
39334         * inet/getnetgrent_r.c: Hook up nscd.
39335         * nscd/Makefile (routines): Add nscd_netgroup.
39336         (nscd-modules): Add netgroupcache.
39337         (CFLAGS-netgroupcache.c): Define.
39338         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39339         (cache_search): Add const to second parameter.
39340         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39341         INNETGR.
39342         (dbs): Add netgrdb entry.
39343         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39344         (verify_persistent_db): Handle netgrdb.
39345         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39346         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39347         GETFDNETGR.
39348         (netgroup_response_header): Define.
39349         (innetgroup_response_header): Define.
39350         (datahead): Add netgroup_response_header and innetgroup_response_header
39351         elements.
39352         * nscd/nscd.conf: Add entries for netgroup cache.
39353         * nscd/nscd.h (dbtype): Add netgrdb.
39354         (_PATH_NSCD_NETGROUP_DB): Define.
39355         (netgroup_iov_disabled): Declare.
39356         (xmalloc, xcalloc, xrealloc): Move declarations here.
39357         (cache_search): Adjust prototype.
39358         Add netgroup-related prototypes.
39359         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39360         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39361         (__nscd_innetgr): Declare.
39362         * nscd/selinux.c (perms): Use access_vector_t as element type and
39363         add netgroup-related initializers.
39364         * nscd/netgroupcache.c: New file.
39365         * nscd/nscd_netgroup.c: New file.
39366         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39367         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39368         For four parameters use innetgr.
39369         * nss/nss_files/files-init.c: Add definition and callback for netgr.
39370         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39371         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39372         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39374         * nscd/connections.c (register_traced_file): Don't register file
39375         for disabled databases.
39377 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
39379         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39381         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39382         from tree and freeing node.
39384 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
39386         * nss/nsswitch.c (__nss_database_lookup): Handle
39387         nss_parse_service_list out of memory case.
39389 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
39391         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39392         out of memory case.
39394 2011-10-04  Andreas Schwab  <schwab@redhat.com>
39396         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39397         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39398         pass it down.
39399         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39400         elf_machine_rela, elf_machine_lazy_rel.
39401         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39402         (ELF_DYNAMIC_DO_REL): Likewise.
39403         (ELF_DYNAMIC_DO_RELA): Likewise.
39404         (ELF_DYNAMIC_RELOCATE): Likewise.
39405         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39406         to ELF_DYNAMIC_DO_REL.
39407         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39408         (dl_main): In trace mode always set __RTLD_NOIFUNC.
39409         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39410         elf_machine_rela.
39411         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39412         skip_ifunc, don't call ifunc function if non-zero.
39413         (elf_machine_rela): Likewise.
39414         (elf_machine_lazy_rel): Likewise.
39415         (elf_machine_lazy_rela): Likewise.
39416         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39417         (elf_machine_lazy_rel): Likewise.
39418         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39419         Likewise.
39420         (elf_machine_lazy_rel): Likewise.
39421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39422         Likewise.
39423         (elf_machine_lazy_rel): Likewise.
39424         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39425         (elf_machine_lazy_rel): Likewise.
39426         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39427         (elf_machine_lazy_rel): Likewise.
39428         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39429         (elf_machine_lazy_rel): Likewise.
39430         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39431         (elf_machine_lazy_rel): Likewise.
39432         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39433         (elf_machine_lazy_rel): Likewise.
39434         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39435         (elf_machine_lazy_rel): Likewise.
39437 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
39439         * nss/nss_files/files-init.c (_nss_files_init): Use static
39440         initialization for all the *_traced_file variables.
39442 2011-09-28  Andreas Schwab  <schwab@redhat.com>
39444         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39446 2011-09-27  Roland McGrath  <roland@hack.frob.com>
39448         [BZ #13226]
39449         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39451 2011-09-27  Andreas Schwab  <schwab@redhat.com>
39453         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39454         Reread the line before reparsing it.
39456 2011-09-26  Andreas Schwab  <schwab@redhat.com>
39458         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39460 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
39461             Maxim Kuvyrkov  <maxim@codesourcery.com>
39462             Joseph Myers  <joseph@codesourcery.com>
39464         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39465         if needed for __stack_chk_guard.
39467 2011-09-19  Roland McGrath  <roland@hack.frob.com>
39469         * sysdeps/posix/spawni.c (script_execute): Always define it.
39470         It will be optimized away if unused.
39471         (maybe_script_execute): New function.
39472         (__spawni): Call it.
39474         * Makerules: Don't include tls.make.
39475         (config-tls): Always set to thread.
39476         * tls.make.c: File removed.
39478 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
39480         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39481         * config.make.in (CPPFLAGS-config): New substituted variable.
39483 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39487         [BZ #13192]
39488         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39489         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39491 2011-09-15  Roland McGrath  <roland@hack.frob.com>
39493         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39494         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39495         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39496         (CALL_FAIL): Likewise.
39497         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39498         (CALL_FAIL): Macro removed.
39499         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39501 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39503         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39504         for __FINITE_MATH_ONLY__ == 1.
39506 2011-09-15  Andreas Schwab  <schwab@redhat.com>
39508         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39509         __ieee754_sqrt instead of sqrt.
39510         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39511         __ieee754_sqrtf instead of sqrtf.
39512         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39513         __floorf instead of floorf.
39514         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39515         __floorf, __truncf instead of floorf, truncf.
39517 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
39519         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39521         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39522         __extern_always_inline.
39523         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39524         32-bit.
39526 2011-09-14  Andreas Schwab  <schwab@redhat.com>
39528         * elf/rtld.c (dl_main): Also relocate in dependency order when
39529         doing symbol dependency testing.
39531 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
39533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39534         Always define `refsym'.
39536 2011-09-13  Andreas Schwab  <schwab@redhat.com>
39538         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39539         (__FD_ELT): Renamed from __FDELT.
39540         * misc/bits/select2.h (__FD_ELT): Likewise.
39541         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39542         __FD_MASK instead of __FDELT, __FDMASK.
39543         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39544         Likewise.
39545         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39546         Likewise.
39548         * elf/Makefile (gen-ldd): Fix pattern.
39550         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39551         (init_tls): Likewise.
39553 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
39555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39557 2011-09-12  Andreas Schwab  <schwab@redhat.com>
39559         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39560         `struct cmsghdr *' instead of `void *'.
39561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39562         Likewise.
39564 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
39566         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39567         if non-absolute.
39568         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39569         ldd_rewrite_script.
39571 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
39573         * configure.in: Remove --with-tls option.
39574         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39575         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39576         out in case it is missing.
39577         * sysdeps/ia64/elf/configure.in: Likewise.
39578         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39579         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39580         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39581         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39582         * sysdeps/sh/elf/configure.in: Likewise.
39583         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39584         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39585         * sysdeps/x86_64/elf/configure.in: Likewise.
39586         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39587         * sysdeps/mach/hurd/tls.h: Likewise.
39589         [BZ #13067]
39590         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39592         [BZ #13090]
39593         * configure.in: Fix use of AC_INIT.
39595         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39597 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
39599         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39600         __set_errno.
39601         * malloc/hooks.c: Likewise.
39603         [BZ #11929]
39604         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
39605         variables statically.
39606         (narenas): Initialize.
39607         (list_lock): Initialize.
39608         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
39609         initializtion of main_arena and list_lock.  Small cleanups.
39610         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39611         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
39612         Add initializers to main_arena and mp_.
39613         (malloc_state): Remove pagesize member.  Change all users to use
39614         GLRO(dl_pagesize).
39616         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39617         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
39618         is always initialized.
39620         * malloc/malloc.c: Removed unused configurations and dead code.
39621         * malloc/arena.c: Likewise.
39622         * malloc/hooks.c: Likewise.
39623         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39625         * include/tls.h: Removed.  USE___THREAD must always be defined.
39626         * bits/libc-tsd.h: Don't handle !USE___THREAD.
39627         * elf/dl-libc.c: Likewise.
39628         * elf/dl-tsd.c: Likewise.
39629         * include/errno.h: Likewise.
39630         * include/netdb.h: Likewise.
39631         * include/resolv.h: Likewise.
39632         * inet/herrno-loc.c: Likewise.
39633         * inet/herrno.c: Likewise.
39634         * malloc/arena.c: Likewise.
39635         * malloc/hooks.c: Likewise.
39636         * malloc/malloc.c: Likewise.
39637         * resolv/res-state.c: Likewise.
39638         * resolv/res_libc.c: Likewise.
39639         * sysdeps/i386/dl-machine.h: Likewise.
39640         * sysdeps/ia64/dl-machine.h: Likewise.
39641         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39642         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39643         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39644         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39645         * sysdeps/sh/dl-machine.h: Likewise.
39646         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39647         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39648         * sysdeps/unix/i386/sysdep.S: Likewise.
39649         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39650         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39654         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39655         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39659         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39660         * sysdeps/x86_64/dl-machine.h: Likewise.
39661         * tls.make.c: Likewise.
39663         * configure.in: Remove --with-__thread option.  Make tests for
39664         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39665         tls_model attribute fail if no support is available.  Remove
39666         USE_IN_LIBIO.
39667         * Makeconfig: Adjust for dropped configure option.  All features are
39668         now mandatory.
39669         * Makerules: Likewise.
39670         * Versions.def: Likewise.
39671         * argp/argp-fmtstream.c: Likewise.
39672         * argp/argp-fmtstream.h: Likewise.
39673         * argp/argp-help.c: Likewise.
39674         * assert/assert.c: Likewise.
39675         * config.h.in: Likewise.
39676         * config.make.in: Likewise.
39677         * configure: Likewise.
39678         * configure.in: Likewise.
39679         * csu/Versions: Likewise.
39680         * csu/init.c: Likewise.
39681         * elf/tst-audit2.c: Likewise.
39682         * elf/tst-tls10.c: Likewise.
39683         * elf/tst-tls10.h: Likewise.
39684         * elf/tst-tls11.c: Likewise.
39685         * elf/tst-tls12.c: Likewise.
39686         * elf/tst-tls14.c: Likewise.
39687         * elf/tst-tlsmod11.c: Likewise.
39688         * elf/tst-tlsmod12.c: Likewise.
39689         * elf/tst-tlsmod13.c: Likewise.
39690         * elf/tst-tlsmod13a.c: Likewise.
39691         * elf/tst-tlsmod14a.c: Likewise.
39692         * elf/tst-tlsmod15b.c: Likewise.
39693         * elf/tst-tlsmod16a.c: Likewise.
39694         * elf/tst-tlsmod16b.c: Likewise.
39695         * elf/tst-tlsmod7.c: Likewise.
39696         * elf/tst-tlsmod8.c: Likewise.
39697         * elf/tst-tlsmod9.c: Likewise.
39698         * gmon/gmon.c: Likewise.
39699         * grp/fgetgrent_r.c: Likewise.
39700         * grp/putgrent.c: Likewise.
39701         * hurd/fopenport.c: Likewise.
39702         * include/libc-symbols.h: Likewise.
39703         * include/tls.h: Likewise.
39704         * intl/gettextP.h: Likewise.
39705         * intl/loadinfo.h: Likewise.
39706         * locale/global-locale.c: Likewise.
39707         * locale/localeinfo.h: Likewise.
39708         * mach/devstream.c: Likewise.
39709         * malloc/arena.c: Likewise.
39710         * malloc/set-freeres.c: Likewise.
39711         * misc/err.c: Likewise.
39712         * misc/getttyent.c: Likewise.
39713         * misc/mntent_r.c: Likewise.
39714         * posix/getopt.c: Likewise.
39715         * posix/wordexp.c: Likewise.
39716         * pwd/fgetpwent_r.c: Likewise.
39717         * resolv/Versions: Likewise.
39718         * resolv/res_hconf.c: Likewise.
39719         * shadow/fgetspent_r.c: Likewise.
39720         * shadow/putspent.c: Likewise.
39721         * stdio-common/printf_fphex.c: Likewise.
39722         * stdio-common/tmpfile.c: Likewise.
39723         * stdlib/abort.c: Likewise.
39724         * stdlib/fmtmsg.c: Likewise.
39725         * sunrpc/auth_unix.c: Likewise.
39726         * sunrpc/clnt_perr.c: Likewise.
39727         * sunrpc/clnt_tcp.c: Likewise.
39728         * sunrpc/clnt_udp.c: Likewise.
39729         * sunrpc/clnt_unix.c: Likewise.
39730         * sunrpc/openchild.c: Likewise.
39731         * sunrpc/svc_simple.c: Likewise.
39732         * sunrpc/svc_tcp.c: Likewise.
39733         * sunrpc/svc_udp.c: Likewise.
39734         * sunrpc/svc_unix.c: Likewise.
39735         * sunrpc/xdr.c: Likewise.
39736         * sunrpc/xdr_array.c: Likewise.
39737         * sunrpc/xdr_rec.c: Likewise.
39738         * sunrpc/xdr_ref.c: Likewise.
39739         * sunrpc/xdr_stdio.c: Likewise.
39741 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39743         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39745 2011-07-03  Andreas Jaeger  <aj@suse.de>
39747         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39748         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39749         regenerate with gen-libm-tests.pl.
39751 2010-05-12  Petr Baudis  <pasky@suse.cz>
39753         [BZ #11589]
39754         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39755         around j0() zero points by switching to j1().
39756         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39757         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39758         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39759         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39761 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39763         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39764         instead of 0.
39765         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39766         instead of 0.
39767         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39768         Patch in part by Pavel Roskin <proski@gnu.org>.
39770         [BZ #13138]
39771         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39772         realloc.
39773         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
39774         Free memory block if necessary.
39776         [BZ #12847]
39777         * libio/genops.c (INTDEF): For string streams the _lock pointer can
39778         be NULL.  Don't lock in this case.
39780 2011-09-09  Roland McGrath  <roland@hack.frob.com>
39782         * elf/elf.h (ELFOSABI_GNU): New macro.
39783         (ELFOSABI_LINUX): Define to that.
39785 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
39787         * string/strncat.c (strncat): Undef the symbol in case it has been
39788         defined in bits/string.h.
39790 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39792         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39794         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39795         link map.
39797 2011-08-17  Andreas Jaeger  <aj@suse.de>
39799         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39801 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39802             Ian Lance Taylor  <iant@google.com>
39804         * math/libm-test.inc (lround_test): New testcase.
39805         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39807 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
39809         * Makefile: Remove support for automatic cvs check-ins.
39810         * Makerules: Likewise.
39811         * config.make.in: Likewise.
39812         * configure.in: Likewise.
39813         * intl/Makefile: Likewise.
39814         * locale/Makefile: Likewise.
39815         * po/Makefile: Likewise.
39816         * posix/Makefile: Likewise.
39817         * sysdeps/gnu/Makefile: Likewise.
39818         * sysdeps/mach/hurd/Makefile: Likewise.
39819         * sysdeps/sparc/sparc32/Makefile: Likewise.
39821         [BZ #13118]
39822         * posix/Makefile (bug-regex32-ENV): Define.
39823         Patch by John Stanley <jpsinthemix@verizon.net>.
39825         * misc/Makefile (headers): Add bits/select2.h.
39826         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39827         * misc/bits/select2.h: New file.
39828         * include/bits/select2.h: New file.
39829         * debug/Makefile (routines): Add fdelt_chk.
39830         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39831         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39832         FD_ISSET.
39833         * debug/fdelt_chk.c: New file.
39835         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
39836         * wcsmbs/test-wmemcmp.c: Likewise.
39837         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39838         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39840 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39842         * string/Makefile (strop-tests): Add memcmp.
39843         * string/test-wmemcmp.c: New file.
39844         * string/test-memcmp.c: Add wmemcmp support.
39846 2011-09-08  Roland McGrath  <roland@hack.frob.com>
39848         [BZ #13153]
39849         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39850         2011-07-19 change.
39852         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39853         garbage value in a __mach_port_mod_refs call in the cases of the
39854         task-self and thread-self ports.
39856 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39858         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39860 2011-09-08  Andreas Schwab  <schwab@redhat.com>
39862         * elf/dl-load.c (lose): Check for non-null L.
39864 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39866         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39868         * elf/dl-libc.c (dlerror_run): Pass back error code from
39869         dl_catch_error.
39871         [BZ #13123]
39872         * elf/dl-load.c (lose): Free l_origin if it is valid.
39874         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39875         names.
39876         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39877         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39878         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39879         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39880         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39881         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39883 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39885         * sysdeps/powerpc/fpu/e_hypot.c: New file.
39886         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39887         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39888         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39889         * sysdeps/powerpc/fpu/k_cosf.c: New file.
39890         * sysdeps/powerpc/fpu/k_sinf.c: New file.
39891         * sysdeps/powerpc/fpu/s_cosf.c: New file.
39892         * sysdeps/powerpc/fpu/s_sinf.c: New file.
39893         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39894         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39896 2011-08-15  Alan Modra  <amodra@gmail.com>
39898         [BZ #13092]
39899         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39900         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39901         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39902         ppc_mcount to static-only-routines.
39903         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39904         __mcount_internal.
39905         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39906         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39908 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39910         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39911         for finite and infinity parameters.
39913 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39916         and add nop instructions for throughput optimization.
39917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39919 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39921         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39922         aligned copy for power7 with vector-scalar instructions.
39923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39925 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39928         AVX check.
39930 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39932         [BZ #13144]
39933         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39934         last change.
39936 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39938         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39939         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39940         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39941         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39942         clock_gettime.
39944 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39946         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39947         Forgot to demangle the pointer.
39949         * sysdeps/i386/sysdep.h: Define atom_text_section.
39950         * sysdeps/x86_64/sysdep.h: Likewise.
39951         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39952         section with atom_text_section.
39953         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39954         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39955         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39956         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39957         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39959         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39960         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39961         already be defined.  Change to take two parameters and don't assign
39962         result to variable.  Adjust all users.
39963         Define INTERNAL_GETTIME if not already defined.
39964         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39965         call.
39966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39967         HAVE_CLOCK_GETTIME_VSYSCALL.
39968         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39971         gettimeofday vsyscall, just use time.
39973 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39976         <errno.h>.
39978 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39980         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39981         syscall on x86-64.
39982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39983         syscall.
39984         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39985         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39986         syscall if possible.
39988 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39990         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39991         e_ident.  Don't pass to find_mapsXX.
39992         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39994 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39997         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39998         * sysdeps/x86_64/multiarch/strchr.S: Update.
39999         Check bit_slow_BSF bit.
40000         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40001         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40002         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40004 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40006         [BZ #13134]
40007         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40008         before glibc 2.15.
40009         (tryshell): Define.
40010         (__spawni): Change last parameter to be flag.  Test
40011         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40012         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40013         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40014         * posix/spawni.c: Likewise.
40015         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40016         * posix/spawnp.c: Likewise.  Change normal version to use
40017         SPAWN_XFLAGS_USE_PATH.
40018         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40019         SPAWN_XFLAGS_TRY_SHELL.
40021         [BZ #13150]
40022         * posix/glob.h: Remove gcc 1.x support.
40024         [BZ #13068]
40025         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40027 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40030         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40031         strrchr-sse2-bsf
40032         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40033         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40034         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40036         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40037         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40039 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40041         * sysdeps/x86_64/wcscmp.S: New file.
40043         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40044         wcscmp-c wcscmp-sse2
40045         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40046         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40047         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40048         * wcsmbs/wcscmp.c: Allow renaming.
40050 2011-09-05  David S. Miller  <davem@davemloft.net>
40052         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40053         stack slot, rather than the struct return pointer slot.
40054         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40055         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40057         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40059 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40061         * po/ja.po: Update from translation team.
40063         [BZ #13144]
40064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40065         kernel in 64-bit binaries.
40067 2011-09-01  David S. Miller  <davem@davemloft.net>
40069         * elf/elf.h (HWCAP_SPARC_*): Move to..
40070         * sysdeps/sparc/sysdep.h: this new file and add new values.
40071         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40072         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40073         _DL_HWCAP_COUNT to 24.
40074         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40075         entries.
40076         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40077         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40078         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40080         instead of magic constants.
40081         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40083 2011-08-31  David S. Miller  <davem@davemloft.net>
40085         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40087         Reimplement to do errno handling inline.
40088         (SYSCALL_ERROR_HANDLER): New macro.
40089         (__SYSCALL_STRING): Do not do errno handling in asm.
40090         (__CLONE_SYSCALL_STRING): Delete.
40091         (__INTERNAL_SYSCALL_STRING): Delete.
40092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40093         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40094         (PSEUDO): Reimplement to do errno handling inline.
40095         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40096         (SYSCALL_ERROR_HANDLER): New macro.
40097         (__SYSCALL_STRING): Do not do errno handling in asm.
40098         (__CLONE_SYSCALL_STRING): Delete.
40099         (__INTERNAL_SYSCALL_STRING): Delete.
40100         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40101         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40102         i386.
40103         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40104         (inline_syscall*): Add 'err' argument.
40105         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40106         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40107         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40108         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40110         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40111         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40113 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40115         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40117 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40119         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40120         directive.
40122 2011-08-24  David S. Miller  <davem@davemloft.net>
40124         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40126 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40128         * elf/Makefile: Add rules to build and run unload8 test.
40129         * elf/unload8.c: New file.
40130         * elf/unload8mod1.c: New file.
40131         * elf/unload8mod1x.c: New file.
40132         * elf/unload8mod2.c: New file.
40133         * elf/unload8mod3.c: New file.
40135         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40136         it wasn't used.
40138 2011-08-23  David S. Miller  <davem@davemloft.net>
40140         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40141         subtract stack bias.
40142         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40143         %sp not %fp in calculations.
40144         (_JMPBUF_UNWINDS_ADJ): Likewise.
40146         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40147         (aio_suspend): Call it to force an exception region around the
40148         AIO_MISC_WAIT() invocation.
40150 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40152         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40153         backslash.
40155 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40157         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40158         protection macro.
40159         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40160         and <dl-machine.h>.
40161         (Elf64_FuncDesc): Remove.
40163 2011-08-22  David S. Miller  <davem@davemloft.net>
40165         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40166         sigaltstack check, add missing cfi directives.
40167         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40168         missing cfi directives, and sigaltstack handling.
40170 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40172         [BZ #11724]
40173         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40174         object is seen twice.
40175         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40177         * elf/Makefile (distribute): Add tst-initorder2.c.
40178         (tests): Add tst-initorder2.
40179         (modules-names): Add tst-initorder2a tst-initorder2b
40180         tst-initorder2c tst-initorder2d.  Add rules to build them.
40181         ($(objpfx)tst-initorder2.out): New rule.
40182         * elf/tst-initorder2.c: New file.
40183         * elf/tst-initorder2.exp: New file.
40185 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40187         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40189         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40190         dependencies back to end of function.
40192         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40193         $(elfobjdir)/ld.so.
40195 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40197         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40198         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40199         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40200         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40201         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40202         of __vdso_gettimeofday.
40203         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40204         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40205         attribute_hidden.
40206         (_libc_vdso_platform_setup): Remove initialization of
40207         __vdso_gettimeofday and __vdso_time.
40209 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40211         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40212         and fgetc_unlocked.
40213         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40214         getc_unlocked.
40216         * elf/dl-open.c (add_to_global): Report additions to the global scope
40217         for LD_DEBUG=scopes.
40218         (dl_open_worker): Also print scope of newly loaded dependencies.
40219         (_dl_show_scope): Indicate if there is no scope.
40221         [BZ #13114]
40222         * stdio-common/Makefile (tests): Add bug24.
40223         * stdio-common/bug24.c: New file.
40225 2011-08-19  Andreas Jaeger  <aj@suse.de>
40227         [BZ #13114]
40228         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40229         non-existant file when using close-on-exec mode.
40231 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40234         the very first instruction.
40236         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40237         the CFI state in the end.
40238         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40239         inclusion of dl-trampoline.h.
40240         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40242 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40244         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40245         expectations for long double.
40247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40248         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40250 2011-08-14  David S. Miller  <davem@davemloft.net>
40252         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40253         artificual limit depends upon the system page size.
40255 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40257         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40258         * resolv/Makefile: Define CFLAGS-libresolv.
40260 2011-08-17  Andreas Schwab  <schwab@redhat.com>
40262         * nss/makedb.c (compute_tables): Make variables used in nested
40263         function static.
40265 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40267         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40268         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40269         if buffer was too small.
40271         * elf/pldd.c (main): Attach to all threads in the process.
40272         Rewrite /proc handling to use *at functions.
40274 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
40276         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40277         specifies first scope to show.
40278         (dl_open_worker): Update callers.  Move printing scope of new
40279         object to before the relocation.
40280         * elf/rtld.c (dl_main): Update _dl_show_scope call.
40281         * sysdeps/generic/ldsodefs.h: Update declaration.
40283         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40284         string for the scope number.
40286 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
40288         * nscd/servicescache.c (cache_addserv): Make sure written is always
40289         initialized.
40291 2011-08-14  Roland McGrath  <roland@hack.frob.com>
40293         * sysdeps/i386/i486/bits/atomic.h
40294         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40295         statement expression, so as to suppress "set but not used" warning.
40296         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40298         * string/strncat.c (STRNCAT): Use prototype definition.
40300         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40301         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40302         -Iprograms here.
40303         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40304         (localedef-modules): Add localedef.
40305         (locale-modules): Add locale.
40307         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40308         * elf/rtld.c (dl_main): Invert order of assignment in last change,
40309         to avoid a warning.
40311 2011-08-14  David S. Miller  <davem@davemloft.net>
40313         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40314         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40316 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
40318         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40319         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40320         * elf/rtld.c (dl_main): Set l_name of vDSO.
40321         Call _dl_show_scope when DL_DEBUG_SCOPES.
40322         (process_dl_debug): Recognize scopes flag and also set it for all.
40323         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40324         Declare _dl_show_scope.
40326         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40327         (do_dlopen): Pass caller_dlopen to dl_open.
40328         (__libc_dlopen_mode): Initialize caller_dlopen.
40330         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40331         of libc.  Make tolower call locale-independent.  Optimize a bit by
40332         using isdigit instead of isalnum.
40333         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40335 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
40337         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40338         was a dependency or dynamically loaded.
40340 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
40342         * intl/l10nflist.c: Allow architecture-specific pop function.
40343         * sysdeps/x86_64/l10nflist.c: New file.
40345         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40346         classification.
40348 2011-08-10  Andreas Schwab  <schwab@redhat.com>
40350         * include/dirent.h: Add libc_hidden_proto for scandirat and
40351         scandirat64.  Don't declare __scandirat64.
40352         * dirent/scandirat.c: Add libc_hidden_def.
40353         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40354         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40356 2011-08-10  David S. Miller  <davem@davemloft.net>
40358         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40359         enum.
40360         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40361         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40362         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40364 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
40366         * Versions.def [libc]: Add GLIBC_2.15.
40367         * dirent/Makefile (routines): Add scandirat and scandirat64.
40368         * dirent/Versions [libc]: Export scandirat and scandirat64 for
40369         GLIBC_2.15.
40370         * dirent/dirent.h: Declare scandirat and scandirat64.
40371         * dirent/scandirat.c: New file.
40372         * dirent/scandirat64.c: New file.
40373         * sysdeps/wordsize-64/scandirat.c: New file.
40374         * sysdeps/wordsize-64/scandirat64.c: New file.
40375         * dirent/opendir.c: Define opendirat.
40376         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
40377         using scandirat.
40378         * dirent/scandir64.c: Adjust for scandir.c change.
40379         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
40380         __scandirat64, and __scandir_cancel_handler.
40381         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
40382         additional parameter and use openat instead of open (outside of ld.so).
40383         Add new __opendir as wrapper around __opendirat.
40384         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40385         here without requiring old scandirat implementation.
40387 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
40389         * dirent/scandir.c (cancel_handler): Renamed to
40390         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
40391         defined.  Adjust users.
40392         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40393         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40395 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
40397         * string/test-string.h (IMPL): Use __STRING to expand name and then
40398         stringify it.
40400         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
40401         of cleanups.
40403 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40405         * string/Makefile: Update.
40406         (strop-tests): Append strncat.
40407         * string/test-wcscmp.c: New file.
40408         New comprehensive test for wcscmp.
40409         * string/test-strcmp.c: Update.
40410         (WIDE): New define.
40412 2011-07-22  Andreas Schwab  <schwab@redhat.com>
40414         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40415         line.
40417 2011-07-26  Andreas Schwab  <schwab@redhat.com>
40419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40420         encoding to ACE if AI_IDN.
40422 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
40424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40425         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40427 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40429         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40430         Fix overflow bug in strncat.
40431         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40433         * string/test-strncat.c: Update.
40434         Add new tests for checking overflow bugs.
40436 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40439         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40440         * sysdeps/i386/i686/multiarch/strcat.S: New file.
40441         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40442         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40443         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40444         * sysdeps/i386/i686/multiarch/strncat.S: New file.
40445         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40446         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40448         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40449         (USE_AS_STRCAT): Define.
40450         Add strcat and strncat support.
40451         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40453 2011-07-25  Andreas Schwab  <schwab@redhat.com>
40455         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40456         __n bigger than INT_MAX+1.
40457         (__strncmp_g): Likewise.
40459 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
40461         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40462         * libio/stido.h: Likewise.
40464         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40465         (AF_NFC): Define.
40466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40467         (AF_NFC): Define.
40469         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40470         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40471         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40472         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40475         [BZ #13021]
40476         * scripts/test-installation.pl: Don't expect libnss_test1 to be
40477         installed.
40479         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40480         typo.
40481         (_dl_x86_64_save_sse): Likewise.
40483 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
40485         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40486         OSXSAVE.
40487         (_dl_x86_64_save_sse): Likewise.
40489         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40491         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40493 2011-07-21  Andreas Schwab  <schwab@redhat.com>
40495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40496         change.
40497         (_dl_x86_64_save_sse): Use correct AVX check.
40499 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40501         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40502         bug in strncpy/strncat.
40503         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40505 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
40507         * string/tester.c (test_strcat): Add tests for different alignments
40508         of source and destination.
40509         (test_strncat): Likewise.
40511 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40513         [BZ #12852]
40514         * posix/glob.c (glob): Check passed in values before using them in
40515         expressions to avoid some overflows.
40516         (glob_in_dir): Likewise.
40518         [BZ #13007]
40519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40520         check for AVX enablement so that we don't crash with old kernels and
40521         new hardware.
40522         * elf/tst-audit4.c: Add same checks here.
40523         * elf/tst-audit6.c: Likewise.
40525         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40527 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
40529         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40531 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40533         * po/cs.po: Update from translation team.
40534         * po/bg.po: Likewise.
40536 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
40538         * misc/sys/cdefs.h: Add support for const attribute.
40539         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40540         to gnu_dev_{major,minor,makedev} functions.
40542 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
40544         * intl/dcigettext.c (get_output_charset): Add missing bracket.
40546 2011-07-20  Andreas Schwab  <schwab@redhat.com>
40548         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40549         strlen results.
40551 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40554         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40555         register in order to avoid conflicts with the soft frame pointer
40556         being held in r11 when necessary.
40557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40558         (INTERNAL_VSYSCALL_NCS): Likewise.
40560 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
40562         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40563         * elf/dl-fini.c (_dl_fini): Adjust caller.
40564         * elf/dl-close.c (_dl_close_worker): Likewise.
40565         * sysdeps/generic/ldsodefs.h: Adjust declaration.
40567 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40569         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40570         "aux_cache->nlibs < 0".
40572         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40573         in the reload-count case.
40575 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40578         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40579         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40580         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40581         * sysdeps/x86_64/multiarch/strcat.S: New file.
40582         * sysdeps/x86_64/multiarch/strncat.S: New file.
40583         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40584         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40585         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40586         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40587         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40588         (USE_AS_STRCAT): Define.
40589         Add strcat and strncat support.
40590         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40591         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40592         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40593         * string/strncat.c: Update.
40594         (USE_AS_STRNCAT): Define.
40595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40596         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40597         and i7.
40598         * sysdeps/x86_64/multiarch/init-arch.h
40599         (bit_Prefer_PMINUB_for_stringop): New.
40600         (index_Prefer_PMINUB_for_stringop): Likewise.
40601         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40602         bit_Prefer_PMINUB_for_stringop.
40604 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40606         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40607         buffer64.
40608         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40609         of casting of buffer.
40610         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40611         buffer32 and buffer64.
40612         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40613         writes instead of casting of buffer.
40614         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40615         buffer32.
40616         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40617         casting of buffer.
40619 2011-07-19  Andreas Schwab  <schwab@redhat.com>
40621         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40623 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40625         * nscd/nscd.c (termination_handler): Don't do anything for a database
40626         if it has not yet been initialized.
40628 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40630         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40632 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40634         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40636 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40638         * po/nl.po: Update from translation team.
40639         * po/sv.po: Likewise.
40641 2011-07-16  Roland McGrath  <roland@hack.frob.com>
40643         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40644         now disallowed by GCC.
40646         * configure.in (use-default-link): Default to yes if a test -shared
40647         link meets our qualifications.
40648         * configure: Regenerated.
40650         * config.make.in (output-format): New variable.
40651         * configure.in: Check for ld --print-output-format support.
40652         * configure: Regenerated.
40653         * Makerules ($(common-objpfx)format.lds)
40654         [$(output-format) != unknown]: Just use $(output-format),
40655         instead of the linker-script munging.
40657 2011-07-14  Roland McGrath  <roland@hack.frob.com>
40659         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40660         of $(common-objpfx)shlib.lds.
40661         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40663         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40664         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40666         * configure.in (-z relro check): Adjust test code to add a large
40667         writable data section after it.
40668         * configure: Regenerated.
40670 2011-07-11  Roland McGrath  <roland@hack.frob.com>
40672         * configure.in (-z relro check): Fix test code to make the variable
40673         truly const.
40674         * configure: Regenerated.
40676 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
40678         * nscd/nscd.h (struct traced_file): Define.
40679         (struct database_dyn): Remove inotify_descr, reset_res, and filename
40680         elements.  Add traced_files.
40681         (inotify_fd): Declare.
40682         (register_traced_file): Declare.
40683         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40684         (inotify_fd): Export.
40685         (resolv_conf_descr): Remove.
40686         (nscd_init): Move inotify descriptor creation to main.
40687         Don't register files for notification here.
40688         (register_traced_file): New function.
40689         (invalidate_cache): Don't use reset_res to determine whether to call
40690         res_init, go through the list of registered files.
40691         (main_loop_poll): The inotify descriptors are now stored in the
40692         structures for the traced files.
40693         (main_loop_epoll): Likewise
40694         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
40695         to __nss_disable_nscd.
40696         * nscd/cache.c (prune_cache): There is no single inotify descriptor
40697         for a database anymore.  Check the records for all the registered
40698         files instead.
40699         * nss/Makefile (libnss_files-routines): Add files-init.
40700         (libnss_db-routines): Add db-init.
40701         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40702         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40703         * nss/nss_db/db-init.c: New file.
40704         * nss/nss_files/files-init.c: New file.
40705         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
40706         __nss_lookup_function.
40707         (__nss_lookup_function): Call nss_load_library.
40708         (nss_load_all_libraries): New function.
40709         (__nss_disable_nscd): Take parameter with callback function for files
40710         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
40711         used for the cached services.
40712         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40713         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40714         options for features to all the files in nscd.
40716         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40718 2011-07-10  Roland McGrath  <roland@hack.frob.com>
40720         * csu/elf-init.c (__libc_csu_init): Comment typo.
40722 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
40724         * po/pl.po: Update from translation team.
40725         * po/ja.po: Likewise.
40726         * po/ru.po: Likewise.
40727         * po/ko.po: Likewise.
40728         * po/fr.po: Likewise.
40730 2011-07-09  Roland McGrath  <roland@hack.frob.com>
40732         * configure.in (.ctors/.dtors header and trailer check):
40733         Use an empirical test on a built program.
40734         * configure: Regenerated.
40736         * configure.in (-z relro check): Use an empirical test on a built DSO.
40737         Detect, but do not require, on ia64.
40738         * configure: Regenerated.
40740         * configure.in (READELF): Find it with AC_CHECK_TOOL.
40741         Update tests that use readelf to use $READELF instead.
40742         * configure: Regenerated.
40744 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
40746         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40747         if the result is not used.
40749 2011-07-05  Andreas Jaeger  <aj@suse.de>
40751         [BZ#9696]
40752         * stdlib/tst-strtod.c: Add testcase.
40754 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
40756         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40757         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40758         The latter has a higher limit.  Take additional parameter to pass to
40759         the new function.
40760         (__pathconf): Pass file to __statfs_link_max.
40761         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40762         __statfs_link_max.
40763         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40764         __statfs_link_max.
40766         [BZ #12868]
40767         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40768         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40769         Handle Lustre.
40770         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40771         (__statfs_filesize_max): Likewise.
40772         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40774 2011-07-05  Andreas Jaeger  <aj@suse.de>
40776         * resolv/res_comp.c (dn_skipname): Remove unused variable.
40778 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
40780         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40781         `status' variable.
40782         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40783         Likewise.
40785 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
40787         * Makefile (strop-tests): Add strncat.
40788         * string/test-strncat.c: New file.
40790 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
40792         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40794 2011-06-21  Andreas Jaeger  <aj@suse.de>
40796         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40797         Copy rule from iconvdata/Makefile.
40799 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40801         [BZ #12922]
40802         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40803         but no long options are defined, just return 'W'.
40805 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
40807         [BZ #9696]
40808         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40810 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40812         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40813         netgroups to read.
40814         (innetgr): Likewise.
40816 2011-07-05  Roland McGrath  <roland@hack.frob.com>
40818         * config.make.in (install_root): Default to $(DESTDIR).
40820 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
40822         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40824 2011-07-02  Roland McGrath  <roland@hack.frob.com>
40826         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40828         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40829         containing directory rather than embedding absolute directory names.
40831         * scripts/check-local-headers.sh: Rewritten using awk.
40832         Match by word, not by line.  Print error messages for matches.
40833         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40835         * Makerules [shlib-lds-flags empty]:
40836         ($(common-objpfx)libc_pic.opts): New target.
40837         ($(common-objpfx)libc_pic.os.clean): New target.
40838         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40840         * config.make.in (OBJCOPY): New variable.
40841         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40842         * configure: Regenerated.
40844         * config.make.in (use-default-link): New variable.
40845         * configure.in (use_default_link): Grok --with-default-link to set it.
40846         * configure: Regenerated.
40847         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40848         (shlib-lds, shlib-lds-flags): Define to empty.
40850         * Makerules (shlib-lds): New variable.
40851         (shlib-lds-flags): New variable.
40852         (build-shlib, build-moduile, build-module-asneeded): Use it.
40853         ($(common-objpfx)libc.so): Use $(shlib-lds).
40854         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40855         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40857         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40858         DT_FLAGS/DT_FLAGS_1 with zero flags.
40860         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40861         linker script munging.
40863 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
40865         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40866         as 128-bit value.
40867         * crypt/sha512.c (sha512_process_block): Perform total addition using
40868         128-bit if possible.
40869         (__sha512_finish_ctx): Likewise.
40870         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40871         as 64-bit value.
40872         * crypt/sha256.c (SWAP64): Define.
40873         (sha256_process_block): Perform total addition using 64-bit if
40874         possible.
40875         (__sha256_finish_ctx): Likewise.
40877 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
40879         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
40880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40881         * nscd/hstcache.c (cache_addhst): Likewise.
40882         * nscd/grpcache.c (cache_addgr): Likewise.
40883         * nscd/aicache.c (addhstaiX): Likewise
40884         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40886 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
40888         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40889         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40890         * nscd/hstcache.c (cache_addhst): Likewise.
40891         * nscd/grpcache.c (cache_addgr): Likewise.
40892         * nscd/aicache.c (addhstaiX): Likewise
40894 2011-07-01  Andreas Schwab  <schwab@redhat.com>
40896         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40897         domain only when needed.
40899 2011-06-30  Andreas Schwab  <schwab@redhat.com>
40901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40902         is always restored.
40904 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40906         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40907         are re-adding the entry.
40908         * nscd/servicescache.c (cache_addserv): Likewise.
40910 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40912         * sysdeps/generic/dl-irel.h: fix protection against multiple
40913         inclusions.
40914         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40916 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40918         [BZ #12935]
40919         * malloc/memusage.sh: Fix quoting in message.
40920         * debug/xtrace.sh: Likewise.
40922         * configure.in: Remove support for --experimental-malloc option, make
40923         it the default.
40924         * config.make.in: Likewise.
40925         * malloc/Makefile: Likewise.
40927 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40929         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40930         two-byte characters.
40932 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40934         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40935         AC_CACHE_CHECK invocation.
40936         * configure: Regenerated.
40938         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40940 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40942         [BZ #12350]
40943         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40944         bit from old_res_options.
40946         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40948         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40949         value type for setfct.
40951 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40953         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40954         __gettimeofday instead of gettimeofday.
40956 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40958         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40960 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40962         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40964         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40965         info.
40967 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40970         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40971         strcpy-sse2-unaligned strncpy-sse2-unaligned
40972         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40973         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40974         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40975         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40976         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40977         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40978         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40979         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40980         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40981         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40982         (STRCPY): Support SSE2 and SSSE3 versions.
40984 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40986         [BZ #12874]
40987         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40988         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40989         kernels which artificially limit size of requests.
40991 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40994         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40995         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40996         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40997         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40998         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40999         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41000         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41001         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41002         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41003         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41004         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41005         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41006         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41007         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41009         Enable unaligned load optimization for Intel Core i3, i5 and i7
41010         processors.
41011         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41012         Define.
41013         (index_Fast_Unaligned_Load): Define.
41014         (HAS_FAST_UNALIGNED_LOAD): Define.
41016 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41018         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41020 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41022         [BZ #12907]
41023         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41024         until it is clear that the information is realy needed.
41025         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41027 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41031 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41033         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41034         /sys/devices/system/cpu/online if it is usable.
41036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41037         reading the information from the /proc filesystem to once a second.
41039 2011-06-21  Andreas Jaeger  <aj@suse.de>
41041         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41042         NULL after inclusion of kernel headers.
41044 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41046         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41047         calls to internal_setent.
41049         [BZ #12885]
41050         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41051         addresses using gethostbyname4_r ignore IPv4 addresses.
41053         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41054         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41056         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41058 2011-06-20  David S. Miller  <davem@davemloft.net>
41060         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41061         inclusions.
41062         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41064         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41065         (elf_irel): Use it.
41066         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41067         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41068         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41069         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41070         * sysdeps/x86_64/dl-irel.h: Likewise.
41072         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41073         * elf/dl-sym.c: Likewise.
41075 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41077         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41078         need to dereference resplen2.
41080 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41082         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41084 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41086         * Makeconfig: Define vardbdir and inst_vardbdir.
41087         * nss/Makefile: Add rules to install db-Makefile.
41089         * nss/nss_db/db-XXX.c: Cleanup.
41091         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41092         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41093         GLIBC_PRIVATE.
41094         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41095         * nss/makedb.c: Implement -g option to specify that value strings
41096         are generated and should not be added to table iterated over for
41097         get*ent calls.
41098         * nss/nss_db/db-initgroups.c: New file.
41100         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41101         interface.
41103         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41104         (internal_getgrouplist): Adjust to name change.
41105         Update use_initgroups_entry if this is not the first call.
41106         * nss/databases.def: Add initgroups entry.
41108         * nss/makedb.c (compute_tables): Check result of multiple hash table
41109         sizes to minimize maximum chain length.
41111 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41113         * Versions.def: Add entry for libnss_db.
41114         * shlib-versions: Likewise.
41115         * nss/Makefile: Add rules to build libnss_db.
41116         * nss/Versions: Add libnss_db information.  Organize libnss_files
41117         entries better.
41118         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41119         makedb progra.  Some minor improvements to generate smaller files.
41120         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41121         here from...
41122         * nss/makedb.c: ...here.
41123         Improve database format to be smaller and require less memory at
41124         runtime.
41125         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41126         db anymore.
41127         * nss/nss_db/db-netgrp.c: Likewise.
41128         * nss/nss_db/db-open.c: Likewise.
41129         * nss/nss_files/flies-XXX.x: Adjust comments.
41130         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41131         * nss/nss_files/files-grp.c: Likewise.
41132         * nss/nss_files/files-hosts.c: Likewise.
41133         * nss/nss_files/files-network.c: Likewise.
41134         * nss/nss_files/files-proto.c: Likewise.
41135         * nss/nss_files/files-pwd.c: Likewise.
41136         * nss/nss_files/files-rpc.c: Likewise.
41137         * nss/nss_files/files-service.c: Likewise.
41138         * nss/nss_files/files-sgrp.c: Likewise.
41139         * nss/nss_files/files-spwd.c: Likewise.
41140         * nss/nss_db/db-alias.c: Removed.
41141         * nss/nss_db/dummy-db.h: Removed.
41143 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41145         * nss/makedb.c: Rewritten to not use database library.
41146         * nss/Makefile: Update to build new makedb program.
41148 2011-06-14  Andreas Jaeger  <aj@suse.de>
41150         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41151         memset declaration.
41153 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41156         tmpbuf.
41158 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41160         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41161         * elf/Makefile ($(objpfx)ld.so): Likewise.
41163         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41164         Don't list ld.so twice in dependencies.
41166         * posix/bug-regex31.c: Include <stdlib.h>.
41168         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41170         * nis/nss_compat/compat-spwd.c
41171         (getspent_next_nss_netgr): Remove unused variable.
41172         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41174         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41175         nonmembers" output to use the right array.
41177         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41179         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41181         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41182         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41183         * catgets/gencat.c (read_input_file): Likewise.
41184         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41186         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41187         variable definition inside #if's controlling its use.
41189         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41191         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41193         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41195         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41196         unreachable code.
41198         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41200         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41201         * configure: Regenerated.
41203         * Makerules: Revert last change.
41204         * elf/Makefile: Likewise.
41206 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41208         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41209         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41210         (reloc-link): Likewise.
41212 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41214         * elf/Makefile: Add rules to build pldd.
41215         * elf/pldd.c: New file.
41216         * elf/pldd-xx.c: New file.
41218 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41220         * version.h: Update for 2.15 development version.
41222 2011-06-07  David S. Miller  <davem@davemloft.net>
41224         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41225         ifuncs.
41226         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41227         elf_machine_lazy_rel): Likewise.
41228         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41229         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41230         elf_machine_lazy_rel): Likewise.
41231         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41232         dl_hwcap via passed in argument.
41233         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41234         Likewise.
41236 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41238         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41240 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41242         [BZ #12849]
41243         * manual/fdl-1.1.texi: New file, verbatim from:
41244         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41245         * manual/lgpl-2.1.texi: New file, verbatim from:
41246         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41247         * manual/Makefile (licenses): New variable, list those new file names.
41248         (texis): Use it.
41249         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41251         * manual/fdl.texi: File removed.
41252         * manual/lesser.texi: File removed.
41253         * manual/libc.texinfo (Copying, Documentation License):
41254         Use new @include file names, put @appendix directive before @include.
41256 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
41258         [BZ #12841]
41259         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41260         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41261         (mq_open): Add __NTH.
41263 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
41265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41266         Assume Intel Core i3/i5/i7 processor if AVX is available.
41268 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41271         typo.
41273 2011-05-31  Andreas Schwab  <schwab@redhat.com>
41275         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41276         memory.  Use alloca_account.  Fix memory leak when retrying.
41278 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41280         * version.h (RELEASE): Bump for 2.14 release.
41281         * include/features.h (__GLIBC_MINOR__): Bump to 14.
41283         * config.make.in (RANLIB): Remove entry.
41285 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
41287         * po/Makefile (po-sed-cmd): Add ksh to extensions.
41288         (libc.pot): Work around missing support for .ksh extension in xgettext.
41290         [BZ #12684]
41291         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41292         if both request failed.
41293         (send_dg): In case of server errors clear resplen or *resplen2.
41295         [BZ #12454]
41296         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41297         when there are multiple maps.
41298         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41299         (_dl_fini): Remove test here.
41301         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41303 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
41305         [BZ #12350]
41306         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41307         bit from old_res_options.
41308         (gaih_inet): Likewise.
41310         [BZ #11099]
41311         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41312         as signed.
41314         * resolv/res_init.c (res_setoptions): Make the code more compact.
41316         [BZ #11558]
41317         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41318         set RES_USEVC.
41320         [BZ #11634]
41321         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41323         * malloc/malloc.h: Mark malloc hook variables as deprecated.
41325         [BZ #11781]
41326         * malloc/malloc.h: Declare malloc hook variables as volatile.
41328         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41329         in last patch.
41331         [BZ #11799]
41332         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41333         raise in the comment.
41334         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41335         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41336         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41338 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
41340         [BZ #12811]
41341         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41342         grow the buffers more if it already has to be sufficient.
41343         (build_wcs_upper_buffer): Likewise.
41344         * posix/regexec.c (check_matching): Likewise.
41345         (clean_state_log_if_needed): Likewise.
41346         (extend_buffers): Don't enlarge buffers beyond size of the input
41347         buffer.
41348         Patches mostly by Emil Wojak <emil@wojak.eu>.
41349         * posix/bug-regex32.c: New file.
41350         * posix/Makefile (tests): Add bug-regex32.
41352         * locale/findlocale.c (_nl_find_locale): Return right away if
41353         _nl_explode_name failed.
41354         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41356         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41358         * debug/xtrace.sh: Unify messages.
41359         * malloc/memusage.sh: Likewise.
41361         [BZ #12813]
41362         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41363         time symbol from vDSO.  Substitute with vsyscall if not available.
41364         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41365         __vdso_time.
41367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41368         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41369         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41370         Add sendmmsg and internal_sendmmsg.
41371         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41372         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41373         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41375         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41376         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41377         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41379 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
41381         [BZ #12813]
41382         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41383         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
41384         available.
41385         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41386         __vdso_getcpu.
41388         [BZ #12814]
41389         * iconvdata/Makefile (tests): Add bug-iconv9.
41390         * iconvdata/bug-iconv9.c: New file.
41392 2011-05-27  Andreas Schwab  <schwab@redhat.com>
41394         [BZ #12814]
41395         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41397 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
41399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41400         (struct user_regs_struct): Change intcs field back to cs.
41402 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
41404         * po/ja.po: Update from translation team.
41406 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
41408         [BZ #12795]
41409         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41410         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41412 2011-05-20  Andreas Schwab  <schwab@redhat.com>
41414         * stdlib/longlong.h: Update from GCC.
41416 2011-05-23  Andreas Schwab  <schwab@redhat.com>
41418         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41419         parameter name.
41420         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41421         Add parameter name.
41422         (__sysconf): Pass it down.
41424 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
41426         [BZ #12671]
41427         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41428         some situations.
41429         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41430         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41431         add in in __libc_use_alloca calls.  Adjust callers.
41432         (glob): Use malloc in some situations.
41434         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41435         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41436         pltexit.
41438 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
41440         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41441         and CLOCK_BOOTTIME_ALARM.
41443         [BZ #12782]
41444         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41445         is returned.
41447         * string/_strerror.c (__strerror_r): Print negative errors as signed
41448         numbers.
41450         [BZ #12777]
41451         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41452         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41453         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41455         * configure.in: Fix typo in redirection and correct removal of test
41456         files in two cases.
41458         [BZ #12788]
41459         * locale/setlocale.c (new_composite_name): Fix test to check for
41460         identical name of all categories.
41462         [BZ #12792]
41463         * libio/filedoalloc.c (local_isatty): New function.
41464         (_IO_file_doallocate): Use local_isatty.
41465         * stdio-common/perror.c (perror): In case a new stream is used
41466         forward the stream error.
41467         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41468         error flag.
41470 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
41472         [BZ #11869]
41473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41474         alloca.
41475         * include/alloca.h (extend_alloca_account): Define.
41477         [BZ #11857]
41478         * posix/regex.h: Fix comments with documentation of user-accessible
41479         fields after compilation and describe correct free'ing of pattern
41480         after re_compile_pattern.
41481         Patch by Reuben Thomas <rrt@sc3d.org>.
41483 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
41485         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41486         and -mno-altivec to prevent the compiler from using Altivec and/or
41487         VSX instructions when the corresponding registers are not available.
41489 2011-05-19  Andreas Schwab  <schwab@redhat.com>
41491         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41493 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
41495         * libio/freopen.c (freopen): Use __dup2, not dup2.
41496         * libio/freopen64.c (freopen64): Likewise.
41498 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41500         [BZ #12775]
41501         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41502         * math/Makefile (tests): Add test-powl.
41503         (CFLAGS-test-powl.c): Define.
41504         * math/test-powl.c: New file.
41506 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41508         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41510 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
41512         [BZ #11837]
41513         * iconvdata/gb18030.c: Update to GB18020-2005.
41515 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
41517         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41518         RE_SYNTAX_POSIX_AWK): Update to match recent development.
41519         Patch by Aharon Robbins <arnold@skeeve.com>.
41521         [BZ #11892]
41522         * stdlib/putenv.c (putenv): Don't always create copy of the variable
41523         on the stack.
41525         [BZ #11895]
41526         * misc/pselect.c (__pselect): Handle timeout value errors hidden
41527         through underflows.
41529         [BZ #12766]
41530         * misc/error.c (error_at_line): Ensure file_name and old_file_name
41531         point to strings before performing equality test for error_one_per_line
41532         mode.
41534         [BZ #11697]
41535         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41537         [BZ #11820]
41538         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41539         (struct user_fpregs_struct): Avoid __uint*_t types.
41541         [BZ #6420]
41542         * malloc/mtrace.c (tr_where): Add additional parameter to point to
41543         symbol info.  Use it instead of calling _dl_addr locally.
41544         (lock_and_info): New function.
41545         (tr_freehook): Call lock_and_info and pass symbol info as additional
41546         parameter to tr_where.
41547         (tr_mallochook): Likewise.
41548         (tr_reallochook): Likewise.
41549         (tr_memalignhook): Likewise.
41551         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
41552         used and couldn't be at all thread-safe.
41554 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
41556         * libio/freopen.c (freopen): Don't close old file descriptor
41557         before the new one is opened.  Instead dup the new file descriptor
41558         to the old one after the new stream is created.
41559         * libio/freopen64.c (freopen64): Likewise.
41560         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41561         * libio/fileops.c (_IO_new_file_close_it): Handle new
41562         _IO_FLAGS2_NOCLOSE flag.
41563         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41564         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41565         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41566         _IO_FLAGS2_NOCLOSE flag.
41567         * include/unistd.h: Add hidden_proto for dup3.
41568         Define __have_dup3.
41569         * io/dup3.c: Define hidden symbol.
41570         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41572         [BZ #7101]
41573         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41574         when an incomplete long option is used.
41575         * posix/tst-getopt_long1.c: New file.
41576         * posix/Makefile (tests): Add tst-getopt_long1.
41578         [BZ #10138]
41579         * scripts/config.guess: Update from autoconf-2.68.
41580         * scripts/config.sub: Likewise.
41582         [BZ #10157]
41583         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41584         tests into ...
41585         (has_cpuclock): ...this.  New function.
41586         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41587         macro here based on has_cpuclock code.
41589         [BZ #10149]
41590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41591         First byte (not low byte) is now always NUL.
41592         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41594         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41595         Use non-cancelable interfaces.
41597         [BZ #9809]
41598         * locale/iso-639.def: Add entry for Sorani.
41600         [BZ #11901]
41601         * include/stdlib.h: Move include protection to the right place.
41602         Define abort_msg_s.  Declare __abort_msg with it.
41603         * stdlib/abort.c (__abort_msg): Adjust type.
41604         * assert/assert.c (__assert_fail_base): New function.  Majority
41605         of code from __assert_fail.  Allocate memory for __abort_msg with
41606         mmap.
41607         (__assert_fail): Now call __assert_fail_base.
41608         * assert/assert-perr.c: Remove bulk of implementation.  Use
41609         __assert_fail_base.
41610         * include/assert.hL Declare __assert_fail_base.
41611         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41612         mmap.
41613         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41615 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
41617         [BZ #11952]
41618         [BZ #12453]
41619         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41620         until all modules are registered in the DTV.
41621         * elf/Makefile: Add rules to build and run tst-tls19.
41622         * elf/tst-tls19.c: New file.
41623         * elf/tst-tls19mod1.c: New file.
41624         * elf/tst-tls19mod2.c: New file.
41625         * elf/tst-tls19mod3.c: New file.
41626         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41628         [BZ #12083]
41629         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41630         correctly.
41632         [BZ #12601]
41633         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41634         two-byte sequence errors.
41635         * iconvdata/Makefile (tests): Add bug-iconv8.
41636         * iconvdata/bug-iconv8.c: New file.
41638         [BZ #12626]
41639         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41640         buf2 definition.
41642         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41644         [BZ #12432]
41645         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41646         (dummy_getcfa): New function.
41647         (init): Get _Unwind_GetCFA address, use dummy if not found.
41648         (backtrace_helper): In recursion check, also check whether CFA changes.
41649         (__backtrace): Completely initialize arg.
41651         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41652         storing incomplete byte sequence in state object.  Avoid testing for
41653         guaranteed too small input if we know there is enough data available.
41655 2011-05-11  Andreas Schwab  <schwab@redhat.com>
41657         * Makeconfig (+link-pie): Indent.
41658         * Rules (binaries-pie): Define if $(have-fpie) and
41659         $(build-shared).
41660         (binaries-shared): Also filter out $(binaries-pie).
41661         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41662         * nscd/Makefile (others-pie): Add nscd.
41663         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41664         ($(objpfx)nscd): Remove command override.
41665         * login/Makefile (others-pie): Add pt_chown.
41666         ($(objpfx)pt_chown): Remove command override.
41667         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41668         remove command overrides.
41670 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
41672         * libio/tst_putwc.c: Fix error messages.
41674         [BZ #12724]
41675         * libio/fileops.c (_IO_new_file_close_it): Always flush when
41676         currently writing and seek to current position when not.
41677         * libio/Makefile (tests): Add bug-fclose1.
41678         * libio/bug-fclose1.c: New file.
41680 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
41682         [BZ #12511]
41683         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41684         don't set DF_1_NODELETE here.
41685         (do_lookup_x): When entering new entry test for copy relocation
41686         and if necessary set DF_1_NODELETE flag.
41687         * elf/tst-unique4.cc: New file.
41688         * elf/tst-unique4.h: New file.
41689         * elf/tst-unique4lib.cc: New file.
41690         * elf/Makefile: Add rules to build and run tst-unique4.
41691         Patch by Piotr Bury <pbury@goahead.com>.
41693 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
41695         [BZ #12052]
41696         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41698         [BZ #12625]
41699         * misc/mntent_r.c (addmntent): Flush the stream after the output
41701         [BZ #12393]
41702         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41703         (is_trusted_path_normalize): Skip initial colon.  Append slash
41704         to empty buffer.  Duplicate is_trusted_path code but allow
41705         constructed patch to be prefix.
41706         (is_dst): Allow $ORIGIN followed by /.
41707         (_dl_dst_substitute): Correct clearing of check_for_trusted.
41708         Correct testing of result of is_trusted_path_normalize
41709         (decompose_rpath): Fix warning.
41711 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
41713         [BZ #11257]
41714         * grp/initgroups.c (internal_getgrouplist): When we found the service
41715         list through the initgroups entry in nsswitch.conf do not always
41716         continue on a successful lookup.  Don't always use the
41717         __nss_group_database value if it is set.
41718         * nss/nsswitch.conf (initgroups): Change action for successful db
41719         lookup to continue for compatibility.
41721 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
41723         [BZ #11532]
41724         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41725         and CP774 modules.
41726         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41727         and CP774 modules.
41728         * iconvdata/tst-tables.sh: Likewise.
41729         * iconvdata/cp770.c: New file.
41730         * iconvdata/cp771.c: New file.
41731         * iconvdata/cp772.c: New file.
41732         * iconvdata/cp773.c: New file.
41733         * iconvdata/cp774.c: New file.
41734         * iconvdata/testdata/CP770: New file.
41735         * iconvdata/testdata/CP770..UTF8: New file.
41736         * iconvdata/testdata/CP771: New file.
41737         * iconvdata/testdata/CP771..UTF8: New file.
41738         * iconvdata/testdata/CP772: New file.
41739         * iconvdata/testdata/CP772..UTF8: New file.
41740         * iconvdata/testdata/CP773: New file.
41741         * iconvdata/testdata/CP773..UTF8: New file.
41742         * iconvdata/testdata/CP774: New file.
41743         * iconvdata/testdata/CP774..UTF8: New file.
41745         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41746         END CHARMAP line.
41747         * iconvdata/gen-8bit-gap.sh: Likewise.
41748         * iconvdata/gen-8bit.sh: Likewise.
41750         * locale/iso-639.def: Add ary entry.
41752         [BZ #11258]
41753         * locale/C-translit.h.in: Add U20A1 transliteration.
41755         [BZ #12178]
41756         * locale/iso-639.def: Add wae entry.
41757         Patch by Kevin Bortis <bortis@translate-wae.ch>.
41759         [BZ #12545]
41760         * locale/programs/localedef.c (construct_output_path): Use ssize_t
41761         for n.
41763         [BZ #12711]
41764         * locale/C-translit.h.in: Add entry for U20B9.
41765         Patch by pravin.d.s@gmail.com.
41767 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
41769         [BZ #12713]
41770         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41771         ENAMETOOLONG use generic getcwd.
41772         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
41773         in rtld.  Use *stat64.
41774         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41775         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41776         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41777         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41778         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41779         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41780         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41781         __fstatat64 macros.
41782         * include/dirent.h: Add libc_hidden_proto for rewinddir.
41783         * dirent/rewinddir.c: Add libc_hidden_def.
41784         * sysdeps/mach/hurd/rewinddir.c: Likewise.
41785         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
41787         * include/dirent.h (__alloc_dir): Add flags parameter.
41788         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41789         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41790         __alloc_dir.
41791         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
41792         from fdopendir if O_CLOEXEC is already set.
41794 2011-03-15  Alan Modra  <amodra@gmail.com>
41796         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41797         l_tls_firstbyte_offset non-zero.  Save padding offset in
41798         l_tls_firstbyte_offset for later use.
41799         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41800         freeing static tls block.
41802 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
41804         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41805         where #ifdef was intended.  The intent is to prevent ARG_MAX from
41806         being defined by the kernel headers.
41808 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
41810         [BZ #12734]
41811         * resolv/resolv.h: Define RES_NOTLDQUERY.
41812         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41813         no-tld-query and set RES_NOTLDQUERY.
41814         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41815         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41816         modern BIND to search name as TLD unless forbidden.
41818 2011-05-07  Petr Baudis  <pasky@suse.cz>
41819             Ulrich Drepper  <drepper@gmail.com>
41821         [BZ #12393]
41822         * elf/dl-load.c (fillin_rpath): Move trusted path check...
41823         (is_trusted_path): ...to here.
41824         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41825         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41826         using is_trusted_path_normalize() in setuid scripts.
41828 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41830         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41831         __BEGIN/__END_DECLS.
41833 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
41835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41836         NSS_STATUS_NOTFOUND if no record was found.
41838 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41840         * sunrpc/Makefile (headers): Add rpc/netdb.h.
41841         (headers-not-in-tirpc): Remove rpc/netdb.h
41842         * resolv/netdb.h: Revert last change.
41844 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41846         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41847         circular dependency between libgcc.a and libc.a.
41849 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41851         * resolv/netdb.h: Don't include <rpc/netdb.h>.
41852         * nis/Makefile: Don't install rpcsvc/*.
41853         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41854         instead of <rpc/types.h>.
41855         (MAXHOSTNAMELEN): Define.
41857 2011-05-03  Andreas Schwab  <schwab@redhat.com>
41859         * elf/ldconfig.c (add_dir): Don't crash on empty path.
41861 2011-04-28  Maciej Babinski  <mbabinski@google.com>
41863         [BZ #12714]
41864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41865         gethostbyname4_r when IPv6 results are possible.
41867 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
41869         [BZ #12723]
41870         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41871         _PC_PIPE_BUF handling.
41873 2011-04-30  Bruno Haible  <bruno@clisp.org>
41875         [BZ #12717]
41876         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41877         * resolv/netdb.h (getnameinfo): Change type of flags parameter
41878         to 'int'.
41879         * inet/getnameinfo.c (getnameinfo): Likewise.
41881 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
41883         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41884         to groups setting in database lookup.
41885         * nss/nsswitch.conf: Add initgroups entry.
41887 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41889         [BZ #12685]
41890         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41891         mode string.
41892         Patch by Eric Blake <eblake@redhat.com>.
41894 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
41896         * sunrpc/Makefile (need-export-routines): Add svc_run.
41897         (routines): Remove svc_run.
41898         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41899         * sunrpc/clnt_perr.c (clnt_perrno): Export.
41900         * sunrpc/svc_run.c (svc_run): Likewise.
41901         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41903 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41905         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41906         problem in reallocation in last patch.
41908 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41910         * sunrpc/Makefile: Move inclusion of Rules.
41912 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41914         * nss/nss_files/files-initgroups.c: New file.
41915         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41916         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41917         _nss_files_initgroups_dyn.
41919 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41921         * elf/elf.h (R_ARM_IRELATIVE): Define.
41923 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41925         * po/ru.po: Update from translation team.
41927 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41929         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41930         dependencies.
41932 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41934         [BZ #12653]
41935         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41936         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41937         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41938         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41939         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41941 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41943         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41944         differing bytes.
41945         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41946         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41947         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41949 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41951         [BZ #12420]
41952         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41953         storing it.
41954         * stdlib/bug-getcontext.c: New file.
41955         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41957 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41959         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41960         instructions into .machine "z9-109".
41961         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41962         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41964 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41966         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41967         between environment variables and auxiliary vector.
41969 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41971         * Makefile: Add rules to build linkobj/libc.so.
41972         * include/libc-symbols.h: Define libc_hidden_nolink.
41973         * include/rpc/auth.h: Mark functions which are to be hidden.
41974         * include/rpc/auth_des.h: Likewise.
41975         * include/rpc/auth_unix.h: Likewise.
41976         * include/rpc/clnt.h: Likewise.
41977         * include/rpc/des_crypt.h: Likewise.
41978         * include/rpc/key_prot.h: Likewise.
41979         * include/rpc/pmap_clnt.h: Likewise.
41980         * include/rpc/pmap_prot.h: Likewise.
41981         * include/rpc/pmap_rmt.h: Likewise.
41982         * include/rpc/rpc_msg.h: Likewise.
41983         * include/rpc/svc.h: Likewise.
41984         * include/rpc/svc_auth.h: Likewise.
41985         * include/rpc/xdr.h: Likewise.
41986         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41987         * nss/Makefile: Likewise.
41988         * sunrpc/Makefile: Don't install headers.  Build library with normal
41989         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41990         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41991         for the compat linking library.  Remove use of INTDEF/INTUSE.
41992         * sunrpc/auth_none.c: Likewise.
41993         * sunrpc/auth_unix.c: Likewise.
41994         * sunrpc/authdes_prot.c: Likewise.
41995         * sunrpc/authuxprot.c: Likewise.
41996         * sunrpc/clnt_gen.c: Likewise.
41997         * sunrpc/clnt_perr.c: Likewise.
41998         * sunrpc/clnt_raw.c: Likewise.
41999         * sunrpc/clnt_simp.c: Likewise.
42000         * sunrpc/clnt_tcp.c: Likewise.
42001         * sunrpc/clnt_udp.c: Likewise.
42002         * sunrpc/clnt_unix.c: Likewise.
42003         * sunrpc/des_crypt.c: Likewise.
42004         * sunrpc/des_soft.c: Likewise.
42005         * sunrpc/get_myaddr.c: Likewise.
42006         * sunrpc/key_call.c: Likewise.
42007         * sunrpc/key_prot.c: Likewise.
42008         * sunrpc/netname.c: Likewise.
42009         * sunrpc/pm_getmaps.c: Likewise.
42010         * sunrpc/pm_getport.c: Likewise.
42011         * sunrpc/pmap_clnt.c: Likewise.
42012         * sunrpc/pmap_prot.c: Likewise.
42013         * sunrpc/pmap_prot2.c: Likewise.
42014         * sunrpc/pmap_rmt.c: Likewise.
42015         * sunrpc/publickey.c: Likewise.
42016         * sunrpc/rpc_cmsg.c: Likewise.
42017         * sunrpc/rpc_common.c: Likewise.
42018         * sunrpc/rpc_dtable.c: Likewise.
42019         * sunrpc/rpc_prot.c: Likewise.
42020         * sunrpc/rpc_thread.c: Likewise.
42021         * sunrpc/rtime.c: Likewise.
42022         * sunrpc/svc.c: Likewise.
42023         * sunrpc/svc_auth.c: Likewise.
42024         * sunrpc/svc_authux.c: Likewise.
42025         * sunrpc/svc_raw.c: Likewise.
42026         * sunrpc/svc_run.c: Likewise.
42027         * sunrpc/svc_simple.c: Likewise.
42028         * sunrpc/svc_tcp.c: Likewise.
42029         * sunrpc/svc_udp.c: Likewise.
42030         * sunrpc/svc_unix.c: Likewise.
42031         * sunrpc/svcauth_des.c: Likewise.
42032         * sunrpc/xcrypt.c: Likewise.
42033         * sunrpc/xdr.c: Likewise.
42034         * sunrpc/xdr_array.c: Likewise.
42035         * sunrpc/xdr_float.c: Likewise.
42036         * sunrpc/xdr_intXX_t.c: Likewise.
42037         * sunrpc/xdr_mem.c: Likewise.
42038         * sunrpc/xdr_rec.c: Likewise.
42039         * sunrpc/xdr_ref.c: Likewise.
42040         * sunrpc/xdr_sizeof.c: Likewise.
42041         * sunrpc/xdr_stdio.c: Likewise.
42043 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42045         [BZ #12650]
42046         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42047         * sysdeps/ia64/dl-tls.h: Likewise.
42048         * sysdeps/powerpc/dl-tls.h: Likewise.
42049         * sysdeps/s390/dl-tls.h: Likewise.
42050         * sysdeps/sh/dl-tls.h: Likewise.
42051         * sysdeps/sparc/dl-tls.h: Likewise.
42052         * sysdeps/x86_64/dl-tls.h: Likewise.
42053         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42055 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42057         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42058         rpath element also skip the following colon.
42059         (expand_dynamic_string_token): Add is_path parameter and pass
42060         down to DL_DST_REQUIRED and _dl_dst_substitute.
42061         (decompose_rpath): Call expand_dynamic_string_token with
42062         non-zero is_path.  Ignore empty rpaths.
42063         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42064         with zero is_path.
42066 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42069         Make cancelable.
42071 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42073         [BZ #12655]
42074         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42075         Patch by Filipe David Manana <fdmanana@apache.org>.
42077 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42080         Maintain aligned stack.
42081         (CHECK_RSP): Remove unused macro.
42083 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42085         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42086         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42088 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42090         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42092         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42094 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42096         [BZ #12518]
42097         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42098         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42099         * sysdeps/x86_64/memmove.c: New file.
42100         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42101         (memcpy): Renamed to ...
42102         (__new_memcpy): This.
42103         (memcpy): Provide GLIBC_2_14 memcpy.
42104         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42105         (memcpy): Provide GLIBC_2_2_5 memcpy.
42107 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42109         [BZ #12631]
42110         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42112 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42114         * misc/syncfs.c: New file.
42115         * misc/Makefile (routines): Add syncfs.
42116         * posix/unistd.h: Declare syncfs.
42117         * sysdeps/unix/syscalls.list: Add syncfs.
42119 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42121         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42122         open_by_handle_at.
42123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42124         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42126         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42128         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42131 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42133         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42134         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42135         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42137         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42141         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42142         sync_file_range.c with -fexceptions.
42143         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42144         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42145         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42146         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42147         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42148         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42149         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42150         sync_file_range as cancellation point
42151         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42152         now a wrapper around __call_sync_file_range with cancellation handling.
42153         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42154         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42155         function name to __call_sync_file_range.
42156         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42157         Add call_sync_file_range.
42159 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42162         bits/timex.h.
42164 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42166         * iconv/iconv.h: Fix typo in comment.
42167         * io/fcntl.h: Likewise.
42168         * libio/stdio.h: Likewise.
42169         * posix/spawn.h: Likewise.
42170         * posix/unistd.h: Likewise.
42171         * stdlib/stdlib.h: Likewise.
42172         * time/time.h: Likewise.
42173         * wcsmbs/wchar.h: Likewise.
42175         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42176         open_by_handle): Add.
42177         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42178         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42179         Augment a few comments.
42180         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42182         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42185         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42186         open_by_handle.
42188         * io/fcntl.h (AT_EMPTY_PATH): Define.
42190 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42192         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42193         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42194         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42195         to...
42196         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42197         * Versions.def: Add GLIBC_2.14.
42198         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42199         Export.
42201 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42203         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42204         round counter.
42205         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42207 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42209         [BZ #12597]
42210         * string/test-strncmp.c (do_page_test): New function.
42211         (check2): Likewise.
42212         (test_main): Call check2.
42213         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42215 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42217         [BZ #12587]
42218         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42219         Handle cache information in CPU leaf 4.
42220         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42222 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42224         [BZ #12583]
42225         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42226         character representation.
42227         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42229 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42231         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42232         END(__isnan) to END(__isnanf) to match function entry point/label
42233         EALIGN(__isnanf,...).
42235 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42237         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42239 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42241         [BZ #12510]
42242         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42243         copy from the symbol referenced in the relocation to initialize the
42244         used variable.
42245         Patch by Piotr Bury <pbury@goahead.com>.
42246         * elf/Makefile: Add rules to build and tst-unique3.
42247         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42248         * elf/tst-unique3.cc: New file.
42249         * elf/tst-unique3.h: New file.
42250         * elf/tst-unique3lib.cc: New file.
42251         * elf/tst-unique3lib2.cc: New file.
42253         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42255 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42257         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42258         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
42259         to _start.
42261 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
42263         * elf/dl-load.c (_dl_map_object): If we are looking for the first
42264         to-be-loaded object along a path to loader is ld.so.
42266 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42267             Ulrich Drepper  <drepper@gmail.com>
42269         * sysdeps/x86_64/memset.S: After aligning destination, code
42270         branches to different locations depending on the value of
42271         misalignment, when multiarch is enabled. Fix this.
42273 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42275         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42276         Set _x86_64_preferred_memory_instruction for AMD processsors.
42277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42278         Set bit_Prefer_SSE_for_memop for AMD processors.
42280 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
42282         * libio/fmemopen.c (fmemopen): Optimize a bit.
42284 2011-03-03  Andreas Schwab  <schwab@redhat.com>
42286         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42288 2011-03-03  Roland McGrath  <roland@redhat.com>
42290         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42292 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
42294         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42295         __bzero_ultra1 instead of __memset_ultra1.
42297 2011-02-23  Andreas Schwab  <schwab@redhat.com>
42298             Ulrich Drepper  <drepper@gmail.com>
42300         [BZ #12509]
42301         * include/link.h (struct link_map): Add l_orig_initfini.
42302         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42303         returning unsuccessfully.
42304         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42305         close of a file loaded at startup, restore the original l_initfini
42306         list.
42307         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42308         list, store the pointer.
42309         * elf/Makefile ($(objpfx)noload-mem): New rule.
42310         (noload-ENV): Define.
42311         (tests): Add $(objpfx)noload-mem.
42312         * elf/noload.c: Include <memcheck.h>.
42313         (main): Call mtrace.  Close all opened handles.
42315 2011-02-17  Andreas Schwab  <schwab@redhat.com>
42317         [BZ #12454]
42318         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42319         dependencies are missing.
42321 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42323         Fix __if_freereq crash: Unlike the generic version which uses free,
42324         Hurd needs munmap.
42325         * sysdeps/mach/hurd/ifreq.h: New file.
42327 2011-01-27  Petr Baudis  <pasky@suse.cz>
42328             Ulrich Drepper  <drepper@gmail.com>
42330         [BZ 12445]#
42331         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42332         to extend_alloca().
42333         * stdio-common/bug23.c: New file.
42334         * stdio-common/Makefile (tests): Add bug23.
42336 2010-09-28  Andreas Schwab  <schwab@redhat.com>
42337             Ulrich Drepper  <drepper@gmail.com>
42339         [BZ #12489]
42340         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42341         before performing relro protection.  At old place add assertion
42342         to make sure nothing changed.
42344 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
42345             Glauber de Oliveira Costa  <glommer@gmail.com>
42347         * elf/elf.h: Add new ARM TLS relocs.
42349 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
42351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42352         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42353         cast from r3.
42354         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
42355         'tests' variable.
42356         * sysdeps/wordsize-64/tst-writev.c: New file.
42358 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
42360         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42361         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42362         insns in _dl_start to prevent a TOC reference before relocs are
42363         resolved.
42365 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
42367         [BZ #12469]
42368         * Makeconfig: Remove RANLIB definition.
42369         * Makerules: Don't use RANLIB.
42370         * aclocal.m4: Remove ranlib test.
42371         * configure.in: No need to check for ranlib.
42372         * elf/rtld-Rules: Don't use RANLIB.
42374 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42376         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42377         protection macro.
42378         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42379         inclusion protection macro.
42381         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42382         SIGRTMIN and SIGRTMAX and print information in that case only when
42383         SIGRTMIN is defined.
42385 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
42387         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42388         arginfo fn returning -1.
42390         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42391         and thousands string is zero terminated.
42393 2011-02-03  Andreas Schwab  <schwab@redhat.com>
42395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42396         sysdeps/unix/sysv/linux/bits/socket.h.
42398 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42400         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42401         (__CPU_COUNT): Remove old macros.
42402         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42403         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42404         (__CPU_ALLOC, __CPU_FREE): Add macros.
42405         (__sched_cpualloc, __sched_cpufree): Add declarations.
42407 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
42409         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42410         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42411         * nscd/aicache.c (addhstaiX): Return timeout of added value.
42412         (readdhstai): Return value of addhstaiX call.
42413         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42414         (addgrbyX): Return value returned by cache_addgr.
42415         (readdgrbyname): Return value returned by addgrbyX.
42416         (readdgrbygid): Likewise.
42417         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42418         (addpwbyX): Return value returned by cache_addpw.
42419         (readdpwbyname): Return value returned by addhstbyX.
42420         (readdpwbyuid): Likewise.
42421         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42422         (addservbyX): Return value returned by cache_addserv.
42423         (readdservbyname): Return value returned by addservbyX:
42424         (readdservbyport): Likewise.
42425         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42426         (addhstbyX): Return value returned by cache_addhst.
42427         (readdhstbyname): Return value returned by addhstbyX.
42428         (readdhstbyaddr): Likewise.
42429         (readdhstbynamev6): Likewise.
42430         (readdhstbyaddrv6): Likewise.
42431         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42432         (readdinitgroups): Return value returned by addinitgroupsX.
42433         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42434         (prune_cache): Keep track of timeout value of re-added entries.
42435         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42436         * nscd/nscd.h: Adjust prototypes of readd* functions.
42438 2011-02-04  Roland McGrath  <roland@redhat.com>
42440         * nis/nis_server.c (nis_servstate): Use the right name for 0.
42441         (nis_stats): Likewise.
42442         * nis/nis_modify.c (nis_modify): Likewise.
42443         * nis/nis_remove.c (nis_remove): Likewise.
42444         * nis/nis_add.c (nis_add): Likewise.
42446         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42448         * posix/fnmatch_loop.c: Add some consts.
42450         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42452 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
42454         [BZ #12460]
42455         * config.make.in (config-cflags-novzeroupper): Define.
42456         * configure.in: Substitute libc_cv_cc_novzeroupper.
42457         * elf/Makefile (AVX-CFLAGS): Define.
42458         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42459         (CFLAGS-tst-auditmod4a.c): Likewise.
42460         (CFLAGS-tst-auditmod4b.c): Likewise.
42461         (CFLAGS-tst-auditmod6b.c): Likewise.
42462         (CFLAGS-tst-auditmod6c.c): Likewise.
42463         (CFLAGS-tst-auditmod7b.c): Likewise.
42464         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42466 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
42468         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42469         function to the callback.
42470         Patch partly by Jiri Olsa <jolsa@redhat.com>.
42472 2011-02-02  Andreas Schwab  <schwab@redhat.com>
42474         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42475         of errno.
42477 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
42479         [BZ #11724]
42480         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42481         of constructors.
42482         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42483         of destructors.
42484         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42486         [BZ #11724]
42487         * elf/Makefile: Add rules to build and run new test.
42488         * elf/tst-initorder.c: New file.
42489         * elf/tst-initorder.exp: New file.
42490         * elf/tst-initordera1.c: New file.
42491         * elf/tst-initordera2.c: New file.
42492         * elf/tst-initordera3.c: New file.
42493         * elf/tst-initordera4.c: New file.
42494         * elf/tst-initorderb1.c: New file.
42495         * elf/tst-initorderb2.c: New file.
42496         * elf/tst-order-a1.c: New file.
42497         * elf/tst-order-a2.c: New file.
42498         * elf/tst-order-a3.c: New file.
42499         * elf/tst-order-a4.c: New file.
42500         * elf/tst-order-b1.c: New file.
42501         * elf/tst-order-b2.c: New file.
42502         * elf/tst-order-main.c: New file.
42503         New test case by George Gensure <werkt0@gmail.com>.
42505 2010-10-01  Andreas Schwab  <schwab@redhat.com>
42507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42508         decoding ACE if AI_CANONIDN.
42510 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
42512         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42514 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
42516         * version.h (RELEASE): Bump for 2.13 release.
42517         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42519         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42521         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42522         MADV_NOHUGEPAGE.
42523         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42524         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42526         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42528         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42530         * posix/getconf.c: Update copyright year.
42531         * catgets/gencat.c: Likewise.
42532         * csu/version.c: Likewise.
42533         * debug/catchsegv.sh: Likewise.
42534         * debug/xtrace.sh: Likewise.
42535         * elf/ldconfig.c: Likewise.
42536         * elf/ldd.bash.in: Likewise.
42537         * elf/sprof.c (print_version): Likewise.
42538         * iconv/iconv_prog.c: Likewise.
42539         * iconv/iconvconfig.c: Likewise.
42540         * locale/programs/locale.c: Likewise.
42541         * locale/programs/localedef.c: Likewise.
42542         * malloc/memusage.sh: Likewise.
42543         * malloc/mtrace.pl: Likewise.
42544         * nscd/nscd.c (print_version): Likewise.
42545         * nss/getent.c: Likewise.
42547         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42548         PF_CAIF, and PF_ALG.
42549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42551 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
42553         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42554         (modules-names): Use them.
42555         (ifunc-test-modules, ifunc-pie-tests): Define.
42556         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42557         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42558         (test-extras): Likewise.
42559         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42560         $(compile-command.c).
42561         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42562         (all-built-dso): Define.
42563         (check-textrel.out, check-execstack.out): Depend on it.
42565         * configure.in: Don't override --enable-multi-arch.
42567 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
42569         [BZ #6812]
42570         * nscd/hstcache.c (tryagain): Define.
42571         (cache_addhst): Return tryagain not notfound for temporary errors.
42572         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42573         failed.
42575 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
42577         [BZ #10563]
42578         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42579         to make the syscall.
42580         * sysdeps/unix/sysv/linux/setgroups.c: New file.
42582         [BZ #12378]
42583         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42584         and fall back to matching as normal character if the string ends before
42585         the matching ']' is found.  This is what POSIX requires.
42586         * posix/testfnm.c: Adjust test result.
42587         * posix/globtest.sh: Adjust test result.  Add new test.
42588         * posix/tst-fnmatch.input: Likewise.
42589         * posix/tst-fnmatch2.c: Add new test.
42591 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
42593         * elf/Makefile (check-execstack): Revert last change.  Depend on
42594         check-execstack.h.
42595         (check-execstack.h): New target.
42596         (generated): Add check-execstack.h.
42597         * elf/check-execstack.c: Include "check-execstack.h".
42598         (main): Revert last change.
42599         (handle_file): Return zero if GNU_STACK is absent and
42600         DEFAULT_STACK_PERMS doesn't include PF_X.
42602 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
42604         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42605         in child fails because the descriptor is already closed.
42606         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42607         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42608         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42610         [BZ #12397]
42611         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42612         syscall.
42614         [BZ #10484]
42615         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42616         temporary buffer used to handle multi lookups locally.
42617         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42619 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42621         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42622         loader is ld.so.
42624 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
42626         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42627         alignment for SSE2.
42629 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42631         [BZ #12394]
42632         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42633         characters.  When rounding increased number of integer digits recompute
42634         number of groups.
42635         * stdio-common/tst-grouping.c: New file.
42636         * stdio-common/Makefile: Add rules to build and run tst-grouping.
42638 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
42640         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42641         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
42643         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42644         void.
42645         * bits/select.h: Likewise.
42647 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
42649         * po/ja.po: Update from translation team.
42651 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
42653         [BZ #11155]
42654         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42655         implementation just like for lxstat, fxstatat, et al.
42657 2010-12-27  Jim Meyering  <meyering@redhat.com>
42659         [BZ #12348]
42660         * posix/regexec.c (build_trtable): Return failure indication upon
42661         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
42663 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
42665         [BZ #12201]
42666         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42667         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42668         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42669         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42671         [BZ #12207]
42672         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42674         [BZ #12204]
42675         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42676         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42678 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
42680         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42681         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42682         script has SORT_BY_INIT_PRIORITY.
42683         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42684         NO_CTORS_DTORS_SECTIONS is defined.
42685         * elf/soinit.c: Likewise.
42686         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42687         NO_CTORS_DTORS_SECTIONS is defined.
42688         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42689         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42690         * sysdeps/sh/init-first.c: Likewise.
42691         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42693 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
42695         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42696         always use the slow path.
42698 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
42700         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42701         similar rule which adds the sysdep directories to the header search in
42702         order to pick up the correct platform stackinfo.h.
42703         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42704         perform test if it is, otherwise return successfully without testing.
42705         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42706         DEFAULT_STACK_PERMS define in stackinfo.h.
42707         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42708         defined in stackinfo.h.
42709         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42710         DEFAULT_STACK_PERMS defined in stackinfo.h.
42711         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42712         * sysdeps/ia64/stackinfo.h: Likewise.
42713         * sysdeps/s390/stackinfo.h: Likewise.
42714         * sysdeps/sh/stackinfo.h: Likewise.
42715         * sysdeps/sparc/stackinfo.h: Likewise.
42716         * sysdeps/x86_64/stackinfo.h: Likewise.
42717         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42718         PF_X for powerpc64.  Retain PF_X for powerpc32.
42720 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
42722         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42723         accurately.
42724         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42725         GETDENTS_64BIT_ALIGNED.
42727 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
42729         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42731 2010-12-10  Andreas Schwab  <schwab@redhat.com>
42733         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42734         _GNU_SOURCE.
42736         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42737         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42738         Remove __restrict.
42739         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42740         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42742 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
42744         [BZ #11655]
42745         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42746         are initialized.
42748 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
42750         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42752 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
42754         * po/it.po: Update from translation team.
42756 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
42758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42759         unused codes.
42761 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
42763         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42765 2010-11-24  Andreas Schwab  <schwab@redhat.com>
42767         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42768         specially.
42769         (gaih_getanswer_slice): Likewise.
42771 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
42773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42775 2010-05-31  Petr Baudis  <pasky@suse.cz>
42777         [BZ #11149]
42778         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42779         silently even in the chroot mode.
42781 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
42783         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42784         last patch a bit.  Pretty printing
42786 2010-05-31  Petr Baudis <pasky@suse.cz>
42788         [BZ #10085]
42789         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42790         initialization of skip_initgroups_dyn.
42792 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
42794         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42795         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42797 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
42799         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42801 2010-11-11  Andreas Schwab  <schwab@redhat.com>
42803         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42804         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42805         (tst-fnmatch-ENV): Set MALLOC_TRACE.
42806         ($(objpfx)tst-fnmatch-mem): New rule.
42807         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42808         * posix/tst-fnmatch.c (main): Call mtrace.
42810 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
42812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42813         Support Intel processor model 6 and model 0x2c.
42815 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
42817         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42818           signed comparison.
42820 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
42822         [BZ #12205]
42823         * string/test-strncasecmp.c (check_result): New function.
42824         (do_one_test): Use it.
42825         (check1): New function.
42826         (test_main): Use it.
42827         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42828         Support strcasecmp and strncasecmp.
42830 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
42832         [BZ #12194]
42833         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42834         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42836 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42838         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42839         IFUNC support.
42840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42841         memset-x86-64.
42842         * sysdeps/x86_64/multiarch/bzero.S: New file.
42843         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42844         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42845         * sysdeps/x86_64/multiarch/memset.S: New file.
42846         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42848         Set bit_Prefer_SSE_for_memop for Intel processors.
42849         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42850         Define.
42851         (index_Prefer_SSE_for_memop): Define.
42852         (HAS_PREFER_SSE_FOR_MEMOP): Define.
42854 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
42856         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42857         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42859 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
42861         [BZ #12191]
42862         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42863         (__x86_64_raw_data_cache_size_half): Likewise.
42864         (__x86_64_raw_shared_cache_size): Likewise.
42865         (__x86_64_raw_shared_cache_size_half): Likewise.
42867         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42868         (__x86_64_raw_data_cache_size_half): Likewise.
42869         (__x86_64_raw_shared_cache_size): Likewise.
42870         (__x86_64_raw_shared_cache_size_half): Likewise.
42871         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42872         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42873         and __x86_64_raw_shared_cache_size_half.  Round
42874         __x86_64_data_cache_size_half, __x86_64_data_cache_size
42875         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42876         to multiple of 256 bytes.
42878 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
42880         [BZ #12167]
42881         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42882         of inacessible symlinks.  Verify result of symlink before returning it.
42883         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42884         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42886 2010-10-28  Erich Ritz  <erichritz@gmail.com>
42888         * math/math.h (isinf): Fix typo in comment.
42890 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
42892         * po/da.po: Update from translation team.
42894 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
42896         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42897         is added to the list.
42899 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42900             Ulrich Drepper  <drepper@gmail.com>
42902         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42903         the global list here.  Move code to...
42904         (_dl_add_to_namespace_list): ...here.  New function.
42905         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42906         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42907         * elf/dl-load.c (lose): Don't remove the element from the list.
42908         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42909         (_dl_map_object): Likewise.
42911 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42913         [BZ #12159]
42914         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42915         into all bytes of SSE register.
42916         Patch by Richard Li <richardpku@gmail.com>.
42918 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42920         [BZ #12140]
42921         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42922         perturbing.
42924 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42926         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42927         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42928         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42929         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42931         submachine.
42932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42934 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42936         * include/dlfcn.h (__RTLD_SECURE): Define.
42937         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42938         mode & __RTLD_SECURE instead.
42939         (open_path): Rename preloaded parameter to secure.
42940         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42941         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42942         * elf/dl-deps.c (openaux): Likewise.
42943         * elf/rtld.c (struct map_args): Remove is_preloaded.
42944         (map_doit): Don't use it.
42945         (dl_main): Likewise.
42946         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42947         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42949 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42951         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42952         (sysd-rules-targets): Remove duplicates.
42953         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42954         rtld-%.$o dependency.
42956 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42958         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42959         _dl_map_object do it.
42961 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42963         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42964         fast fma builtins, define the macros in the C99 standard.
42965         (FP_FAST_FMAF): Likewise.
42966         (FP_FAST_FMAL): Likewise.
42967         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42969         * bits/mathdef.h: Update copyright year.
42970         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42972 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42974         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42975         builtins, define the macros in the C99 standard.
42976         (FP_FAST_FMAF): Likewise.
42977         (FP_FAST_FMAL): Likewise.
42978         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42979         multiply/add.
42980         (FP_FAST_FMAF): Likewise.
42982 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42984         [BZ #3268]
42985         * math/libm-test.inc (fma_test): Some new testcases.
42986         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42987         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42988         y and infinite z.  Do multiplication by C already in long double.
42989         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42991         y and infinite z.  Do bitwise or of inexact bit into u.d.
42992         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42993         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42994         * sysdeps/i386/fpu/s_fma.S: Removed.
42995         * sysdeps/i386/fpu/s_fmal.S: Removed.
42997 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42999         [BZ #3268]
43000         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43002         computation is not scheduled after fetestexcept.  Fix value
43003         of minimum denormal long double.
43005 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43007         [BZ #3268]
43008         * math/libm-test.inc (fma_test): Add some more tests.
43009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43010         correctly.
43012 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43014         * scripts/data/localplt-s390-linux-gnu.data: New file.
43015         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43017 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43019         [BZ #3268]
43020         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43021         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43022         instead of dbl-64.
43023         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43024         inlines.
43025         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43027         if one of x and y is very large and the other is subnormal.
43028         * sysdeps/s390/fpu/s_fmaf.c: New file.
43029         * sysdeps/s390/fpu/s_fma.c: New file.
43030         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43031         * sysdeps/powerpc/fpu/s_fma.S: New file.
43032         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43033         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43034         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43036 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43038         [BZ #3268]
43039         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43040         fma tests.
43041         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43042         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43043         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43044         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43045         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43046         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43047         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43049 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43051         [BZ #12078]
43052         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43053         * posix/bug-regex31.input: Add test case.
43055 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43057         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43058         * posix/bug-regex31.input: New file.
43060         [BZ #12078]
43061         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43062         (parse_sub_exp): Fix last change, use postorder.
43064         * posix/bug-regex31.c: New file.
43065         * posix/Makefile: Add rules to build and run bug-regex31.
43067         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43069         [BZ #12078]
43070         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43072         [BZ #12108]
43073         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43074         to have entries in sys_siglist.
43076         [BZ #12093]
43077         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43078         be NULL.
43080 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43082         [BZ #3268]
43083         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43084         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43085         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43086         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43087         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43088         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43089         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43090         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43091         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43092         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43093         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43094         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43095         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43096         * math/ftestexcept.c (fetestexcept): Likewise.
43097         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43098         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43099         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43100         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43101         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43102         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43103         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43105 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43107         [BZ #12107]
43108         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43109         newline.
43111 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43113         * string/bug-strstr1.c: New file.
43114         * string/Makefile: Add rules to build and run bug-strstr1.
43116 2010-10-05  Eric Blake  <eblake@redhat.com>
43118         [BZ #12092]
43119         * string/str-two-way.h (two_way_long_needle): Always clear memory
43120         when skipping input due to the shift table.
43122 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43124         [BZ #12005]
43125         * malloc/mcheck.c: Handle large requests.
43127         [BZ #12077]
43128         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43129         for strncmp and strncasecmp.
43130         * string/stratcliff.c: Add tests for strcmp and strncmp.
43131         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43133 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43135         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43136         __set_fpscr.
43138 2010-09-30  Andreas Jaeger  <aj@suse.de>
43140         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43141         (CGROUP_SUPER_MAGIC): Define.
43142         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43143         Handle btrfs and cgroup file systems.
43144         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43145         Likewise.
43147 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43149         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43150         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43152 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43154         [BZ #12067]
43155         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43156         trying to locate the ELF header.
43158 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43160         [BZ #11611]
43161         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43162         Mask out sign-bit copies when constructing f_fsid.
43164 2010-09-24  Petr Baudis <pasky@suse.cz>
43166         * debug/stack_chk_fail_local.c: Add missing licence exception.
43167         * debug/warning-nop.c: Likewise.
43169 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43171         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43172         implementing getdents64 using getdents syscall, set d_type if
43173         __ASSUME_GETDENTS32_D_TYPE.
43175 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43177         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43178         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43180 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43182         [BZ #12037]
43183         * posix/unistd.h: Undo change of feature selection for ftruncate from
43184         2010-01-11.
43186 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43188         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43189         detection.
43191 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43193         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43194         fanotify_mark.
43195         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43197 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43199         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43200         variables after CHECK_SP call.
43201         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43203 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43204             Ulrich Drepper  <drepper@redhat.com>
43206         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43207         re-relocationg ld.so.
43208         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43209         _dl_init_paths call.
43210         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43211         here anymore.
43213 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43215         * resolv/res_init.c (__res_vinit): Count the default server we added.
43217 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43218             Ulrich Drepper  <drepper@redhat.com>
43220         [BZ #11968]
43221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43222         (____longjmp_chk): Use %ebx for saving value across system call.
43223         Add unwind info.
43225 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43227         * manual/Makefile: Don't mix pattern rules with normal rules.
43229 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43231         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43232         operation.
43233         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43234         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43235         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43236         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43238         Likewise.
43240 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43242         [BZ #11979]
43243         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43244         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43246 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43248         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43249         * sysdeps/x86_64/addmul_1.S: Likewise.
43250         * sysdeps/x86_64/lshift.S: Likewise.
43251         * sysdeps/x86_64/mul_1.S: Likewise.
43252         * sysdeps/x86_64/rshift.S: Likewise.
43253         * sysdeps/x86_64/sub_n.S: Likewise.
43254         * sysdeps/x86_64/submul_1.S: Likewise.
43256 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43258         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43259         Define __sched_param instead of SCHED_* and sched_param when
43260         <bits/sched.h> is included with __need_schedparam defined.
43261         * bits/sched.h [__need_schedparam]
43262         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43263         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43264         (__defined_schedparam): Define to 1.
43265         (__sched_param): New structure, identical to sched_param.
43266         (__need_schedparam): Undefine.
43268 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
43270         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43271         (epoll_create1): Declare.
43273         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43275 2010-08-31  Andreas Schwab  <schwab@redhat.com>
43277         [BZ #7066]
43278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43279         shifting retval into place.
43281 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
43283         * nis/rpcsvc/nis.h: Update copyright notice.
43284         * nis/rpcsvc/nis.x: Likewise.
43285         * nis/rpcsvc/nis_callback.h: Likewise.
43286         * nis/rpcsvc/nis_callback.x: Likewise.
43287         * nis/rpcsvc/nis_object.x: Likewise.
43288         * nis/rpcsvc/nis_tags.h: Likewise.
43289         * nis/rpcsvc/yp.h: Likewise.
43290         * nis/rpcsvc/yp.x: Likewise.
43291         * nis/rpcsvc/ypupd.h: Likewise.
43292         * nis/yp_xdr.c: Likewise.
43293         * nis/ypupdate_xdr.c: Likewise.
43295         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
43296         mainly the body of pmap_getport.  Add parameters to specify timeouts.
43297         (pmap_getport): Use __libc_rpc_getport.
43298         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43299         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43300         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43302 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
43304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43305         fanotify_mark.
43307 2010-08-27  Roland McGrath  <roland@redhat.com>
43309         * sysdeps/i386/i686/multiarch/Makefile
43310         (CFLAGS-varshift.c): New variable.
43312 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
43314         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43315         * sysdeps/i386/i686/multiarch/varshift.c: New file.
43317         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43319         * sysdeps/x86_64/strlen.S: Minimal code improvement.
43321 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
43323         * sysdeps/x86_64/strlen.S: Unroll the loop.
43324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43325         strlen-sse2 strlen-sse2-bsf.
43326         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43327         __strlen_no_bsf if bit_Slow_BSF is set.
43328         (__strlen_sse42): Removed.
43329         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43330         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43332 2010-08-25  Roland McGrath  <roland@redhat.com>
43334         * sysdeps/x86_64/multiarch/varshift.S: File removed.
43335         * sysdeps/x86_64/multiarch/varshift.c: New file.
43336         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43337         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43338         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43339         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43341 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
43343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43344         strlen-sse2 strlen-sse2-bsf.
43345         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43346         __strlen_sse2_bsf if bit_Slow_BSF is unset.
43347         (__strlen_sse2): Removed.
43348         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43349         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43351         bit_Slow_BSF for Atom.
43352         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43353         (index_Slow_BSF): Define.
43354         (HAS_SLOW_BSF): Define.
43356 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
43358         [BZ #10851]
43359         * resolv/res_init.c (__res_vinit): When no server address at all
43360         is given default to loopback.
43362 2010-08-24  Roland McGrath  <roland@redhat.com>
43364         * configure.in: Remove config-name.h generation.
43365         * configure: Regenerated.
43366         * config-name.in: File removed.
43367         * scripts/config-uname.sh: New file.
43368         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43369         ($(objdir)config-name.h): New target.
43371         * sunrpc/rpc_parse.h: Avoid nested comment.
43373 2010-08-24  Richard Henderson  <rth@redhat.com>
43374             Ulrich Drepper  <drepper@redhat.com>
43375             H.J. Lu  <hongjiu.lu@intel.com>
43377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43379         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43380         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
43381         _mm_alignr_epi8 with _mm_loadu_si128.
43382         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43383         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43384         (__m128i_shift_right): Removed.
43385         * sysdeps/i386/i686/multiarch/varshift.h: New file.
43386         * sysdeps/i386/i686/multiarch/varshift.S: New file.
43387         * sysdeps/x86_64/multiarch/varshift.h: New file.
43388         * sysdeps/x86_64/multiarch/varshift.S: New file.
43390 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
43392         * configure.in: Move assembler checks to before sysdep dir checking.
43394 2010-08-20  Petr Baudis  <pasky@suse.cz>
43396         * LICENSES: Sync the sunrpc license.
43398 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
43400         * sunrpc/auth_des.c: Update copyright notice once again.
43401         * sunrpc/auth_none.c: Likewise.
43402         * sunrpc/auth_unix.c: Likewise.
43403         * sunrpc/authdes_prot.c: Likewise.
43404         * sunrpc/authuxprot.c: Likewise.
43405         * sunrpc/bindrsvprt.c: Likewise.
43406         * sunrpc/clnt_gen.c: Likewise.
43407         * sunrpc/clnt_perr.c: Likewise.
43408         * sunrpc/clnt_raw.c: Likewise.
43409         * sunrpc/clnt_simp.c: Likewise.
43410         * sunrpc/clnt_tcp.c: Likewise.
43411         * sunrpc/clnt_udp.c: Likewise.
43412         * sunrpc/clnt_unix.c: Likewise.
43413         * sunrpc/des_crypt.c: Likewise.
43414         * sunrpc/des_soft.c: Likewise.
43415         * sunrpc/get_myaddr.c: Likewise.
43416         * sunrpc/getrpcport.c: Likewise.
43417         * sunrpc/key_call.c: Likewise.
43418         * sunrpc/key_prot.c: Likewise.
43419         * sunrpc/openchild.c: Likewise.
43420         * sunrpc/pm_getmaps.c: Likewise.
43421         * sunrpc/pm_getport.c: Likewise.
43422         * sunrpc/pmap_clnt.c: Likewise.
43423         * sunrpc/pmap_prot.c: Likewise.
43424         * sunrpc/pmap_prot2.c: Likewise.
43425         * sunrpc/pmap_rmt.c: Likewise.
43426         * sunrpc/rpc/auth.h: Likewise.
43427         * sunrpc/rpc/auth_unix.h: Likewise.
43428         * sunrpc/rpc/clnt.h: Likewise.
43429         * sunrpc/rpc/des_crypt.h: Likewise.
43430         * sunrpc/rpc/key_prot.h: Likewise.
43431         * sunrpc/rpc/netdb.h: Likewise.
43432         * sunrpc/rpc/pmap_clnt.h: Likewise.
43433         * sunrpc/rpc/pmap_prot.h: Likewise.
43434         * sunrpc/rpc/pmap_rmt.h: Likewise.
43435         * sunrpc/rpc/rpc.h: Likewise.
43436         * sunrpc/rpc/rpc_des.h: Likewise.
43437         * sunrpc/rpc/rpc_msg.h: Likewise.
43438         * sunrpc/rpc/svc.h: Likewise.
43439         * sunrpc/rpc/svc_auth.h: Likewise.
43440         * sunrpc/rpc/types.h: Likewise.
43441         * sunrpc/rpc/xdr.h: Likewise.
43442         * sunrpc/rpc_clntout.c: Likewise.
43443         * sunrpc/rpc_cmsg.c: Likewise.
43444         * sunrpc/rpc_common.c: Likewise.
43445         * sunrpc/rpc_cout.c: Likewise.
43446         * sunrpc/rpc_dtable.c: Likewise.
43447         * sunrpc/rpc_hout.c: Likewise.
43448         * sunrpc/rpc_main.c: Likewise.
43449         * sunrpc/rpc_parse.c: Likewise.
43450         * sunrpc/rpc_parse.h: Likewise.
43451         * sunrpc/rpc_prot.c: Likewise.
43452         * sunrpc/rpc_sample.c: Likewise.
43453         * sunrpc/rpc_scan.c: Likewise.
43454         * sunrpc/rpc_scan.h: Likewise.
43455         * sunrpc/rpc_svcout.c: Likewise.
43456         * sunrpc/rpc_tblout.c: Likewise.
43457         * sunrpc/rpc_util.c: Likewise.
43458         * sunrpc/rpc_util.h: Likewise.
43459         * sunrpc/rpcinfo.c: Likewise.
43460         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43461         * sunrpc/rpcsvc/key_prot.x: Likewise.
43462         * sunrpc/rpcsvc/klm_prot.x: Likewise.
43463         * sunrpc/rpcsvc/mount.x: Likewise.
43464         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43465         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43466         * sunrpc/rpcsvc/rex.x: Likewise.
43467         * sunrpc/rpcsvc/rstat.x: Likewise.
43468         * sunrpc/rpcsvc/rusers.x: Likewise.
43469         * sunrpc/rpcsvc/sm_inter.x: Likewise.
43470         * sunrpc/rpcsvc/spray.x: Likewise.
43471         * sunrpc/rpcsvc/yppasswd.x: Likewise.
43472         * sunrpc/rtime.c: Likewise.
43473         * sunrpc/svc.c: Likewise.
43474         * sunrpc/svc_auth.c: Likewise.
43475         * sunrpc/svc_authux.c: Likewise.
43476         * sunrpc/svc_raw.c: Likewise.
43477         * sunrpc/svc_run.c: Likewise.
43478         * sunrpc/svc_simple.c: Likewise.
43479         * sunrpc/svc_tcp.c: Likewise.
43480         * sunrpc/svc_udp.c: Likewise.
43481         * sunrpc/svc_unix.c: Likewise.
43482         * sunrpc/svcauth_des.c: Likewise.
43483         * sunrpc/xcrypt.c: Likewise.
43484         * sunrpc/xdr.c: Likewise.
43485         * sunrpc/xdr_array.c: Likewise.
43486         * sunrpc/xdr_float.c: Likewise.
43487         * sunrpc/xdr_mem.c: Likewise.
43488         * sunrpc/xdr_rec.c: Likewise.
43489         * sunrpc/xdr_ref.c: Likewise.
43490         * sunrpc/xdr_sizeof.c: Likewise.
43491         * sunrpc/xdr_stdio.c: Likewise.
43493         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43494         handling.
43496 2010-08-19  Andreas Schwab  <schwab@redhat.com>
43498         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43500 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
43502         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43503         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43504         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43505         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43506         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43507         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43508         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43509         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43511         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43512         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43513         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43514         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43515         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43517 2010-07-26  Anton Blanchard  <anton@samba.org>
43519         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43520         * malloc/arena.c (heap_trim): Likewise.
43522 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
43524         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43525         here.  Not...
43526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43527         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43529 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43531         * sysdeps/i386/elf/Makefile: New file.
43533 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43535         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43536         from fanotify_init.
43537         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43538         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43540 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
43542         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43543         of strncasecmp_l.
43544         * sysdeps/multiarch/strcmp.S: Likewise.
43546 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
43548         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43549         strncase_l-nonascii.
43550         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43551         Add strncase_l-ssse3.
43552         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43553         * sysdeps/x86_64/strcmp.S: Likewise.
43554         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43555         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43556         * sysdeps/x86_64/strncase.S: New file.
43557         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43558         * sysdeps/x86_64/strncase_l.S: New file.
43559         * string/Makefile (strop-tests): Add strncasecmp.
43560         * string/test-strncasecmp.c: New file.
43562         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43563         warning.
43565         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43566         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43568 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43570         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43572 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
43574         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43575         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43576         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43578 2010-05-01  Alan Modra  <amodra@gmail.com>
43580         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43581         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43582         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43583         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43584         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43585         tidying.  Don't tail-call __sigjmp_save for static lib.
43586         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43587         save location.
43588         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43589         (CALL_MCOUNT): Add eh info, and nop after bl.
43590         (TAIL_CALL_SYSCALL_ERROR): New macro.
43591         (PSEUDO_RET): Use it.
43592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43593         Correct save location of integer regs and cr.
43594         (_dl_profile_resolve): Correct cr save location.  Delete nops
43595         after bl when SHARED.  Reduce cfi size a little by better
43596         placement of cfi directives.
43597         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43598         make a stack frame.  Instead use parm save area as a temp.
43599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43600         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
43601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43602         Don't make a stack frame for parent, use parm save area.
43603         Increase child stack frame to 112 bytes.  Don't save unused reg,
43604         and adjust reg usage.  Set up cfi on error recovery and
43605         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43607         (__makecontext): Add dummy nop after jump to exit.
43608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43609         Use correct parm save area and cr save, reduce stack frame.
43610         Correct cfi for possible PSEUDO_RET frame setup.
43611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43612         Branch to local label emitted by PSEUDO_RET rather than
43613         __syscall_error.
43615 2010-08-12  Andreas Schwab  <schwab@redhat.com>
43617         [BZ #11904]
43618         * locale/programs/locale.c (print_assignment): New function.
43619         (show_locale_vars): Use it.
43621 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
43623         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43624         field.
43625         (struct statfs64): Likewise.
43626         (_STATFS_F_FLAGS): Define.
43627         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43628         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43629         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43630         (ST_VALID): Define locally.
43631         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43632         __statvfs_getflags, use the provided value.
43633         * sysdeps/unix/sysv/linux/kernel-features.h: Define
43634         __ASSUME_STATFS_F_FLAGS.
43636         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43638         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43639         Add sys/fanotify.h.
43640         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43641         fanotify_mask for GLIBC_2.13.
43642         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43643         fanotify_init and fanotify_mark.
43644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43645         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43647         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43648         Add prlimit.
43649         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43650         prlimit64 for GLIBC_2.13.
43651         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43652         prlimit64.
43653         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43654         syscall.
43655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43656         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43657         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43658         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
43660         add prlimit alias.
43661         * sysdeps/unix/sysv/linux/prlimit.c: New file.
43663         [BZ #11903]
43664         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43665         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43667         * nss/Makefile: Add rules to build and run tst-nss-test1.
43668         * shlib-versions: Add entry for libnss_test1.
43669         * nss/nss_test1.c: New file.
43670         * nss/tst-nss-test1.c: New file.
43672         * nss/nsswitch.c (__nss_database_custom): Define new variable.
43673         (__nss_configure_lookup): Set appropriate entry in
43674         __nss_configure_lookup to true.
43675         * nss/nsswitch.h: Define enum with indeces of databases in
43676         databases and __nss_database_custom arrays.  Declare
43677         __nss_database_custom.
43678         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43679         to avoid using nscd when custom rules are installed.
43680         * nss/getXXbyYY_r.c: Likewise.
43681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43683         * nss/nss_files/files-parse.c: Whitespace fixes.
43685 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
43687         [BZ #11883]
43688         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43689         * posix/fnmatch_loop.c: Likewise.
43691 2010-07-17  Andi Kleen  <ak@linux.intel.com>
43693         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43694         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43695         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43696         * Versions.def [GLIBC_2.13]: Add.
43698 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
43700         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43701         Also fail if tpwd after pwuid call is NULL.
43703 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43705         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43706         when converting to ms.
43708 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43710         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43711         EOPNOTSUPP errors with ENOTTY.
43712         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43713         EOPNOTSUPP errors with ENOTTY.
43715 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
43717         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43718         Add strcasecmp_l-ssse3.
43719         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43720         strcasecmp.
43721         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43722         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43723         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43725 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
43727         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43729         * string/Makefile (strop-tests): Add strcasecmp.
43730         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43731         strcasecmp_l-nonascii.
43732         (gen-as-const-headers): Add locale-defines.sym.
43733         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43734         * sysdeps/x86_64/strcasecmp.S: New file.
43735         * sysdeps/x86_64/strcasecmp_l.S: New file.
43736         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43737         * sysdeps/x86_64/locale-defines.sym: New file.
43738         * string/test-strcasecmp.c: New file.
43740         * string/test-strcasestr.c: Test both ends of the range of characters.
43741         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43743 2010-07-29  Roland McGrath  <roland@redhat.com>
43745         [BZ #11856]
43746         * manual/locale.texi (Yes-or-No Questions): Fix example code.
43748 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
43750         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43751         for ld.so.
43753 2010-07-27  Andreas Schwab  <schwab@redhat.com>
43755         * manual/memory.texi (Malloc Tunable Parameters): Document
43756         M_PERTURB.
43758 2010-07-26  Roland McGrath  <roland@redhat.com>
43760         [BZ #11840]
43761         * configure.in (-fgnu89-inline check): Set and substitute
43762         gnu89_inline, not libc_cv_gnu89_inline.
43763         * configure: Regenerated.
43764         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43766 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
43768         * string/test-strnlen.c: New file.
43769         * string/Makefile (strop-tests): Add strnlen.
43770         * string/tester.c (test_strnlen): Add a few more test cases.
43771         * string/tst-strlen.c: Better error reporting.
43773         * sysdeps/x86_64/strnlen.S: New file.
43775 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
43777         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43778         lower-latency instructions.
43780 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
43782         * string/test-strcasestr.c: New file.
43783         * string/test-strstr.c: New file.
43784         * string/Makefile (strop-tests): Add strstr and strcasestr.
43785         * string/str-two-way.h: Don't undefine MAX.
43786         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43788 2010-07-21  Andreas Schwab  <schwab@redhat.com>
43790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43791         strcasestr-nonascii.
43792         (CFLAGS-strcasestr-nonascii.c): Define.
43793         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43794         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43795         Remove unused attribute.
43797 2010-07-20  Roland McGrath  <roland@redhat.com>
43799         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43800         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
43801         ld.so.cache was broken.  With it, there is no way to disable dsocaps
43802         like LD_HWCAP_MASK can disable hwcaps.
43804 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43806         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43808 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
43810         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43811         call in strcasestr.
43812         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43813         __strcasestr_sse42_nonascii.
43814         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43815         strcasestr-nonascii.c.
43816         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43818 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
43820         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43821         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43822         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43823         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43825 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
43827         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43828         fcntl.
43830 2010-07-06  Andreas Schwab  <schwab@redhat.com>
43832         [BZ #11577]
43833         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43834         dl_signal_cerror.
43836 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
43838         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43839         _PC_PIPE_BUF using F_GETPIPE_SZ.
43841 2010-07-05  Roland McGrath  <roland@redhat.com>
43843         * manual/arith.texi (Rounding Functions): Fix rint description
43844         implicit in round description.
43846 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
43848         * elf/Makefile: Fix linking for a few tests to make recent linker
43849         happy.
43851 2010-06-30  Andreas Schwab  <schwab@redhat.com>
43853         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43854         $(common-objpfx)libc_nonshared.a.
43856 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
43858         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43859         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43860         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43861         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43862         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43863         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43864         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43865         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43880         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43881         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43882         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43883         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43884         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43885         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43886         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43887         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43888         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43889         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43890         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43891         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43907 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43909         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43910         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43911         * string/memmove.c (memmove): Renamed to ...
43912         (MEMMOVE): ...this.  Default to memmove.
43913         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43914         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43915         (END_CHK): Define.
43916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43917         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43918         mempcpy-ssse3-back memmove-ssse3-back.
43919         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43920         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43921         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43922         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43923         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43924         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43925         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43926         * sysdeps/x86_64/multiarch/memmove.c: New file.
43927         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43928         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43929         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43930         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43933         Define.
43934         (index_Fast_Copy_Backward): Define.
43935         (HAS_ARCH_FEATURE): Define.
43936         (HAS_FAST_REP_STRING): Define.
43937         (HAS_FAST_COPY_BACKWARD): Define.
43939 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43941         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43942         Restore proper fallback handling.
43944 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43946         [BZ #11701]
43947         * posix/group_member.c (__group_member): Correct checking loop.
43949         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43950         OOM in getpwuid_r correctly.  Return error number when the caller
43951         should return, otherwise -1.
43952         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43953         call returning > 0 value.
43954         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43956 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43958         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43959         libc_nonshared.a from targets in modules-names.
43961 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43963         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43964         requires it.
43966 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43968         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43969         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43973 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43975         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43977 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43979         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43980         and F_GETPIPE_SZ.
43981         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43982         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43983         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43985         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43986         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43988 2010-06-14  Roland McGrath  <roland@redhat.com>
43990         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43992 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43994         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43995         __REDIRECT followed by __THROW.
43996         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43997         * posix/getopt.h (getopt): Likewise.
43999 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44001         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44002         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44003         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44004         in AT_FLAGS.
44005         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44006         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44008 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44010         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44012 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44014         [BZ #11640]
44015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44016         Properly check family and model.
44018 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44020         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44022 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44024         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44026 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44028         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44029         symbol reference.
44031 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44033         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44034         symbol reference.
44036 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44038         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44039         and internal_recvmmsg.
44040         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44041         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44042         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44043         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44045         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44046         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44047         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44049 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44051         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44053 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44055         POWER7 optimizations.
44056         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44057         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44059 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44061         * version.h: Update for 2.13 development version.
44063 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44065         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44066         exceptions.  Return 0.
44068 2010-05-07  Roland McGrath  <roland@redhat.com>
44070         * elf/ldconfig.c (main): Add a const.
44072 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44074         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44075         (args_options): Add no-idn option.
44076         (ahosts_keys_int): Add idn_flags to ai_flags.
44077         (parse_option): Handle 'i' option to clear idn_flags.
44079         * malloc/malloc.c (_int_free): Possible race in the most recently
44080         added check.  Only act on the data if no current modification
44081         happened.
44083 See ChangeLog.17 for earlier changes.